From 8711a7765018bf37cc26d691152437acdd549b54 Mon Sep 17 00:00:00 2001 From: lb01 Date: Sat, 26 Nov 2022 16:15:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E5=A4=A9=E8=AF=B7?= =?UTF-8?q?=E5=81=87=E5=AD=97=E6=AE=B5=E5=AF=B9=E5=BA=94=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=BA=90=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StuLeaveManagement/single.vue | 43 +++++++++++++++---- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/single.vue index 14010c6b3..6f83fac29 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/single.vue @@ -94,30 +94,34 @@ disabled v-if="!edit" /> - - - - ({ value: t.value, text: t.text })), CheckStatus: Object.values(this.GET_GLOBAL('dataDictionary').LeaveCheck).map(t => ({ value: t.value, text: t.text })) } @@ -242,6 +252,23 @@ export default { // this.FETCH_DATASOURCE('ConferenceRoom').then(result => { // this.dataSource.StuLeaveManagement.CheckStatus = result.data.map(t => ({ text: t.name, value: t.id })) // }), + this.FETCH_DATASOURCE('bjsj').then(result => { + console.log(result) + this.dataSource.StuLeaveManagement.ClassNo = result.data.sort((a,b)=>{return b.classno-a.classno}).map(t => ({ text: t.classname, value: t.classno })) + }), + this.FETCH_DATASOURCE('EmpInfo').then(result => { + this.dataSource.StuLeaveManagement.ClassDiredctorNo = result.data.sort((a,b)=>{return b.classno-a.classno}).map(t => ({ text: t.empname, value: t.empno })); + }), + this.FETCH_DATASOURCE('EmpInfo').then(result => { + this.dataSource.StuLeaveManagement.ClassTutorNo = result.data.sort((a,b)=>{return b.classno-a.classno}).map(t => ({ text: t.empname, value: t.empno })); + }), + this.FETCH_DATASOURCE('CdDeptInfo').then(result => { + this.dataSource.StuLeaveManagement.DeptNo = result.data.map(t => ({ text: t.deptname, value: t.deptno })); + }), + this.FETCH_DATASOURCE('CdMajorInfo').then(result => { + console.log() + this.dataSource.StuLeaveManagement.MajorNo = result.data.map(t => ({ text: t.majorname, value: t.majorno })); + }), ]) await this.fetchForm()