'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'輕型貨車懸架設計【汽車類】【15張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'00-后懸架裝配圖A0.dwg (176KB)', click:'getBookinfo(8574410)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'01-前懸架裝配圖A0.dwg (162KB)', click:'getBookinfo(8574411)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'02-后懸架裝配圖A0.dwg (176KB)', click:'getBookinfo(8574412)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'03減震器A2 17.dwg (140KB)', click:'getBookinfo(8574413)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'03減震器A2.dwg (120KB)', click:'getBookinfo(8574414)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'04后鋼板彈簧總成A1.dwg (52KB)', click:'getBookinfo(8574415)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'04后鋼板彈簧總成A2.dwg (52KB)', click:'getBookinfo(8574416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'05前鋼板彈簧總成A1.dwg (101KB)', click:'getBookinfo(8574417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'05前鋼板彈簧總成A2.dwg (102KB)', click:'getBookinfo(8574418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'06板彈簧前支座A3.dwg (53KB)', click:'getBookinfo(8574419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'07彈簧后支座A3.dwg (55KB)', click:'getBookinfo(8574420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'08上吊環(huán)支架A3.dwg (53KB)', click:'getBookinfo(8574421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'08推桿A3.dwg (83KB)', click:'getBookinfo(8574422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'09推桿A3.dwg (53KB)', click:'getBookinfo(8574423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'10防塵蓋A3.dwg (71KB)', click:'getBookinfo(8574424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'外文翻譯--機械臂動力學與控制的研究.doc (5725KB)', click:'getBookinfo(8574425)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'輕型貨車懸架設計論文.doc (1258KB)', click:'getBookinfo(8574426)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'輕型貨車懸架設計【汽車類】【15張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'00-后懸架裝配圖A0.dwg',url:'http://m.facezit.com/p-8574410.html', target:'_blank' },{ id:'00002', pId:'1', name:'01-前懸架裝配圖A0.dwg',url:'http://m.facezit.com/p-8574411.html', target:'_blank' },{ id:'00003', pId:'1', name:'02-后懸架裝配圖A0.dwg',url:'http://m.facezit.com/p-8574412.html', target:'_blank' },{ id:'00004', pId:'1', name:'03減震器A2 17.dwg',url:'http://m.facezit.com/p-8574413.html', target:'_blank' },{ id:'00005', pId:'1', name:'03減震器A2.dwg',url:'http://m.facezit.com/p-8574414.html', target:'_blank' },{ id:'00006', pId:'1', name:'04后鋼板彈簧總成A1.dwg',url:'http://m.facezit.com/p-8574415.html', target:'_blank' },{ id:'00007', pId:'1', name:'04后鋼板彈簧總成A2.dwg',url:'http://m.facezit.com/p-8574416.html', target:'_blank' },{ id:'00008', pId:'1', name:'05前鋼板彈簧總成A1.dwg',url:'http://m.facezit.com/p-8574417.html', target:'_blank' },{ id:'00009', pId:'1', name:'05前鋼板彈簧總成A2.dwg',url:'http://m.facezit.com/p-8574418.html', target:'_blank' },{ id:'00010', pId:'1', name:'06板彈簧前支座A3.dwg',url:'http://m.facezit.com/p-8574419.html', target:'_blank' },{ id:'00011', pId:'1', name:'07彈簧后支座A3.dwg',url:'http://m.facezit.com/p-8574420.html', target:'_blank' },{ id:'00012', pId:'1', name:'08上吊環(huán)支架A3.dwg',url:'http://m.facezit.com/p-8574421.html', target:'_blank' },{ id:'00013', pId:'1', name:'08推桿A3.dwg',url:'http://m.facezit.com/p-8574422.html', target:'_blank' },{ id:'00014', pId:'1', name:'09推桿A3.dwg',url:'http://m.facezit.com/p-8574423.html', target:'_blank' },{ id:'00015', pId:'1', name:'10防塵蓋A3.dwg',url:'http://m.facezit.com/p-8574424.html', target:'_blank' },{ id:'00016', pId:'1', name:'外文翻譯--機械臂動力學與控制的研究.doc',url:'http://m.facezit.com/p-8574425.html', target:'_blank' },{ id:'00017', pId:'1', name:'輕型貨車懸架設計論文.doc',url:'http://m.facezit.com/p-8574426.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 = '7267573'; 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; }); });