'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'宜都市陆城镇给水工程设计【给排水毕业论文含任务书开题报告中期报告论文答辩pptcad图】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'宜都市陆城镇给水工程设计 (包含7个文件)', },{ id:'0000100001', pId:'00001', name:'佩.JPG (2620KB)', click:'getBookinfo(8525592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'土木工程学院毕业设计中期检查表.doc (35KB)', click:'getBookinfo(8525593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'完整版 设计说明书.docx (842KB)', click:'getBookinfo(8525594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'开题报告 (修改版) 冯佩 .doc (104KB)', click:'getBookinfo(8525595)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'毕业答辩 冯佩.ppt (779KB)', click:'getBookinfo(8525596)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100006', pId:'00001', name:'网格絮凝池.dwg (1723KB)', click:'getBookinfo(8525597)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'进度表.docx (20KB)', click:'getBookinfo(8525598)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'宜都市陆城镇给水工程设计【给排水毕业论文含任务书开题报告中期报告论文答辩pptcad图】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'佩.JPG',url:'https://www.zsdocx.com/p-8525592.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'土木工程学院毕业设计中期检查表.doc',url:'https://www.zsdocx.com/p-8525593.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'完整版 设计说明书.docx',url:'https://www.zsdocx.com/p-8525594.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'开题报告 (修改版) 冯佩 .doc',url:'https://www.zsdocx.com/p-8525595.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'毕业答辩 冯佩.ppt',url:'https://www.zsdocx.com/p-8525596.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'网格絮凝池.dwg',url:'https://www.zsdocx.com/p-8525597.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'进度表.docx',url:'https://www.zsdocx.com/p-8525598.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 = '7260538'; 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("请选择投诉类型或者数据错误请刷新重试!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });