fixed set field edu 1401-03-05
This commit is contained in:
@@ -212,13 +212,13 @@
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</div>
|
||||
<a-form-item label="آخرین مدرک تحصیلی">
|
||||
<!-- <a-form-item label="آخرین مدرک تحصیلی">
|
||||
<a-select v-decorator="[`last_education`]">
|
||||
<a-select-option v-for="(item,index) in grade" :value="index">
|
||||
{{ item }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-form-item>-->
|
||||
|
||||
</div>
|
||||
</a-card>
|
||||
@@ -1717,6 +1717,14 @@ export default {
|
||||
this.personel = record;
|
||||
this.personelBirthDate = record && record.proposal && record.proposal.birth_date ? record.proposal.birth_date : null;
|
||||
this.flags = {gender: record.proposal.gender, marriage_sts: record.proposal.marriage_sts,}
|
||||
|
||||
record.personal_details.education.forEach((item) => {
|
||||
item.level = `${item.level}`
|
||||
})
|
||||
record.personal_details.family.forEach((item) => {
|
||||
item.edu_level = `${item.edu_level}`
|
||||
})
|
||||
// personal_details.family[${index}].edu_level
|
||||
this.$nextTick(() => {
|
||||
this.fromPersonel.setFieldsValue(record);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user