'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】[x0035]餃子機及傳動系統(tǒng)設(shè)計【6張圖紙】【優(yōu)秀】【wordcad圖紙全套設(shè)計】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'畢業(yè)設(shè)計 (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'0923039湯東鵬餃子機.doc (1169KB)', click:'getBookinfo(8464738)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'1總裝圖設(shè)計.bak (220KB)', },{ id:'0000100003', pId:'00001', name:'1總裝圖設(shè)計.dwg (193KB)', click:'getBookinfo(8464739)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'蝸桿.bak (85KB)', },{ id:'0000100005', pId:'00001', name:'蝸桿.dwg (90KB)', click:'getBookinfo(8464740)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'蝸輪.bak (69KB)', },{ id:'0000100007', pId:'00001', name:'蝸輪.dwg (69KB)', click:'getBookinfo(8464741)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'齒輪箱1.bak (157KB)', },{ id:'0000100009', pId:'00001', name:'齒輪箱1.dwg (157KB)', click:'getBookinfo(8464742)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'齒輪箱2..bak (194KB)', },{ id:'0000100011', pId:'00001', name:'齒輪箱2..dwg (195KB)', click:'getBookinfo(8464743)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'齒輪軸.bak (72KB)', },{ id:'0000100013', pId:'00001', name:'齒輪軸.dwg (100KB)', click:'getBookinfo(8464744)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'相關(guān)資料 (包含2個文件)', },{ id:'0000200001', pId:'00002', name:'湯東鵬開題報告.doc (729KB)', click:'getBookinfo(8464745)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'計劃周記進度檢查表(信機系) (1).xls (41KB)', click:'getBookinfo(8464746)', icon:'/Images/filetype/XLS16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】[x0035]餃子機及傳動系統(tǒng)設(shè)計【6張圖紙】【優(yōu)秀】【wordcad圖紙全套設(shè)計】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'0923039湯東鵬餃子機.doc',url:'http://m.facezit.com/p-8464738.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'1總裝圖設(shè)計.dwg',url:'http://m.facezit.com/p-8464739.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'蝸桿.dwg',url:'http://m.facezit.com/p-8464740.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'蝸輪.dwg',url:'http://m.facezit.com/p-8464741.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'齒輪箱1.dwg',url:'http://m.facezit.com/p-8464742.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'齒輪箱2..dwg',url:'http://m.facezit.com/p-8464743.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'齒輪軸.dwg',url:'http://m.facezit.com/p-8464744.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'湯東鵬開題報告.doc',url:'http://m.facezit.com/p-8464745.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'計劃周記進度檢查表(信機系) (1).xls',url:'http://m.facezit.com/p-8464746.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 = '7253534'; 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; }); });