From cb2663384829cd251d9aaf2d05a2600ebc4cfac7 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期一, 26 八月 2024 14:28:08 +0800
Subject: [PATCH] 投诉反馈增加字段 富文本优化

---
 pages/feedback.vue |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/pages/feedback.vue b/pages/feedback.vue
index da8b832..09347c6 100644
--- a/pages/feedback.vue
+++ b/pages/feedback.vue
@@ -22,6 +22,7 @@
             minWidth: 250,
             showOverflowTooltip: true,
           },
+          { label: '反馈类型', prop: 'typeStr', minWidth: 120 },
           { label: '反馈时间', prop: 'createTime', minWidth: 180 },
           {
             label: '回复内容',
@@ -89,6 +90,25 @@
             type: 'input',
             el: { type: 'textarea' },
           },
+          { label: '反馈类型:', id: 'typeStr', type: 'input' },
+          {
+            label: '图片:',
+            id: 'pictures',
+            type: 'bus-upload',
+            forceDisabled: true,
+            el: {
+              listType: 'picture-card',
+            },
+            inputFormat: (row) => {
+              if ('pictures' in row) {
+                try {
+                  return row.pictures
+                    ? JSON.parse(row.pictures).map((i) => ({ url: i }))
+                    : []
+                } catch (e) {}
+              }
+            },
+          },
           { label: '反馈时间:', id: 'createTime', type: 'input' },
           {
             label: '回复内容:',

--
Gitblit v1.9.3