'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【工裝夾具類】手柄座[831015]6鉆m10底孔夾具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'手柄座[831015] 6-鉆M10底孔夾具設(shè)計(jì) (包含27個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'工程卡和工序卡片 (包含21個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'工序卡 (1).dwg (46KB)', click:'getBookinfo(8807278)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'工序卡 (1).gif (16KB)', click:'getBookinfo(8807279)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'工序卡 (10).dwg (50KB)', click:'getBookinfo(8807280)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'工序卡 (10).gif (17KB)', click:'getBookinfo(8807281)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'工序卡 (3).dwg (47KB)', click:'getBookinfo(8807282)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工序卡 (3).gif (17KB)', click:'getBookinfo(8807283)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'工序卡 (4).dwg (50KB)', click:'getBookinfo(8807284)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'工序卡 (4).gif (18KB)', click:'getBookinfo(8807285)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'工序卡 (5).dwg (49KB)', click:'getBookinfo(8807286)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'工序卡 (5).gif (16KB)', click:'getBookinfo(8807287)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'工序卡 (6).dwg (49KB)', click:'getBookinfo(8807288)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'工序卡 (6).gif (16KB)', click:'getBookinfo(8807289)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'工序卡 (7).dwg (49KB)', click:'getBookinfo(8807290)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'工序卡 (7).gif (17KB)', click:'getBookinfo(8807291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'工序卡 (8).dwg (49KB)', click:'getBookinfo(8807292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'工序卡 (8).gif (17KB)', click:'getBookinfo(8807293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'工序卡 (9).dwg (49KB)', click:'getBookinfo(8807294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'工序卡 (9).gif (16KB)', click:'getBookinfo(8807295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'工序卡(2).dwg (47KB)', click:'getBookinfo(8807296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100020', pId:'0000100001', name:'工序卡(2).gif (17KB)', click:'getBookinfo(8807297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100021', pId:'0000100001', name:'工藝過(guò)程卡.doc (48KB)', click:'getBookinfo(8807298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'C6410車床手柄座設(shè)計(jì)說(shuō)明書(shū).doc (516KB)', click:'getBookinfo(8807299)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'手柄座毛胚圖.dwg (55KB)', click:'getBookinfo(8807300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'鉆M10螺紋孔夾具體.dwg (82KB)', click:'getBookinfo(8807301)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'鉆M10螺紋孔裝配圖.dwg (115KB)', click:'getBookinfo(8807302)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'零件圖..dwg (71KB)', click:'getBookinfo(8807303)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【工裝夾具類】手柄座[831015]6鉆m10底孔夾具設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'工序卡 (1).dwg',url:'http://www.nydnatest.com/p-8807278.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'工序卡 (1).gif',url:'http://www.nydnatest.com/p-8807279.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'工序卡 (10).dwg',url:'http://www.nydnatest.com/p-8807280.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'工序卡 (10).gif',url:'http://www.nydnatest.com/p-8807281.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'工序卡 (3).dwg',url:'http://www.nydnatest.com/p-8807282.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工序卡 (3).gif',url:'http://www.nydnatest.com/p-8807283.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'工序卡 (4).dwg',url:'http://www.nydnatest.com/p-8807284.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'工序卡 (4).gif',url:'http://www.nydnatest.com/p-8807285.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'工序卡 (5).dwg',url:'http://www.nydnatest.com/p-8807286.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'工序卡 (5).gif',url:'http://www.nydnatest.com/p-8807287.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'工序卡 (6).dwg',url:'http://www.nydnatest.com/p-8807288.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'工序卡 (6).gif',url:'http://www.nydnatest.com/p-8807289.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'工序卡 (7).dwg',url:'http://www.nydnatest.com/p-8807290.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'工序卡 (7).gif',url:'http://www.nydnatest.com/p-8807291.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'工序卡 (8).dwg',url:'http://www.nydnatest.com/p-8807292.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'工序卡 (8).gif',url:'http://www.nydnatest.com/p-8807293.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'工序卡 (9).dwg',url:'http://www.nydnatest.com/p-8807294.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'工序卡 (9).gif',url:'http://www.nydnatest.com/p-8807295.html', target:'_blank' },{ id:'000010000100019', pId:'0000100001', name:'工序卡(2).dwg',url:'http://www.nydnatest.com/p-8807296.html', target:'_blank' },{ id:'000010000100020', pId:'0000100001', name:'工序卡(2).gif',url:'http://www.nydnatest.com/p-8807297.html', target:'_blank' },{ id:'000010000100021', pId:'0000100001', name:'工藝過(guò)程卡.doc',url:'http://www.nydnatest.com/p-8807298.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'C6410車床手柄座設(shè)計(jì)說(shuō)明書(shū).doc',url:'http://www.nydnatest.com/p-8807299.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'手柄座毛胚圖.dwg',url:'http://www.nydnatest.com/p-8807300.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'鉆M10螺紋孔夾具體.dwg',url:'http://www.nydnatest.com/p-8807301.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'鉆M10螺紋孔裝配圖.dwg',url:'http://www.nydnatest.com/p-8807302.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'零件圖..dwg',url:'http://www.nydnatest.com/p-8807303.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3435200'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });