'; } $("#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張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主頂板.dwg (47KB)', click:'getBookinfo(8546833)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'動模板.dwg (62KB)', click:'getBookinfo(8546834)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'半橢圓球型芯.dwg (51KB)', click:'getBookinfo(8546835)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'型腔內(nèi)鑲件.dwg (37KB)', click:'getBookinfo(8546836)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型腔外鑲件.dwg (47KB)', click:'getBookinfo(8546837)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'型腔板.dwg (56KB)', click:'getBookinfo(8546838)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'實(shí)習(xí)總結(jié).doc (24KB)', click:'getBookinfo(8546839)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'導(dǎo)套.dwg (43KB)', click:'getBookinfo(8546840)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'導(dǎo)柱.dwg (46KB)', click:'getBookinfo(8546841)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'托板.dwg (57KB)', click:'getBookinfo(8546842)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'橢圓蓋注射模設(shè)計論文.doc (658KB)', click:'getBookinfo(8546843)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'模架.dwg (43KB)', click:'getBookinfo(8546844)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'矩形型芯.dwg (46KB)', click:'getBookinfo(8546845)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'表格.doc (218KB)', click:'getBookinfo(8546846)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'裝配圖.dwg (130KB)', click:'getBookinfo(8546847)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'限位支柱.dwg (37KB)', click:'getBookinfo(8546848)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'橢圓蓋注射模設(shè)計【13張圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主頂板.dwg',url:'http://m.facezit.com/p-8546833.html', target:'_blank' },{ id:'00002', pId:'1', name:'動模板.dwg',url:'http://m.facezit.com/p-8546834.html', target:'_blank' },{ id:'00003', pId:'1', name:'半橢圓球型芯.dwg',url:'http://m.facezit.com/p-8546835.html', target:'_blank' },{ id:'00004', pId:'1', name:'型腔內(nèi)鑲件.dwg',url:'http://m.facezit.com/p-8546836.html', target:'_blank' },{ id:'00005', pId:'1', name:'型腔外鑲件.dwg',url:'http://m.facezit.com/p-8546837.html', target:'_blank' },{ id:'00006', pId:'1', name:'型腔板.dwg',url:'http://m.facezit.com/p-8546838.html', target:'_blank' },{ id:'00007', pId:'1', name:'實(shí)習(xí)總結(jié).doc',url:'http://m.facezit.com/p-8546839.html', target:'_blank' },{ id:'00008', pId:'1', name:'導(dǎo)套.dwg',url:'http://m.facezit.com/p-8546840.html', target:'_blank' },{ id:'00009', pId:'1', name:'導(dǎo)柱.dwg',url:'http://m.facezit.com/p-8546841.html', target:'_blank' },{ id:'00010', pId:'1', name:'托板.dwg',url:'http://m.facezit.com/p-8546842.html', target:'_blank' },{ id:'00011', pId:'1', name:'橢圓蓋注射模設(shè)計論文.doc',url:'http://m.facezit.com/p-8546843.html', target:'_blank' },{ id:'00012', pId:'1', name:'模架.dwg',url:'http://m.facezit.com/p-8546844.html', target:'_blank' },{ id:'00013', pId:'1', name:'矩形型芯.dwg',url:'http://m.facezit.com/p-8546845.html', target:'_blank' },{ id:'00014', pId:'1', name:'表格.doc',url:'http://m.facezit.com/p-8546846.html', target:'_blank' },{ id:'00015', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8546847.html', target:'_blank' },{ id:'00016', pId:'1', name:'限位支柱.dwg',url:'http://m.facezit.com/p-8546848.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 = '7263691'; 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; }); });