'; } $("#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:'185-70R14 tire.SLDPRT (392KB)', },{ id:'00002', pId:'1', name:'2 leaf straightener.SLDPRT (306KB)', },{ id:'00003', pId:'1', name:'3 leaf spring assembly.SLDASM (289KB)', },{ id:'00004', pId:'1', name:'air con inside unit.SLDPRT (321KB)', },{ id:'00005', pId:'1', name:'air conditioner outside unit.SLDPRT (1151KB)', },{ id:'00006', pId:'1', name:'angle stiffena.SLDPRT (142KB)', },{ id:'00007', pId:'1', name:'axial roud tube 76.2 diameter 6mm thick.SLDPRT (267KB)', },{ id:'00008', pId:'1', name:'back light.SLDPRT (227KB)', },{ id:'00009', pId:'1', name:'ball eye.SLDPRT (169KB)', },{ id:'00010', pId:'1', name:'bush bearing.SLDPRT (140KB)', },{ id:'00011', pId:'1', name:'clamps.SLDPRT (117KB)', },{ id:'00012', pId:'1', name:'container door.SLDPRT (158KB)', },{ id:'00013', pId:'1', name:'container frame.SLDPRT (819KB)', },{ id:'00014', pId:'1', name:'container side plate.SLDPRT (102KB)', },{ id:'00015', pId:'1', name:'container sider timber (plywood) 1.SLDPRT (260KB)', },{ id:'00016', pId:'1', name:'container sider timber(plywood) 2.SLDPRT (287KB)', },{ id:'00017', pId:'1', name:'container top plate.SLDPRT (102KB)', },{ id:'00018', pId:'1', name:'container top timber piece (plywood).SLDPRT (315KB)', },{ id:'00019', pId:'1', name:'containers cover plate.SLDPRT (96KB)', },{ id:'00020', pId:'1', name:'control and distribution box.SLDPRT (366KB)', },{ id:'00021', pId:'1', name:'control box cover.SLDPRT (214KB)', },{ id:'00022', pId:'1', name:'double leaf spring holder.SLDPRT (331KB)', },{ id:'00023', pId:'1', name:'drain pipe.SLDPRT (151KB)', },{ id:'00024', pId:'1', name:'final assembly.SLDASM (3350KB)', },{ id:'00025', pId:'1', name:'frame strip 2.SLDPRT (102KB)', },{ id:'00026', pId:'1', name:'frame strip 3.SLDPRT (103KB)', },{ id:'00027', pId:'1', name:'frame strips.SLDPRT (105KB)', },{ id:'00028', pId:'1', name:'hub axial.SLDPRT (156KB)', },{ id:'00029', pId:'1', name:'hub cover.SLDPRT (257KB)', },{ id:'00030', pId:'1', name:'hub end cover.SLDPRT (180KB)', },{ id:'00031', pId:'1', name:'leaf spring holder middle assembly.SLDPRT.SLDASM (206KB)', },{ id:'00032', pId:'1', name:'leaf spring holder rear.SLDPRT (166KB)', },{ id:'00033', pId:'1', name:'locker.SLDPRT (162KB)', },{ id:'00034', pId:'1', name:'lower hinge.SLDPRT (235KB)', },{ id:'00035', pId:'1', name:'M10 bolt.SLDPRT (132KB)', },{ id:'00036', pId:'1', name:'M10 nut.SLDPRT (127KB)', },{ id:'00037', pId:'1', name:'M12 bolt tougue.SLDPRT (117KB)', },{ id:'00038', pId:'1', name:'M12 bolt.SLDPRT (121KB)', },{ id:'00039', pId:'1', name:'M12 nut.SLDPRT (192KB)', },{ id:'00040', pId:'1', name:'M14 bolt.SLDPRT (215KB)', },{ id:'00041', pId:'1', name:'M14 nut.SLDPRT (117KB)', },{ id:'00042', pId:'1', name:'M16 nut.SLDPRT (119KB)', },{ id:'00043', pId:'1', name:'M8 nut.SLDPRT (155KB)', },{ id:'00044', pId:'1', name:'main leaf spring.SLDPRT (182KB)', },{ id:'00045', pId:'1', name:'middle leaf.SLDPRT (174KB)', },{ id:'00046', pId:'1', name:'number plate.SLDPRT (298KB)', },{ id:'00047', pId:'1', name:'orange indicator light.SLDPRT (228KB)', },{ id:'00048', pId:'1', name:'Part1.SLDPRT (320KB)', },{ id:'00049', pId:'1', name:'pin.SLDPRT (139KB)', },{ id:'00050', pId:'1', name:'power platform.SLDPRT (90KB)', },{ id:'00051', pId:'1', name:'power unit door.SLDPRT (352KB)', },{ id:'00052', pId:'1', name:'power unit end cover.SLDPRT (116KB)', },{ id:'00053', pId:'1', name:'Power unit frame.SLDPRT (763KB)', },{ id:'00054', pId:'1', name:'power unit side plate.SLDPRT (153KB)', },{ id:'00055', pId:'1', name:'power unit top cover.SLDPRT (101KB)', },{ id:'00056', pId:'1', name:'rear bamper.SLDPRT (176KB)', },{ id:'00057', pId:'1', name:'Red indicator light.SLDPRT (226KB)', },{ id:'00058', pId:'1', name:'roller bearing 2.SLDPRT (501KB)', },{ id:'00059', pId:'1', name:'roller bearing.SLDPRT (376KB)', },{ id:'00060', pId:'1', name:'stand holder.SLDPRT (162KB)', },{ id:'00061', pId:'1', name:'stand locker.SLDPRT (110KB)', },{ id:'00062', pId:'1', name:'third leaf.SLDPRT (176KB)', },{ id:'00063', pId:'1', name:'timber piece 1.SLDPRT (235KB)', },{ id:'00064', pId:'1', name:'timber piece 2.SLDPRT (352KB)', },{ id:'00065', pId:'1', name:'timber piece 3.SLDPRT (195KB)', },{ id:'00066', pId:'1', name:'top hinge left.SLDPRT (160KB)', },{ id:'00067', pId:'1', name:'top hinge.SLDPRT (144KB)', },{ id:'00068', pId:'1', name:'tougue holder.SLDPRT (214KB)', },{ id:'00069', pId:'1', name:'tougue trailer coupler assembly.SLDASM (222KB)', },{ id:'00070', pId:'1', name:'tougue trailer coupler.SLDPRT (541KB)', },{ id:'00071', pId:'1', name:'trailer stand.SLDPRT (255KB)', },{ id:'00072', pId:'1', name:'u bolt.SLDPRT (237KB)', },{ id:'00073', pId:'1', name:'water tight pvc trucking bend 1.SLDPRT (313KB)', },{ id:'00074', pId:'1', name:'water tight pvc trucking bend.SLDPRT (348KB)', },{ id:'00075', pId:'1', name:'water tight pvc trucking.SLDPRT (153KB)', },{ id:'00076', pId:'1', name:'wheel bolts.SLDPRT (116KB)', },{ id:'00077', pId:'1', name:'wheel cover.SLDPRT (286KB)', },{ id:'00078', pId:'1', name:'wheel hub assembly.SLDASM (613KB)', },{ id:'00079', pId:'1', name:'wiring pipe.SLDPRT (144KB)', },{ id:'00080', pId:'1', name:'wiring pvc pipe.SLDPRT (167KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'冷藏拖車.zip', open:true, icon:'/Images/filetype/RAR16.PNG'}]; $(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 = '7257767'; 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; }); });