From 76ac8e65a99999c3e8a4fcf66fd0667eee0a643a Mon Sep 17 00:00:00 2001 From: ndbs Date: Thu, 27 Oct 2022 15:37:58 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=20=E6=95=99=E5=B8=88=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/EducationalAdministration/EmpInfo/list.vue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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);