|
|
|
@ -64,11 +64,13 @@ export class GetOutOfLineDetailsComponent implements OnInit {
|
|
|
|
|
{ id: 12, name: "卸油车", color: "yellow" }, |
|
|
|
|
{ id: 13, name: "私家车", color: "black" }, |
|
|
|
|
{ id: 14, name: "断开的卸油管", color: "blue" }, |
|
|
|
|
{ id: 15, name: "烟雾预警", color: "#B4C3FF" }, |
|
|
|
|
{ id: 16, name: "火灾报警", color: "red" }, |
|
|
|
|
]; |
|
|
|
|
userName; //登录账号的用户名
|
|
|
|
|
isShowAxOtherRegion; //控制哪些用户可以看到ax全部
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
|
|
|
|
|
console.log("传进来的信息", this.data); |
|
|
|
|
// 安信框选
|
|
|
|
|
this.userName = JSON.parse(sessionStorage.getItem("userdata")).userName; |
|
|
|
|
if (this.userName === "admin" || this.userName === "superadmin") { |
|
|
|
@ -261,7 +263,6 @@ export class GetOutOfLineDetailsComponent implements OnInit {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typeChange(item) { |
|
|
|
|
if (item.checked) { |
|
|
|
|
this.coordinate.forEach((element) => { |
|
|
|
|