From a9dfa26b0d242d27e4881403afeda3ab96263de1 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Wed, 19 Jun 2024 11:44:30 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix=20:=20=E4=BF=AE=E6=94=B9=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=BE=85=E5=8A=9E=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 92c78c7..dfa993f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -16,7 +16,7 @@

待办 ({{ todoNum }})

- + @@ -101,7 +101,7 @@ const helpDocList = ref([ title: '业务流程' } ]) -const todoNum = ref(20) +const todoNum = ref(0) const tableConfig = reactive({ columns: [ { @@ -156,6 +156,9 @@ const tableConfig = reactive({ api: '/workflow/mosr/process/task', params: {}, }) +const getTotal=(val)=>{ + todoNum.value=val +} const handleView = (row) => { if (row.targetState == '00' && row.targetId) { router.push({ From 4289ab270983e7cb834e45384bb92b74262fc1fc Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Wed, 19 Jun 2024 11:52:07 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix=20:=20=E5=8F=B3=E4=B8=8A=E8=A7=92?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=B1=95=E7=A4=BA=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/navbar/index.vue | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/layout/navbar/index.vue b/src/layout/navbar/index.vue index 3900296..652ca67 100644 --- a/src/layout/navbar/index.vue +++ b/src/layout/navbar/index.vue @@ -17,7 +17,7 @@