修复普测调整带来的其他功能

This commit is contained in:
2024-06-04 14:59:10 +08:00
parent f0dfa0ceca
commit 4da7fe4407
4 changed files with 37 additions and 31 deletions

View File

@@ -24,7 +24,9 @@ import TableHeader from '@/components/table/header/index.vue'
import { onMounted, provide, ref } from 'vue'
import { formatDate, formatPast2 } from '@/utils/formatTime'
import { useRouter } from 'vue-router'
import { useDictData } from '@/stores/dictData'
const dictData = useDictData()
const categoryOptionList = dictData.getBasicData('flow_category')
defineOptions({
name: 'businessUser'
@@ -47,7 +49,10 @@ const tableStore = new TableStore({
}
},
{ title: '任务名称', field: 'name', minWidth: 130 },
{ title: '流程分类', field: 'category', minWidth: 130 },
{ title: '流程分类', field: 'category', minWidth: 130 ,
formatter: (row: any) => {
return categoryOptionList.filter(item => item.id === row.cellValue)[0]?.name
}},
{
field: 'status',
title: '流程状态',