'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】300香水蓋子及模具設(shè)計(jì)【任務(wù)書畢業(yè)論文cad圖紙答辯ppt】【機(jī)械全套資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'300 香水蓋子及模具設(shè)計(jì)【任務(wù)書+畢業(yè)論文+cad圖紙+答辯ppt】【機(jī)械全套資料】 (包含19個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'側(cè)滑塊A3.dwg (50KB)', click:'getBookinfo(8451153)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'動(dòng)模板A2.dwg (42KB)', click:'getBookinfo(8451154)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'型腔A3.dwg (46KB)', click:'getBookinfo(8451155)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'型腔加工工藝卡.doc (43KB)', click:'getBookinfo(8451156)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'型腔排布形式.bmp (1370KB)', click:'getBookinfo(8451157)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'型腔排布形式A4.dwg (42KB)', click:'getBookinfo(8451158)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'型芯A3.dwg (36KB)', click:'getBookinfo(8451159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'型芯加工工藝.doc (42KB)', click:'getBookinfo(8451160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'定模板A2.dwg (46KB)', click:'getBookinfo(8451161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'推桿固定板A2.dwg (50KB)', click:'getBookinfo(8451162)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'推板A2.dwg (33KB)', click:'getBookinfo(8451163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'斜導(dǎo)柱A4.dwg (32KB)', click:'getBookinfo(8451164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'畢業(yè)設(shè)計(jì)任務(wù)書.doc (24KB)', click:'getBookinfo(8451165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'澆口套形式A4.dwg (41KB)', click:'getBookinfo(8451166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'裝配圖.bmp (1370KB)', click:'getBookinfo(8451167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'裝配圖A1.dwg (82KB)', click:'getBookinfo(8451168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'說(shuō)明書.doc (939KB)', click:'getBookinfo(8451169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'零件圖A3.dwg (38KB)', click:'getBookinfo(8451170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'黃春銘畢業(yè)演示文稿.ppt (192KB)', click:'getBookinfo(8451171)', icon:'/Images/filetype/PPT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】300香水蓋子及模具設(shè)計(jì)【任務(wù)書畢業(yè)論文cad圖紙答辯ppt】【機(jī)械全套資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'側(cè)滑塊A3.dwg',url:'http://m.facezit.com/p-8451153.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'動(dòng)模板A2.dwg',url:'http://m.facezit.com/p-8451154.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'型腔A3.dwg',url:'http://m.facezit.com/p-8451155.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'型腔加工工藝卡.doc',url:'http://m.facezit.com/p-8451156.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'型腔排布形式.bmp',url:'http://m.facezit.com/p-8451157.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'型腔排布形式A4.dwg',url:'http://m.facezit.com/p-8451158.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'型芯A3.dwg',url:'http://m.facezit.com/p-8451159.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'型芯加工工藝.doc',url:'http://m.facezit.com/p-8451160.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'定模板A2.dwg',url:'http://m.facezit.com/p-8451161.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'推桿固定板A2.dwg',url:'http://m.facezit.com/p-8451162.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'推板A2.dwg',url:'http://m.facezit.com/p-8451163.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'斜導(dǎo)柱A4.dwg',url:'http://m.facezit.com/p-8451164.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'畢業(yè)設(shè)計(jì)任務(wù)書.doc',url:'http://m.facezit.com/p-8451165.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'澆口套形式A4.dwg',url:'http://m.facezit.com/p-8451166.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'裝配圖.bmp',url:'http://m.facezit.com/p-8451167.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'裝配圖A1.dwg',url:'http://m.facezit.com/p-8451168.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'說(shuō)明書.doc',url:'http://m.facezit.com/p-8451169.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'零件圖A3.dwg',url:'http://m.facezit.com/p-8451170.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'黃春銘畢業(yè)演示文稿.ppt',url:'http://m.facezit.com/p-8451171.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7252213'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });