'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'餐桌椅注塑模.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'餐桌椅注塑模 (包含29個文件)', },{ id:'0000100001', pId:'00001', name:'餐桌椅注塑模 (包含27個文件)', },{ id:'000010000100001', pId:'0000100001', name:'工藝卡 (包含12個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'-30.doc (49KB)', click:'getBookinfo(8784151)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'-35.doc (41KB)', click:'getBookinfo(8784152)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'-45.doc (40KB)', click:'getBookinfo(8784153)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'-50.doc (49KB)', click:'getBookinfo(8784154)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'0.doc (43KB)', click:'getBookinfo(8784155)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'10.doc (41KB)', click:'getBookinfo(8784156)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'15.doc (44KB)', click:'getBookinfo(8784157)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'20.doc (41KB)', click:'getBookinfo(8784158)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100009', pId:'000010000100001', name:'25.doc (47KB)', click:'getBookinfo(8784159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100010', pId:'000010000100001', name:'40.doc (48KB)', click:'getBookinfo(8784160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100011', pId:'000010000100001', name:'5.doc (43KB)', click:'getBookinfo(8784161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100012', pId:'000010000100001', name:'工藝路線表-樣板.doc (46KB)', click:'getBookinfo(8784162)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'40-10.doc (28KB)', click:'getBookinfo(8784163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'40-10.dwg (32KB)', click:'getBookinfo(8784164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'40-3.doc (27KB)', click:'getBookinfo(8784165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'40-3.dwg (42KB)', click:'getBookinfo(8784166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'40-9.doc (27KB)', click:'getBookinfo(8784167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'40-9.dwg (33KB)', click:'getBookinfo(8784168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'塑件.doc (40KB)', click:'getBookinfo(8784169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'實習(xí)報告.doc (150KB)', click:'getBookinfo(8784170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'工藝_目錄.doc (27KB)', click:'getBookinfo(8784171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'工藝_表格.doc (104KB)', click:'getBookinfo(8784172)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'裝配圖.doc (63KB)', click:'getBookinfo(8784173)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'裝配圖.dwg (49KB)', click:'getBookinfo(8784174)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'餐桌椅 說明書.doc (239KB)', click:'getBookinfo(8784175)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'餐桌椅.dwg (30KB)', click:'getBookinfo(8784176)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'327678$34369450$餐桌椅 說明書.doc (248KB)', click:'getBookinfo(8784177)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'餐桌椅注塑模.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'-30.doc',url:'http://www.nydnatest.com/p-8784151.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'-35.doc',url:'http://www.nydnatest.com/p-8784152.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'-45.doc',url:'http://www.nydnatest.com/p-8784153.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'-50.doc',url:'http://www.nydnatest.com/p-8784154.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'0.doc',url:'http://www.nydnatest.com/p-8784155.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'10.doc',url:'http://www.nydnatest.com/p-8784156.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'15.doc',url:'http://www.nydnatest.com/p-8784157.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'20.doc',url:'http://www.nydnatest.com/p-8784158.html', target:'_blank' },{ id:'00001000010000100009', pId:'000010000100001', name:'25.doc',url:'http://www.nydnatest.com/p-8784159.html', target:'_blank' },{ id:'00001000010000100010', pId:'000010000100001', name:'40.doc',url:'http://www.nydnatest.com/p-8784160.html', target:'_blank' },{ id:'00001000010000100011', pId:'000010000100001', name:'5.doc',url:'http://www.nydnatest.com/p-8784161.html', target:'_blank' },{ id:'00001000010000100012', pId:'000010000100001', name:'工藝路線表-樣板.doc',url:'http://www.nydnatest.com/p-8784162.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'40-10.doc',url:'http://www.nydnatest.com/p-8784163.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'40-10.dwg',url:'http://www.nydnatest.com/p-8784164.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'40-3.doc',url:'http://www.nydnatest.com/p-8784165.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'40-3.dwg',url:'http://www.nydnatest.com/p-8784166.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'40-9.doc',url:'http://www.nydnatest.com/p-8784167.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'40-9.dwg',url:'http://www.nydnatest.com/p-8784168.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'塑件.doc',url:'http://www.nydnatest.com/p-8784169.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'實習(xí)報告.doc',url:'http://www.nydnatest.com/p-8784170.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'工藝_目錄.doc',url:'http://www.nydnatest.com/p-8784171.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'工藝_表格.doc',url:'http://www.nydnatest.com/p-8784172.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'裝配圖.doc',url:'http://www.nydnatest.com/p-8784173.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'裝配圖.dwg',url:'http://www.nydnatest.com/p-8784174.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'餐桌椅 說明書.doc',url:'http://www.nydnatest.com/p-8784175.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'餐桌椅.dwg',url:'http://www.nydnatest.com/p-8784176.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'327678$34369450$餐桌椅 說明書.doc',url:'http://www.nydnatest.com/p-8784177.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 = '3422359'; 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; }); });