|
@@ -139,9 +139,9 @@
|
|
|
<div>
|
|
|
<ol>
|
|
|
<li v-for="(item,index) in studentInfo.guardians" :key="index" class="guardian-item">
|
|
|
- <Input v-special-char v-model="item.gName" class="guardian-info-input" :placeholder="$t('stuAccount.gName')"></Input>
|
|
|
- <Input v-special-char v-model="item.guardian" class="guardian-info-input" :placeholder="$t('stuAccount.guardian')"></Input>
|
|
|
- <Input v-special-char v-model="item.gPhone" class="guardian-info-input" :placeholder="$t('stuAccount.gPhone')"></Input>
|
|
|
+ <Input v-special-char v-model="item.name" class="guardian-info-input" :placeholder="$t('stuAccount.gName')"></Input>
|
|
|
+ <Input v-special-char v-model="item.relation" class="guardian-info-input" :placeholder="$t('stuAccount.guardian')"></Input>
|
|
|
+ <Input v-special-char v-model="item.mobile" class="guardian-info-input" :placeholder="$t('stuAccount.gPhone')"></Input>
|
|
|
<Icon type="md-remove-circle" class="remove-guardian-icon" color="#ed4014" @click="removeGuardian(index)" />
|
|
|
</li>
|
|
|
</ol>
|
|
@@ -149,7 +149,7 @@
|
|
|
</FormItem>
|
|
|
</Form>
|
|
|
<Button :loading="btnLoading" @click="confirmAddStu" long type="primary" class="confirm-btn">
|
|
|
- 确认
|
|
|
+ {{$t('stuAccount.confirmText')}}
|
|
|
</Button>
|
|
|
</div>
|
|
|
|
|
@@ -299,9 +299,9 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this.studentInfo.guardians.push({
|
|
|
- guardian: '',
|
|
|
- gName: '',
|
|
|
- gPhone: ''
|
|
|
+ relation: '',
|
|
|
+ name: '',
|
|
|
+ mobile: ''
|
|
|
})
|
|
|
},
|
|
|
/**
|