'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【jx424】ahhc520制粒機設(shè)計【fy】[3a0].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含7個文件)', },{ id:'0000100001', pId:'00001', name:'A0-制粒系統(tǒng)部裝圖.dwg (179KB)', click:'getBookinfo(8107483)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A0-箱體.dwg (152KB)', click:'getBookinfo(8107484)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A0-裝配圖.dwg (244KB)', click:'getBookinfo(8107485)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-大齒輪.dwg (170KB)', click:'getBookinfo(8107486)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-大齒輪2.dwg (74KB)', click:'getBookinfo(8107487)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-齒輪軸.dwg (159KB)', click:'getBookinfo(8107488)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3-齒輪軸2.dwg (127KB)', click:'getBookinfo(8107489)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'UGhuanmo (包含13個文件)', },{ id:'0000200001', pId:'00002', name:'01.prt (188KB)', },{ id:'0000200002', pId:'00002', name:'012.prt (236KB)', },{ id:'0000200003', pId:'00002', name:'014.prt (248KB)', },{ id:'0000200004', pId:'00002', name:'015.prt (232KB)', },{ id:'0000200005', pId:'00002', name:'02.prt (140KB)', },{ id:'0000200006', pId:'00002', name:'dachilun.prt (688KB)', },{ id:'0000200007', pId:'00002', name:'huan2.prt (3948KB)', },{ id:'0000200008', pId:'00002', name:'huan3.prt (4288KB)', },{ id:'0000200009', pId:'00002', name:'huan4.prt (5228KB)', },{ id:'0000200010', pId:'00002', name:'huanzi1.prt (204KB)', },{ id:'0000200011', pId:'00002', name:'jian1.prt (124KB)', },{ id:'0000200012', pId:'00002', name:'zhou.prt (208KB)', },{ id:'0000200013', pId:'00002', name:'zhuang1.prt (152KB)', },{ id:'00003', pId:'1', name:'AHHC520制粒機設(shè)計說明書[16000字,45頁].doc (1342KB)', click:'getBookinfo(8107490)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf (743KB)', click:'getBookinfo(8107491)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00005', pId:'1', name:'外文翻譯.doc (873KB)', click:'getBookinfo(8107492)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'摘要+目錄.doc (45KB)', click:'getBookinfo(8107493)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'相關(guān)資料模板.doc (58KB)', click:'getBookinfo(8107494)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'計劃周記進度檢查表.xls (13KB)', click:'getBookinfo(8107495)', icon:'/Images/filetype/XLS16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【jx424】ahhc520制粒機設(shè)計【fy】[3a0].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-制粒系統(tǒng)部裝圖.dwg',url:'http://m.facezit.com/p-8107483.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A0-箱體.dwg',url:'http://m.facezit.com/p-8107484.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8107485.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-大齒輪.dwg',url:'http://m.facezit.com/p-8107486.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-大齒輪2.dwg',url:'http://m.facezit.com/p-8107487.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-齒輪軸.dwg',url:'http://m.facezit.com/p-8107488.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3-齒輪軸2.dwg',url:'http://m.facezit.com/p-8107489.html', target:'_blank' },{ id:'00003', pId:'1', name:'AHHC520制粒機設(shè)計說明書[16000字,45頁].doc',url:'http://m.facezit.com/p-8107490.html', target:'_blank' },{ id:'00004', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8107491.html', target:'_blank' },{ id:'00005', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8107492.html', target:'_blank' },{ id:'00006', pId:'1', name:'摘要+目錄.doc',url:'http://m.facezit.com/p-8107493.html', target:'_blank' },{ id:'00007', pId:'1', name:'相關(guān)資料模板.doc',url:'http://m.facezit.com/p-8107494.html', target:'_blank' },{ id:'00008', pId:'1', name:'計劃周記進度檢查表.xls',url:'http://m.facezit.com/p-8107495.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 = '3526353'; 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; }); });