fix : 修改首页待办数量
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<h4>待办 ({{ todoNum }})</h4>
|
<h4>待办 ({{ todoNum }})</h4>
|
||||||
<fvTable ref="tableIns" class="home-table" :tableConfig="tableConfig">
|
<fvTable ref="tableIns" class="home-table" :tableConfig="tableConfig" @getTotal="getTotal">
|
||||||
<template #empty>
|
<template #empty>
|
||||||
<el-empty description="暂无待办"/>
|
<el-empty description="暂无待办"/>
|
||||||
</template>
|
</template>
|
||||||
@@ -101,7 +101,7 @@ const helpDocList = ref([
|
|||||||
title: '业务流程'
|
title: '业务流程'
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
const todoNum = ref(20)
|
const todoNum = ref(0)
|
||||||
const tableConfig = reactive({
|
const tableConfig = reactive({
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
@@ -156,6 +156,9 @@ const tableConfig = reactive({
|
|||||||
api: '/workflow/mosr/process/task',
|
api: '/workflow/mosr/process/task',
|
||||||
params: {},
|
params: {},
|
||||||
})
|
})
|
||||||
|
const getTotal=(val)=>{
|
||||||
|
todoNum.value=val
|
||||||
|
}
|
||||||
const handleView = (row) => {
|
const handleView = (row) => {
|
||||||
if (row.targetState == '00' && row.targetId) {
|
if (row.targetState == '00' && row.targetId) {
|
||||||
router.push({
|
router.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user