'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'数控机床上下料机械手设计.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'数控机床上下料机械手设计 (包含11个文件)', },{ id:'0000100001', pId:'00001', name:'PLC接线图-1号-Model.jpg (231KB)', click:'getBookinfo(8381955)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'Thumbs.db (24KB)', },{ id:'0000100003', pId:'00001', name:'和图-0号-Model.jpg (221KB)', click:'getBookinfo(8381956)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'手爪-2号-Model.jpg (215KB)', click:'getBookinfo(8381957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'手爪-2号-布局1.jpg (219KB)', click:'getBookinfo(8381958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'数控机床上下料机械手设计.pdf (898KB)', click:'getBookinfo(8381959)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100007', pId:'00001', name:'整体装配图-0号-Model.jpg (301KB)', click:'getBookinfo(8381960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'毕业设计说明书摘要+目录2.pdf (142KB)', click:'getBookinfo(8381961)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100009', pId:'00001', name:'液压系统图-1号-Model.jpg (169KB)', click:'getBookinfo(8381962)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'腰部结构图-1号-Model.jpg (185KB)', click:'getBookinfo(8381963)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'连接座零件图-2号-Model.jpg (164KB)', click:'getBookinfo(8381964)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'PLC接线图-1号.dwg (66KB)', click:'getBookinfo(8381965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'任务书.doc (37KB)', click:'getBookinfo(8381966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'和图-0号.dwg (156KB)', click:'getBookinfo(8381967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'手爪-2号.dwg (85KB)', click:'getBookinfo(8381968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'数控机床上下料机械手设计.doc (1241KB)', click:'getBookinfo(8381969)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'整体装配图-0号.dwg (176KB)', click:'getBookinfo(8381970)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'毕业设计说明书摘要+目录2.doc (38KB)', click:'getBookinfo(8381971)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'液压系统图-1号.dwg (97KB)', click:'getBookinfo(8381972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'腰部结构图-1号.dwg (56KB)', click:'getBookinfo(8381973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'连接座零件图-2号.dwg (45KB)', click:'getBookinfo(8381974)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'数控机床上下料机械手设计.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'PLC接线图-1号-Model.jpg',url:'https://www.zsdocx.com/p-8381955.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'和图-0号-Model.jpg',url:'https://www.zsdocx.com/p-8381956.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'手爪-2号-Model.jpg',url:'https://www.zsdocx.com/p-8381957.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'手爪-2号-布局1.jpg',url:'https://www.zsdocx.com/p-8381958.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'数控机床上下料机械手设计.pdf',url:'https://www.zsdocx.com/p-8381959.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'整体装配图-0号-Model.jpg',url:'https://www.zsdocx.com/p-8381960.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'毕业设计说明书摘要+目录2.pdf',url:'https://www.zsdocx.com/p-8381961.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'液压系统图-1号-Model.jpg',url:'https://www.zsdocx.com/p-8381962.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'腰部结构图-1号-Model.jpg',url:'https://www.zsdocx.com/p-8381963.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'连接座零件图-2号-Model.jpg',url:'https://www.zsdocx.com/p-8381964.html', target:'_blank' },{ id:'00002', pId:'1', name:'PLC接线图-1号.dwg',url:'https://www.zsdocx.com/p-8381965.html', target:'_blank' },{ id:'00003', pId:'1', name:'任务书.doc',url:'https://www.zsdocx.com/p-8381966.html', target:'_blank' },{ id:'00004', pId:'1', name:'和图-0号.dwg',url:'https://www.zsdocx.com/p-8381967.html', target:'_blank' },{ id:'00005', pId:'1', name:'手爪-2号.dwg',url:'https://www.zsdocx.com/p-8381968.html', target:'_blank' },{ id:'00006', pId:'1', name:'数控机床上下料机械手设计.doc',url:'https://www.zsdocx.com/p-8381969.html', target:'_blank' },{ id:'00007', pId:'1', name:'整体装配图-0号.dwg',url:'https://www.zsdocx.com/p-8381970.html', target:'_blank' },{ id:'00008', pId:'1', name:'毕业设计说明书摘要+目录2.doc',url:'https://www.zsdocx.com/p-8381971.html', target:'_blank' },{ id:'00009', pId:'1', name:'液压系统图-1号.dwg',url:'https://www.zsdocx.com/p-8381972.html', target:'_blank' },{ id:'00010', pId:'1', name:'腰部结构图-1号.dwg',url:'https://www.zsdocx.com/p-8381973.html', target:'_blank' },{ id:'00011', pId:'1', name:'连接座零件图-2号.dwg',url:'https://www.zsdocx.com/p-8381974.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 = '7863654'; 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; }); });