From 2b8f32068529ca6cac54f0c4cf0c6709032abce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=99=93=E7=90=AA?= Date: Fri, 16 Sep 2022 15:06:16 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=E4=BF=AE=E6=94=B9=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E5=9B=BE=E7=89=87=E5=9B=9E=E6=98=BE=E4=B8=BA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=94=B9=E5=8A=A8=E5=81=9A=E5=87=86=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/LR_OAModule/noticeExamine.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue index 3508205d4..43b398353 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue @@ -13,7 +13,7 @@ @@ -61,7 +61,8 @@ export default { content: '', time: '', - date: '' + date: '', + fileList:[], } }, @@ -94,9 +95,13 @@ export default { }, // 获取表单数据 getFormData(ProgressId){ - return this.HTTP_GET("learun/news/shList",{ProgressId},"加载数据时出错").then(res=>{ + return this.HTTP_GET("learun/news/shList",{ProgressId},"加载数据时出错").then(async res=>{ if(res){ this.formData = res + let fileList = await this.getFileListById(res.F_NewsImage) + if(fileList&&fileList.length){ + this.fileList = [fileList[0]] + } this.content = res.F_NewsContent this.ready = true }