'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'11【1a042】右出線軸鉆6ф6夾具設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'【1A042】右出線軸鉆6-Ф6夾具設計 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'CAD (包含4個文件)', },{ id:'000010000100001', pId:'0000100001', name:'【1A042】右出線軸.dwg (56KB)', click:'getBookinfo(8708538)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'夾具體零件圖.dwg (37KB)', click:'getBookinfo(8708539)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'毛壞圖.dwg (86KB)', click:'getBookinfo(8708540)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'裝配圖.dwg (116KB)', click:'getBookinfo(8708541)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡 (包含16個文件)', },{ id:'000010000200001', pId:'0000100002', name:'工序卡1.doc (90KB)', click:'getBookinfo(8708542)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'工序卡10.doc (76KB)', click:'getBookinfo(8708543)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'工序卡11.doc (73KB)', click:'getBookinfo(8708544)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'工序卡12.doc (74KB)', click:'getBookinfo(8708545)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'工序卡13.doc (102KB)', click:'getBookinfo(8708546)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'工序卡14.doc (96KB)', click:'getBookinfo(8708547)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'工序卡15.doc (99KB)', click:'getBookinfo(8708548)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'工序卡16.doc (89KB)', click:'getBookinfo(8708549)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200009', pId:'0000100002', name:'工序卡2.doc (90KB)', click:'getBookinfo(8708550)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200010', pId:'0000100002', name:'工序卡3.doc (68KB)', click:'getBookinfo(8708551)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200011', pId:'0000100002', name:'工序卡4.doc (76KB)', click:'getBookinfo(8708552)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200012', pId:'0000100002', name:'工序卡5.doc (65KB)', click:'getBookinfo(8708553)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200013', pId:'0000100002', name:'工序卡6.doc (75KB)', click:'getBookinfo(8708554)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200014', pId:'0000100002', name:'工序卡7.doc (81KB)', click:'getBookinfo(8708555)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200015', pId:'0000100002', name:'工序卡8.doc (71KB)', click:'getBookinfo(8708556)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200016', pId:'0000100002', name:'工序卡9.doc (70KB)', click:'getBookinfo(8708557)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工藝過程卡.doc (57KB)', click:'getBookinfo(8708558)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'設計說明書.doc (448KB)', click:'getBookinfo(8708559)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'11【1a042】右出線軸鉆6ф6夾具設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'【1A042】右出線軸.dwg',url:'http://www.nydnatest.com/p-8708538.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'夾具體零件圖.dwg',url:'http://www.nydnatest.com/p-8708539.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'毛壞圖.dwg',url:'http://www.nydnatest.com/p-8708540.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'裝配圖.dwg',url:'http://www.nydnatest.com/p-8708541.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'工序卡1.doc',url:'http://www.nydnatest.com/p-8708542.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'工序卡10.doc',url:'http://www.nydnatest.com/p-8708543.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'工序卡11.doc',url:'http://www.nydnatest.com/p-8708544.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'工序卡12.doc',url:'http://www.nydnatest.com/p-8708545.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'工序卡13.doc',url:'http://www.nydnatest.com/p-8708546.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'工序卡14.doc',url:'http://www.nydnatest.com/p-8708547.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'工序卡15.doc',url:'http://www.nydnatest.com/p-8708548.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'工序卡16.doc',url:'http://www.nydnatest.com/p-8708549.html', target:'_blank' },{ id:'000010000200009', pId:'0000100002', name:'工序卡2.doc',url:'http://www.nydnatest.com/p-8708550.html', target:'_blank' },{ id:'000010000200010', pId:'0000100002', name:'工序卡3.doc',url:'http://www.nydnatest.com/p-8708551.html', target:'_blank' },{ id:'000010000200011', pId:'0000100002', name:'工序卡4.doc',url:'http://www.nydnatest.com/p-8708552.html', target:'_blank' },{ id:'000010000200012', pId:'0000100002', name:'工序卡5.doc',url:'http://www.nydnatest.com/p-8708553.html', target:'_blank' },{ id:'000010000200013', pId:'0000100002', name:'工序卡6.doc',url:'http://www.nydnatest.com/p-8708554.html', target:'_blank' },{ id:'000010000200014', pId:'0000100002', name:'工序卡7.doc',url:'http://www.nydnatest.com/p-8708555.html', target:'_blank' },{ id:'000010000200015', pId:'0000100002', name:'工序卡8.doc',url:'http://www.nydnatest.com/p-8708556.html', target:'_blank' },{ id:'000010000200016', pId:'0000100002', name:'工序卡9.doc',url:'http://www.nydnatest.com/p-8708557.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工藝過程卡.doc',url:'http://www.nydnatest.com/p-8708558.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'設計說明書.doc',url:'http://www.nydnatest.com/p-8708559.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 = '3433237'; 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; }); });