enum COLOR{ // 围栏 BOUNDS="#F669FF", // 实控线 REALLINE="#00C8FF", // 规划线 PLANLINE="#FFA900", // 安全线 SAFELINE="#80ED30", // 四色图-绿 GREEN="#80ED30", // 四色图-蓝 BLUE="#7DAEFF", // 四色图-黄 YELLOW="#FFA900", // 四色图-红 RED="#FF5959" } import CloseService from "@/service/close.service"; import ParkFileService from "@/service/park.service"; import Vue from "vue"; const service = new CloseService(); const parkService = new ParkFileService() const glob = new Vue(); export default [ { name:"电子围栏", ids:[] as string[], type:"area", value:"bounds", color:COLOR.BOUNDS, init:async ()=>{ return await parkService.getRealBounds() }, selected:false, pages:["manage"] },{ name:"人员定位", ids:[] as string[], type:"moveMarker", init:async ()=>{ return await service.getPeopleList() }, value:"peo", url: "@path:people.png", assetPath:"/JC_CustomAssets/VehicleLibrary/Exhibition/重型货车_01", scale:[0,0,0], selected:false, pages:["home","view"] },{ name:"车辆定位", ids:[] as string[], type:"moveMarker", value:"car", assetPath:"/JC_CustomAssets/VehicleLibrary/Exhibition/重型货车_01", urls:[ "@path:car.png", "@path:d-car.png", "@path:d-car.png", ], init:async ()=>{ return await service.getCarList() }, scale:[0,0,0], selected:false, pages:["home","view"] },{ name:"视频监控", ids:[] as string[], type:"moveMarker", urls:[ "@path:1.png", "@path:2.png", "@path:3.png", "@path:4.png", "@path:5.png", "@path:6.png", "@path:7.png", "@path:8.png", "@path:9.png", ], init:async ()=>{ return await service.getCameraList() }, scale:[0,0,0], value:"video" , selected:false, hasPop:true, pages:["view"] }]