'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'遙控器電池后蓋注塑模具設計全套cad圖紙設計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'電池后蓋注射模設計 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'任務書.doc (40KB)', click:'getBookinfo(8153068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'動模板.dwg (92KB)', click:'getBookinfo(8153069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動模板.png (10KB)', click:'getBookinfo(8153070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'型芯.dwg (80KB)', click:'getBookinfo(8153071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'型芯二.dwg (70KB)', click:'getBookinfo(8153072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'塑料件注射成型工藝卡.xls (35KB)', click:'getBookinfo(8153073)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100007', pId:'00001', name:'塑料零件注射工藝卡片.png (82KB)', click:'getBookinfo(8153074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'字數(shù)統(tǒng)計.png (100KB)', click:'getBookinfo(8153075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'定模板.dwg (79KB)', click:'getBookinfo(8153076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'定模板.png (10KB)', click:'getBookinfo(8153077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'開題報告.docx (24KB)', click:'getBookinfo(8153078)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'模具裝配圖.png (34KB)', click:'getBookinfo(8153079)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'畢業(yè)設計說明書.doc (723KB)', click:'getBookinfo(8153080)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'注塑模具裝配圖.dwg (146KB)', click:'getBookinfo(8153081)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'論文內容預覽.png (339KB)', click:'getBookinfo(8153082)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'論文目錄.png (53KB)', click:'getBookinfo(8153083)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'遙控器電池后蓋注塑模具設計全套cad圖紙設計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'任務書.doc',url:'http://m.facezit.com/p-8153068.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'動模板.dwg',url:'http://m.facezit.com/p-8153069.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動模板.png',url:'http://m.facezit.com/p-8153070.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'型芯.dwg',url:'http://m.facezit.com/p-8153071.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'型芯二.dwg',url:'http://m.facezit.com/p-8153072.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'塑料件注射成型工藝卡.xls',url:'http://m.facezit.com/p-8153073.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'塑料零件注射工藝卡片.png',url:'http://m.facezit.com/p-8153074.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'字數(shù)統(tǒng)計.png',url:'http://m.facezit.com/p-8153075.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'定模板.dwg',url:'http://m.facezit.com/p-8153076.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'定模板.png',url:'http://m.facezit.com/p-8153077.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'開題報告.docx',url:'http://m.facezit.com/p-8153078.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'模具裝配圖.png',url:'http://m.facezit.com/p-8153079.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'畢業(yè)設計說明書.doc',url:'http://m.facezit.com/p-8153080.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'注塑模具裝配圖.dwg',url:'http://m.facezit.com/p-8153081.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'論文內容預覽.png',url:'http://m.facezit.com/p-8153082.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'論文目錄.png',url:'http://m.facezit.com/p-8153083.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 = '3527987'; 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; }); });