'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床手柄座831015鉆φ5.5孔夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'手柄座[831015] 4-鉆φ5.5孔夾具設(shè)計 (包含27個文件)', },{ id:'0000100001', pId:'00001', name:'工程卡和工序卡片 (包含21個文件)', },{ id:'000010000100001', pId:'0000100001', name:'工序卡 (1).dwg (46KB)', click:'getBookinfo(8592152)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'工序卡 (1).gif (16KB)', click:'getBookinfo(8592153)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'工序卡 (10).dwg (50KB)', click:'getBookinfo(8592154)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'工序卡 (10).gif (17KB)', click:'getBookinfo(8592155)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'工序卡 (3).dwg (47KB)', click:'getBookinfo(8592156)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工序卡 (3).gif (17KB)', click:'getBookinfo(8592157)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'工序卡 (4).dwg (50KB)', click:'getBookinfo(8592158)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'工序卡 (4).gif (18KB)', click:'getBookinfo(8592159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'工序卡 (5).dwg (49KB)', click:'getBookinfo(8592160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'工序卡 (5).gif (16KB)', click:'getBookinfo(8592161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'工序卡 (6).dwg (49KB)', click:'getBookinfo(8592162)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'工序卡 (6).gif (16KB)', click:'getBookinfo(8592163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'工序卡 (7).dwg (49KB)', click:'getBookinfo(8592164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'工序卡 (7).gif (17KB)', click:'getBookinfo(8592165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'工序卡 (8).dwg (49KB)', click:'getBookinfo(8592166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'工序卡 (8).gif (17KB)', click:'getBookinfo(8592167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'工序卡 (9).dwg (49KB)', click:'getBookinfo(8592168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'工序卡 (9).gif (16KB)', click:'getBookinfo(8592169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'工序卡(2).dwg (47KB)', click:'getBookinfo(8592170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100020', pId:'0000100001', name:'工序卡(2).gif (17KB)', click:'getBookinfo(8592171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100021', pId:'0000100001', name:'工藝過程卡.doc (48KB)', click:'getBookinfo(8592172)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'C6410車床手柄座設(shè)計說明書.doc (516KB)', click:'getBookinfo(8592173)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'手柄座毛胚圖.dwg (55KB)', click:'getBookinfo(8592174)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'手柄座零件圖.dwg (71KB)', click:'getBookinfo(8592175)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'鉆直徑5.5夾具體.dwg (103KB)', click:'getBookinfo(8592176)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'鉆直徑5.5裝配圖.dwg (95KB)', click:'getBookinfo(8592177)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床手柄座831015鉆φ5.5孔夾具設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'工序卡 (1).dwg',url:'http://m.facezit.com/p-8592152.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'工序卡 (1).gif',url:'http://m.facezit.com/p-8592153.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'工序卡 (10).dwg',url:'http://m.facezit.com/p-8592154.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'工序卡 (10).gif',url:'http://m.facezit.com/p-8592155.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'工序卡 (3).dwg',url:'http://m.facezit.com/p-8592156.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工序卡 (3).gif',url:'http://m.facezit.com/p-8592157.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'工序卡 (4).dwg',url:'http://m.facezit.com/p-8592158.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'工序卡 (4).gif',url:'http://m.facezit.com/p-8592159.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'工序卡 (5).dwg',url:'http://m.facezit.com/p-8592160.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'工序卡 (5).gif',url:'http://m.facezit.com/p-8592161.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'工序卡 (6).dwg',url:'http://m.facezit.com/p-8592162.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'工序卡 (6).gif',url:'http://m.facezit.com/p-8592163.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'工序卡 (7).dwg',url:'http://m.facezit.com/p-8592164.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'工序卡 (7).gif',url:'http://m.facezit.com/p-8592165.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'工序卡 (8).dwg',url:'http://m.facezit.com/p-8592166.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'工序卡 (8).gif',url:'http://m.facezit.com/p-8592167.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'工序卡 (9).dwg',url:'http://m.facezit.com/p-8592168.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'工序卡 (9).gif',url:'http://m.facezit.com/p-8592169.html', target:'_blank' },{ id:'000010000100019', pId:'0000100001', name:'工序卡(2).dwg',url:'http://m.facezit.com/p-8592170.html', target:'_blank' },{ id:'000010000100020', pId:'0000100001', name:'工序卡(2).gif',url:'http://m.facezit.com/p-8592171.html', target:'_blank' },{ id:'000010000100021', pId:'0000100001', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8592172.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'C6410車床手柄座設(shè)計說明書.doc',url:'http://m.facezit.com/p-8592173.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'手柄座毛胚圖.dwg',url:'http://m.facezit.com/p-8592174.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'手柄座零件圖.dwg',url:'http://m.facezit.com/p-8592175.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'鉆直徑5.5夾具體.dwg',url:'http://m.facezit.com/p-8592176.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'鉆直徑5.5裝配圖.dwg',url:'http://m.facezit.com/p-8592177.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 = '7920798'; 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; }); });