'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】題目22分級變速主傳動系統(tǒng)的設(shè)計【減速器變速箱課程設(shè)計類全套】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'題目22-分級變速主傳動系統(tǒng)的設(shè)計 (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'【圖紙預(yù)覽】題目22-分級變速主傳動系統(tǒng)的設(shè)計 (包含6個文件)', },{ id:'000010000100001', pId:'0000100001', name:'22主軸箱展開圖-Model.gif (19KB)', click:'getBookinfo(8487516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'全部文件.png (13KB)', click:'getBookinfo(8487517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'剖視圖.png (16KB)', click:'getBookinfo(8487518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'展開圖.png (16KB)', click:'getBookinfo(8487519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'機床主軸圖紙-Model.gif (15KB)', click:'getBookinfo(8487520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'說明書截圖.png (44KB)', click:'getBookinfo(8487521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'22主軸箱展開圖.dwg (204KB)', click:'getBookinfo(8487522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'【題目22】分級變速主傳動系統(tǒng)設(shè)計.doc (592KB)', click:'getBookinfo(8487523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'主軸箱橫剖面圖.dwg (104KB)', click:'getBookinfo(8487524)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'原稿,題目22-分級變速主傳動系統(tǒng)的設(shè)計.rar (452KB)', click:'getBookinfo(8487525)', icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100006', pId:'00001', name:'帶輪圖 題目22.dwg (94KB)', click:'getBookinfo(8487526)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'機床主軸圖紙.dwg (102KB)', click:'getBookinfo(8487527)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】題目22分級變速主傳動系統(tǒng)的設(shè)計【減速器變速箱課程設(shè)計類全套】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'22主軸箱展開圖-Model.gif',url:'http://m.facezit.com/p-8487516.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'全部文件.png',url:'http://m.facezit.com/p-8487517.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'剖視圖.png',url:'http://m.facezit.com/p-8487518.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'展開圖.png',url:'http://m.facezit.com/p-8487519.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'機床主軸圖紙-Model.gif',url:'http://m.facezit.com/p-8487520.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'說明書截圖.png',url:'http://m.facezit.com/p-8487521.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'22主軸箱展開圖.dwg',url:'http://m.facezit.com/p-8487522.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'【題目22】分級變速主傳動系統(tǒng)設(shè)計.doc',url:'http://m.facezit.com/p-8487523.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'主軸箱橫剖面圖.dwg',url:'http://m.facezit.com/p-8487524.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'原稿,題目22-分級變速主傳動系統(tǒng)的設(shè)計.rar',url:'http://m.facezit.com/p-8487525.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'帶輪圖 題目22.dwg',url:'http://m.facezit.com/p-8487526.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'機床主軸圖紙.dwg',url:'http://m.facezit.com/p-8487527.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 = '7255926'; 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; }); });