'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】4579ahhc520制粒機(jī)設(shè)計(jì)【機(jī)械畢業(yè)設(shè)計(jì)全套資料已通過(guò)答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4579-AHHC520制粒機(jī)設(shè)計(jì) (包含25個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'UG圖 (包含13個(gè)文件)', },{ 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制粒機(jī)設(shè)計(jì)說(shuō)明書(shū).doc (1342KB)', click:'getBookinfo(8453794)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'chizhou-A3-2.dwg (127KB)', click:'getBookinfo(8453795)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'chizhou-A3.dwg (159KB)', click:'getBookinfo(8453796)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'dachilun-A3-2.dwg (74KB)', click:'getBookinfo(8453797)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'dachilun-A3.dwg (170KB)', click:'getBookinfo(8453798)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'xiangti-A0.dwg (152KB)', click:'getBookinfo(8453799)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'zhili-A0.dwg (179KB)', click:'getBookinfo(8453800)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'zongzhuang-A0.dwg (244KB)', click:'getBookinfo(8453801)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'外文翻譯.doc (873KB)', click:'getBookinfo(8453802)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'相關(guān)資料模板.doc (58KB)', click:'getBookinfo(8453803)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'計(jì)劃周記進(jìn)度檢查表.xls (13KB)', click:'getBookinfo(8453804)', icon:'/Images/filetype/XLS16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】4579ahhc520制粒機(jī)設(shè)計(jì)【機(jī)械畢業(yè)設(shè)計(jì)全套資料已通過(guò)答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'AHHC520制粒機(jī)設(shè)計(jì)說(shuō)明書(shū).doc',url:'http://facezit.com/p-8453794.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'chizhou-A3-2.dwg',url:'http://facezit.com/p-8453795.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'chizhou-A3.dwg',url:'http://facezit.com/p-8453796.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'dachilun-A3-2.dwg',url:'http://facezit.com/p-8453797.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'dachilun-A3.dwg',url:'http://facezit.com/p-8453798.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'xiangti-A0.dwg',url:'http://facezit.com/p-8453799.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'zhili-A0.dwg',url:'http://facezit.com/p-8453800.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'zongzhuang-A0.dwg',url:'http://facezit.com/p-8453801.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'外文翻譯.doc',url:'http://facezit.com/p-8453802.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'相關(guān)資料模板.doc',url:'http://facezit.com/p-8453803.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'計(jì)劃周記進(jìn)度檢查表.xls',url:'http://facezit.com/p-8453804.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7252422'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類(lèi)型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });