'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'數(shù)控火焰切割機(jī)的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'04 1變徑聯(lián)軸器-A3圖紙.dwg (58KB)', click:'getBookinfo(8755528)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'04 20絲杠螺母-A3圖紙.dwg (52KB)', click:'getBookinfo(8755532)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'04 20滑動絲杠-A3圖紙.dwg (61KB)', click:'getBookinfo(8755536)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'04 24絲杠螺母-A3圖紙.dwg (51KB)', click:'getBookinfo(8755540)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'04 24滑動絲杠-A3圖紙.dwg (62KB)', click:'getBookinfo(8755542)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'04 滑臺1-A3圖紙.dwg (48KB)', click:'getBookinfo(8755545)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'04 滑臺2-A3圖紙.dwg (49KB)', click:'getBookinfo(8755549)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'04 電氣連接圖04.dwg (144KB)', click:'getBookinfo(8755550)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'04 立柱-A3圖紙.dwg (103KB)', click:'getBookinfo(8755554)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'04 聯(lián)軸器-A3圖紙.dwg (50KB)', click:'getBookinfo(8755559)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'04 過盈軸套聯(lián)軸器-A4圖紙.dwg (56KB)', click:'getBookinfo(8755563)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'04 部件圖1-A2圖紙.dwg (120KB)', click:'getBookinfo(8755568)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'04 部件圖2-A2圖紙.dwg (85KB)', click:'getBookinfo(8755571)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'04裝配圖0.5-A0圖紙.dwg (536KB)', click:'getBookinfo(8755574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'外文翻譯--數(shù)控火焰氣割的基本常識.doc (82KB)', click:'getBookinfo(8755575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'數(shù)控火焰切割機(jī)的設(shè)計開題報告.doc (25KB)', click:'getBookinfo(8755577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'數(shù)控火焰切割機(jī)的設(shè)計論文.doc (608KB)', click:'getBookinfo(8755579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'畢業(yè)設(shè)計周記進(jìn)度檢查表.xls (24KB)', click:'getBookinfo(8755581)', icon:'/Images/filetype/XLS16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'數(shù)控火焰切割機(jī)的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'04 1變徑聯(lián)軸器-A3圖紙.dwg',url:'http://m.facezit.com/p-8755528.html', target:'_blank' },{ id:'00002', pId:'1', name:'04 20絲杠螺母-A3圖紙.dwg',url:'http://m.facezit.com/p-8755532.html', target:'_blank' },{ id:'00003', pId:'1', name:'04 20滑動絲杠-A3圖紙.dwg',url:'http://m.facezit.com/p-8755536.html', target:'_blank' },{ id:'00004', pId:'1', name:'04 24絲杠螺母-A3圖紙.dwg',url:'http://m.facezit.com/p-8755540.html', target:'_blank' },{ id:'00005', pId:'1', name:'04 24滑動絲杠-A3圖紙.dwg',url:'http://m.facezit.com/p-8755542.html', target:'_blank' },{ id:'00006', pId:'1', name:'04 滑臺1-A3圖紙.dwg',url:'http://m.facezit.com/p-8755545.html', target:'_blank' },{ id:'00007', pId:'1', name:'04 滑臺2-A3圖紙.dwg',url:'http://m.facezit.com/p-8755549.html', target:'_blank' },{ id:'00008', pId:'1', name:'04 電氣連接圖04.dwg',url:'http://m.facezit.com/p-8755550.html', target:'_blank' },{ id:'00009', pId:'1', name:'04 立柱-A3圖紙.dwg',url:'http://m.facezit.com/p-8755554.html', target:'_blank' },{ id:'00010', pId:'1', name:'04 聯(lián)軸器-A3圖紙.dwg',url:'http://m.facezit.com/p-8755559.html', target:'_blank' },{ id:'00011', pId:'1', name:'04 過盈軸套聯(lián)軸器-A4圖紙.dwg',url:'http://m.facezit.com/p-8755563.html', target:'_blank' },{ id:'00012', pId:'1', name:'04 部件圖1-A2圖紙.dwg',url:'http://m.facezit.com/p-8755568.html', target:'_blank' },{ id:'00013', pId:'1', name:'04 部件圖2-A2圖紙.dwg',url:'http://m.facezit.com/p-8755571.html', target:'_blank' },{ id:'00014', pId:'1', name:'04裝配圖0.5-A0圖紙.dwg',url:'http://m.facezit.com/p-8755574.html', target:'_blank' },{ id:'00015', pId:'1', name:'外文翻譯--數(shù)控火焰氣割的基本常識.doc',url:'http://m.facezit.com/p-8755575.html', target:'_blank' },{ id:'00016', pId:'1', name:'數(shù)控火焰切割機(jī)的設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8755577.html', target:'_blank' },{ id:'00017', pId:'1', name:'數(shù)控火焰切割機(jī)的設(shè)計論文.doc',url:'http://m.facezit.com/p-8755579.html', target:'_blank' },{ id:'00018', pId:'1', name:'畢業(yè)設(shè)計周記進(jìn)度檢查表.xls',url:'http://m.facezit.com/p-8755581.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 = '8751708'; 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; }); });