'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'玻璃底座裝飾板模具設(shè)計【14張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-裝配圖.dwg (211KB)', click:'getBookinfo(8103202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A2-上模座.dwg (182KB)', click:'getBookinfo(8103203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2-下模座.dwg (186KB)', click:'getBookinfo(8103204)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-上墊板.dwg (175KB)', click:'getBookinfo(8103205)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A3-下墊板.dwg (175KB)', click:'getBookinfo(8103206)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A3-凸凹模固定板.dwg (177KB)', click:'getBookinfo(8103207)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A3-凸模固定板.dwg (176KB)', click:'getBookinfo(8103208)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A3-卸料板.dwg (174KB)', click:'getBookinfo(8103209)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A3-落料凹模.dwg (179KB)', click:'getBookinfo(8103210)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A4-沖孔凸模.dwg (172KB)', click:'getBookinfo(8103211)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A4-凸凹模.dwg (178KB)', click:'getBookinfo(8103212)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A4-導(dǎo)套.dwg (176KB)', click:'getBookinfo(8103213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'A4-導(dǎo)柱.dwg (169KB)', click:'getBookinfo(8103214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'A4-模柄.dwg (176KB)', click:'getBookinfo(8103215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'PPT答辯稿.ppt (158KB)', click:'getBookinfo(8103216)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00016', pId:'1', name:'任務(wù)書.doc (28KB)', click:'getBookinfo(8103217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'開題報告.doc (59KB)', click:'getBookinfo(8103218)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'所有CAD圖.dwg (370KB)', click:'getBookinfo(8103219)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'摘要+目錄.doc (47KB)', click:'getBookinfo(8103220)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'畢業(yè)設(shè)計說明書.doc (672KB)', click:'getBookinfo(8103221)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'選題表.doc (18KB)', click:'getBookinfo(8103222)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'玻璃底座裝飾板模具設(shè)計【14張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8103202.html', target:'_blank' },{ id:'00002', pId:'1', name:'A2-上模座.dwg',url:'http://m.facezit.com/p-8103203.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2-下模座.dwg',url:'http://m.facezit.com/p-8103204.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-上墊板.dwg',url:'http://m.facezit.com/p-8103205.html', target:'_blank' },{ id:'00005', pId:'1', name:'A3-下墊板.dwg',url:'http://m.facezit.com/p-8103206.html', target:'_blank' },{ id:'00006', pId:'1', name:'A3-凸凹模固定板.dwg',url:'http://m.facezit.com/p-8103207.html', target:'_blank' },{ id:'00007', pId:'1', name:'A3-凸模固定板.dwg',url:'http://m.facezit.com/p-8103208.html', target:'_blank' },{ id:'00008', pId:'1', name:'A3-卸料板.dwg',url:'http://m.facezit.com/p-8103209.html', target:'_blank' },{ id:'00009', pId:'1', name:'A3-落料凹模.dwg',url:'http://m.facezit.com/p-8103210.html', target:'_blank' },{ id:'00010', pId:'1', name:'A4-沖孔凸模.dwg',url:'http://m.facezit.com/p-8103211.html', target:'_blank' },{ id:'00011', pId:'1', name:'A4-凸凹模.dwg',url:'http://m.facezit.com/p-8103212.html', target:'_blank' },{ id:'00012', pId:'1', name:'A4-導(dǎo)套.dwg',url:'http://m.facezit.com/p-8103213.html', target:'_blank' },{ id:'00013', pId:'1', name:'A4-導(dǎo)柱.dwg',url:'http://m.facezit.com/p-8103214.html', target:'_blank' },{ id:'00014', pId:'1', name:'A4-模柄.dwg',url:'http://m.facezit.com/p-8103215.html', target:'_blank' },{ id:'00015', pId:'1', name:'PPT答辯稿.ppt',url:'http://m.facezit.com/p-8103216.html', target:'_blank' },{ id:'00016', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8103217.html', target:'_blank' },{ id:'00017', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8103218.html', target:'_blank' },{ id:'00018', pId:'1', name:'所有CAD圖.dwg',url:'http://m.facezit.com/p-8103219.html', target:'_blank' },{ id:'00019', pId:'1', name:'摘要+目錄.doc',url:'http://m.facezit.com/p-8103220.html', target:'_blank' },{ id:'00020', pId:'1', name:'畢業(yè)設(shè)計說明書.doc',url:'http://m.facezit.com/p-8103221.html', target:'_blank' },{ id:'00021', pId:'1', name:'選題表.doc',url:'http://m.facezit.com/p-8103222.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 = '3527601'; 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; }); });