'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】題目7分級變速主傳動系統(tǒng)設(shè)計【減速器變速箱課程設(shè)計類全套】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'題目7-分級變速主傳動系統(tǒng)設(shè)計 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'【圖紙預(yù)覽】題目7-分級變速主傳動系統(tǒng)設(shè)計 (包含6個文件)', },{ id:'000010000100001', pId:'0000100001', name:'主軸箱展開圖 題目7-Model.gif (24KB)', click:'getBookinfo(8487452)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'主軸箱橫剖面圖-Model.gif (19KB)', click:'getBookinfo(8487453)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'帶輪 圖紙 題目7-Model.gif (16KB)', click:'getBookinfo(8487454)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'文件列表.jpg (78KB)', click:'getBookinfo(8487455)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'機床主軸圖紙-Model.gif (15KB)', click:'getBookinfo(8487456)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'說明書截圖.png (80KB)', click:'getBookinfo(8487457)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'acad.fas (包含0個文件)', },{ id:'0000100003', pId:'00001', name:'【課題7】分級變速主傳動系統(tǒng)設(shè)計論文.doc (647KB)', click:'getBookinfo(8487458)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'主軸箱展開圖 題目7.dwg (216KB)', click:'getBookinfo(8487459)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'主軸箱橫剖面圖.dwg (87KB)', click:'getBookinfo(8487460)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'帶輪 圖紙 題目7.dwg (258KB)', click:'getBookinfo(8487461)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'機床主軸圖紙.dwg (110KB)', click:'getBookinfo(8487462)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'題目7-分級變速主傳動系統(tǒng)設(shè)計.zip (714KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】題目7分級變速主傳動系統(tǒng)設(shè)計【減速器變速箱課程設(shè)計類全套】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'主軸箱展開圖 題目7-Model.gif',url:'http://m.facezit.com/p-8487452.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'主軸箱橫剖面圖-Model.gif',url:'http://m.facezit.com/p-8487453.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'帶輪 圖紙 題目7-Model.gif',url:'http://m.facezit.com/p-8487454.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'文件列表.jpg',url:'http://m.facezit.com/p-8487455.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'機床主軸圖紙-Model.gif',url:'http://m.facezit.com/p-8487456.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'說明書截圖.png',url:'http://m.facezit.com/p-8487457.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'【課題7】分級變速主傳動系統(tǒng)設(shè)計論文.doc',url:'http://m.facezit.com/p-8487458.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'主軸箱展開圖 題目7.dwg',url:'http://m.facezit.com/p-8487459.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'主軸箱橫剖面圖.dwg',url:'http://m.facezit.com/p-8487460.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'帶輪 圖紙 題目7.dwg',url:'http://m.facezit.com/p-8487461.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'機床主軸圖紙.dwg',url:'http://m.facezit.com/p-8487462.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 = '7255920'; 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; }); });