'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'注塑模具畢業(yè)設計心型臺燈塑料注塑模具設計含圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'注塑模具畢業(yè)設計---心型臺燈塑料注塑模具設計(含圖紙) (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'圖紙 (包含12個文件)', },{ id:'000010000100001', pId:'0000100001', name:'裝配圖 (包含1個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'裝配圖A0.dwg (290KB)', click:'getBookinfo(8780383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'零件圖 (包含9個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'凸模A2.dwg (63KB)', click:'getBookinfo(8780384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'凹模A1.dwg (111KB)', click:'getBookinfo(8780385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200003', pId:'000010000100002', name:'動模座板A2.dwg (54KB)', click:'getBookinfo(8780386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200004', pId:'000010000100002', name:'四和一A2.dwg (140KB)', click:'getBookinfo(8780387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200005', pId:'000010000100002', name:'型腔A2.dwg (124KB)', click:'getBookinfo(8780388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200006', pId:'000010000100002', name:'型芯A2.dwg (197KB)', click:'getBookinfo(8780389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200007', pId:'000010000100002', name:'塑件A2.dwg (288KB)', click:'getBookinfo(8780390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200008', pId:'000010000100002', name:'定模座板A2.dwg (45KB)', click:'getBookinfo(8780391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200009', pId:'000010000100002', name:'支撐板A1.dwg (73KB)', click:'getBookinfo(8780392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'說明書 (包含3個文件)', },{ id:'000010000200001', pId:'0000100002', name:'摘要.doc (25KB)', click:'getBookinfo(8780393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'注塑模具畢業(yè)設計---心型臺燈塑料注塑模具設計(含圖紙).doc (1539KB)', click:'getBookinfo(8780394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'目錄.doc (48KB)', click:'getBookinfo(8780395)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'注塑模具畢業(yè)設計心型臺燈塑料注塑模具設計含圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8780383.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'凸模A2.dwg',url:'http://m.facezit.com/p-8780384.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'凹模A1.dwg',url:'http://m.facezit.com/p-8780385.html', target:'_blank' },{ id:'00001000010000200003', pId:'000010000100002', name:'動模座板A2.dwg',url:'http://m.facezit.com/p-8780386.html', target:'_blank' },{ id:'00001000010000200004', pId:'000010000100002', name:'四和一A2.dwg',url:'http://m.facezit.com/p-8780387.html', target:'_blank' },{ id:'00001000010000200005', pId:'000010000100002', name:'型腔A2.dwg',url:'http://m.facezit.com/p-8780388.html', target:'_blank' },{ id:'00001000010000200006', pId:'000010000100002', name:'型芯A2.dwg',url:'http://m.facezit.com/p-8780389.html', target:'_blank' },{ id:'00001000010000200007', pId:'000010000100002', name:'塑件A2.dwg',url:'http://m.facezit.com/p-8780390.html', target:'_blank' },{ id:'00001000010000200008', pId:'000010000100002', name:'定模座板A2.dwg',url:'http://m.facezit.com/p-8780391.html', target:'_blank' },{ id:'00001000010000200009', pId:'000010000100002', name:'支撐板A1.dwg',url:'http://m.facezit.com/p-8780392.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'摘要.doc',url:'http://m.facezit.com/p-8780393.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'注塑模具畢業(yè)設計---心型臺燈塑料注塑模具設計(含圖紙).doc',url:'http://m.facezit.com/p-8780394.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'目錄.doc',url:'http://m.facezit.com/p-8780395.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 = '3428849'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });