Ver código fonte

app2.0修改通知公告图片回显为组件改动做准备

长阳分支推送专用
杨晓琪 2 anos atrás
pai
commit
2b8f320685
1 arquivos alterados com 8 adições e 3 exclusões
  1. +8
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue

+ 8
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LR_OAModule/noticeExamine.vue Ver arquivo

@@ -13,7 +13,7 @@
<l-input v-model="formData.F_SendPostId" title="接受岗位" disabled></l-input>
<l-select v-model="formData.F_IsSendFX" :range="[{value:true,text:'是'},{value:false,text:'否'}]" title="下发飞星" disabled></l-select>
<l-upload-file
:value="[API + '/learun/adms/annexes/wxdown?' + URL_QUERY(formData.F_NewsImage, true)]"
:value="fileList"
:readonly="true"
title="标题图片"
/>
@@ -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
}


Carregando…
Cancelar
Salvar