'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'4579ahhc520制粒機設計【機械畢業(yè)設計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4579-AHHC520制粒機設計 (包含25個文件)', },{ id:'0000100001', pId:'00001', name:'UG圖 (包含13個文件)', },{ id:'000010000100001', pId:'0000100001', name:'01.prt (188KB)', },{ id:'000010000100002', pId:'0000100001', name:'012.prt (236KB)', },{ id:'000010000100003', pId:'0000100001', name:'014.prt (248KB)', },{ id:'000010000100004', pId:'0000100001', name:'015.prt (232KB)', },{ id:'000010000100005', pId:'0000100001', name:'02.prt (140KB)', },{ id:'000010000100006', pId:'0000100001', name:'dachilun.prt (688KB)', },{ id:'000010000100007', pId:'0000100001', name:'huan2.prt (3948KB)', },{ id:'000010000100008', pId:'0000100001', name:'huan3.prt (4288KB)', },{ id:'000010000100009', pId:'0000100001', name:'huan4.prt (5228KB)', },{ id:'000010000100010', pId:'0000100001', name:'huanzi1.prt (204KB)', },{ id:'000010000100011', pId:'0000100001', name:'jian1.prt (124KB)', },{ id:'000010000100012', pId:'0000100001', name:'zhou.prt (208KB)', },{ id:'000010000100013', pId:'0000100001', name:'zhuang1.prt (152KB)', },{ id:'0000100002', pId:'00001', name:'AHHC520制粒機設計說明書.doc (1342KB)', click:'getBookinfo(8190985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'chizhou-A3-2.dwg (127KB)', click:'getBookinfo(8190986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'chizhou-A3.dwg (159KB)', click:'getBookinfo(8190987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'dachilun-A3-2.dwg (74KB)', click:'getBookinfo(8190988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'dachilun-A3.dwg (170KB)', click:'getBookinfo(8190989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'xiangti-A0.dwg (152KB)', click:'getBookinfo(8190990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'zhili-A0.dwg (179KB)', click:'getBookinfo(8190991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'zongzhuang-A0.dwg (244KB)', click:'getBookinfo(8190992)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'外文翻譯.doc (873KB)', click:'getBookinfo(8190993)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'相關資料模板.doc (58KB)', click:'getBookinfo(8190994)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'計劃周記進度檢查表.xls (13KB)', click:'getBookinfo(8190995)', icon:'/Images/filetype/XLS16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'4579ahhc520制粒機設計【機械畢業(yè)設計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'AHHC520制粒機設計說明書.doc',url:'http://m.facezit.com/p-8190985.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'chizhou-A3-2.dwg',url:'http://m.facezit.com/p-8190986.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'chizhou-A3.dwg',url:'http://m.facezit.com/p-8190987.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'dachilun-A3-2.dwg',url:'http://m.facezit.com/p-8190988.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'dachilun-A3.dwg',url:'http://m.facezit.com/p-8190989.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'xiangti-A0.dwg',url:'http://m.facezit.com/p-8190990.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'zhili-A0.dwg',url:'http://m.facezit.com/p-8190991.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'zongzhuang-A0.dwg',url:'http://m.facezit.com/p-8190992.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8190993.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'相關資料模板.doc',url:'http://m.facezit.com/p-8190994.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'計劃周記進度檢查表.xls',url:'http://m.facezit.com/p-8190995.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 = '3532218'; 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; }); });