'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓機(jī)20t.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4815001__6000.CATPart (495KB)', },{ id:'00002', pId:'1', name:'aaa.jpg (177KB)', click:'getBookinfo(8553909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'anigif.gif (1295KB)', click:'getBookinfo(8553910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'BB_6004_10_P4.CATPart (97KB)', },{ id:'00005', pId:'1', name:'BB_6004_B180_10_ES.CATProduct (29KB)', },{ id:'00006', pId:'1', name:'BB_6004_B180_P1.CATPart (126KB)', },{ id:'00007', pId:'1', name:'BB_6004_B180_P2.CATPart (99KB)', },{ id:'00008', pId:'1', name:'BB_6004_ES_P3.CATPart (68KB)', },{ id:'00009', pId:'1', name:'BN_54217_3270999_safety_hook_screw_for_swing_M12x160.CATPart (796KB)', },{ id:'00010', pId:'1', name:'ccc.CATPart (52KB)', },{ id:'00011', pId:'1', name:'cijev.CATPart (564KB)', },{ id:'00012', pId:'1', name:'cijevcica.CATPart (355KB)', },{ id:'00013', pId:'1', name:'dio1.CATPart (370KB)', },{ id:'00014', pId:'1', name:'fin.jpg (651KB)', click:'getBookinfo(8553911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'hhhh.jpg (560KB)', click:'getBookinfo(8553912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'Hk_DIN469_Tg_66921600.CATPart (539KB)', },{ id:'00017', pId:'1', name:'ISO_10642_M10x30_STEEL_HEXAGON_SOCKET_COUNTERSUNK_HEAD_SCREW.CATPart (161KB)', },{ id:'00018', pId:'1', name:'ISO_10642_M5x16_STEEL_HEXAGON_SOCKET_COUNTERSUNK_HEAD_SCREW.CATPart (158KB)', },{ id:'00019', pId:'1', name:'ISO_1207_M10x25_STEEL_GRADE_A_SLOTTED_CHEESE_HEAD_SCREW.CATPart (158KB)', },{ id:'00020', pId:'1', name:'ISO_1207_M6x25_STEEL_GRADE_A_SLOTTED_CHEESE_HEAD_SCREW.CATPart (153KB)', },{ id:'00021', pId:'1', name:'ISO_4017_M12x40_STEEL_GRADE_A_HEX_HEAD_SCREW.CATPart (159KB)', },{ id:'00022', pId:'1', name:'ISO_4017_M16x50_STEEL_GRADE_A_HEX_HEAD_SCREW.CATPart (162KB)', },{ id:'00023', pId:'1', name:'ISO_4017_M8x30_STEEL_GRADE_A_HEX_HEAD_SCREW.CATPart (156KB)', },{ id:'00024', pId:'1', name:'ISO_4026_M6x25_GRADE_A_STEEL_HEX_SOCKET_WITH_FLAT_POINT_SET_SCREW.CATPart (125KB)', },{ id:'00025', pId:'1', name:'ISO_4032_M12_STEEL_GRADE_A_HEXAGON_NUT.CATPart (146KB)', },{ id:'00026', pId:'1', name:'ISO_4762_M10x30_STEEL_HEXAGON_SOCKET_HEAD_CAP_SCREW.CATPart (198KB)', },{ id:'00027', pId:'1', name:'ISO_4762_M6x20_STEEL_HEXAGON_SOCKET_HEAD_CAP_SCREW.CATPart (188KB)', },{ id:'00028', pId:'1', name:'L-profil.CATPart (491KB)', },{ id:'00029', pId:'1', name:'linear.CATPart (381KB)', },{ id:'00030', pId:'1', name:'M043_R12.CATProduct (19KB)', },{ id:'00031', pId:'1', name:'M043_R12_1.CATPart (460KB)', },{ id:'00032', pId:'1', name:'M043_R12_2.CATPart (395KB)', },{ id:'00033', pId:'1', name:'M043_R12_3.CATPart (375KB)', },{ id:'00034', pId:'1', name:'MayTec_1_11_030030_33L_Profile_30x30__3F__L_490_05.CATPart (716KB)', },{ id:'00035', pId:'1', name:'MayTec_1_11_030050_44L_Profile_30x50__4F__L_490_05.CATPart (801KB)', },{ id:'00036', pId:'1', name:'MayTec_1_11_050050_22L_Profile_50x50__2E__corner__L_415_05.CATPart (754KB)', },{ id:'00037', pId:'1', name:'MayTec_1_11_050050_33L_Profile_50x50__3E__L_494_06.CATPart (831KB)', },{ id:'00038', pId:'1', name:'MayTec_1_42_20505_2_Cover_cap_square_50x50_05.CATPart (48KB)', },{ id:'00039', pId:'1', name:'MayTec_1_44_411050_Adjustable_tilt_foot_plates_PA__50.CATPart (154KB)', },{ id:'00040', pId:'1', name:'MayTec_1_44_4614100_Adjustable_tilt_foot_spindles__steel__M14x100.CATPart (198KB)', },{ id:'00041', pId:'1', name:'MayTec_1_44_46M14_Adjustable_tilt_foot_nut__steel__M14.CATPart (82KB)', },{ id:'00042', pId:'1', name:'MayTec_1_44_471050_Adjustable_tilt_foot_anti_slip_disc_for_plate_50.CATPart (75KB)', },{ id:'00043', pId:'1', name:'MayTec_1_62_12032_Stud.CATPart (98KB)', },{ id:'00044', pId:'1', name:'MayTec_1_62_12032_Wing_0.CATPart (294KB)', },{ id:'00045', pId:'1', name:'MayTec_3_01_81_060006000600_Base_frame__desk_form.CATProduct (130KB)', },{ id:'00046', pId:'1', name:'May_Tec_1_62_12032_Hinge_20_x_32_180.CATProduct (19KB)', },{ id:'00047', pId:'1', name:'May_Tec_1_65_2538078_Lock_GD_Zn_0.CATPart (1411KB)', },{ id:'00048', pId:'1', name:'NE POKRETNI.CATProduct (308KB)', },{ id:'00049', pId:'1', name:'opruga.CATPart (1798KB)', },{ id:'00050', pId:'1', name:'Part2.CATPart (34KB)', },{ id:'00051', pId:'1', name:'Part33.CATPart (441KB)', },{ id:'00052', pId:'1', name:'Part4.CATPart (415KB)', },{ id:'00053', pId:'1', name:'Part48.CATPart (437KB)', },{ id:'00054', pId:'1', name:'Part49.CATPart (423KB)', },{ id:'00055', pId:'1', name:'Part57.CATPart (399KB)', },{ id:'00056', pId:'1', name:'Part63.CATPart (3047KB)', },{ id:'00057', pId:'1', name:'pod.CATPart (690KB)', },{ id:'00058', pId:'1', name:'pod2.CATPart (931KB)', },{ id:'00059', pId:'1', name:'Podloga.CATPart (395KB)', },{ id:'00060', pId:'1', name:'POKRETNI.CATProduct (169KB)', },{ id:'00061', pId:'1', name:'Render.jpg (811KB)', click:'getBookinfo(8553913)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00062', pId:'1', name:'render2.jpg (322KB)', click:'getBookinfo(8553914)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00063', pId:'1', name:'render44.jpg (619KB)', click:'getBookinfo(8553915)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00064', pId:'1', name:'SBevelpinionCATPart - Copy.CATPart (1358KB)', },{ id:'00065', pId:'1', name:'SBevelwheelCATPart.CATPart (1840KB)', },{ id:'00066', pId:'1', name:'SIMULATION.CATProduct (387KB)', },{ id:'00067', pId:'1', name:'SKLOP.CATProduct (949KB)', },{ id:'00068', pId:'1', name:'SKLOP.stp (13433KB)', },{ id:'00069', pId:'1', name:'SKLOP1.3dxml (6582KB)', },{ id:'00070', pId:'1', name:'spiral_bevel_pair - Copy.CATProduct (26KB)', },{ id:'00071', pId:'1', name:'spiral_bevel_pair.CATProduct (26KB)', },{ id:'00072', pId:'1', name:'Symmetry of ISO 1207 SCREW M6x25 STEEL GRADE A SLOTTED CHEESE HEAD.CATPart (65KB)', },{ id:'00073', pId:'1', name:'Symmetry of ISO 4762 SCREW M6x20 STEEL HEXAGON SOCKET HEAD CAP.CATPart (94KB)', },{ id:'00074', pId:'1', name:'Symmetry of TLM-1215-TLM-1215.CATProduct (16KB)', },{ id:'00075', pId:'1', name:'Symmetry of TLM-1215_bearing-TLM-1215_bearing.CATPart (192KB)', },{ id:'00076', pId:'1', name:'Symmetry of TLM-1215_body-TLM-1215_body.CATPart (379KB)', },{ id:'00077', pId:'1', name:'Symmetry of TLM-1215_seals-TLM-1215_seals.CATPart (54KB)', },{ id:'00078', pId:'1', name:'Symmetry of TLM-2022-TLM-2022.CATPart (100KB)', },{ id:'00079', pId:'1', name:'TLM_1215.CATProduct (21KB)', },{ id:'00080', pId:'1', name:'TLM_1215_bearing.CATPart (526KB)', },{ id:'00081', pId:'1', name:'TLM_1215_body.CATPart (493KB)', },{ id:'00082', pId:'1', name:'TLM_1215_seals.CATPart (89KB)', },{ id:'00083', pId:'1', name:'TLM_2022.CATPart (1053KB)', },{ id:'00084', pId:'1', name:'zig.CATPart (1275KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓機(jī)20t.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'aaa.jpg',url:'http://www.nydnatest.com/p-8553909.html', target:'_blank' },{ id:'00003', pId:'1', name:'anigif.gif',url:'http://www.nydnatest.com/p-8553910.html', target:'_blank' },{ id:'00014', pId:'1', name:'fin.jpg',url:'http://www.nydnatest.com/p-8553911.html', target:'_blank' },{ id:'00015', pId:'1', name:'hhhh.jpg',url:'http://www.nydnatest.com/p-8553912.html', target:'_blank' },{ id:'00061', pId:'1', name:'Render.jpg',url:'http://www.nydnatest.com/p-8553913.html', target:'_blank' },{ id:'00062', pId:'1', name:'render2.jpg',url:'http://www.nydnatest.com/p-8553914.html', target:'_blank' },{ id:'00063', pId:'1', name:'render44.jpg',url:'http://www.nydnatest.com/p-8553915.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 = '7264818'; 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; }); });