From bdcaf120916d9e259ea1ff8582af40ee7c314042 Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Tue, 13 Jun 2023 12:26:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20mp=E6=A8=A1=E5=9D=97ts=E9=87=8D?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mp/autoReply/index.vue | 277 ++++++---- src/views/mp/components/WxMpSelect.vue | 22 +- .../mp/components/wx-editor/WxEditor.vue | 115 +---- src/views/mp/draft/index.vue | 475 +++++++++--------- src/views/mp/freePublish/index.vue | 33 +- src/views/mp/material/index.vue | 92 ++-- src/views/mp/menu/index.vue | 76 +-- src/views/mp/tag/TagForm.vue | 19 +- src/views/mp/tag/index.vue | 45 +- src/views/mp/user/index.vue | 86 +++- 10 files changed, 637 insertions(+), 603 deletions(-) diff --git a/src/views/mp/autoReply/index.vue b/src/views/mp/autoReply/index.vue index 9208d1e7..94fe34b3 100644 --- a/src/views/mp/autoReply/index.vue +++ b/src/views/mp/autoReply/index.vue @@ -3,13 +3,16 @@ - - + + + + + - + @@ -18,26 +21,26 @@ plain @click="handleAdd" v-hasPermi="['mp:auto-reply:create']" - v-if="type !== '1' || list.length <= 0" + v-if="msgType !== MsgType.Follow || list.length <= 0" > 新增 - + - + - + @@ -47,10 +50,20 @@ label="请求消息类型" align="center" prop="requestMessageType" - v-if="type === '2'" + v-if="msgType === MsgType.Message" /> - - + + @@ -64,7 +77,7 @@ - diff --git a/src/views/mp/components/wx-editor/WxEditor.vue b/src/views/mp/components/wx-editor/WxEditor.vue index 50c65c6e..cf384113 100644 --- a/src/views/mp/components/wx-editor/WxEditor.vue +++ b/src/views/mp/components/wx-editor/WxEditor.vue @@ -1,11 +1,11 @@ diff --git a/src/views/mp/freePublish/index.vue b/src/views/mp/freePublish/index.vue index 301873ac..7a15b31f 100644 --- a/src/views/mp/freePublish/index.vue +++ b/src/views/mp/freePublish/index.vue @@ -3,8 +3,17 @@ - - + + + + + @@ -39,26 +48,32 @@ -