'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'塑料帶輪模流分析及模具設計[抽芯]【10張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'相關資料 (包含3個文件)', },{ id:'0000100001', pId:'00001', name:'塑料帶輪模流分析及模具設計.doc (2930KB)', click:'getBookinfo(8750995)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'相關資料模板.doc (161KB)', click:'getBookinfo(8750996)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'計劃周記進度檢查表.xls (19KB)', click:'getBookinfo(8750997)', icon:'/Images/filetype/XLS16.PNG'},{ id:'00002', pId:'1', name:'動模型芯.dwg (54KB)', click:'getBookinfo(8750998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'型芯套.dwg (56KB)', click:'getBookinfo(8750999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'塑料帶輪.dwg (68KB)', click:'getBookinfo(8751000)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'塑料帶輪模流分析及模具設計.doc (2930KB)', click:'getBookinfo(8751001)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'塑料帶輪裝配圖.dwg (342KB)', click:'getBookinfo(8751002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'定模型芯.dwg (101KB)', click:'getBookinfo(8751003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'定模座板.dwg (83KB)', click:'getBookinfo(8751004)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'導套.dwg (54KB)', click:'getBookinfo(8751005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'導柱.dwg (56KB)', click:'getBookinfo(8751006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'滑塊型芯.dwg (55KB)', click:'getBookinfo(8751007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'軸孔型芯.dwg (51KB)', click:'getBookinfo(8751008)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'塑料帶輪模流分析及模具設計[抽芯]【10張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'塑料帶輪模流分析及模具設計.doc',url:'http://m.facezit.com/p-8750995.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'相關資料模板.doc',url:'http://m.facezit.com/p-8750996.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'計劃周記進度檢查表.xls',url:'http://m.facezit.com/p-8750997.html', target:'_blank' },{ id:'00002', pId:'1', name:'動模型芯.dwg',url:'http://m.facezit.com/p-8750998.html', target:'_blank' },{ id:'00003', pId:'1', name:'型芯套.dwg',url:'http://m.facezit.com/p-8750999.html', target:'_blank' },{ id:'00004', pId:'1', name:'塑料帶輪.dwg',url:'http://m.facezit.com/p-8751000.html', target:'_blank' },{ id:'00005', pId:'1', name:'塑料帶輪模流分析及模具設計.doc',url:'http://m.facezit.com/p-8751001.html', target:'_blank' },{ id:'00006', pId:'1', name:'塑料帶輪裝配圖.dwg',url:'http://m.facezit.com/p-8751002.html', target:'_blank' },{ id:'00007', pId:'1', name:'定模型芯.dwg',url:'http://m.facezit.com/p-8751003.html', target:'_blank' },{ id:'00008', pId:'1', name:'定模座板.dwg',url:'http://m.facezit.com/p-8751004.html', target:'_blank' },{ id:'00009', pId:'1', name:'導套.dwg',url:'http://m.facezit.com/p-8751005.html', target:'_blank' },{ id:'00010', pId:'1', name:'導柱.dwg',url:'http://m.facezit.com/p-8751006.html', target:'_blank' },{ id:'00011', pId:'1', name:'滑塊型芯.dwg',url:'http://m.facezit.com/p-8751007.html', target:'_blank' },{ id:'00012', pId:'1', name:'軸孔型芯.dwg',url:'http://m.facezit.com/p-8751008.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 = '3519096'; 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; }); });