From 6ea4d340daa245d265c1a6fcdd6c1f51930cd8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=99=93=E7=90=AA?= Date: Fri, 2 Sep 2022 18:35:23 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=E8=80=81=E7=94=9F=E7=BC=B4=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../learun-app/customform-table.vue | 4 +- .../LearunApp-2.2.0/pages.json | 9 + .../StuInfoBasic_PayFee/PayFee/list.vue | 6 +- .../StuInfoBasic_PayFee/PayFee/single.vue | 274 ++++++++++++++++-- .../LearunApp-2.2.0/pages/welcome/list.vue | 15 +- 5 files changed, 270 insertions(+), 38 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/customform-table.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/customform-table.vue index 9e30ac78d..d9e55049f 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/customform-table.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/customform-table.vue @@ -21,12 +21,12 @@ disabled /> - + diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json index 23f30ddbb..6040c1aa5 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json @@ -1052,6 +1052,15 @@ } } + ,{ + "path" : "pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/single", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } ], // 全局样式 diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/list.vue index bd99b3c6c..2535678e9 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/list.vue @@ -145,7 +145,6 @@ export default { }, async onLoad() { - console.log(this.GET_GLOBAL('dataDictionary')) await this.init(); }, onUnload() { @@ -175,8 +174,9 @@ export default { this.defaultQueryData = this.COPY(this.queryData); this.ready = true; }, - tapLi(data) { - this.NAV_TO('./single', data, true); + tapLi({Id}) { + // console.log(data) + this.NAV_TO('./single', {Id}, true); }, // 拉取列表 async fetchList(isConcat=true) { diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/single.vue index 972c5ea0f..9de683ebc 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuInfoBasic_PayFee/PayFee/single.vue @@ -1,6 +1,37 @@ diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue index a6db7654f..13b82c0ed 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue @@ -8,7 +8,7 @@ - + @@ -99,10 +99,15 @@ export default { GenderNo:{ type: 'dataItem', dataType: 'dataDictionary' - } + }, + DeptNo:{ + type: 'dataItem', + dataType: 'dataDictionary' + }, }, userInfo: {}, dataSource:{ + DeptNo:[], GenderNo: Object.values(this.GET_GLOBAL('dataDictionary').usersex).map(t => ({ value: t.value, text: t.text })), FamilyRelation: Object.values(this.GET_GLOBAL('dataDictionary').FamilyRelation).map(t => ({ value: t.value, text: t.text })), PartyFaceNo:[], @@ -146,6 +151,12 @@ export default { value: t.partyfaceno })); }), + this.FETCH_DATASOURCE('CdDeptInfo').then(data => { + this.dataSource.DeptNo = data.data.map(t => ({ + text: t.deptname, + value: t.deptno + })); + }), () => {} ]); _this.LOADING('加载数据…');