'; } $("#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(8342902)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'三檔從動齒輪.dwg (69KB)', click:'getBookinfo(8342903)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'二檔從動齒輪.dwg (69KB)', click:'getBookinfo(8342904)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'任務書.doc (112KB)', click:'getBookinfo(8342905)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'倒檔從動齒輪.dwg (68KB)', click:'getBookinfo(8342906)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'六擋齒輪變速器設計開題報告.doc (192KB)', click:'getBookinfo(8342907)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'六擋齒輪變速器設計說明書.doc (5353KB)', click:'getBookinfo(8342908)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'變速器總成.dwg (230KB)', click:'getBookinfo(8342909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'變速器裝配圖.dwg (234KB)', click:'getBookinfo(8342910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'四檔從動齒輪.dwg (67KB)', click:'getBookinfo(8342911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'成績評定表.doc (115KB)', click:'getBookinfo(8342912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'指導教師評分表.doc (118KB)', click:'getBookinfo(8342913)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'推薦表.doc (110KB)', click:'getBookinfo(8342914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'答辯評分表.doc (115KB)', click:'getBookinfo(8342915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'管理封皮.doc (107KB)', click:'getBookinfo(8342916)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'設計中期檢查表.doc (111KB)', click:'getBookinfo(8342917)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'設計圖紙9張.dwg (660KB)', click:'getBookinfo(8342918)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'評閱人評分表.doc (116KB)', click:'getBookinfo(8342919)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'說明書封皮.doc (28KB)', click:'getBookinfo(8342920)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'輸入軸.dwg (91KB)', click:'getBookinfo(8342921)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'輸出軸.dwg (77KB)', click:'getBookinfo(8342922)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'題目審定表.doc (103KB)', click:'getBookinfo(8342923)', 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-8342902.html', target:'_blank' },{ id:'00002', pId:'1', name:'三檔從動齒輪.dwg',url:'http://m.facezit.com/p-8342903.html', target:'_blank' },{ id:'00003', pId:'1', name:'二檔從動齒輪.dwg',url:'http://m.facezit.com/p-8342904.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8342905.html', target:'_blank' },{ id:'00005', pId:'1', name:'倒檔從動齒輪.dwg',url:'http://m.facezit.com/p-8342906.html', target:'_blank' },{ id:'00006', pId:'1', name:'六擋齒輪變速器設計開題報告.doc',url:'http://m.facezit.com/p-8342907.html', target:'_blank' },{ id:'00007', pId:'1', name:'六擋齒輪變速器設計說明書.doc',url:'http://m.facezit.com/p-8342908.html', target:'_blank' },{ id:'00008', pId:'1', name:'變速器總成.dwg',url:'http://m.facezit.com/p-8342909.html', target:'_blank' },{ id:'00009', pId:'1', name:'變速器裝配圖.dwg',url:'http://m.facezit.com/p-8342910.html', target:'_blank' },{ id:'00010', pId:'1', name:'四檔從動齒輪.dwg',url:'http://m.facezit.com/p-8342911.html', target:'_blank' },{ id:'00011', pId:'1', name:'成績評定表.doc',url:'http://m.facezit.com/p-8342912.html', target:'_blank' },{ id:'00012', pId:'1', name:'指導教師評分表.doc',url:'http://m.facezit.com/p-8342913.html', target:'_blank' },{ id:'00013', pId:'1', name:'推薦表.doc',url:'http://m.facezit.com/p-8342914.html', target:'_blank' },{ id:'00014', pId:'1', name:'答辯評分表.doc',url:'http://m.facezit.com/p-8342915.html', target:'_blank' },{ id:'00015', pId:'1', name:'管理封皮.doc',url:'http://m.facezit.com/p-8342916.html', target:'_blank' },{ id:'00016', pId:'1', name:'設計中期檢查表.doc',url:'http://m.facezit.com/p-8342917.html', target:'_blank' },{ id:'00017', pId:'1', name:'設計圖紙9張.dwg',url:'http://m.facezit.com/p-8342918.html', target:'_blank' },{ id:'00018', pId:'1', name:'評閱人評分表.doc',url:'http://m.facezit.com/p-8342919.html', target:'_blank' },{ id:'00019', pId:'1', name:'說明書封皮.doc',url:'http://m.facezit.com/p-8342920.html', target:'_blank' },{ id:'00020', pId:'1', name:'輸入軸.dwg',url:'http://m.facezit.com/p-8342921.html', target:'_blank' },{ id:'00021', pId:'1', name:'輸出軸.dwg',url:'http://m.facezit.com/p-8342922.html', target:'_blank' },{ id:'00022', pId:'1', name:'題目審定表.doc',url:'http://m.facezit.com/p-8342923.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 = '7809857'; 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; }); });