实名认证默认学员信息
parent
8a8d925b48
commit
4a00cdb39c
|
@ -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)
|
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 获取是否已经完成上传人脸信息
|
* 获取是否已经完成上传人脸信息
|
||||||
|
|
|
@ -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() {
|
||||||
|
@ -181,7 +179,7 @@ export default {
|
||||||
|
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
this.routeQuery = query // 接收上一个页面传递过来的路由参数1
|
this.routeQuery = query // 接收上一个页面传递过来的路由参数1
|
||||||
|
|
||||||
const { name,// 学员姓名,
|
const { name,// 学员姓名,
|
||||||
phone, // 联系电话
|
phone, // 联系电话
|
||||||
userIdCard,// 身份证号
|
userIdCard,// 身份证号
|
||||||
|
|
Loading…
Reference in New Issue