|
@@ -1136,15 +1136,13 @@ export default {
|
|
|
getStudentInfoByPhone({ mobile: this.maskForm.phone }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data) {
|
|
|
- this.maskForm = {
|
|
|
- studentName: res.data.name,
|
|
|
- sex: res.data.gender,
|
|
|
- parentName: res.data.parentsName,
|
|
|
- course: res.data.currentClass,
|
|
|
- startClass: res.data.currentGrade,
|
|
|
- phone: val,
|
|
|
- timer: res.data.birthdate
|
|
|
- }
|
|
|
+ this.maskForm.studentName = res.data.name
|
|
|
+ this.maskForm.sex = res.data.gender
|
|
|
+ this.maskForm.parentName = res.data.parentsName
|
|
|
+ this.maskForm.course = res.data.currentClass
|
|
|
+ this.maskForm.startClass = res.data.currentGrade
|
|
|
+ this.maskForm.phone = val
|
|
|
+ this.maskForm.timer = res.data.birthdate
|
|
|
}
|
|
|
}
|
|
|
})
|