Browse Source

[新增]识别类型

test-assets
邵佳豪 5 months ago
parent
commit
d5dd9ec2b5
  1. 10
      src/app/pages/oil-unloading-process/anxin-img-look/anxin-img-look.component.ts
  2. 4
      src/app/pages/singlelogin/singlelogin.component.ts
  3. 3
      src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts

10
src/app/pages/oil-unloading-process/anxin-img-look/anxin-img-look.component.ts

@ -40,7 +40,7 @@ export class AnxinImgLookComponent implements OnInit {
legendList: any = [];
typeArr = [
{ id: 0, name: "工装", color: "#91CCFF" },
{ id: 2, name: "便装", color: "#46DFFF" },
{ id: 1, name: "便装", color: "#46DFFF" },
{ id: 2, name: "抽烟", color: "#36A2FF" },
{ id: 3, name: "打电话", color: "#FF6181" },
{ id: 4, name: "隔离锥", color: "#000000" },
@ -54,6 +54,14 @@ export class AnxinImgLookComponent 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" },
{ id: 17, name: "延长工装", color: "blue" },
{ id: 18, name: "江苏工装", color: "blue" },
{ id: 19, name: "经理工装", color: "yellow" },
{ id: 20, name: "江苏道达尔工装", color: "yellow" },
{ id: 21, name: "延长壳牌工装", color: "red" },
{ id: 22, name: "山西高速工装", color: "red" },
];
userName; //登录账号的用户名

4
src/app/pages/singlelogin/singlelogin.component.ts

@ -110,8 +110,8 @@ export class SingleloginComponent implements OnInit {
headers: {
resId:
this.pageType == "ai"
? "1721962524656509998111"
: "1723021348346795029111",
? "1724119213161666287118"
: "1724119243583142965118",
},
})
.subscribe(

3
src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts

@ -50,7 +50,7 @@ export class GetOutOfLineDetailsComponent implements OnInit {
legendList: any = [];
typeArr = [
{ id: 0, name: "工装", color: "#91CCFF" },
{ id: 2, name: "便装", color: "#46DFFF" },
{ id: 1, name: "便装", color: "#46DFFF" },
{ id: 2, name: "抽烟", color: "#36A2FF" },
{ id: 3, name: "打电话", color: "#FF6181" },
{ id: 4, name: "隔离锥", color: "#000000" },
@ -71,6 +71,7 @@ export class GetOutOfLineDetailsComponent implements OnInit {
{ id: 19, name: "经理工装", color: "yellow" },
{ id: 20, name: "江苏道达尔工装", color: "yellow" },
{ id: 21, name: "延长壳牌工装", color: "red" },
{ id: 22, name: "山西高速工装", color: "red" },
];
userName; //登录账号的用户名
isShowAxOtherRegion; //控制哪些用户可以看到ax全部

Loading…
Cancel
Save