'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'管道除塵機器人結構設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc (16KB)', click:'getBookinfo(8347309)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'外文翻譯--數(shù)控技術和裝備發(fā)展趨勢及對策.doc (54KB)', click:'getBookinfo(8347310)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'彈簧支架A4.dwg (45KB)', click:'getBookinfo(8347311)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'相關資料.doc (14KB)', click:'getBookinfo(8347312)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'管道除塵機器人結構設計開題報告.doc (20KB)', click:'getBookinfo(8347313)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'管道除塵機器人結構設計說明書.doc (687KB)', click:'getBookinfo(8347314)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'蝸桿A3.dwg (79KB)', click:'getBookinfo(8347315)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'蝸輪A3.dwg (61KB)', click:'getBookinfo(8347316)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'裝配圖A0.dwg (272KB)', click:'getBookinfo(8347317)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'計劃周記進度檢查表.xls (25KB)', click:'getBookinfo(8347318)', icon:'/Images/filetype/XLS16.PNG'},{ id:'00011', pId:'1', name:'車輪支架A3.dwg (91KB)', click:'getBookinfo(8347319)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'軸套A3.dwg (49KB)', click:'getBookinfo(8347320)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'透蓋A3.dwg (51KB)', click:'getBookinfo(8347321)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'部件裝配圖A0.dwg (146KB)', click:'getBookinfo(8347322)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'鏈輪A3.dwg (85KB)', click:'getBookinfo(8347323)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'悶蓋A31.dwg (49KB)', click:'getBookinfo(8347324)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'管道除塵機器人結構設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8347309.html', target:'_blank' },{ id:'00002', pId:'1', name:'外文翻譯--數(shù)控技術和裝備發(fā)展趨勢及對策.doc',url:'http://m.facezit.com/p-8347310.html', target:'_blank' },{ id:'00003', pId:'1', name:'彈簧支架A4.dwg',url:'http://m.facezit.com/p-8347311.html', target:'_blank' },{ id:'00004', pId:'1', name:'相關資料.doc',url:'http://m.facezit.com/p-8347312.html', target:'_blank' },{ id:'00005', pId:'1', name:'管道除塵機器人結構設計開題報告.doc',url:'http://m.facezit.com/p-8347313.html', target:'_blank' },{ id:'00006', pId:'1', name:'管道除塵機器人結構設計說明書.doc',url:'http://m.facezit.com/p-8347314.html', target:'_blank' },{ id:'00007', pId:'1', name:'蝸桿A3.dwg',url:'http://m.facezit.com/p-8347315.html', target:'_blank' },{ id:'00008', pId:'1', name:'蝸輪A3.dwg',url:'http://m.facezit.com/p-8347316.html', target:'_blank' },{ id:'00009', pId:'1', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8347317.html', target:'_blank' },{ id:'00010', pId:'1', name:'計劃周記進度檢查表.xls',url:'http://m.facezit.com/p-8347318.html', target:'_blank' },{ id:'00011', pId:'1', name:'車輪支架A3.dwg',url:'http://m.facezit.com/p-8347319.html', target:'_blank' },{ id:'00012', pId:'1', name:'軸套A3.dwg',url:'http://m.facezit.com/p-8347320.html', target:'_blank' },{ id:'00013', pId:'1', name:'透蓋A3.dwg',url:'http://m.facezit.com/p-8347321.html', target:'_blank' },{ id:'00014', pId:'1', name:'部件裝配圖A0.dwg',url:'http://m.facezit.com/p-8347322.html', target:'_blank' },{ id:'00015', pId:'1', name:'鏈輪A3.dwg',url:'http://m.facezit.com/p-8347323.html', target:'_blank' },{ id:'00016', pId:'1', name:'悶蓋A31.dwg',url:'http://m.facezit.com/p-8347324.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 = '7810361'; 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; }); });