'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'全套設(shè)計_立式液壓驅(qū)動數(shù)控彎管機(jī)機(jī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'立式液壓驅(qū)動數(shù)控滾彎機(jī)機(jī)械系統(tǒng)設(shè)計 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'彎管機(jī)資料 (包含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(8342053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'42_1613705_65d919a693bd593.jpg (34KB)', click:'getBookinfo(8342054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'g0_pbt35-pc-300-dv.jpg (62KB)', click:'getBookinfo(8342055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'傳動部圖.dwg (213KB)', click:'getBookinfo(8342056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'大致參數(shù).docx (13KB)', click:'getBookinfo(8342057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'大軸A3.dwg (56KB)', click:'getBookinfo(8342058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'大軸前端蓋A3.dwg (47KB)', click:'getBookinfo(8342059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'大軸后端蓋A3.dwg (46KB)', click:'getBookinfo(8342060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'大軸套A4.dwg (41KB)', click:'getBookinfo(8342061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'大軸承座A3-9.dwg (45KB)', click:'getBookinfo(8342062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'大齒輪A3.dwg (69KB)', click:'getBookinfo(8342063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'小軸A3.dwg (51KB)', click:'getBookinfo(8342064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'小軸前端蓋A3.dwg (48KB)', click:'getBookinfo(8342065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'小軸后端蓋A3.dwg (46KB)', click:'getBookinfo(8342066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'小軸套A4.dwg (40KB)', click:'getBookinfo(8342067)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'小軸承座A3.dwg (45KB)', click:'getBookinfo(8342068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'小齒輪A3.dwg (46KB)', click:'getBookinfo(8342069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'擋料軸A3.dwg (44KB)', click:'getBookinfo(8342070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'控制電路圖.dwg (52KB)', click:'getBookinfo(8342071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'蓋板A3.dwg (53KB)', click:'getBookinfo(8342072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'立式液壓驅(qū)動數(shù)控滾彎機(jī)機(jī)械系統(tǒng)設(shè)計.doc (1397KB)', click:'getBookinfo(8342073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'驅(qū)動圖.dwg (260KB)', click:'getBookinfo(8342074)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'全套設(shè)計_立式液壓驅(qū)動數(shù)控彎管機(jī)機(jī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'151_702078_e07fbbd653c166f.jpg',url:'http://m.facezit.com/p-8342053.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'42_1613705_65d919a693bd593.jpg',url:'http://m.facezit.com/p-8342054.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'g0_pbt35-pc-300-dv.jpg',url:'http://m.facezit.com/p-8342055.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'傳動部圖.dwg',url:'http://m.facezit.com/p-8342056.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'大致參數(shù).docx',url:'http://m.facezit.com/p-8342057.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'大軸A3.dwg',url:'http://m.facezit.com/p-8342058.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'大軸前端蓋A3.dwg',url:'http://m.facezit.com/p-8342059.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'大軸后端蓋A3.dwg',url:'http://m.facezit.com/p-8342060.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'大軸套A4.dwg',url:'http://m.facezit.com/p-8342061.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'大軸承座A3-9.dwg',url:'http://m.facezit.com/p-8342062.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'大齒輪A3.dwg',url:'http://m.facezit.com/p-8342063.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'小軸A3.dwg',url:'http://m.facezit.com/p-8342064.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'小軸前端蓋A3.dwg',url:'http://m.facezit.com/p-8342065.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'小軸后端蓋A3.dwg',url:'http://m.facezit.com/p-8342066.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'小軸套A4.dwg',url:'http://m.facezit.com/p-8342067.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'小軸承座A3.dwg',url:'http://m.facezit.com/p-8342068.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'小齒輪A3.dwg',url:'http://m.facezit.com/p-8342069.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'擋料軸A3.dwg',url:'http://m.facezit.com/p-8342070.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'控制電路圖.dwg',url:'http://m.facezit.com/p-8342071.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'蓋板A3.dwg',url:'http://m.facezit.com/p-8342072.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'立式液壓驅(qū)動數(shù)控滾彎機(jī)機(jī)械系統(tǒng)設(shè)計.doc',url:'http://m.facezit.com/p-8342073.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'驅(qū)動圖.dwg',url:'http://m.facezit.com/p-8342074.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 = '7809782'; 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; }); });