'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'辦公樓供暖及換熱站設(shè)計3.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'辦公樓供暖及換熱站設(shè)計3 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'1層.xls (38KB)', click:'getBookinfo(8795308)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100002', pId:'00001', name:'2層.xls (31KB)', click:'getBookinfo(8795309)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100003', pId:'00001', name:'3層.xls (31KB)', click:'getBookinfo(8795310)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100004', pId:'00001', name:'4層.xls (31KB)', click:'getBookinfo(8795311)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100005', pId:'00001', name:'5層.xls (31KB)', click:'getBookinfo(8795312)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100006', pId:'00001', name:'6層.xls (30KB)', click:'getBookinfo(8795313)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100007', pId:'00001', name:'7層.xls (30KB)', click:'getBookinfo(8795314)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100008', pId:'00001', name:'8層.xls (30KB)', click:'getBookinfo(8795315)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100009', pId:'00001', name:'9層.xls (35KB)', click:'getBookinfo(8795316)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100010', pId:'00001', name:'低區(qū)水力計算.xls (23KB)', click:'getBookinfo(8795317)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100011', pId:'00001', name:'出圖圖紙.dwg (1205KB)', click:'getBookinfo(8795318)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'西安辦公樓供暖及換熱站設(shè)計任務(wù)書.doc (19KB)', click:'getBookinfo(8795319)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'說明書.doc (1099KB)', click:'getBookinfo(8795320)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'高區(qū)水力計算.xls (25KB)', click:'getBookinfo(8795321)', icon:'/Images/filetype/XLS16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'辦公樓供暖及換熱站設(shè)計3.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1層.xls',url:'http://canyonlakefaqs.com/p-8795308.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'2層.xls',url:'http://canyonlakefaqs.com/p-8795309.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'3層.xls',url:'http://canyonlakefaqs.com/p-8795310.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'4層.xls',url:'http://canyonlakefaqs.com/p-8795311.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'5層.xls',url:'http://canyonlakefaqs.com/p-8795312.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'6層.xls',url:'http://canyonlakefaqs.com/p-8795313.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'7層.xls',url:'http://canyonlakefaqs.com/p-8795314.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'8層.xls',url:'http://canyonlakefaqs.com/p-8795315.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'9層.xls',url:'http://canyonlakefaqs.com/p-8795316.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'低區(qū)水力計算.xls',url:'http://canyonlakefaqs.com/p-8795317.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'出圖圖紙.dwg',url:'http://canyonlakefaqs.com/p-8795318.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'西安辦公樓供暖及換熱站設(shè)計任務(wù)書.doc',url:'http://canyonlakefaqs.com/p-8795319.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'說明書.doc',url:'http://canyonlakefaqs.com/p-8795320.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'高區(qū)水力計算.xls',url:'http://canyonlakefaqs.com/p-8795321.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 = '3427844'; 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; }); });