fix : 修改首页待办数量
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<h4>待办 ({{ todoNum }})</h4>
|
||||
<fvTable ref="tableIns" class="home-table" :tableConfig="tableConfig">
|
||||
<fvTable ref="tableIns" class="home-table" :tableConfig="tableConfig" @getTotal="getTotal">
|
||||
<template #empty>
|
||||
<el-empty description="暂无待办"/>
|
||||
</template>
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user