'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'制冷專業(yè)畢業(yè)設(shè)計(家用空調(diào)).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'制冷專業(yè)畢業(yè)設(shè)計(家用空調(diào)) (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'一拖二熱泵型空調(diào)器(KFR-20GW×2) (包含13個文件)', },{ id:'000010000100001', pId:'0000100001', name:'Thermal comfort during heating and cooling periods in an automobile.pdf (436KB)', click:'getBookinfo(8266024)', icon:'/Images/filetype/PDF16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'冷凝器.dwg (158KB)', click:'getBookinfo(8266025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'制冷系統(tǒng)圖2.dwg (44KB)', click:'getBookinfo(8266026)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'學(xué)生自查表.doc (34KB)', click:'getBookinfo(8266027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'室內(nèi)機(jī).dwg (357KB)', click:'getBookinfo(8266028)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'室外機(jī).dwg (167KB)', click:'getBookinfo(8266029)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'室外機(jī)外殼.dwg (180KB)', click:'getBookinfo(8266030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'開題報告.doc (30KB)', click:'getBookinfo(8266031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'文獻(xiàn)綜述.doc (101KB)', click:'getBookinfo(8266032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'電器線路圖.dwg (85KB)', click:'getBookinfo(8266033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'英文翻譯.doc (493KB)', click:'getBookinfo(8266034)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'蒸發(fā)器.dwg (177KB)', click:'getBookinfo(8266035)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'說明書.doc (1833KB)', click:'getBookinfo(8266036)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'制冷專業(yè)畢業(yè)設(shè)計(家用空調(diào)).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'Thermal comfort during heating and cooling periods in an automobile.pdf',url:'http://www.nydnatest.com/p-8266024.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'冷凝器.dwg',url:'http://www.nydnatest.com/p-8266025.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'制冷系統(tǒng)圖2.dwg',url:'http://www.nydnatest.com/p-8266026.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'學(xué)生自查表.doc',url:'http://www.nydnatest.com/p-8266027.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'室內(nèi)機(jī).dwg',url:'http://www.nydnatest.com/p-8266028.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'室外機(jī).dwg',url:'http://www.nydnatest.com/p-8266029.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'室外機(jī)外殼.dwg',url:'http://www.nydnatest.com/p-8266030.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'開題報告.doc',url:'http://www.nydnatest.com/p-8266031.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'文獻(xiàn)綜述.doc',url:'http://www.nydnatest.com/p-8266032.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'電器線路圖.dwg',url:'http://www.nydnatest.com/p-8266033.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'英文翻譯.doc',url:'http://www.nydnatest.com/p-8266034.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'蒸發(fā)器.dwg',url:'http://www.nydnatest.com/p-8266035.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'說明書.doc',url:'http://www.nydnatest.com/p-8266036.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 = '6333885'; 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; }); });