'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'hgc1050輕型商用車變速器設計【汽車類】【7張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'HGC1050輕型商用車變速器設計開題報告.doc (169KB)', click:'getBookinfo(8424125)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'HGC1050輕型商用車變速器設計說明書.doc (4125KB)', click:'getBookinfo(8424126)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'三檔齒輪.dwg (72KB)', click:'getBookinfo(8424127)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'中文封皮.doc (22KB)', click:'getBookinfo(8424128)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'中間軸.dwg (120KB)', click:'getBookinfo(8424129)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'任務書.doc (124KB)', click:'getBookinfo(8424130)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'倒檔齒輪.dwg (69KB)', click:'getBookinfo(8424131)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'變速器圖紙.dwg (756KB)', click:'getBookinfo(8424132)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'常嚙合齒輪.dwg (76KB)', click:'getBookinfo(8424133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'指導記錄.doc (177KB)', click:'getBookinfo(8424134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'指導記錄封皮.doc (106KB)', click:'getBookinfo(8424135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'摘要.doc (27KB)', click:'getBookinfo(8424136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'目錄.doc (80KB)', click:'getBookinfo(8424137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'第一軸.dwg (100KB)', click:'getBookinfo(8424138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'第二軸.dwg (129KB)', click:'getBookinfo(8424139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'英文封皮.doc (26KB)', click:'getBookinfo(8424140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'過程管理材料.doc (222KB)', click:'getBookinfo(8424141)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'hgc1050輕型商用車變速器設計【汽車類】【7張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'HGC1050輕型商用車變速器設計開題報告.doc',url:'http://facezit.com/p-8424125.html', target:'_blank' },{ id:'00002', pId:'1', name:'HGC1050輕型商用車變速器設計說明書.doc',url:'http://facezit.com/p-8424126.html', target:'_blank' },{ id:'00003', pId:'1', name:'三檔齒輪.dwg',url:'http://facezit.com/p-8424127.html', target:'_blank' },{ id:'00004', pId:'1', name:'中文封皮.doc',url:'http://facezit.com/p-8424128.html', target:'_blank' },{ id:'00005', pId:'1', name:'中間軸.dwg',url:'http://facezit.com/p-8424129.html', target:'_blank' },{ id:'00006', pId:'1', name:'任務書.doc',url:'http://facezit.com/p-8424130.html', target:'_blank' },{ id:'00007', pId:'1', name:'倒檔齒輪.dwg',url:'http://facezit.com/p-8424131.html', target:'_blank' },{ id:'00008', pId:'1', name:'變速器圖紙.dwg',url:'http://facezit.com/p-8424132.html', target:'_blank' },{ id:'00009', pId:'1', name:'常嚙合齒輪.dwg',url:'http://facezit.com/p-8424133.html', target:'_blank' },{ id:'00010', pId:'1', name:'指導記錄.doc',url:'http://facezit.com/p-8424134.html', target:'_blank' },{ id:'00011', pId:'1', name:'指導記錄封皮.doc',url:'http://facezit.com/p-8424135.html', target:'_blank' },{ id:'00012', pId:'1', name:'摘要.doc',url:'http://facezit.com/p-8424136.html', target:'_blank' },{ id:'00013', pId:'1', name:'目錄.doc',url:'http://facezit.com/p-8424137.html', target:'_blank' },{ id:'00014', pId:'1', name:'第一軸.dwg',url:'http://facezit.com/p-8424138.html', target:'_blank' },{ id:'00015', pId:'1', name:'第二軸.dwg',url:'http://facezit.com/p-8424139.html', target:'_blank' },{ id:'00016', pId:'1', name:'英文封皮.doc',url:'http://facezit.com/p-8424140.html', target:'_blank' },{ id:'00017', pId:'1', name:'過程管理材料.doc',url:'http://facezit.com/p-8424141.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 = '7249185'; 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; }); });