Browse Source

[完善]预警处置后赋值处置人

master
邵佳豪 6 months ago
parent
commit
e3a63bdab9
  1. 1
      src/app/pages/singlelogin/singlelogin.component.ts
  2. 3
      src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts

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

@ -143,7 +143,6 @@ export class SingleloginComponent implements OnInit {
} else {
this.enterPageSystem(data);
}
resolve();
},
(err) => {

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

@ -74,6 +74,7 @@ export class GetOutOfLineDetailsComponent implements OnInit {
{ id: 22, name: "山西高速工装", color: "red" },
];
userName; //登录账号的用户名
name; //登录账号的真实名
isShowAxOtherRegion; //控制哪些用户可以看到ax全部
isCarStop = false;
@ -83,6 +84,7 @@ export class GetOutOfLineDetailsComponent implements OnInit {
console.log("传进来的信息", this.data);
// 安信框选
this.userName = JSON.parse(sessionStorage.getItem("userdata")).userName;
this.name = JSON.parse(sessionStorage.getItem("userdata")).name;
if (this.userName === "admin" || this.userName === "superadmin") {
this.isShowAxOtherRegion = true;
} else {
@ -468,6 +470,7 @@ export class GetOutOfLineDetailsComponent implements OnInit {
this.message.create("success", "处置成功!");
this.data.handleTime = new Date();
this.data.handleStateStr = "已处置";
this.data.handleUserName = this.name;
this.data.handleRecord = this.content;
});
}

Loading…
Cancel
Save