diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/EmpInfo/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/EmpInfo/list.vue index c8175b3ba..9a1823158 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/EmpInfo/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/EmpInfo/list.vue @@ -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);