'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'c1318自动车床手柄机械加工工艺规程及加工m16孔的夹具设计.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0049-c1318自动车床手柄机械加工工艺规程及加工M16孔的夹具设计 (包含20个文件)', },{ id:'0000100001', pId:'00001', name:'6-7.bmp (552KB)', click:'getBookinfo(8413581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'~$械制造技术基础课程设计》说明书.doc (0KB)', click:'getBookinfo(8413582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'~WRL0005.tmp (77KB)', },{ id:'0000100004', pId:'00001', name:'~WRL1359.tmp (82KB)', },{ id:'0000100005', pId:'00001', name:'《机械制造技术基础课程设计》工序卡片.doc (85KB)', click:'getBookinfo(8413583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'《机械制造技术基础课程设计》工艺过程卡片.doc (62KB)', click:'getBookinfo(8413584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'《机械制造技术基础课程设计》说明书.doc (1028KB)', click:'getBookinfo(8413585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'任务书.png (49KB)', click:'getBookinfo(8413586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'夹具体.dwg (138KB)', click:'getBookinfo(8413587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'夹具体.png (15KB)', click:'getBookinfo(8413588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'夹具装配图.dwg (170KB)', click:'getBookinfo(8413589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'夹具装配图.png (33KB)', click:'getBookinfo(8413590)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'手柄毛坯(HT200).dwg (82KB)', click:'getBookinfo(8413591)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'手柄毛坯(HT200).png (16KB)', click:'getBookinfo(8413592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'手柄毛坯图.dwg (82KB)', click:'getBookinfo(8413593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'手柄零件图.dwg (99KB)', click:'getBookinfo(8413594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'手柄零件图.png (15KB)', click:'getBookinfo(8413595)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'机械加工工序卡片.png (46KB)', click:'getBookinfo(8413596)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'机械加工工艺过程卡片.png (61KB)', click:'getBookinfo(8413597)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'设计说明书.png (272KB)', click:'getBookinfo(8413598)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'c1318自动车床手柄机械加工工艺规程及加工m16孔的夹具设计.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'6-7.bmp',url:'https://www.zsdocx.com/p-8413581.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'~$械制造技术基础课程设计》说明书.doc',url:'https://www.zsdocx.com/p-8413582.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'《机械制造技术基础课程设计》工序卡片.doc',url:'https://www.zsdocx.com/p-8413583.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'《机械制造技术基础课程设计》工艺过程卡片.doc',url:'https://www.zsdocx.com/p-8413584.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'《机械制造技术基础课程设计》说明书.doc',url:'https://www.zsdocx.com/p-8413585.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'任务书.png',url:'https://www.zsdocx.com/p-8413586.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'夹具体.dwg',url:'https://www.zsdocx.com/p-8413587.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'夹具体.png',url:'https://www.zsdocx.com/p-8413588.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'夹具装配图.dwg',url:'https://www.zsdocx.com/p-8413589.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'夹具装配图.png',url:'https://www.zsdocx.com/p-8413590.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'手柄毛坯(HT200).dwg',url:'https://www.zsdocx.com/p-8413591.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'手柄毛坯(HT200).png',url:'https://www.zsdocx.com/p-8413592.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'手柄毛坯图.dwg',url:'https://www.zsdocx.com/p-8413593.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'手柄零件图.dwg',url:'https://www.zsdocx.com/p-8413594.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'手柄零件图.png',url:'https://www.zsdocx.com/p-8413595.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'机械加工工序卡片.png',url:'https://www.zsdocx.com/p-8413596.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'机械加工工艺过程卡片.png',url:'https://www.zsdocx.com/p-8413597.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'设计说明书.png',url:'https://www.zsdocx.com/p-8413598.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 = '7247713'; 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; }); });