'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'端盖零件的机械加工工艺规程及φ14孔工艺装备设计全套cad图纸设计说明书.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0080-端盖零件的机械加工工艺规程及Φ14孔工艺装备设计 (包含16个文件)', },{ id:'0000100001', pId:'00001', name:'任务书.png (48KB)', click:'getBookinfo(8144962)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'夹具体.exb (97KB)', },{ id:'0000100003', pId:'00001', name:'夹具体.png (10KB)', click:'getBookinfo(8144963)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夹具装配图.png (17KB)', click:'getBookinfo(8144964)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡片.doc (92KB)', click:'getBookinfo(8144965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工艺过程卡片.doc (60KB)', click:'getBookinfo(8144966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'摘要和目录.doc (65KB)', click:'getBookinfo(8144967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'机械加工工序卡片.png (31KB)', click:'getBookinfo(8144968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'机械加工工艺过程卡片.png (43KB)', click:'getBookinfo(8144969)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'毛坯.dwg (100KB)', click:'getBookinfo(8144970)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'毛坯图.png (16KB)', click:'getBookinfo(8144971)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'端盖零件图.dwg (127KB)', click:'getBookinfo(8144972)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'端盖零件图.png (23KB)', click:'getBookinfo(8144973)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'装配图.dwg (124KB)', click:'getBookinfo(8144974)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'设计说明书.png (301KB)', click:'getBookinfo(8144975)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'说明书.doc (157KB)', click:'getBookinfo(8144976)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'端盖零件的机械加工工艺规程及φ14孔工艺装备设计全套cad图纸设计说明书.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'任务书.png',url:'https://www.zsdocx.com/p-8144962.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夹具体.png',url:'https://www.zsdocx.com/p-8144963.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夹具装配图.png',url:'https://www.zsdocx.com/p-8144964.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡片.doc',url:'https://www.zsdocx.com/p-8144965.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工艺过程卡片.doc',url:'https://www.zsdocx.com/p-8144966.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'摘要和目录.doc',url:'https://www.zsdocx.com/p-8144967.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'机械加工工序卡片.png',url:'https://www.zsdocx.com/p-8144968.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'机械加工工艺过程卡片.png',url:'https://www.zsdocx.com/p-8144969.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'毛坯.dwg',url:'https://www.zsdocx.com/p-8144970.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'毛坯图.png',url:'https://www.zsdocx.com/p-8144971.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'端盖零件图.dwg',url:'https://www.zsdocx.com/p-8144972.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'端盖零件图.png',url:'https://www.zsdocx.com/p-8144973.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'装配图.dwg',url:'https://www.zsdocx.com/p-8144974.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'设计说明书.png',url:'https://www.zsdocx.com/p-8144975.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'说明书.doc',url:'https://www.zsdocx.com/p-8144976.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 = '3524880'; 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; }); });