'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'鬧鐘后蓋注塑模的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'注塑模具畢業(yè)設(shè)計論文(鬧鐘后蓋實例)附圖紙 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'零件圖 (包含16個文件)', },{ id:'000010000100001', pId:'0000100001', name:'plot.log (2KB)', },{ id:'000010000100002', pId:'0000100001', name:'下模板.dwg (42KB)', click:'getBookinfo(8579502)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'型腔.dwg (54KB)', click:'getBookinfo(8579503)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'型腔固定板.dwg (45KB)', click:'getBookinfo(8579504)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'型芯.dwg (108KB)', click:'getBookinfo(8579505)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'型芯固定板.dwg (56KB)', click:'getBookinfo(8579506)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'塑件圖.dwg (117KB)', click:'getBookinfo(8579507)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'導(dǎo)套.dwg (39KB)', click:'getBookinfo(8579508)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'導(dǎo)柱.dwg (59KB)', click:'getBookinfo(8579509)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'嵌件1.dwg (38KB)', click:'getBookinfo(8579510)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'拉料桿.dwg (46KB)', click:'getBookinfo(8579511)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'澆口套1.dwg (43KB)', click:'getBookinfo(8579512)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'頂桿.dwg (46KB)', click:'getBookinfo(8579513)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'頂桿固定板.dwg (53KB)', click:'getBookinfo(8579514)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'頂桿墊板.dwg (43KB)', click:'getBookinfo(8579515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'頂柱.dwg (43KB)', click:'getBookinfo(8579516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'使用須知.txt (1KB)', click:'getBookinfo(8579517)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100003', pId:'00001', name:'摘要.doc (23KB)', click:'getBookinfo(8579518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'畢業(yè)設(shè)計說明書33.doc (282KB)', click:'getBookinfo(8579519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'目錄.doc (27KB)', click:'getBookinfo(8579520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'裝配圖.bak (92KB)', },{ id:'0000100007', pId:'00001', name:'裝配圖.dwg (92KB)', click:'getBookinfo(8579521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'邵陽學(xué)院開題報告書小明.doc (40KB)', click:'getBookinfo(8579522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'邵陽學(xué)院畢業(yè)設(shè)1任務(wù)書小明.doc (33KB)', click:'getBookinfo(8579523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'邵陽學(xué)院畢業(yè)設(shè)計申報表小明.doc (27KB)', click:'getBookinfo(8579524)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'鬧鐘后蓋注塑模的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'下模板.dwg',url:'http://m.facezit.com/p-8579502.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'型腔.dwg',url:'http://m.facezit.com/p-8579503.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'型腔固定板.dwg',url:'http://m.facezit.com/p-8579504.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'型芯.dwg',url:'http://m.facezit.com/p-8579505.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'型芯固定板.dwg',url:'http://m.facezit.com/p-8579506.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'塑件圖.dwg',url:'http://m.facezit.com/p-8579507.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'導(dǎo)套.dwg',url:'http://m.facezit.com/p-8579508.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'導(dǎo)柱.dwg',url:'http://m.facezit.com/p-8579509.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'嵌件1.dwg',url:'http://m.facezit.com/p-8579510.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'拉料桿.dwg',url:'http://m.facezit.com/p-8579511.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'澆口套1.dwg',url:'http://m.facezit.com/p-8579512.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'頂桿.dwg',url:'http://m.facezit.com/p-8579513.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'頂桿固定板.dwg',url:'http://m.facezit.com/p-8579514.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'頂桿墊板.dwg',url:'http://m.facezit.com/p-8579515.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'頂柱.dwg',url:'http://m.facezit.com/p-8579516.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'使用須知.txt',url:'http://m.facezit.com/p-8579517.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'摘要.doc',url:'http://m.facezit.com/p-8579518.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'畢業(yè)設(shè)計說明書33.doc',url:'http://m.facezit.com/p-8579519.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8579520.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8579521.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'邵陽學(xué)院開題報告書小明.doc',url:'http://m.facezit.com/p-8579522.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'邵陽學(xué)院畢業(yè)設(shè)1任務(wù)書小明.doc',url:'http://m.facezit.com/p-8579523.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'邵陽學(xué)院畢業(yè)設(shè)計申報表小明.doc',url:'http://m.facezit.com/p-8579524.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 = '7268279'; 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; }); });