添加填报人

This commit is contained in:
zhujiyan
2024-06-05 15:08:24 +08:00
parent fa4ce4693e
commit a66734a9f9
26 changed files with 235 additions and 44 deletions

View File

@@ -35,6 +35,8 @@ import planAdd from './planAdd.vue'
import { useRouter } from 'vue-router'
import { queryPlan, removeSurvey } from '@/api/process-boot/generalTest'
import { getUserByRoleType } from '@/api/user-boot/user'
import { useDictData } from '@/stores/dictData'
const dictData = useDictData()
const { push, options, currentRoute } = useRouter()
const dialogVisible = ref(false)
const tableRef = ref()
@@ -90,6 +92,14 @@ const tableStore = new TableStore({
4: '已取消'
}
},
{
field: 'createBy',
title: '填报人',
minWidth: 80,
formatter: (row: any) => {
return dictData.state.userList.filter(item => item.id == row.cellValue)[0]?.name
}
},
{
title: '操作',
width: '180',