From fb8599e60711cd3c145dba8fb9daa35f42185a7c Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Wed, 10 Jul 2024 08:50:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/App.vue | 14 +++++++------- sgzb-ui/src/views/repairTest/repair/index.vue | 2 +- sgzb-ui/src/views/repairTest/repairScrap/index.vue | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sgzb-ui/src/App.vue b/sgzb-ui/src/App.vue index 42825bf0..d3159f32 100644 --- a/sgzb-ui/src/App.vue +++ b/sgzb-ui/src/App.vue @@ -44,13 +44,13 @@ export default { }, updated() { // 判断是否需要获取通知信息 - // if ( - // localStorage.getItem('notice') && - // getToken() && - // !this.noticeDialog.outerVisible - // ) { - // this.getHomeNoticeFun() - // } + if ( + localStorage.getItem('notice') && + getToken() && + !this.noticeDialog.outerVisible + ) { + this.getHomeNoticeFun() + } }, methods: { // 获取通知公告的信息 diff --git a/sgzb-ui/src/views/repairTest/repair/index.vue b/sgzb-ui/src/views/repairTest/repair/index.vue index f6008e34..2ca0cfc3 100644 --- a/sgzb-ui/src/views/repairTest/repair/index.vue +++ b/sgzb-ui/src/views/repairTest/repair/index.vue @@ -166,7 +166,7 @@ align="center" :selectable=" (row) => { - return row.repairStatusCode == 44 && row.commit == 0 + return row.commit == 0 } " /> diff --git a/sgzb-ui/src/views/repairTest/repairScrap/index.vue b/sgzb-ui/src/views/repairTest/repairScrap/index.vue index abe9724f..a495d911 100644 --- a/sgzb-ui/src/views/repairTest/repairScrap/index.vue +++ b/sgzb-ui/src/views/repairTest/repairScrap/index.vue @@ -167,7 +167,7 @@ align="center" :selectable=" (row) => { - return row.repairStatusCode == 44 && row.commit == 0 + return row.commit == 0 } " />