'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'橢圓蓋注射模設(shè)計【13張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主頂板.dwg (283KB)', click:'getBookinfo(8547147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'動模板.dwg (283KB)', click:'getBookinfo(8547148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'半橢圓球型芯.dwg (283KB)', click:'getBookinfo(8547149)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'型腔內(nèi)鑲件.dwg (278KB)', click:'getBookinfo(8547150)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型腔外鑲件.dwg (281KB)', click:'getBookinfo(8547151)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'型腔板.dwg (288KB)', click:'getBookinfo(8547152)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'實習(xí)總結(jié).doc (12KB)', click:'getBookinfo(8547153)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'導(dǎo)套.dwg (280KB)', click:'getBookinfo(8547154)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'導(dǎo)柱.dwg (281KB)', click:'getBookinfo(8547155)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'托板.dwg (289KB)', click:'getBookinfo(8547156)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'模架.dwg (279KB)', click:'getBookinfo(8547157)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'矩形型芯.dwg (281KB)', click:'getBookinfo(8547158)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'表格.doc (130KB)', click:'getBookinfo(8547159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'裝配圖.dwg (361KB)', click:'getBookinfo(8547160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'說明書.doc (594KB)', click:'getBookinfo(8547161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'限位支柱.dwg (278KB)', click:'getBookinfo(8547162)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'橢圓蓋注射模設(shè)計【13張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主頂板.dwg',url:'http://m.facezit.com/p-8547147.html', target:'_blank' },{ id:'00002', pId:'1', name:'動模板.dwg',url:'http://m.facezit.com/p-8547148.html', target:'_blank' },{ id:'00003', pId:'1', name:'半橢圓球型芯.dwg',url:'http://m.facezit.com/p-8547149.html', target:'_blank' },{ id:'00004', pId:'1', name:'型腔內(nèi)鑲件.dwg',url:'http://m.facezit.com/p-8547150.html', target:'_blank' },{ id:'00005', pId:'1', name:'型腔外鑲件.dwg',url:'http://m.facezit.com/p-8547151.html', target:'_blank' },{ id:'00006', pId:'1', name:'型腔板.dwg',url:'http://m.facezit.com/p-8547152.html', target:'_blank' },{ id:'00007', pId:'1', name:'實習(xí)總結(jié).doc',url:'http://m.facezit.com/p-8547153.html', target:'_blank' },{ id:'00008', pId:'1', name:'導(dǎo)套.dwg',url:'http://m.facezit.com/p-8547154.html', target:'_blank' },{ id:'00009', pId:'1', name:'導(dǎo)柱.dwg',url:'http://m.facezit.com/p-8547155.html', target:'_blank' },{ id:'00010', pId:'1', name:'托板.dwg',url:'http://m.facezit.com/p-8547156.html', target:'_blank' },{ id:'00011', pId:'1', name:'模架.dwg',url:'http://m.facezit.com/p-8547157.html', target:'_blank' },{ id:'00012', pId:'1', name:'矩形型芯.dwg',url:'http://m.facezit.com/p-8547158.html', target:'_blank' },{ id:'00013', pId:'1', name:'表格.doc',url:'http://m.facezit.com/p-8547159.html', target:'_blank' },{ id:'00014', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8547160.html', target:'_blank' },{ id:'00015', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8547161.html', target:'_blank' },{ id:'00016', pId:'1', name:'限位支柱.dwg',url:'http://m.facezit.com/p-8547162.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 = '7263790'; 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; }); });