'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'細長桿零件加工工藝及工裝設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'細長桿零件加工工藝及工裝設計 (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'圖形 (包含12個文件)', },{ id:'000010000100001', pId:'0000100001', name:'A2夾具裝配圖(改后).bak (119KB)', },{ id:'000010000100002', pId:'0000100001', name:'A2夾具裝配圖.dwg (77KB)', click:'getBookinfo(8782792)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'A2零件圖.bak (154KB)', },{ id:'000010000100004', pId:'0000100001', name:'A2零件圖.dwg (94KB)', click:'getBookinfo(8782793)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'A4定位銷定位板.bak (81KB)', },{ id:'000010000100006', pId:'0000100001', name:'A4定位銷定位板.dwg (63KB)', click:'getBookinfo(8782794)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'A4毛坯圖.bak (119KB)', },{ id:'000010000100008', pId:'0000100001', name:'A4毛坯圖.dwg (67KB)', click:'getBookinfo(8782795)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'V形塊.bak (76KB)', },{ id:'000010000100010', pId:'0000100001', name:'V形塊.dwg (59KB)', click:'getBookinfo(8782796)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'夾具體.bak (77KB)', },{ id:'000010000100012', pId:'0000100001', name:'夾具體.dwg (60KB)', click:'getBookinfo(8782797)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'文字 (包含8個文件)', },{ id:'000010000200001', pId:'0000100002', name:'任務書.doc (38KB)', click:'getBookinfo(8782798)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'工序卡(改后).doc (407KB)', click:'getBookinfo(8782799)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'工藝過程卡片1.doc (50KB)', click:'getBookinfo(8782800)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'工藝過程卡片2.doc (51KB)', click:'getBookinfo(8782801)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'工藝過程卡片3.doc (49KB)', click:'getBookinfo(8782802)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'畢業(yè)設計說明書(改后2).docx (106KB)', click:'getBookinfo(8782803)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'畢業(yè)設計說明書封面.docx (12KB)', click:'getBookinfo(8782804)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'畢業(yè)設計說明摘要.doc (28KB)', click:'getBookinfo(8782805)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'細長桿零件加工工藝及工裝設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'A2夾具裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8782792.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'A2零件圖.dwg',url:'http://canyonlakefaqs.com/p-8782793.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'A4定位銷定位板.dwg',url:'http://canyonlakefaqs.com/p-8782794.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'A4毛坯圖.dwg',url:'http://canyonlakefaqs.com/p-8782795.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'V形塊.dwg',url:'http://canyonlakefaqs.com/p-8782796.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'夾具體.dwg',url:'http://canyonlakefaqs.com/p-8782797.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'任務書.doc',url:'http://canyonlakefaqs.com/p-8782798.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'工序卡(改后).doc',url:'http://canyonlakefaqs.com/p-8782799.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'工藝過程卡片1.doc',url:'http://canyonlakefaqs.com/p-8782800.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'工藝過程卡片2.doc',url:'http://canyonlakefaqs.com/p-8782801.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'工藝過程卡片3.doc',url:'http://canyonlakefaqs.com/p-8782802.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'畢業(yè)設計說明書(改后2).docx',url:'http://canyonlakefaqs.com/p-8782803.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'畢業(yè)設計說明書封面.docx',url:'http://canyonlakefaqs.com/p-8782804.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'畢業(yè)設計說明摘要.doc',url:'http://canyonlakefaqs.com/p-8782805.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 = '3422319'; 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; }); });