'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'立式液壓驅(qū)動數(shù)控彎管機機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'立式液壓驅(qū)動數(shù)控滾彎機機械系統(tǒng)設(shè)計 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'彎管機資料 (包含4個文件)', },{ id:'000010000100001', pId:'0000100001', name:'0_0_heat-exchanger-coil.wmv (10662KB)', },{ id:'000010000100002', pId:'0000100001', name:'151_702078_e07fbbd653c166f.jpg (91KB)', click:'getBookinfo(8356314)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'42_1613705_65d919a693bd593.jpg (34KB)', click:'getBookinfo(8356315)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'g0_pbt35-pc-300-dv.jpg (62KB)', click:'getBookinfo(8356316)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'傳動部圖.dwg (213KB)', click:'getBookinfo(8356317)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'大致參數(shù).docx (13KB)', click:'getBookinfo(8356318)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'大軸A3.dwg (56KB)', click:'getBookinfo(8356319)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'大軸前端蓋A3.dwg (47KB)', click:'getBookinfo(8356320)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'大軸后端蓋A3.dwg (46KB)', click:'getBookinfo(8356321)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'大軸套A4.dwg (41KB)', click:'getBookinfo(8356322)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'大軸承座A3-9.dwg (45KB)', click:'getBookinfo(8356323)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'大齒輪A3.dwg (69KB)', click:'getBookinfo(8356324)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'小軸A3.dwg (51KB)', click:'getBookinfo(8356325)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'小軸前端蓋A3.dwg (48KB)', click:'getBookinfo(8356326)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'小軸后端蓋A3.dwg (46KB)', click:'getBookinfo(8356327)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'小軸套A4.dwg (40KB)', click:'getBookinfo(8356328)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'小軸承座A3.dwg (45KB)', click:'getBookinfo(8356329)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'小齒輪A3.dwg (46KB)', click:'getBookinfo(8356330)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'擋料軸A3.dwg (44KB)', click:'getBookinfo(8356331)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'控制電路圖.dwg (52KB)', click:'getBookinfo(8356332)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'蓋板A3.dwg (53KB)', click:'getBookinfo(8356333)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'立式液壓驅(qū)動數(shù)控滾彎機機械系統(tǒng)設(shè)計.doc (1397KB)', click:'getBookinfo(8356334)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'驅(qū)動圖.dwg (260KB)', click:'getBookinfo(8356335)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'立式液壓驅(qū)動數(shù)控彎管機機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'151_702078_e07fbbd653c166f.jpg',url:'http://m.facezit.com/p-8356314.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'42_1613705_65d919a693bd593.jpg',url:'http://m.facezit.com/p-8356315.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'g0_pbt35-pc-300-dv.jpg',url:'http://m.facezit.com/p-8356316.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'傳動部圖.dwg',url:'http://m.facezit.com/p-8356317.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'大致參數(shù).docx',url:'http://m.facezit.com/p-8356318.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'大軸A3.dwg',url:'http://m.facezit.com/p-8356319.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'大軸前端蓋A3.dwg',url:'http://m.facezit.com/p-8356320.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'大軸后端蓋A3.dwg',url:'http://m.facezit.com/p-8356321.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'大軸套A4.dwg',url:'http://m.facezit.com/p-8356322.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'大軸承座A3-9.dwg',url:'http://m.facezit.com/p-8356323.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'大齒輪A3.dwg',url:'http://m.facezit.com/p-8356324.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'小軸A3.dwg',url:'http://m.facezit.com/p-8356325.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'小軸前端蓋A3.dwg',url:'http://m.facezit.com/p-8356326.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'小軸后端蓋A3.dwg',url:'http://m.facezit.com/p-8356327.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'小軸套A4.dwg',url:'http://m.facezit.com/p-8356328.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'小軸承座A3.dwg',url:'http://m.facezit.com/p-8356329.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'小齒輪A3.dwg',url:'http://m.facezit.com/p-8356330.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'擋料軸A3.dwg',url:'http://m.facezit.com/p-8356331.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'控制電路圖.dwg',url:'http://m.facezit.com/p-8356332.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'蓋板A3.dwg',url:'http://m.facezit.com/p-8356333.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'立式液壓驅(qū)動數(shù)控滾彎機機械系統(tǒng)設(shè)計.doc',url:'http://m.facezit.com/p-8356334.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'驅(qū)動圖.dwg',url:'http://m.facezit.com/p-8356335.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 = '7836256'; 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; }); });