'; } $("#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:'一檔從動齒輪.dwg (72KB)', click:'getBookinfo(8598230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'三檔從動齒輪.dwg (69KB)', click:'getBookinfo(8598231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'二檔從動齒輪.dwg (69KB)', click:'getBookinfo(8598232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'任務書.doc (112KB)', click:'getBookinfo(8598233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'倒檔從動齒輪.dwg (68KB)', click:'getBookinfo(8598234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'六擋齒輪變速器設計開題報告.doc (192KB)', click:'getBookinfo(8598235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'六擋齒輪變速器設計說明書.doc (5353KB)', click:'getBookinfo(8598236)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'變速器總成.dwg (230KB)', click:'getBookinfo(8598237)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'變速器裝配圖.dwg (234KB)', click:'getBookinfo(8598238)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'四檔從動齒輪.dwg (67KB)', click:'getBookinfo(8598239)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'成績評定表.doc (115KB)', click:'getBookinfo(8598240)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'指導教師評分表.doc (118KB)', click:'getBookinfo(8598241)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'推薦表.doc (110KB)', click:'getBookinfo(8598242)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'答辯評分表.doc (115KB)', click:'getBookinfo(8598243)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'管理封皮.doc (107KB)', click:'getBookinfo(8598244)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'設計中期檢查表.doc (111KB)', click:'getBookinfo(8598245)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'設計圖紙9張.dwg (660KB)', click:'getBookinfo(8598246)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'評閱人評分表.doc (116KB)', click:'getBookinfo(8598247)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'說明書封皮.doc (28KB)', click:'getBookinfo(8598248)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'輸入軸.dwg (91KB)', click:'getBookinfo(8598249)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'輸出軸.dwg (77KB)', click:'getBookinfo(8598250)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'題目審定表.doc (103KB)', click:'getBookinfo(8598251)', 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:'一檔從動齒輪.dwg',url:'http://m.facezit.com/p-8598230.html', target:'_blank' },{ id:'00002', pId:'1', name:'三檔從動齒輪.dwg',url:'http://m.facezit.com/p-8598231.html', target:'_blank' },{ id:'00003', pId:'1', name:'二檔從動齒輪.dwg',url:'http://m.facezit.com/p-8598232.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8598233.html', target:'_blank' },{ id:'00005', pId:'1', name:'倒檔從動齒輪.dwg',url:'http://m.facezit.com/p-8598234.html', target:'_blank' },{ id:'00006', pId:'1', name:'六擋齒輪變速器設計開題報告.doc',url:'http://m.facezit.com/p-8598235.html', target:'_blank' },{ id:'00007', pId:'1', name:'六擋齒輪變速器設計說明書.doc',url:'http://m.facezit.com/p-8598236.html', target:'_blank' },{ id:'00008', pId:'1', name:'變速器總成.dwg',url:'http://m.facezit.com/p-8598237.html', target:'_blank' },{ id:'00009', pId:'1', name:'變速器裝配圖.dwg',url:'http://m.facezit.com/p-8598238.html', target:'_blank' },{ id:'00010', pId:'1', name:'四檔從動齒輪.dwg',url:'http://m.facezit.com/p-8598239.html', target:'_blank' },{ id:'00011', pId:'1', name:'成績評定表.doc',url:'http://m.facezit.com/p-8598240.html', target:'_blank' },{ id:'00012', pId:'1', name:'指導教師評分表.doc',url:'http://m.facezit.com/p-8598241.html', target:'_blank' },{ id:'00013', pId:'1', name:'推薦表.doc',url:'http://m.facezit.com/p-8598242.html', target:'_blank' },{ id:'00014', pId:'1', name:'答辯評分表.doc',url:'http://m.facezit.com/p-8598243.html', target:'_blank' },{ id:'00015', pId:'1', name:'管理封皮.doc',url:'http://m.facezit.com/p-8598244.html', target:'_blank' },{ id:'00016', pId:'1', name:'設計中期檢查表.doc',url:'http://m.facezit.com/p-8598245.html', target:'_blank' },{ id:'00017', pId:'1', name:'設計圖紙9張.dwg',url:'http://m.facezit.com/p-8598246.html', target:'_blank' },{ id:'00018', pId:'1', name:'評閱人評分表.doc',url:'http://m.facezit.com/p-8598247.html', target:'_blank' },{ id:'00019', pId:'1', name:'說明書封皮.doc',url:'http://m.facezit.com/p-8598248.html', target:'_blank' },{ id:'00020', pId:'1', name:'輸入軸.dwg',url:'http://m.facezit.com/p-8598249.html', target:'_blank' },{ id:'00021', pId:'1', name:'輸出軸.dwg',url:'http://m.facezit.com/p-8598250.html', target:'_blank' },{ id:'00022', pId:'1', name:'題目審定表.doc',url:'http://m.facezit.com/p-8598251.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 = '7960315'; 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; }); });