'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'立式袋裝機縱封裝置設計[3dug零件]【9張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'UG (包含7個文件)', },{ id:'0000100001', pId:'00001', name:'7.prt (280KB)', },{ id:'0000100002', pId:'00001', name:'dianreqisuom4.prt (228KB)', },{ id:'0000100003', pId:'00001', name:'GL3-1.prt (416KB)', },{ id:'0000100004', pId:'00001', name:'GL3-2.prt (400KB)', },{ id:'0000100005', pId:'00001', name:'youwenti6.prt (380KB)', },{ id:'0000100006', pId:'00001', name:'zongfenggun.prt (164KB)', },{ id:'0000100007', pId:'00001', name:'zongfengjiareqi.prt (212KB)', },{ id:'00002', pId:'1', name:'相關資料 (包含2個文件)', },{ id:'0000200001', pId:'00002', name:'相關資料 (2).doc (85KB)', click:'getBookinfo(8683102)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'計劃周記進度檢查表.xls (25KB)', click:'getBookinfo(8683103)', icon:'/Images/filetype/XLS16.PNG'},{ id:'00003', pId:'1', name:'A3-滾輪-2.dwg (317KB)', click:'getBookinfo(8683104)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-滾輪.dwg (304KB)', click:'getBookinfo(8683105)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3可調軸承座.dwg (314KB)', click:'getBookinfo(8683106)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A4 縱封輥8.dwg (299KB)', click:'getBookinfo(8683107)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A4 固定軸承座.dwg (298KB)', click:'getBookinfo(8683108)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A4 電熱器鎖母 4.dwg (291KB)', click:'getBookinfo(8683109)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'縱封加熱器A4.dwg (291KB)', click:'getBookinfo(8683110)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'裝配圖1A0.dwg (339KB)', click:'getBookinfo(8683111)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'裝配圖2A0.dwg (432KB)', click:'getBookinfo(8683112)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'說明書.doc (1166KB)', click:'getBookinfo(8683113)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'立式袋裝機縱封裝置設計[3dug零件]【9張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000200001', pId:'00002', name:'相關資料 (2).doc',url:'http://m.facezit.com/p-8683102.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'計劃周記進度檢查表.xls',url:'http://m.facezit.com/p-8683103.html', target:'_blank' },{ id:'00003', pId:'1', name:'A3-滾輪-2.dwg',url:'http://m.facezit.com/p-8683104.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-滾輪.dwg',url:'http://m.facezit.com/p-8683105.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3可調軸承座.dwg',url:'http://m.facezit.com/p-8683106.html', target:'_blank' },{ id:'00006', pId:'1', name:'A4 縱封輥8.dwg',url:'http://m.facezit.com/p-8683107.html', target:'_blank' },{ id:'00007', pId:'1', name:'A4 固定軸承座.dwg',url:'http://m.facezit.com/p-8683108.html', target:'_blank' },{ id:'00008', pId:'1', name:'A4 電熱器鎖母 4.dwg',url:'http://m.facezit.com/p-8683109.html', target:'_blank' },{ id:'00009', pId:'1', name:'縱封加熱器A4.dwg',url:'http://m.facezit.com/p-8683110.html', target:'_blank' },{ id:'00010', pId:'1', name:'裝配圖1A0.dwg',url:'http://m.facezit.com/p-8683111.html', target:'_blank' },{ id:'00011', pId:'1', name:'裝配圖2A0.dwg',url:'http://m.facezit.com/p-8683112.html', target:'_blank' },{ id:'00012', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8683113.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 = '7266247'; 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; }); });