|
|
@ -55,9 +55,9 @@ export class HomeComponent implements OnInit { |
|
|
|
this.userName = JSON.parse(sessionStorage.getItem('userdata')).userName |
|
|
|
this.userName = JSON.parse(sessionStorage.getItem('userdata')).userName |
|
|
|
} |
|
|
|
} |
|
|
|
//修改密码提示框
|
|
|
|
//修改密码提示框
|
|
|
|
if ((sessionStorage.getItem('isDefaultPassword') == 'true' || sessionStorage.getItem('isPasswordExpired') == 'true') && JSON.parse(sessionStorage.getItem('userdata')).userName != 'admin') { |
|
|
|
// if ((sessionStorage.getItem('isDefaultPassword') == 'true' || sessionStorage.getItem('isPasswordExpired') == 'true') && JSON.parse(sessionStorage.getItem('userdata')).userName != 'admin') {
|
|
|
|
this.changePasswordPopup() |
|
|
|
// this.changePasswordPopup()
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -296,6 +296,7 @@ export class HomeComponent implements OnInit { |
|
|
|
// this.readMess(item.notification.id)
|
|
|
|
// this.readMess(item.notification.id)
|
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
close(item) { |
|
|
|
close(item) { |
|
|
|
// console.log(item)
|
|
|
|
// console.log(item)
|
|
|
|
this.messageId.forEach((element) => { |
|
|
|
this.messageId.forEach((element) => { |
|
|
|