'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zm020】機油蓋注塑模具設計【2抽芯】[點澆口].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'0-機油蓋-A4.dwg (54KB)', click:'getBookinfo(8819245)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'1-模具總裝配圖-A0.dwg (117KB)', click:'getBookinfo(8819246)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'10-分流隔板-A4.dwg (40KB)', click:'getBookinfo(8819247)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'11-支撐板-A2.dwg (60KB)', click:'getBookinfo(8819248)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'12-滑塊-A3.dwg (49KB)', click:'getBookinfo(8819249)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'2-定模座板-A2.dwg (43KB)', click:'getBookinfo(8819250)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'3-動模座板-A2.dwg (42KB)', click:'getBookinfo(8819251)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'4-型腔板-A2.dwg (72KB)', click:'getBookinfo(8819252)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'5-型芯-A3.dwg (62KB)', click:'getBookinfo(8819253)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'6-型芯固定板-A4.dwg (49KB)', click:'getBookinfo(8819254)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'7-型腔板-A2.dwg (43KB)', click:'getBookinfo(8819255)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'8-推桿固定板-A2.dwg (47KB)', click:'getBookinfo(8819256)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'9-推板-A2.dwg (40KB)', click:'getBookinfo(8819257)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'PROE三維圖 (包含3個文件)', },{ id:'0000200001', pId:'00002', name:'sujian.prt.1 (318KB)', },{ id:'0000200002', pId:'00002', name:'xingxin.prt.2 (133KB)', },{ id:'0000200003', pId:'00002', name:'三維圖冊.doc (213KB)', click:'getBookinfo(8819258)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'【CAD圖紙-預覽】.pdf (1218KB)', click:'getBookinfo(8819259)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00004', pId:'1', name:'摘要及目錄.doc (24KB)', click:'getBookinfo(8819260)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'機油蓋注塑模具設計.doc (600KB)', click:'getBookinfo(8819261)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'畢業(yè)設計封面.doc (17KB)', click:'getBookinfo(8819262)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'設計說明書-25194字.doc (2667KB)', click:'getBookinfo(8819263)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zm020】機油蓋注塑模具設計【2抽芯】[點澆口].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'0-機油蓋-A4.dwg',url:'http://canyonlakefaqs.com/p-8819245.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'1-模具總裝配圖-A0.dwg',url:'http://canyonlakefaqs.com/p-8819246.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'10-分流隔板-A4.dwg',url:'http://canyonlakefaqs.com/p-8819247.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'11-支撐板-A2.dwg',url:'http://canyonlakefaqs.com/p-8819248.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'12-滑塊-A3.dwg',url:'http://canyonlakefaqs.com/p-8819249.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'2-定模座板-A2.dwg',url:'http://canyonlakefaqs.com/p-8819250.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'3-動模座板-A2.dwg',url:'http://canyonlakefaqs.com/p-8819251.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'4-型腔板-A2.dwg',url:'http://canyonlakefaqs.com/p-8819252.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'5-型芯-A3.dwg',url:'http://canyonlakefaqs.com/p-8819253.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'6-型芯固定板-A4.dwg',url:'http://canyonlakefaqs.com/p-8819254.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'7-型腔板-A2.dwg',url:'http://canyonlakefaqs.com/p-8819255.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'8-推桿固定板-A2.dwg',url:'http://canyonlakefaqs.com/p-8819256.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'9-推板-A2.dwg',url:'http://canyonlakefaqs.com/p-8819257.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'三維圖冊.doc',url:'http://canyonlakefaqs.com/p-8819258.html', target:'_blank' },{ id:'00003', pId:'1', name:'【CAD圖紙-預覽】.pdf',url:'http://canyonlakefaqs.com/p-8819259.html', target:'_blank' },{ id:'00004', pId:'1', name:'摘要及目錄.doc',url:'http://canyonlakefaqs.com/p-8819260.html', target:'_blank' },{ id:'00005', pId:'1', name:'機油蓋注塑模具設計.doc',url:'http://canyonlakefaqs.com/p-8819261.html', target:'_blank' },{ id:'00006', pId:'1', name:'畢業(yè)設計封面.doc',url:'http://canyonlakefaqs.com/p-8819262.html', target:'_blank' },{ id:'00007', pId:'1', name:'設計說明書-25194字.doc',url:'http://canyonlakefaqs.com/p-8819263.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 = '3518781'; 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; }); });