'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'機電數(shù)控機床進給傳動裝置的設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'機電-數(shù)控機床進給傳動裝置的設計 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'內容截圖 (包含0個文件)', },{ id:'0000100002', pId:'00001', name:'1 開題報告.doc (38KB)', click:'getBookinfo(8717711)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'10.罩(A4).dwg (32KB)', click:'getBookinfo(8717712)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'11.套(A4).dwg (52KB)', click:'getBookinfo(8717713)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'12.法蘭盤(A4).dwg (57KB)', click:'getBookinfo(8717714)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'13.撞塊(A4).dwg (58KB)', click:'getBookinfo(8717715)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'14.板(A4).dwg (53KB)', click:'getBookinfo(8717716)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'2.右軸承座(A1).dwg (108KB)', click:'getBookinfo(8717717)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'3 工作臺裝配圖.dwg (199KB)', click:'getBookinfo(8717718)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'3.左支架(A2).dwg (70KB)', click:'getBookinfo(8717719)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'4.滾珠絲杠(A3).dwg (89KB)', click:'getBookinfo(8717720)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'5.蓋板(A3).dwg (73KB)', click:'getBookinfo(8717721)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'6.螺母座(A3).dwg (63KB)', click:'getBookinfo(8717722)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'7.開關盒(A3).dwg (59KB)', click:'getBookinfo(8717723)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'8.墊(A4).dwg (76KB)', click:'getBookinfo(8717724)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'9.墊2(A4).dwg (54KB)', click:'getBookinfo(8717725)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'中英文摘要.doc (25KB)', click:'getBookinfo(8717726)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'設計任務書.doc (31KB)', click:'getBookinfo(8717727)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'說明書.doc (1419KB)', click:'getBookinfo(8717728)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'說明書封面.doc (22KB)', click:'getBookinfo(8717729)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'豆豆圖紙—無須賬號免費下載,3D模型下載,CAD圖紙下載,畢業(yè)設計資料下載,別墅圖紙,設計服務.url (0KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'機電數(shù)控機床進給傳動裝置的設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'1 開題報告.doc',url:'http://m.facezit.com/p-8717711.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'10.罩(A4).dwg',url:'http://m.facezit.com/p-8717712.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'11.套(A4).dwg',url:'http://m.facezit.com/p-8717713.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'12.法蘭盤(A4).dwg',url:'http://m.facezit.com/p-8717714.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'13.撞塊(A4).dwg',url:'http://m.facezit.com/p-8717715.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'14.板(A4).dwg',url:'http://m.facezit.com/p-8717716.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'2.右軸承座(A1).dwg',url:'http://m.facezit.com/p-8717717.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'3 工作臺裝配圖.dwg',url:'http://m.facezit.com/p-8717718.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'3.左支架(A2).dwg',url:'http://m.facezit.com/p-8717719.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'4.滾珠絲杠(A3).dwg',url:'http://m.facezit.com/p-8717720.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'5.蓋板(A3).dwg',url:'http://m.facezit.com/p-8717721.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'6.螺母座(A3).dwg',url:'http://m.facezit.com/p-8717722.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'7.開關盒(A3).dwg',url:'http://m.facezit.com/p-8717723.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'8.墊(A4).dwg',url:'http://m.facezit.com/p-8717724.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'9.墊2(A4).dwg',url:'http://m.facezit.com/p-8717725.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'中英文摘要.doc',url:'http://m.facezit.com/p-8717726.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'設計任務書.doc',url:'http://m.facezit.com/p-8717727.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8717728.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'說明書封面.doc',url:'http://m.facezit.com/p-8717729.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 = '3435639'; 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; }); });