'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'專(zhuān)用精壓機(jī)的設(shè)計(jì)【9張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'專(zhuān)用精壓機(jī)機(jī)構(gòu)傳動(dòng)圖.dwg (45KB)', click:'getBookinfo(8675226)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'專(zhuān)用精壓機(jī)的設(shè)計(jì).doc (892KB)', click:'getBookinfo(8675227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'專(zhuān)用精壓機(jī)裝配圖.dwg (145KB)', click:'getBookinfo(8675228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'任務(wù)書(shū).doc (34KB)', click:'getBookinfo(8675229)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'沖錘零件圖.dwg (48KB)', click:'getBookinfo(8675230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'前言和目錄.doc (56KB)', click:'getBookinfo(8675231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'大齒輪.dwg (74KB)', click:'getBookinfo(8675232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'大齒輪軸零件圖.dwg (60KB)', click:'getBookinfo(8675233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'封皮.docx (49KB)', click:'getBookinfo(8675234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'小論文.doc (216KB)', click:'getBookinfo(8675235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'小齒輪1.dwg (76KB)', click:'getBookinfo(8675236)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'小齒輪軸零件圖.dwg (74KB)', click:'getBookinfo(8675237)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'開(kāi)題報(bào)告.doc (38KB)', click:'getBookinfo(8675238)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'滑塊.dwg (64KB)', click:'getBookinfo(8675239)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'答辯.ppt (527KB)', click:'getBookinfo(8675240)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00016', pId:'1', name:'軸承端蓋.dwg (44KB)', click:'getBookinfo(8675241)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'專(zhuān)用精壓機(jī)的設(shè)計(jì)【9張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'專(zhuān)用精壓機(jī)機(jī)構(gòu)傳動(dòng)圖.dwg',url:'http://m.facezit.com/p-8675226.html', target:'_blank' },{ id:'00002', pId:'1', name:'專(zhuān)用精壓機(jī)的設(shè)計(jì).doc',url:'http://m.facezit.com/p-8675227.html', target:'_blank' },{ id:'00003', pId:'1', name:'專(zhuān)用精壓機(jī)裝配圖.dwg',url:'http://m.facezit.com/p-8675228.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務(wù)書(shū).doc',url:'http://m.facezit.com/p-8675229.html', target:'_blank' },{ id:'00005', pId:'1', name:'沖錘零件圖.dwg',url:'http://m.facezit.com/p-8675230.html', target:'_blank' },{ id:'00006', pId:'1', name:'前言和目錄.doc',url:'http://m.facezit.com/p-8675231.html', target:'_blank' },{ id:'00007', pId:'1', name:'大齒輪.dwg',url:'http://m.facezit.com/p-8675232.html', target:'_blank' },{ id:'00008', pId:'1', name:'大齒輪軸零件圖.dwg',url:'http://m.facezit.com/p-8675233.html', target:'_blank' },{ id:'00009', pId:'1', name:'封皮.docx',url:'http://m.facezit.com/p-8675234.html', target:'_blank' },{ id:'00010', pId:'1', name:'小論文.doc',url:'http://m.facezit.com/p-8675235.html', target:'_blank' },{ id:'00011', pId:'1', name:'小齒輪1.dwg',url:'http://m.facezit.com/p-8675236.html', target:'_blank' },{ id:'00012', pId:'1', name:'小齒輪軸零件圖.dwg',url:'http://m.facezit.com/p-8675237.html', target:'_blank' },{ id:'00013', pId:'1', name:'開(kāi)題報(bào)告.doc',url:'http://m.facezit.com/p-8675238.html', target:'_blank' },{ id:'00014', pId:'1', name:'滑塊.dwg',url:'http://m.facezit.com/p-8675239.html', target:'_blank' },{ id:'00015', pId:'1', name:'答辯.ppt',url:'http://m.facezit.com/p-8675240.html', target:'_blank' },{ id:'00016', pId:'1', name:'軸承端蓋.dwg',url:'http://m.facezit.com/p-8675241.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7256954'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類(lèi)型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });