'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'斜齿轮注塑模具设计【三维proe】【全套cad图纸和论文】【原创注塑资料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'斜齿轮注塑模具设计 (包含42个文件)', },{ id:'0000100001', pId:'00001', name:'3D-PROE (包含36个文件)', },{ id:'000010000100001', pId:'0000100001', name:'导入的零部件 (包含10个文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'prt0001 (包含5个文件)', },{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'OldVersions (包含1个文件)', },{ id:'000010000100001000010000100001', pId:'0000100001000010000100001', name:'prt0001.0001.ipt (5770KB)', },{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'lockfile.lck (15KB)', },{ id:'0000100001000010000100003', pId:'00001000010000100001', name:'prt0001.htm (11KB)', },{ id:'0000100001000010000100004', pId:'00001000010000100001', name:'prt0001.ipt (5770KB)', },{ id:'00001000010000100002', pId:'000010000100001', name:'____1_____ (包含1个文件)', },{ id:'0000100001000010000200001', pId:'00001000010000100002', name:'____1_____.htm (11KB)', },{ id:'00001000010000100003', pId:'000010000100001', name:'____2_____ (包含1个文件)', },{ id:'0000100001000010000300001', pId:'00001000010000100003', name:'____2_____.htm (11KB)', },{ id:'000010000100002', pId:'0000100001', name:'01dongmogudingban.prt.1 (146KB)', },{ id:'000010000100003', pId:'0000100001', name:'03diankuai1.prt.1 (137KB)', },{ id:'000010000100004', pId:'0000100001', name:'03diankuai2.prt.1 (144KB)', },{ id:'000010000100005', pId:'0000100001', name:'04xingqiang.prt.1 (434KB)', },{ id:'000010000100006', pId:'0000100001', name:'05dingmoban.prt.1 (215KB)', },{ id:'000010000100007', pId:'0000100001', name:'06dingmogudingban.prt.1 (207KB)', },{ id:'000010000100008', pId:'0000100001', name:'09dingweiquan.prt.1 (167KB)', },{ id:'000010000100009', pId:'0000100001', name:'10jiaokoutao.prt.1 (95KB)', },{ id:'000010000100010', pId:'0000100001', name:'11daozhutao.prt.1 (136KB)', },{ id:'000010000100011', pId:'0000100001', name:'12daozhu.prt.1 (102KB)', },{ id:'000010000100012', pId:'0000100001', name:'23dangban.prt.1 (104KB)', },{ id:'000010000100013', pId:'0000100001', name:'6012.prt.1 (1367KB)', },{ id:'000010000100014', pId:'0000100001', name:'gaizi.prt.1 (102KB)', },{ id:'000010000100015', pId:'0000100001', name:'gearpair2.asm.4 (30KB)', },{ id:'000010000100016', pId:'0000100001', name:'gearpair2.asm.5 (31KB)', },{ id:'000010000100017', pId:'0000100001', name:'prt0001.prt.1 (3278KB)', },{ id:'000010000100018', pId:'0000100001', name:'zhuangpei.asm.1 (106KB)', },{ id:'000010000100019', pId:'0000100001', name:'zhuangpei.asm.2 (106KB)', },{ id:'000010000100020', pId:'0000100001', name:'zhuangpei.asm.3 (137KB)', },{ id:'000010000100021', pId:'0000100001', name:'zhuangpei.asm.4 (105KB)', },{ id:'000010000100022', pId:'0000100001', name:'zhuangpei.asm.5 (105KB)', },{ id:'000010000100023', pId:'0000100001', name:'zhuangpei.asm.6 (106KB)', },{ id:'000010000100024', pId:'0000100001', name:'zhuangpei.asm.7 (106KB)', },{ id:'000010000100025', pId:'0000100001', name:'____1_____.prt.1 (155KB)', },{ id:'000010000100026', pId:'0000100001', name:'____2_____.prt.2 (3253KB)', },{ id:'0000100002', pId:'00001', name:'全套CAD图纸汇总.dwg (1030KB)', click:'getBookinfo(8103812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'塑件图.dwg (197KB)', click:'getBookinfo(8103813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'塑料斜齿轮注塑模具设计与分析.pdf (699KB)', click:'getBookinfo(8103814)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100005', pId:'00001', name:'斜齿轮.jpg (1117KB)', },{ id:'0000100006', pId:'00001', name:'斜齿轮注塑模具设计说明书.doc (733KB)', click:'getBookinfo(8103815)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'斜齿轮注塑模具设计【三维proe】【全套cad图纸和论文】【原创注塑资料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'全套CAD图纸汇总.dwg',url:'https://www.zsdocx.com/p-8103812.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'塑件图.dwg',url:'https://www.zsdocx.com/p-8103813.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'塑料斜齿轮注塑模具设计与分析.pdf',url:'https://www.zsdocx.com/p-8103814.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'斜齿轮注塑模具设计说明书.doc',url:'https://www.zsdocx.com/p-8103815.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 = '3519988'; 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; }); });