'; } $("#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:'Balls_1_Ball-1.CATPart (40KB)', },{ id:'00002', pId:'1', name:'Balls_B-1.CATPart (41KB)', },{ id:'00003', pId:'1', name:'C-100X30-SLS-00.00.001.CATPart (99KB)', },{ id:'00004', pId:'1', name:'C-100X30-SLS-00.00.002.CATPart (99KB)', },{ id:'00005', pId:'1', name:'M10_flat washer narrow_B18.22M - Plain washer, 10 mm, narrow.CATPart (43KB)', },{ id:'00006', pId:'1', name:'M10_hex nut jam_B18.2.4.5M - Hex jam nut, M10 x 1.5, with 16mm WAF --D-N.CATPart (80KB)', },{ id:'00007', pId:'1', name:'M3x5_slotted pan head screws_GB_FASTENER_SCREWS_NCHB M3X5-5-N.CATPart (56KB)', },{ id:'00008', pId:'1', name:'M3_lid nut_GB_FASTENER_NUT_LN M3-N.CATPart (90KB)', },{ id:'00009', pId:'1', name:'M5x50_hex bolt_B18.2.3.5M - Hex bolt M5 x 0.8 x 50 --16N.CATPart (60KB)', },{ id:'00010', pId:'1', name:'M5_flat washer narrow_B18.22M - Plain washer, 5 mm, narrow.CATPart (43KB)', },{ id:'00011', pId:'1', name:'M5_hex nut jam_B18.2.4.5M - Hex jam nut, M5 x 0.8 --D-N.CATPart (79KB)', },{ id:'00012', pId:'1', name:'M8_flat washer narrow_B18.22M - Plain washer, 8 mm, narrow.CATPart (43KB)', },{ id:'00013', pId:'1', name:'M8_hex nut_B18.2.4.1M - Hex nut, Style 1, M8 x 1.25 --D-N.CATPart (80KB)', },{ id:'00014', pId:'1', name:'Needle roller bearing_D12_AFBMA 18.1.3.4 - 15NM72 - 16,SI,AC,16.CATPart (76KB)', },{ id:'00015', pId:'1', name:'SRCb-42.00.00.000.CATProduct (77KB)', },{ id:'00016', pId:'1', name:'SRCb-42.00.00.000_1.JPG (119KB)', click:'getBookinfo(8529953)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'SRCb-42.00.00.000_1A.JPG (108KB)', click:'getBookinfo(8529954)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'SRCb-42.00.00.000_2.JPG (109KB)', click:'getBookinfo(8529955)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'SRCb-42.00.00.000_3.JPG (71KB)', click:'getBookinfo(8529956)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'SRCb-42.00.00.000_4.JPG (136KB)', click:'getBookinfo(8529957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'SRCb-42.00.00.000_A.JPG (236KB)', click:'getBookinfo(8529958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'SRCb-42.00.00.000_B.JPG (230KB)', click:'getBookinfo(8529959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'SRCb-42.00.00.001.CATPart (149KB)', },{ id:'00024', pId:'1', name:'SRCb-42.00.00.002m.CATPart (337KB)', },{ id:'00025', pId:'1', name:'SRCb-42.00.00.003.CATPart (183KB)', },{ id:'00026', pId:'1', name:'SRCb-42.00.00.004.CATPart (189KB)', },{ id:'00027', pId:'1', name:'SRCb-42.00.00.005.CATPart (206KB)', },{ id:'00028', pId:'1', name:'SRCb-42.00.00.006.CATPart (255KB)', },{ id:'00029', pId:'1', name:'SRCb-42.00.00.007.CATPart (64KB)', },{ id:'00030', pId:'1', name:'SRCb-42.00.00.008.CATPart (55KB)', },{ id:'00031', pId:'1', name:'SRCb-42.00.00.009.CATPart (57KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'帶制動滾輪.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00016', pId:'1', name:'SRCb-42.00.00.000_1.JPG',url:'http://m.facezit.com/p-8529953.html', target:'_blank' },{ id:'00017', pId:'1', name:'SRCb-42.00.00.000_1A.JPG',url:'http://m.facezit.com/p-8529954.html', target:'_blank' },{ id:'00018', pId:'1', name:'SRCb-42.00.00.000_2.JPG',url:'http://m.facezit.com/p-8529955.html', target:'_blank' },{ id:'00019', pId:'1', name:'SRCb-42.00.00.000_3.JPG',url:'http://m.facezit.com/p-8529956.html', target:'_blank' },{ id:'00020', pId:'1', name:'SRCb-42.00.00.000_4.JPG',url:'http://m.facezit.com/p-8529957.html', target:'_blank' },{ id:'00021', pId:'1', name:'SRCb-42.00.00.000_A.JPG',url:'http://m.facezit.com/p-8529958.html', target:'_blank' },{ id:'00022', pId:'1', name:'SRCb-42.00.00.000_B.JPG',url:'http://m.facezit.com/p-8529959.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 = '7261074'; 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; }); });