'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓千斤頂.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1.JPG (927KB)', click:'getBookinfo(8553775)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'1.SLDPRT (116KB)', },{ id:'00003', pId:'1', name:'10.SLDPRT (615KB)', },{ id:'00004', pId:'1', name:'11.SLDPRT (394KB)', },{ id:'00005', pId:'1', name:'12.SLDPRT (112KB)', },{ id:'00006', pId:'1', name:'13.SLDPRT (351KB)', },{ id:'00007', pId:'1', name:'14.SLDPRT (109KB)', },{ id:'00008', pId:'1', name:'15.SLDPRT (106KB)', },{ id:'00009', pId:'1', name:'16.SLDPRT (399KB)', },{ id:'00010', pId:'1', name:'17.SLDPRT (804KB)', },{ id:'00011', pId:'1', name:'18.SLDPRT (175KB)', },{ id:'00012', pId:'1', name:'19.SLDPRT (164KB)', },{ id:'00013', pId:'1', name:'2.JPG (986KB)', click:'getBookinfo(8553776)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'2.SLDPRT (651KB)', },{ id:'00015', pId:'1', name:'20.SLDPRT (440KB)', },{ id:'00016', pId:'1', name:'21.SLDPRT (100KB)', },{ id:'00017', pId:'1', name:'22.SLDPRT (547KB)', },{ id:'00018', pId:'1', name:'26.SLDPRT (346KB)', },{ id:'00019', pId:'1', name:'28.SLDPRT (570KB)', },{ id:'00020', pId:'1', name:'3.JPG (907KB)', click:'getBookinfo(8553777)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'3.SLDPRT (2551KB)', },{ id:'00022', pId:'1', name:'30.SLDPRT (658KB)', },{ id:'00023', pId:'1', name:'31.SLDPRT (130KB)', },{ id:'00024', pId:'1', name:'32.SLDPRT (334KB)', },{ id:'00025', pId:'1', name:'33.SLDPRT (401KB)', },{ id:'00026', pId:'1', name:'34.SLDPRT (161KB)', },{ id:'00027', pId:'1', name:'35.SLDPRT (101KB)', },{ id:'00028', pId:'1', name:'36.SLDPRT (225KB)', },{ id:'00029', pId:'1', name:'37.SLDPRT (310KB)', },{ id:'00030', pId:'1', name:'38.SLDPRT (1613KB)', },{ id:'00031', pId:'1', name:'4.JPG (806KB)', click:'getBookinfo(8553778)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00032', pId:'1', name:'4.SLDPRT (119KB)', },{ id:'00033', pId:'1', name:'5.JPG (1038KB)', click:'getBookinfo(8553779)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00034', pId:'1', name:'5.SLDPRT (111KB)', },{ id:'00035', pId:'1', name:'7.SLDPRT (111KB)', },{ id:'00036', pId:'1', name:'8.SLDPRT (367KB)', },{ id:'00037', pId:'1', name:'9.SLDPRT (837KB)', },{ id:'00038', pId:'1', name:'Assem1.SLDASM (6565KB)', },{ id:'00039', pId:'1', name:'Macaco Hidráulico (PROTEC).pdf (268KB)', click:'getBookinfo(8553780)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00040', pId:'1', name:'R3.5.SLDPRT (166KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓千斤頂.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1.JPG',url:'http://m.facezit.com/p-8553775.html', target:'_blank' },{ id:'00013', pId:'1', name:'2.JPG',url:'http://m.facezit.com/p-8553776.html', target:'_blank' },{ id:'00020', pId:'1', name:'3.JPG',url:'http://m.facezit.com/p-8553777.html', target:'_blank' },{ id:'00031', pId:'1', name:'4.JPG',url:'http://m.facezit.com/p-8553778.html', target:'_blank' },{ id:'00033', pId:'1', name:'5.JPG',url:'http://m.facezit.com/p-8553779.html', target:'_blank' },{ id:'00039', pId:'1', name:'Macaco Hidráulico (PROTEC).pdf',url:'http://m.facezit.com/p-8553780.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 = '7264794'; 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)選擇投訴類型或者數(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)容!