'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【cm114】封閉板成形模及沖壓工藝設(shè)計[2套]【c】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'成形模圖紙[9張] (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'A0-裝配圖.dwg (116KB)', click:'getBookinfo(8440019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A2-凹模.dwg (59KB)', click:'getBookinfo(8440020)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A3-凸模固定板.dwg (54KB)', click:'getBookinfo(8440021)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-定位板乙.dwg (55KB)', click:'getBookinfo(8440022)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-定位板甲.dwg (52KB)', click:'getBookinfo(8440023)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-翻邊凸模.dwg (53KB)', click:'getBookinfo(8440024)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A4-墊板.dwg (45KB)', click:'getBookinfo(8440025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A4-彎曲凸模.dwg (55KB)', click:'getBookinfo(8440026)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A4-頂料板.dwg (63KB)', click:'getBookinfo(8440027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'【成形模圖紙-預(yù)覽】.pdf (403KB)', click:'getBookinfo(8440028)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'落料模圖紙[7張] (包含8個文件)', },{ id:'0000200001', pId:'00002', name:'A0-裝配圖.dwg (120KB)', click:'getBookinfo(8440029)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200002', pId:'00002', name:'A2-上模座.dwg (95KB)', click:'getBookinfo(8440030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200003', pId:'00002', name:'A2-下模座.dwg (109KB)', click:'getBookinfo(8440031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200004', pId:'00002', name:'A3-凸模固定板.dwg (91KB)', click:'getBookinfo(8440032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200005', pId:'00002', name:'A3-凹模.dwg (104KB)', click:'getBookinfo(8440033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200006', pId:'00002', name:'A3-卸料板.dwg (92KB)', click:'getBookinfo(8440034)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200007', pId:'00002', name:'A4-凸模.dwg (80KB)', click:'getBookinfo(8440035)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200008', pId:'00002', name:'【落料模圖紙-預(yù)覽】.pdf (356KB)', click:'getBookinfo(8440036)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00003', pId:'1', name:'【工件圖-預(yù)覽】.pdf (51KB)', click:'getBookinfo(8440037)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00004', pId:'1', name:'冷沖壓工藝卡片.doc (58KB)', click:'getBookinfo(8440038)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工件圖-A4.dwg (50KB)', click:'getBookinfo(8440039)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'目錄+摘要.doc (45KB)', click:'getBookinfo(8440040)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'說明書-14000字-36頁.doc (1103KB)', click:'getBookinfo(8440041)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【cm114】封閉板成形模及沖壓工藝設(shè)計[2套]【c】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8440019.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A2-凹模.dwg',url:'http://m.facezit.com/p-8440020.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A3-凸模固定板.dwg',url:'http://m.facezit.com/p-8440021.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-定位板乙.dwg',url:'http://m.facezit.com/p-8440022.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-定位板甲.dwg',url:'http://m.facezit.com/p-8440023.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-翻邊凸模.dwg',url:'http://m.facezit.com/p-8440024.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A4-墊板.dwg',url:'http://m.facezit.com/p-8440025.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A4-彎曲凸模.dwg',url:'http://m.facezit.com/p-8440026.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A4-頂料板.dwg',url:'http://m.facezit.com/p-8440027.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'【成形模圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8440028.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8440029.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'A2-上模座.dwg',url:'http://m.facezit.com/p-8440030.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'A2-下模座.dwg',url:'http://m.facezit.com/p-8440031.html', target:'_blank' },{ id:'0000200004', pId:'00002', name:'A3-凸模固定板.dwg',url:'http://m.facezit.com/p-8440032.html', target:'_blank' },{ id:'0000200005', pId:'00002', name:'A3-凹模.dwg',url:'http://m.facezit.com/p-8440033.html', target:'_blank' },{ id:'0000200006', pId:'00002', name:'A3-卸料板.dwg',url:'http://m.facezit.com/p-8440034.html', target:'_blank' },{ id:'0000200007', pId:'00002', name:'A4-凸模.dwg',url:'http://m.facezit.com/p-8440035.html', target:'_blank' },{ id:'0000200008', pId:'00002', name:'【落料模圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8440036.html', target:'_blank' },{ id:'00003', pId:'1', name:'【工件圖-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8440037.html', target:'_blank' },{ id:'00004', pId:'1', name:'冷沖壓工藝卡片.doc',url:'http://m.facezit.com/p-8440038.html', target:'_blank' },{ id:'00005', pId:'1', name:'工件圖-A4.dwg',url:'http://m.facezit.com/p-8440039.html', target:'_blank' },{ id:'00006', pId:'1', name:'目錄+摘要.doc',url:'http://m.facezit.com/p-8440040.html', target:'_blank' },{ id:'00007', pId:'1', name:'說明書-14000字-36頁.doc',url:'http://m.facezit.com/p-8440041.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 = '7251214'; 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("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });