This commit is contained in:
guochunsi
2026-01-14 11:41:04 +08:00
parent d0c8ea0223
commit 6055033289
49 changed files with 2043 additions and 1740 deletions

View File

@@ -181,8 +181,8 @@ const state: BasicTableProps = reactive<BasicTableProps>({
const response = await fetchList(params)
return {
data: {
records: response.data.data.records,
total: response.data.data.total
records: response.data.records,
total: response.data.total
}
}
},
@@ -197,16 +197,16 @@ const init = async () => {
try {
// 查询二级学院信息
const deptData = await getDeptList()
deptList.value = deptData.data.data || []
deptList.value = deptData.data || []
deptList.value.push({ deptCode: '190', deptName: '招生就业处' })
// 获取所有省
const areaData = await areaList({ type: '0', parentId: 112 })
provinceList.value = areaData.data.data || []
provinceList.value = areaData.data || []
// 获取招生计划列表
const planData = await list()
planList.value = planData.data.data || []
planList.value = planData.data || []
if (planList.value.length > 0) {
queryForm.groupId = planList.value[0].id
}