From 9544188c2b2abc6369178614e91cf57443da1d9a Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期二, 14 三月 2023 18:06:48 +0800
Subject: [PATCH] 修改已驳回信息 案件录入-案件状态修改

---
 src/views/cause/Group.vue |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/src/views/cause/Group.vue b/src/views/cause/Group.vue
index c2b58ab..8251778 100644
--- a/src/views/cause/Group.vue
+++ b/src/views/cause/Group.vue
@@ -182,6 +182,7 @@
                 }
               }
               this.messageList = res
+
               this.sendBtn=false
             })
             getAllNotice(data.id).then(res => this.groupAnList = res)
@@ -234,12 +235,33 @@
           }
         },
         seedMessage() {
-          seed(this.field103, this.groupId).then(res => {
+          seed(this.field103, this.groupId).then(async res => {
                 this.$message({
                   message: '鍥炲鎴愬姛',
                   type: 'success'
                 });
-                getAllMessage(this.groupId).then(res => this.messageList = res)
+                await getAllMessage(this.groupId).then(res => {
+                  res.map(item=>{
+                    if (item.pic === '' || item.pic === null){
+
+                    }else {
+                      item.pic='/minio/img/'+item.pic
+                    }
+
+                  })
+                  this.messageList = res
+                  // console.log(res)
+                })
+
+                // for (let item of this.messageList) {
+                //   if (item.pic === '' || item.pic === null) {
+                //   } else {
+                //     getImgUrl(item.pic).then(res => {
+                //       item.pic = res
+                //     })
+                //   }
+                // }
+
                 this.field103 = '';
               }
           )

--
Gitblit v1.8.0