'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【1a007】支架工藝規(guī)程及鉆φ30孔的夾具設計【全套設計下載】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'【1A007】支架工藝規(guī)程及鉆Φ30孔的夾具設計 (包含25個文件)', },{ id:'0000100001', pId:'00001', name:'CAXA (包含4個文件)', },{ id:'000010000100001', pId:'0000100001', name:'[1A007]支架.exb (55KB)', },{ id:'000010000100002', pId:'0000100001', name:'夾具體.exb (66KB)', },{ id:'000010000100003', pId:'0000100001', name:'毛坯圖.exb (70KB)', },{ id:'000010000100004', pId:'0000100001', name:'裝配圖.exb (130KB)', },{ id:'0000100002', pId:'00001', name:'發(fā)客戶 (包含8個文件)', },{ id:'000010000200001', pId:'0000100002', name:'全套工序卡.png (3KB)', click:'getBookinfo(8243047)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'全部簡介.png (17KB)', click:'getBookinfo(8243048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'工藝過程卡.png (22KB)', click:'getBookinfo(8243049)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'支架零件圖.png (18KB)', click:'getBookinfo(8243050)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'裝配圖.png (16KB)', click:'getBookinfo(8243051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'要加工的工序.png (6KB)', click:'getBookinfo(8243052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'說明書字數(shù)統(tǒng)計.png (6KB)', click:'getBookinfo(8243053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'說明書目錄.png (12KB)', click:'getBookinfo(8243054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'支架工藝規(guī)程及鉆Φ30孔的夾具設計 (包含7個文件)', },{ id:'000010000300001', pId:'0000100003', name:'[1A007]支架.dwg (33KB)', click:'getBookinfo(8243055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'夾具體零件圖.dwg (34KB)', click:'getBookinfo(8243056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'工藝過程卡.doc (52KB)', click:'getBookinfo(8243057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300004', pId:'0000100003', name:'機械加工工序卡片.doc (313KB)', click:'getBookinfo(8243058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300005', pId:'0000100003', name:'毛坯圖.dwg (61KB)', click:'getBookinfo(8243059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300006', pId:'0000100003', name:'裝配圖.dwg (72KB)', click:'getBookinfo(8243060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300007', pId:'0000100003', name:'說明書.doc (402KB)', click:'getBookinfo(8243061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'全部簡介.jpg (62KB)', click:'getBookinfo(8243062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡圖.exb (304KB)', },{ id:'0000100006', pId:'00001', name:'零件圖.jpg (157KB)', click:'getBookinfo(8243063)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【1a007】支架工藝規(guī)程及鉆φ30孔的夾具設計【全套設計下載】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200001', pId:'0000100002', name:'全套工序卡.png',url:'http://m.facezit.com/p-8243047.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'全部簡介.png',url:'http://m.facezit.com/p-8243048.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'工藝過程卡.png',url:'http://m.facezit.com/p-8243049.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'支架零件圖.png',url:'http://m.facezit.com/p-8243050.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'裝配圖.png',url:'http://m.facezit.com/p-8243051.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'要加工的工序.png',url:'http://m.facezit.com/p-8243052.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'說明書字數(shù)統(tǒng)計.png',url:'http://m.facezit.com/p-8243053.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'說明書目錄.png',url:'http://m.facezit.com/p-8243054.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'[1A007]支架.dwg',url:'http://m.facezit.com/p-8243055.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'夾具體零件圖.dwg',url:'http://m.facezit.com/p-8243056.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'工藝過程卡.doc',url:'http://m.facezit.com/p-8243057.html', target:'_blank' },{ id:'000010000300004', pId:'0000100003', name:'機械加工工序卡片.doc',url:'http://m.facezit.com/p-8243058.html', target:'_blank' },{ id:'000010000300005', pId:'0000100003', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8243059.html', target:'_blank' },{ id:'000010000300006', pId:'0000100003', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8243060.html', target:'_blank' },{ id:'000010000300007', pId:'0000100003', name:'說明書.doc',url:'http://m.facezit.com/p-8243061.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'全部簡介.jpg',url:'http://m.facezit.com/p-8243062.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'零件圖.jpg',url:'http://m.facezit.com/p-8243063.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 = '6314981'; 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; }); });