From f1685906d4653941cd69bc17f835d88488f64bf6 Mon Sep 17 00:00:00 2001 From: lb01 Date: Fri, 2 Dec 2022 17:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=8F=E8=B4=B9=E5=AE=A1=E6=8A=A5=E5=BC=80?= =?UTF-8?q?=E6=94=AF=E5=AE=A1=E6=A0=B8=EF=BC=88=E6=9A=82=E6=9C=AA=E5=8A=A0?= =?UTF-8?q?=E5=AD=90=E8=A1=A8=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages.json | 7 ++ .../Audit_Expenditures/single.vue | 71 ++++++++++++++----- 2 files changed, 60 insertions(+), 18 deletions(-) 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 795007fdf..50095daed 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json @@ -1012,6 +1012,13 @@ "navigationBarTitleText": "通知公告" } }, + //经费开支审核 + { + "path": "pages/AssetManagementSystem/Audit_Expenditures/single", + "style": { + "navigationBarTitleText": "经费开支审核" + } + }, //会议工作管理 { "path": "pages/PersonnelManagement/MeetingManagement/list", diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue index 597b68ea7..25d002468 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue @@ -3,27 +3,24 @@ - - - - - - - - - - --> + + + + + + + + + + - - - - - + { + this.dataSource.ApplyDept = result.data.map(t => ({ + text: t.name, + value: t.id + })); + }), + this.FETCH_DATASOURCE('teacheruserdata').then(result => { + this.dataSource.ApplyUser = result.data.map(t => ({ + text: t.f_realname, + value: t.f_userid + })); + }), + this.dataSource.IsFixedAssets = Object.values(this.GET_GLOBAL('dataDictionary').YesOrNoInt).map(t => ({ + value: t.value, + text: t.text + })) + + ]) + + console.log(this.dataSource.IsFixedAssets) this.LOADING('加载中…') const noticeItem = this.GET_PARAM() this.processList = noticeItem.logList @@ -83,6 +110,7 @@ export default { this.processId = this.currentTask.F_Id this.formValue = noticeItem.formValue this.scheme = noticeItem.scheme + console.log(this.processList[0].F_ProcessId) await this.getFormData(this.processList[0].F_ProcessId) this.HIDE_LOADING(); @@ -95,9 +123,9 @@ export default { }, // 获取表单数据 getFormData(ProgressId){ - return this.HTTP_GET("learun/news/shList",{ProgressId},"加载数据时出错").then(async res=>{ + return this.HTTP_GET("learun/adms/FundsApply/shList",{ProgressId},"加载数据时出错").then(async res=>{ if(res){ - res.F_SourceName = res.F_SourceName&&this.GET_GLOBAL('department')[res.F_SourceName]? this.GET_GLOBAL('department')[res.F_SourceName].name : res.F_SourceName + // res.F_SourceName = res.F_SourceName&&this.GET_GLOBAL('department')[res.F_SourceName]? this.GET_GLOBAL('department')[res.F_SourceName].name : res.F_SourceName this.formData = res let fileList = await this.getFileListById(res.F_NewsImage) if(fileList&&fileList.length){ @@ -217,6 +245,13 @@ export default { break } }, + IsFixedAssetsitem(data){ + if(data == 0){ + return '否' + }else{ + return '是' + } + } } }