From ad65db6236659e920a8b7718d6f49b4d54670322 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 9 Dec 2022 14:47:36 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/src/views/main-sidebar.vue | 10 ++-- .../modules/notice/PortalAnnouncement.vue | 59 +++++++++++-------- .../workBench/components/dept-todo-view.vue | 26 ++++---- 3 files changed, 51 insertions(+), 44 deletions(-) diff --git a/back/src/views/main-sidebar.vue b/back/src/views/main-sidebar.vue index f11275cf..46514640 100644 --- a/back/src/views/main-sidebar.vue +++ b/back/src/views/main-sidebar.vue @@ -1,8 +1,8 @@ @@ -88,12 +88,14 @@ export default { } if (children.id == '1545313754106699777') { // 评论审核 children.total = Number(this.numObject.comment_review) daibanNum = Number(daibanNum) + Number(children.total) - } if (children.id == '1554294862931562498') { // 会客厅 暂无 - children.total = 0 + } if (children.id == '1554294862931562498') { // 会客厅 + // children.total = 0 + children.total = Number(this.numObject.meetingroom_book) daibanNum = Number(daibanNum) + Number(children.total) } } menu.total = daibanNum + console.log('menu', menu) } } this.$store.state.sidebarMenuList = menuList diff --git a/back/src/views/modules/notice/PortalAnnouncement.vue b/back/src/views/modules/notice/PortalAnnouncement.vue index 1fe26f22..9de92679 100644 --- a/back/src/views/modules/notice/PortalAnnouncement.vue +++ b/back/src/views/modules/notice/PortalAnnouncement.vue @@ -3,7 +3,7 @@