'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'行星齒輪減速箱運動仿真分析【7張cad圖紙畢業(yè)論文】【答辯優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'行星齒輪減速箱運動仿真分析 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'a輪.dwg (296KB)', click:'getBookinfo(8683852)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'e輪.dwg (298KB)', click:'getBookinfo(8683853)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'前端蓋.dwg (286KB)', click:'getBookinfo(8683854)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'后端蓋.dwg (288KB)', click:'getBookinfo(8683855)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'外文翻譯軸和齒輪.doc (51KB)', click:'getBookinfo(8683856)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'畢業(yè)論文任務書.doc (44KB)', click:'getBookinfo(8683857)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'畢業(yè)論文封面.doc (29KB)', click:'getBookinfo(8683858)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'目錄.docx (19KB)', click:'getBookinfo(8683859)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'箱體1.dwg (315KB)', click:'getBookinfo(8683860)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'裝配圖.dwg (355KB)', click:'getBookinfo(8683861)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'評閱表.doc (31KB)', click:'getBookinfo(8683862)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'說明書.doc (1014KB)', click:'getBookinfo(8683863)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'轉臂.dwg (286KB)', click:'getBookinfo(8683864)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'鑒定意見.doc (38KB)', click:'getBookinfo(8683865)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'行星齒輪減速箱運動仿真分析【7張cad圖紙畢業(yè)論文】【答辯優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'a輪.dwg',url:'http://m.facezit.com/p-8683852.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'e輪.dwg',url:'http://m.facezit.com/p-8683853.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'前端蓋.dwg',url:'http://m.facezit.com/p-8683854.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'后端蓋.dwg',url:'http://m.facezit.com/p-8683855.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'外文翻譯軸和齒輪.doc',url:'http://m.facezit.com/p-8683856.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'畢業(yè)論文任務書.doc',url:'http://m.facezit.com/p-8683857.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'畢業(yè)論文封面.doc',url:'http://m.facezit.com/p-8683858.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'目錄.docx',url:'http://m.facezit.com/p-8683859.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'箱體1.dwg',url:'http://m.facezit.com/p-8683860.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8683861.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'評閱表.doc',url:'http://m.facezit.com/p-8683862.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8683863.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'轉臂.dwg',url:'http://m.facezit.com/p-8683864.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'鑒定意見.doc',url:'http://m.facezit.com/p-8683865.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 = '7267089'; 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; }); });