From 88f3281ac726957614a69e0f24e2383609c5f3ec Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 20 Jul 2026 10:59:47 +0800 Subject: [PATCH] =?UTF-8?q?2026-07-20=20=E5=BC=82=E5=B8=B8=E8=A7=84?= =?UTF-8?q?=E5=88=99=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/main-sidebar-hover.vue | 5 ++++- src/views/main-sidebar.vue | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/main-sidebar-hover.vue b/src/views/main-sidebar-hover.vue index 021c77c..338a002 100644 --- a/src/views/main-sidebar-hover.vue +++ b/src/views/main-sidebar-hover.vue @@ -270,13 +270,16 @@ export default { }, refreshTodoPendingCount () { const site = this.$store.state.user.site + const userId = this.$store.state.user.id if (!site) { this.todoPendingCount = 0 return } const query = { site: site, - buNo: '' + buNo: '', + userId: userId, + matchRoleOnly: 'Y' } getTodoCenterStats(query).then(({ data }) => { if (data && data.code === 200 && data.resultMap) { diff --git a/src/views/main-sidebar.vue b/src/views/main-sidebar.vue index e013d64..fa080aa 100644 --- a/src/views/main-sidebar.vue +++ b/src/views/main-sidebar.vue @@ -147,13 +147,16 @@ export default { }, refreshTodoPendingCount () { const site = this.$store.state.user.site + const userId = this.$store.state.user.id if (!site) { this.todoPendingCount = 0 return } const query = { site: site, - buNo: '' + buNo: '', + userId: userId, + matchRoleOnly: 'Y' } getTodoCenterStats(query).then(({data}) => { if (data && data.code === 200 && data.resultMap) {