From 1c057eb425c053ec014b6df47322e6180eef00c0 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 10 十月 2024 11:15:16 +0800
Subject: [PATCH] fix:评价列表

---
 pages/order/evaluation/index.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/pages/order/evaluation/index.vue b/pages/order/evaluation/index.vue
index e03d133..1eb163b 100644
--- a/pages/order/evaluation/index.vue
+++ b/pages/order/evaluation/index.vue
@@ -145,8 +145,14 @@
               {
                 label: '评价图片:',
                 id: 'commentImages',
-                type: 'image',
+                type: 'bus-upload',
                 readonly: true,
+                el: {
+                  listType: 'picture-card',
+                  limit: 1,
+                  limitSize: 2,
+                  valueType: 'string',
+                },
               },
               ]
           },
@@ -209,9 +215,8 @@
          {params: {id: item.id}}
        )
        if (code === 0) {
-         console.log(data);
-         console.log(data[0].orderId);
-         this.$refs.crud.$refs.extraDialog[0].show(data[0])
+         const row = data[0];
+         this.$refs.crud.$refs.extraDialog[0].show(row)
 
        }
      },
@@ -220,7 +225,7 @@
         await this.$elBusUtil.confirm(
           `确定要删除这个商品吗?`
         )
-        const {code, data} = await this.$elBusHttp.request(
+        const {code} = await this.$elBusHttp.request(
           'flower/api/v2/flower-comment/' + item.id + '',
           {
             method: 'delete',

--
Gitblit v1.9.3