'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs034】游戲機(jī)按鈕注塑模具設(shè)計【kt】[點(diǎn)澆口].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'0-塑件圖-A4.dwg (60KB)', click:'getBookinfo(8444853)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'1-裝配圖-A1.dwg (142KB)', click:'getBookinfo(8444854)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'2-型腔-A2.dwg (68KB)', click:'getBookinfo(8444855)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'3-型芯-A4.dwg (45KB)', click:'getBookinfo(8444856)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'4-型芯固定板-A2.dwg (64KB)', click:'getBookinfo(8444857)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'5-定模板-A2.dwg (55KB)', click:'getBookinfo(8444858)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'6-推桿固定板-A2.dwg (55KB)', click:'getBookinfo(8444859)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'7-推件板-A2.dwg (57KB)', click:'getBookinfo(8444860)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'8-支撐板-A2.dwg (59KB)', click:'getBookinfo(8444861)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'9-推板-A2.dwg (52KB)', click:'getBookinfo(8444862)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'PREO三維圖 (包含2個文件)', },{ id:'0000200001', pId:'00002', name:'0509_1.prt.1 (89KB)', },{ id:'0000200002', pId:'00002', name:'三維圖冊.doc (202KB)', click:'getBookinfo(8444863)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf (778KB)', click:'getBookinfo(8444864)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00004', pId:'1', name:'開題報告.doc (39KB)', click:'getBookinfo(8444865)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'目錄(2頁).doc (73KB)', click:'getBookinfo(8444866)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'設(shè)計說明書(36頁)-16190字.doc (411KB)', click:'getBookinfo(8444867)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs034】游戲機(jī)按鈕注塑模具設(shè)計【kt】[點(diǎn)澆口].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'0-塑件圖-A4.dwg',url:'http://m.facezit.com/p-8444853.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'1-裝配圖-A1.dwg',url:'http://m.facezit.com/p-8444854.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'2-型腔-A2.dwg',url:'http://m.facezit.com/p-8444855.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'3-型芯-A4.dwg',url:'http://m.facezit.com/p-8444856.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'4-型芯固定板-A2.dwg',url:'http://m.facezit.com/p-8444857.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'5-定模板-A2.dwg',url:'http://m.facezit.com/p-8444858.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'6-推桿固定板-A2.dwg',url:'http://m.facezit.com/p-8444859.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'7-推件板-A2.dwg',url:'http://m.facezit.com/p-8444860.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'8-支撐板-A2.dwg',url:'http://m.facezit.com/p-8444861.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'9-推板-A2.dwg',url:'http://m.facezit.com/p-8444862.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'三維圖冊.doc',url:'http://m.facezit.com/p-8444863.html', target:'_blank' },{ id:'00003', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8444864.html', target:'_blank' },{ id:'00004', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8444865.html', target:'_blank' },{ id:'00005', pId:'1', name:'目錄(2頁).doc',url:'http://m.facezit.com/p-8444866.html', target:'_blank' },{ id:'00006', pId:'1', name:'設(shè)計說明書(36頁)-16190字.doc',url:'http://m.facezit.com/p-8444867.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 = '7251725'; 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; }); });