Browse Source

app2.0 教师页面优化

娄底高职分支
ndbs 2 years ago
parent
commit
76ac8e65a9
1 changed files with 3 additions and 9 deletions
  1. +3
    -9
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/EmpInfo/list.vue

+ 3
- 9
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/EmpInfo/list.vue View File

@@ -130,7 +130,7 @@ export default {
dataSource: {
EmpInfo: {
PartyFaceNo: [],
NationalityNo: Object.values(this.GET_GLOBAL('dataDictionary').National).map(t => ({ value: t.value, text: t.text })),
NationalityNo: [],
},
},
};
@@ -150,13 +150,7 @@ export default {
this.id = id;
this.mode = type;
this.edit = ["create", "edit"].includes(this.mode); // 拉取表单数据,同时拉取所有来自数据源的选单数据
await Promise.all([
this.FETCH_DATASOURCE('BCdPartyFace').then(result => {
this.dataSource.EmpInfo.PartyFaceNo = result.data.map(t => ({ text: t.partyface, value: t.partyfaceno }))
}),
() => {},
]);
await Promise.all([() => {}]);
await this.fetchForm();
this.ready = true;
this.HIDE_LOADING();
@@ -170,7 +164,7 @@ export default {
this.id
);
this.id=result.EmpInfo.EmpId;
// console.log(result);
console.log(result);
this.origin = await this.formatFormData(result);
}
this.current = this.COPY(this.origin);


Loading…
Cancel
Save