'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'電風(fēng)扇罩注塑成型模具及工藝分析編程【三維proe】【7張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAM加工模擬仿真 (包含7個文件)', },{ id:'0000100001', pId:'00001', name:'CAVITY-初定.MC9 (9166KB)', },{ id:'0000100002', pId:'00001', name:'EFC-01.NC (0KB)', },{ id:'0000100003', pId:'00001', name:'EFC-02.NC (2032KB)', },{ id:'0000100004', pId:'00001', name:'EFC-031.NC (549KB)', },{ id:'0000100005', pId:'00001', name:'EFC-032.NC (572KB)', },{ id:'0000100006', pId:'00001', name:'EFC-05.NC (0KB)', },{ id:'0000100007', pId:'00001', name:'EFC-4.NC (177KB)', },{ id:'00002', pId:'1', name:'Proe-零件和開模仿真 (包含17個文件)', },{ id:'0000200001', pId:'00002', name:'efc-part.prt.1 (242KB)', },{ id:'0000200002', pId:'00002', name:'efc.acc (0KB)', },{ id:'0000200003', pId:'00002', name:'efc.asm.1 (1115KB)', },{ id:'0000200004', pId:'00002', name:'efc.asm.2 (1115KB)', },{ id:'0000200005', pId:'00002', name:'efc.mfg.2 (3KB)', },{ id:'0000200006', pId:'00002', name:'efc_ref.prt.1 (130KB)', },{ id:'0000200007', pId:'00002', name:'efc_wrk.prt.1 (66KB)', },{ id:'0000200008', pId:'00002', name:'mold_vol_1.prt.1 (29KB)', },{ id:'0000200009', pId:'00002', name:'mold_vol_4.prt.1 (67KB)', },{ id:'0000200010', pId:'00002', name:'mold_vol_5.prt.1 (426KB)', },{ id:'0000200011', pId:'00002', name:'prt_08117.prt.1 (193KB)', },{ id:'0000200012', pId:'00002', name:'trail.txt.1 (99KB)', },{ id:'0000200013', pId:'00002', name:'trail.txt.2 (105KB)', },{ id:'0000200014', pId:'00002', name:'trail.txt.3 (196KB)', },{ id:'0000200015', pId:'00002', name:'trail.txt.4 (86KB)', },{ id:'0000200016', pId:'00002', name:'trail.txt.5 (104KB)', },{ id:'0000200017', pId:'00002', name:'trail.txt.6 (25KB)', },{ id:'00003', pId:'1', name:'電風(fēng)扇罩注塑模具CAD圖7張.dwg (923KB)', click:'getBookinfo(8682536)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'說明書.doc (2309KB)', click:'getBookinfo(8682537)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'電風(fēng)扇罩注塑成型模具及工藝分析編程【三維proe】【7張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'電風(fēng)扇罩注塑模具CAD圖7張.dwg',url:'http://m.facezit.com/p-8682536.html', target:'_blank' },{ id:'00004', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8682537.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 = '7265848'; 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; }); });