添加填报人

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

@@ -24,6 +24,7 @@ import { getRouteMenu, dictDataCache } from '@/api/auth'
import { getAreaList, areaSelect } from '@/api/common'
import { BasicDictData } from '@/stores/interface'
import { getUserById } from '@/api/user-boot/user'
import { getUserSimpleList } from '@/api/user-boot/user'
defineOptions({
components: { Default, Classic, Streamline, Double }
@@ -51,9 +52,10 @@ onBeforeMount(() => {
})
const init = async () => {
await Promise.all([getAreaList(), dictDataCache(), getUserById(), areaSelect()]).then(res => {
await Promise.all([getAreaList(), dictDataCache(), getUserById(), areaSelect(),getUserSimpleList()]).then(res => {
dictData.state.area = res[0].data
dictData.state.basic = res[1].data
dictData.state.userList=res[4].data
adminInfo.dataFill(res[2].data)
dictData.state.areaTree = res[3].data
})