'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'方連桿零件機械加工工藝及夾具設(shè)計說明書編號夾13).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'方連桿零件機械加工工藝及夾具設(shè)計說明書(編號夾13) (包含49個文件)', },{ id:'0000100001', pId:'00001', name:'3D (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'_model16.prt (388KB)', },{ id:'000010000100002', pId:'0000100001', name:'零件圖,使用前換成英文.prt (388KB)', },{ id:'0000100002', pId:'00001', name:'CAD零件圖 (包含4個文件)', },{ id:'000010000200001', pId:'0000100002', name:'工序卡需要的圖片 (包含2個文件)', },{ id:'00001000020000100001', pId:'000010000200001', name:'CAD圖紙.bak (106KB)', },{ id:'00001000020000100002', pId:'000010000200001', name:'CAD圖紙.dwg (122KB)', click:'getBookinfo(8540410)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'CAD圖紙.dwg (79KB)', click:'getBookinfo(8540411)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'三卡 (包含4個文件)', },{ id:'000010000300001', pId:'0000100003', name:'三卡標準模板.wps (57KB)', click:'getBookinfo(8540412)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'工廠.docx (60KB)', click:'getBookinfo(8540413)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'機械加工工藝卡.docx (31KB)', click:'getBookinfo(8540414)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300004', pId:'0000100003', name:'機械加工工藝過程卡.wps (52KB)', click:'getBookinfo(8540415)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具圖紙 (包含3個文件)', },{ id:'000010000400001', pId:'0000100004', name:'a4橫圖紙模版.bak (271KB)', },{ id:'000010000400002', pId:'0000100004', name:'a4橫圖紙模版.dwg (271KB)', click:'getBookinfo(8540416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400003', pId:'0000100004', name:'夾具總裝配圖07cad.dwg (436KB)', click:'getBookinfo(8540417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'輔助用的,可以刪除,也可以留著參考 (包含24個文件)', },{ id:'000010000500001', pId:'0000100005', name:'1.x_t (206KB)', },{ id:'000010000500002', pId:'0000100005', name:'1_id10_x_t.prt (118KB)', },{ id:'000010000500003', pId:'0000100005', name:'1_id14_x_t.prt (85KB)', },{ id:'000010000500004', pId:'0000100005', name:'1_id18_x_t.prt (120KB)', },{ id:'000010000500005', pId:'0000100005', name:'1_id22_x_t.prt (79KB)', },{ id:'000010000500006', pId:'0000100005', name:'1_id26_x_t.prt (90KB)', },{ id:'000010000500007', pId:'0000100005', name:'1_id30_x_t.prt (229KB)', },{ id:'000010000500008', pId:'0000100005', name:'1_id34_x_t.prt (85KB)', },{ id:'000010000500009', pId:'0000100005', name:'1_id6_x_t.prt (82KB)', },{ id:'000010000500010', pId:'0000100005', name:'1_x_t.dwg (48KB)', click:'getBookinfo(8540418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500011', pId:'0000100005', name:'1_x_t.log (3KB)', },{ id:'000010000500012', pId:'0000100005', name:'1_x_t.prt (151KB)', },{ id:'000010000500013', pId:'0000100005', name:'2.dwg (43KB)', click:'getBookinfo(8540419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500014', pId:'0000100005', name:'2.log (3KB)', },{ id:'000010000500015', pId:'0000100005', name:'21_x_t.dwg (33KB)', click:'getBookinfo(8540420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500016', pId:'0000100005', name:'21_x_t.log (3KB)', },{ id:'000010000500017', pId:'0000100005', name:'3.dwg (28KB)', click:'getBookinfo(8540421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500018', pId:'0000100005', name:'3.log (3KB)', },{ id:'000010000500019', pId:'0000100005', name:'4.dwg (32KB)', click:'getBookinfo(8540422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500020', pId:'0000100005', name:'4.log (3KB)', },{ id:'000010000500021', pId:'0000100005', name:'4_bk.log (0KB)', },{ id:'000010000500022', pId:'0000100005', name:'5.dwg (30KB)', click:'getBookinfo(8540423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500023', pId:'0000100005', name:'5.log (3KB)', },{ id:'000010000500024', pId:'0000100005', name:'5_bk.log (0KB)', },{ id:'0000100006', pId:'00001', name:'1.doc (1054KB)', click:'getBookinfo(8540424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'3fa2bb23-8642-4cf3-afb5-d2c8854df964.zip (1029KB)', },{ id:'0000100008', pId:'00001', name:'開題報告.doc (31KB)', click:'getBookinfo(8540425)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'撥叉零件機械加工工藝及夾具設(shè)計說明書.doc (205KB)', click:'getBookinfo(8540426)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'方連桿(1).pdf (48KB)', click:'getBookinfo(8540427)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100011', pId:'00001', name:'繪制過程.wmv (102KB)', },{ id:'0000100012', pId:'00001', name:'說明書.doc (1043KB)', click:'getBookinfo(8540428)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'方連桿零件機械加工工藝及夾具設(shè)計說明書編號夾13).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000020000100002', pId:'000010000200001', name:'CAD圖紙.dwg',url:'http://m.facezit.com/p-8540410.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'CAD圖紙.dwg',url:'http://m.facezit.com/p-8540411.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'三卡標準模板.wps',url:'http://m.facezit.com/p-8540412.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'工廠.docx',url:'http://m.facezit.com/p-8540413.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'機械加工工藝卡.docx',url:'http://m.facezit.com/p-8540414.html', target:'_blank' },{ id:'000010000300004', pId:'0000100003', name:'機械加工工藝過程卡.wps',url:'http://m.facezit.com/p-8540415.html', target:'_blank' },{ id:'000010000400002', pId:'0000100004', name:'a4橫圖紙模版.dwg',url:'http://m.facezit.com/p-8540416.html', target:'_blank' },{ id:'000010000400003', pId:'0000100004', name:'夾具總裝配圖07cad.dwg',url:'http://m.facezit.com/p-8540417.html', target:'_blank' },{ id:'000010000500010', pId:'0000100005', name:'1_x_t.dwg',url:'http://m.facezit.com/p-8540418.html', target:'_blank' },{ id:'000010000500013', pId:'0000100005', name:'2.dwg',url:'http://m.facezit.com/p-8540419.html', target:'_blank' },{ id:'000010000500015', pId:'0000100005', name:'21_x_t.dwg',url:'http://m.facezit.com/p-8540420.html', target:'_blank' },{ id:'000010000500017', pId:'0000100005', name:'3.dwg',url:'http://m.facezit.com/p-8540421.html', target:'_blank' },{ id:'000010000500019', pId:'0000100005', name:'4.dwg',url:'http://m.facezit.com/p-8540422.html', target:'_blank' },{ id:'000010000500022', pId:'0000100005', name:'5.dwg',url:'http://m.facezit.com/p-8540423.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'1.doc',url:'http://m.facezit.com/p-8540424.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8540425.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'撥叉零件機械加工工藝及夾具設(shè)計說明書.doc',url:'http://m.facezit.com/p-8540426.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'方連桿(1).pdf',url:'http://m.facezit.com/p-8540427.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8540428.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 = '7262546'; 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; }); });