|
@@ -177,7 +177,7 @@ const getDepartmentList = async (id, key, type, isRefreshValue = false) => {
|
|
|
|
|
|
// 获取学生基本信息
|
|
|
const studentInfoFun = async () => {
|
|
|
- await userStore.getStudentInformation()
|
|
|
+ // await userStore.getStudentInformation()
|
|
|
const data = JSON.parse(localStorage.getItem('studentInfo') || '{}')
|
|
|
if (data.schoolId) getDepartmentList(data.schoolId, 'schoolDeptId', 0)
|
|
|
if (data?.schoolClassId) getDepartmentList(data.schoolDeptId, 'schoolClassId', 2)
|
|
@@ -217,6 +217,7 @@ const handleSubmit = async () => {
|
|
|
|
|
|
await saveStudentSimpleInfo(params)
|
|
|
setTimeout(async () => {
|
|
|
+ await userStore.getStudentInformation()
|
|
|
studentInfoFun()
|
|
|
Snackbar.success(t('common.submittedSuccessfully'))
|
|
|
overlay.value = false
|