'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'gy01053@whx112減速機殼加工工藝及夾具設計2.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'GY01-053@WHX112減速機殼加工工藝及夾具設計2 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'夾具圖 (包含4個文件)', },{ id:'000010000100001', pId:'0000100001', name:'V型零件圖A2.dwg (33KB)', click:'getBookinfo(8197667)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'粗銑下平面夾具圖A0.dwg (208KB)', click:'getBookinfo(8197668)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'粗銑前后端面夾具A0.dwg (198KB)', click:'getBookinfo(8197669)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'粗銑前后端面夾具體.A2.dwg (53KB)', click:'getBookinfo(8197670)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工藝卡 (包含6個文件)', },{ id:'000010000200001', pId:'0000100002', name:'1.dwg (75KB)', click:'getBookinfo(8197671)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'2.dwg (65KB)', click:'getBookinfo(8197672)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'3.dwg (61KB)', click:'getBookinfo(8197673)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'4.dwg (66KB)', click:'getBookinfo(8197674)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'5.dwg (38KB)', click:'getBookinfo(8197675)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'6.dwg (42KB)', click:'getBookinfo(8197676)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'零件圖 (包含2個文件)', },{ id:'000010000300001', pId:'0000100003', name:'機體A1.dwg (112KB)', click:'getBookinfo(8197677)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'機蓋A1.dwg (87KB)', click:'getBookinfo(8197678)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'WHX112減速機殼加工工藝及夾具設計.doc (436KB)', click:'getBookinfo(8197679)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'外文資料及譯文.doc (56KB)', click:'getBookinfo(8197680)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'封面.doc (19KB)', click:'getBookinfo(8197681)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'gy01053@whx112減速機殼加工工藝及夾具設計2.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'V型零件圖A2.dwg',url:'http://m.facezit.com/p-8197667.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'粗銑下平面夾具圖A0.dwg',url:'http://m.facezit.com/p-8197668.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'粗銑前后端面夾具A0.dwg',url:'http://m.facezit.com/p-8197669.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'粗銑前后端面夾具體.A2.dwg',url:'http://m.facezit.com/p-8197670.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'1.dwg',url:'http://m.facezit.com/p-8197671.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'2.dwg',url:'http://m.facezit.com/p-8197672.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'3.dwg',url:'http://m.facezit.com/p-8197673.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'4.dwg',url:'http://m.facezit.com/p-8197674.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'5.dwg',url:'http://m.facezit.com/p-8197675.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'6.dwg',url:'http://m.facezit.com/p-8197676.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'機體A1.dwg',url:'http://m.facezit.com/p-8197677.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'機蓋A1.dwg',url:'http://m.facezit.com/p-8197678.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'WHX112減速機殼加工工藝及夾具設計.doc',url:'http://m.facezit.com/p-8197679.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'外文資料及譯文.doc',url:'http://m.facezit.com/p-8197680.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8197681.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 = '3531239'; 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; }); });