'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'基于单片机的静止无功补偿装置tsc的投切控制器设计【独家毕业课程设计带任务书开题报告外文翻译】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三相无功补偿系统电气接线图.dwg (145KB)', click:'getBookinfo(8804769)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'图纸.zip (573KB)', },{ id:'00003', pId:'1', name:'基于单片机的静止无功补偿装置TSC的投切控制器设计.docx (3564KB)', click:'getBookinfo(8804770)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'基于单片机的静止无功补偿装置TSC的投切控制器设计任务书.docx (15KB)', click:'getBookinfo(8804771)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'基于单片机的静止无功补偿装置TSC的投切控制器设计开题报告.docx (34KB)', click:'getBookinfo(8804772)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'外文原文1.doc (638KB)', click:'getBookinfo(8804773)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'外文翻译原文.doc (2185KB)', click:'getBookinfo(8804774)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'外文翻译原文2.doc (353KB)', click:'getBookinfo(8804775)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'外文翻译原文(两篇).pdf (2002KB)', click:'getBookinfo(8804776)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00010', pId:'1', name:'外文翻译译文(两篇).docx (643KB)', click:'getBookinfo(8804777)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'程序.zip (112KB)', },{ id:'00012', pId:'1', name:'译文1.doc (984KB)', click:'getBookinfo(8804778)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'译文2.docx (96KB)', click:'getBookinfo(8804779)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'基于单片机的静止无功补偿装置tsc的投切控制器设计【独家毕业课程设计带任务书开题报告外文翻译】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三相无功补偿系统电气接线图.dwg',url:'https://www.zsdocx.com/p-8804769.html', target:'_blank' },{ id:'00003', pId:'1', name:'基于单片机的静止无功补偿装置TSC的投切控制器设计.docx',url:'https://www.zsdocx.com/p-8804770.html', target:'_blank' },{ id:'00004', pId:'1', name:'基于单片机的静止无功补偿装置TSC的投切控制器设计任务书.docx',url:'https://www.zsdocx.com/p-8804771.html', target:'_blank' },{ id:'00005', pId:'1', name:'基于单片机的静止无功补偿装置TSC的投切控制器设计开题报告.docx',url:'https://www.zsdocx.com/p-8804772.html', target:'_blank' },{ id:'00006', pId:'1', name:'外文原文1.doc',url:'https://www.zsdocx.com/p-8804773.html', target:'_blank' },{ id:'00007', pId:'1', name:'外文翻译原文.doc',url:'https://www.zsdocx.com/p-8804774.html', target:'_blank' },{ id:'00008', pId:'1', name:'外文翻译原文2.doc',url:'https://www.zsdocx.com/p-8804775.html', target:'_blank' },{ id:'00009', pId:'1', name:'外文翻译原文(两篇).pdf',url:'https://www.zsdocx.com/p-8804776.html', target:'_blank' },{ id:'00010', pId:'1', name:'外文翻译译文(两篇).docx',url:'https://www.zsdocx.com/p-8804777.html', target:'_blank' },{ id:'00012', pId:'1', name:'译文1.doc',url:'https://www.zsdocx.com/p-8804778.html', target:'_blank' },{ id:'00013', pId:'1', name:'译文2.docx',url:'https://www.zsdocx.com/p-8804779.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 = '3433767'; 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; }); });