实名认证默认学员信息

hyx_2025-01-13_xgf2.0
Shan Ao 2025-05-15 17:14:58 +08:00
parent 8a8d925b48
commit 4a00cdb39c
2 changed files with 2 additions and 5 deletions

View File

@ -187,8 +187,7 @@ export default {
*/ */
async getStudentInfoFunc(classId) { async getStudentInfoFunc(classId) {
const resData = await getStudentInfoApi({classId}) const resData = await getStudentInfoApi({classId})
console.log('resData :>> ', resData); await this.$store.dispatch('setStudentInfo', resData.studentInfo)
await this.$store.dispatch('studentInfo', resData.studentInfo)
}, },
/** /**
* 获取是否已经完成上传人脸信息 * 获取是否已经完成上传人脸信息

View File

@ -69,9 +69,7 @@
<script> <script>
import { getDataDictionary, joinClass } from '@/api'; import { getDataDictionary, joinClass } from '@/api';
import Sign from '@/components/sign/sign.vue'
import { validateFieldPhone, validateFieldIdCard } from '@/utils/formValidateField.js' import { validateFieldPhone, validateFieldIdCard } from '@/utils/formValidateField.js'
import store from "@/store";
export default { export default {
data() { data() {