'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'糕點切片機設計【機械類畢業(yè)含cad圖紙】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'糕點切片機設計 (包含27個文件)', },{ id:'0000100001', pId:'00001', name:'中英文翻譯.doc (59KB)', click:'getBookinfo(8564145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'任務書(帶參考文獻).docx (14KB)', click:'getBookinfo(8564146)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'全部文件.jpg (67KB)', click:'getBookinfo(8564147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'切片軸.dwg (56KB)', click:'getBookinfo(8564148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'切片軸.png (15KB)', click:'getBookinfo(8564149)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'字數.jpg (44KB)', click:'getBookinfo(8564150)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'帶輪1.dwg (40KB)', click:'getBookinfo(8564151)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'帶輪1.png (22KB)', click:'getBookinfo(8564152)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'帶輪2.dwg (41KB)', click:'getBookinfo(8564153)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'帶輪2.png (25KB)', click:'getBookinfo(8564154)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'開題報告.docx (17KB)', click:'getBookinfo(8564155)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'文檔頁面.jpg (223KB)', click:'getBookinfo(8564156)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'裝配圖.dwg (185KB)', click:'getBookinfo(8564157)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'裝配圖.png (49KB)', click:'getBookinfo(8564158)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'設計說明書.doc (1835KB)', click:'getBookinfo(8564159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'軸.dwg (46KB)', click:'getBookinfo(8564160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'軸.png (16KB)', click:'getBookinfo(8564161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'軸2.dwg (45KB)', click:'getBookinfo(8564162)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'軸2.png (16KB)', click:'getBookinfo(8564163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'軸承0.dwg (34KB)', click:'getBookinfo(8564164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'軸承0.png (17KB)', click:'getBookinfo(8564165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'齒條.dwg (34KB)', click:'getBookinfo(8564166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'齒條.png (16KB)', click:'getBookinfo(8564167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'齒輪1.dwg (39KB)', click:'getBookinfo(8564168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100025', pId:'00001', name:'齒輪1.png (22KB)', click:'getBookinfo(8564169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'齒輪2.dwg (41KB)', click:'getBookinfo(8564170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100027', pId:'00001', name:'齒輪2.png (20KB)', click:'getBookinfo(8564171)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'糕點切片機設計【機械類畢業(yè)含cad圖紙】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'中英文翻譯.doc',url:'http://m.facezit.com/p-8564145.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'任務書(帶參考文獻).docx',url:'http://m.facezit.com/p-8564146.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'全部文件.jpg',url:'http://m.facezit.com/p-8564147.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'切片軸.dwg',url:'http://m.facezit.com/p-8564148.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'切片軸.png',url:'http://m.facezit.com/p-8564149.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'字數.jpg',url:'http://m.facezit.com/p-8564150.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'帶輪1.dwg',url:'http://m.facezit.com/p-8564151.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'帶輪1.png',url:'http://m.facezit.com/p-8564152.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'帶輪2.dwg',url:'http://m.facezit.com/p-8564153.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'帶輪2.png',url:'http://m.facezit.com/p-8564154.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'開題報告.docx',url:'http://m.facezit.com/p-8564155.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'文檔頁面.jpg',url:'http://m.facezit.com/p-8564156.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8564157.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'裝配圖.png',url:'http://m.facezit.com/p-8564158.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'設計說明書.doc',url:'http://m.facezit.com/p-8564159.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'軸.dwg',url:'http://m.facezit.com/p-8564160.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'軸.png',url:'http://m.facezit.com/p-8564161.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'軸2.dwg',url:'http://m.facezit.com/p-8564162.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'軸2.png',url:'http://m.facezit.com/p-8564163.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'軸承0.dwg',url:'http://m.facezit.com/p-8564164.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'軸承0.png',url:'http://m.facezit.com/p-8564165.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'齒條.dwg',url:'http://m.facezit.com/p-8564166.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'齒條.png',url:'http://m.facezit.com/p-8564167.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'齒輪1.dwg',url:'http://m.facezit.com/p-8564168.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'齒輪1.png',url:'http://m.facezit.com/p-8564169.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'齒輪2.dwg',url:'http://m.facezit.com/p-8564170.html', target:'_blank' },{ id:'0000100027', pId:'00001', name:'齒輪2.png',url:'http://m.facezit.com/p-8564171.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 = '7266210'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });