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({