'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'齒輪箱(2).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'17T 3.5M Gear - Copy.SLDASM (461KB)', },{ id:'00002', pId:'1', name:'17T 3.5M Shaft - Copy.SLDPRT (92KB)', },{ id:'00003', pId:'1', name:'17T Gear - Copy.SLDPRT (1456KB)', },{ id:'00004', pId:'1', name:'18T 2.4615 M - Copy.SLDPRT (1241KB)', },{ id:'00005', pId:'1', name:'18T 2.4M Shaft - Copy.SLDPRT (89KB)', },{ id:'00006', pId:'1', name:'18T2.4M Gear - Copy.SLDASM (294KB)', },{ id:'00007', pId:'1', name:'45T 3.5M Gear - Copy.SLDASM (242KB)', },{ id:'00008', pId:'1', name:'45T 3.5M Shaft - Copy.SLDPRT (包含0個(gè)文件)', },{ id:'00009', pId:'1', name:'Assem2.SLDASM (1297KB)', },{ id:'00010', pId:'1', name:'BRG 55x100x24.SLDPRT (228KB)', },{ id:'00011', pId:'1', name:'Gear Box Cover seal.SLDPRT (77KB)', },{ id:'00012', pId:'1', name:'Gear Box Cover.SLDPRT (415KB)', },{ id:'00013', pId:'1', name:'Gear Box cover1.SLDPRT (109KB)', },{ id:'00014', pId:'1', name:'Gear Box cover1b.SLDPRT (100KB)', },{ id:'00015', pId:'1', name:'Gear Box cover2.SLDPRT (108KB)', },{ id:'00016', pId:'1', name:'Gear Box cover3.SLDPRT (103KB)', },{ id:'00017', pId:'1', name:'Gear Box cover3a.SLDPRT (116KB)', },{ id:'00018', pId:'1', name:'Gear Box Coverb.SLDPRT (163KB)', },{ id:'00019', pId:'1', name:'Gear Box.SLDPRT (263KB)', },{ id:'00020', pId:'1', name:'Gear1.gif (873KB)', click:'getBookinfo(8234316)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'Spacer.SLDPRT (61KB)', },{ id:'00022', pId:'1', name:'Untitled Project 67.jpg (124KB)', click:'getBookinfo(8234317)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'齒輪箱(2).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00020', pId:'1', name:'Gear1.gif',url:'http://m.facezit.com/p-8234316.html', target:'_blank' },{ id:'00022', pId:'1', name:'Untitled Project 67.jpg',url:'http://m.facezit.com/p-8234317.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3730640'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類(lèi)型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });
copyright@ 2011-2023 聯(lián)系方式qq:9411152
本站所有資料均屬于原創(chuàng)者所有,僅提供參考和學(xué)習(xí)交流之用,請(qǐng)勿用做其他用途,轉(zhuǎn)載必究!如有侵犯您的權(quán)利請(qǐng)聯(lián)系本站,一經(jīng)查實(shí)我們會(huì)立即刪除相關(guān)內(nèi)容!