'; } $("#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)總體設計【帶solidworks三維】【9張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'SolidWorks三維圖 (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'GB/T283-94圓柱滾子軸承NUP204E.SLDPRT (342KB)', },{ id:'0000100002', pId:'00001', name:'GB/T301-1995推力球軸承52210.SLDPRT (674KB)', },{ id:'0000100003', pId:'00001', name:'GB/T5782-2000六角頭螺栓A級和B級M12×80.SLDPRT (356KB)', },{ id:'0000100004', pId:'00001', name:'GB/T5783-2000六角頭螺栓全螺紋M5×20.SLDPRT (323KB)', },{ id:'0000100005', pId:'00001', name:'GB/T5783-2000六角頭螺栓全螺紋M6×20.SLDPRT (362KB)', },{ id:'0000100006', pId:'00001', name:'GB/T808-1988小六角特扁細牙螺母M20×1.SLDPRT (169KB)', },{ id:'0000100007', pId:'00001', name:'上支撐座.SLDPRT (198KB)', },{ id:'0000100008', pId:'00001', name:'上端蓋.SLDPRT (136KB)', },{ id:'0000100009', pId:'00001', name:'下支撐座.SLDPRT (167KB)', },{ id:'0000100010', pId:'00001', name:'伸縮桿.SLDPRT (121KB)', },{ id:'0000100011', pId:'00001', name:'前端蓋.SLDPRT (111KB)', },{ id:'0000100012', pId:'00001', name:'后端蓋.SLDPRT (132KB)', },{ id:'0000100013', pId:'00001', name:'實心軸.SLDPRT (137KB)', },{ id:'0000100014', pId:'00001', name:'總裝配體.SLDASM (1082KB)', },{ id:'0000100015', pId:'00001', name:'電機.SLDPRT (178KB)', },{ id:'0000100016', pId:'00001', name:'電機2.SLDPRT (258KB)', },{ id:'0000100017', pId:'00001', name:'空心管.SLDPRT (103KB)', },{ id:'0000100018', pId:'00001', name:'軸套.SLDPRT (185KB)', },{ id:'0000100019', pId:'00001', name:'軸套2.SLDPRT (195KB)', },{ id:'0000100020', pId:'00001', name:'連接管.SLDPRT (224KB)', },{ id:'00002', pId:'1', name:'上支承座零件圖.dwg (69KB)', click:'getBookinfo(8710206)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'兩自由度風洞實驗運動裝置機械結(jié)構(gòu)總體設計開題報告.doc (31KB)', click:'getBookinfo(8710207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'兩自由度風洞實驗運動裝置機械結(jié)構(gòu)總體設計論文.doc (23255KB)', click:'getBookinfo(8710208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'前端蓋零件圖.dwg (58KB)', click:'getBookinfo(8710209)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'后端蓋零件圖.dwg (59KB)', click:'getBookinfo(8710210)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'實習報告.doc (29KB)', click:'getBookinfo(8710211)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'實心軸零件圖.dwg (68KB)', click:'getBookinfo(8710212)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'彎刀部件裝配圖.dwg (131KB)', click:'getBookinfo(8710213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'電機裝配圖.dwg (96KB)', click:'getBookinfo(8710214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'電機零件圖.dwg (67KB)', click:'getBookinfo(8710215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'表格.doc (102KB)', click:'getBookinfo(8710216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'軸套零件圖.dwg (64KB)', click:'getBookinfo(8710217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'鋼管零件圖.dwg (59KB)', click:'getBookinfo(8710218)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'兩自由度風洞實驗運動裝置機械結(jié)構(gòu)總體設計【帶solidworks三維】【9張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'上支承座零件圖.dwg',url:'http://m.facezit.com/p-8710206.html', target:'_blank' },{ id:'00003', pId:'1', name:'兩自由度風洞實驗運動裝置機械結(jié)構(gòu)總體設計開題報告.doc',url:'http://m.facezit.com/p-8710207.html', target:'_blank' },{ id:'00004', pId:'1', name:'兩自由度風洞實驗運動裝置機械結(jié)構(gòu)總體設計論文.doc',url:'http://m.facezit.com/p-8710208.html', target:'_blank' },{ id:'00005', pId:'1', name:'前端蓋零件圖.dwg',url:'http://m.facezit.com/p-8710209.html', target:'_blank' },{ id:'00006', pId:'1', name:'后端蓋零件圖.dwg',url:'http://m.facezit.com/p-8710210.html', target:'_blank' },{ id:'00007', pId:'1', name:'實習報告.doc',url:'http://m.facezit.com/p-8710211.html', target:'_blank' },{ id:'00008', pId:'1', name:'實心軸零件圖.dwg',url:'http://m.facezit.com/p-8710212.html', target:'_blank' },{ id:'00009', pId:'1', name:'彎刀部件裝配圖.dwg',url:'http://m.facezit.com/p-8710213.html', target:'_blank' },{ id:'00010', pId:'1', name:'電機裝配圖.dwg',url:'http://m.facezit.com/p-8710214.html', target:'_blank' },{ id:'00011', pId:'1', name:'電機零件圖.dwg',url:'http://m.facezit.com/p-8710215.html', target:'_blank' },{ id:'00012', pId:'1', name:'表格.doc',url:'http://m.facezit.com/p-8710216.html', target:'_blank' },{ id:'00013', pId:'1', name:'軸套零件圖.dwg',url:'http://m.facezit.com/p-8710217.html', target:'_blank' },{ id:'00014', pId:'1', name:'鋼管零件圖.dwg',url:'http://m.facezit.com/p-8710218.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 = '3433469'; 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; }); });