'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'履帶式搜救機器人機械結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期檢查.doc (33KB)', click:'getBookinfo(8607410)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'內(nèi)齒圈.dwg (53KB)', click:'getBookinfo(8607411)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'減速器裝配圖.dwg (188KB)', click:'getBookinfo(8607412)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'前端蓋.dwg (59KB)', click:'getBookinfo(8607413)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'外文翻譯--簡單結(jié)構(gòu)管道檢測機器人 中文版.doc (601KB)', click:'getBookinfo(8607414)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外文翻譯--簡單結(jié)構(gòu)管道檢測機器人 英文版.pdf (1930KB)', click:'getBookinfo(8607415)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00007', pId:'1', name:'實習(xí)報告.doc (803KB)', click:'getBookinfo(8607416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'履帶式搜救機器人機械結(jié)構(gòu)設(shè)計開題報告.doc (38KB)', click:'getBookinfo(8607417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'履帶式搜救機器人機械結(jié)構(gòu)設(shè)計說明書.doc (2012KB)', click:'getBookinfo(8607418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'履帶式搜救機器人裝配圖.dwg (162KB)', click:'getBookinfo(8607419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'球頂.dwg (50KB)', click:'getBookinfo(8607420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'行星架.dwg (60KB)', click:'getBookinfo(8607421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'行星輪.dwg (59KB)', click:'getBookinfo(8607422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'行星軸.dwg (54KB)', click:'getBookinfo(8607423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'輸出軸.dwg (61KB)', click:'getBookinfo(8607424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'頂塊.dwg (54KB)', click:'getBookinfo(8607425)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'履帶式搜救機器人機械結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期檢查.doc',url:'http://facezit.com/p-8607410.html', target:'_blank' },{ id:'00002', pId:'1', name:'內(nèi)齒圈.dwg',url:'http://facezit.com/p-8607411.html', target:'_blank' },{ id:'00003', pId:'1', name:'減速器裝配圖.dwg',url:'http://facezit.com/p-8607412.html', target:'_blank' },{ id:'00004', pId:'1', name:'前端蓋.dwg',url:'http://facezit.com/p-8607413.html', target:'_blank' },{ id:'00005', pId:'1', name:'外文翻譯--簡單結(jié)構(gòu)管道檢測機器人 中文版.doc',url:'http://facezit.com/p-8607414.html', target:'_blank' },{ id:'00006', pId:'1', name:'外文翻譯--簡單結(jié)構(gòu)管道檢測機器人 英文版.pdf',url:'http://facezit.com/p-8607415.html', target:'_blank' },{ id:'00007', pId:'1', name:'實習(xí)報告.doc',url:'http://facezit.com/p-8607416.html', target:'_blank' },{ id:'00008', pId:'1', name:'履帶式搜救機器人機械結(jié)構(gòu)設(shè)計開題報告.doc',url:'http://facezit.com/p-8607417.html', target:'_blank' },{ id:'00009', pId:'1', name:'履帶式搜救機器人機械結(jié)構(gòu)設(shè)計說明書.doc',url:'http://facezit.com/p-8607418.html', target:'_blank' },{ id:'00010', pId:'1', name:'履帶式搜救機器人裝配圖.dwg',url:'http://facezit.com/p-8607419.html', target:'_blank' },{ id:'00011', pId:'1', name:'球頂.dwg',url:'http://facezit.com/p-8607420.html', target:'_blank' },{ id:'00012', pId:'1', name:'行星架.dwg',url:'http://facezit.com/p-8607421.html', target:'_blank' },{ id:'00013', pId:'1', name:'行星輪.dwg',url:'http://facezit.com/p-8607422.html', target:'_blank' },{ id:'00014', pId:'1', name:'行星軸.dwg',url:'http://facezit.com/p-8607423.html', target:'_blank' },{ id:'00015', pId:'1', name:'輸出軸.dwg',url:'http://facezit.com/p-8607424.html', target:'_blank' },{ id:'00016', pId:'1', name:'頂塊.dwg',url:'http://facezit.com/p-8607425.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7961201'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });