From f381e209bd2ec2abb256972637b70b36f25c95e4 Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Wed, 21 Sep 2022 14:44:13 +0800 Subject: [PATCH] =?UTF-8?q?feat=20-=20=E6=B7=BB=E5=8A=A0=E7=BE=A4=E5=8F=91?= =?UTF-8?q?=20=20=20-=20=E5=A2=9E=E5=8A=A0=20=E5=8A=A8=E6=80=81=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=B6=88=E6=81=AF=E6=A8=A1=E6=9D=BF=20-=20=E7=BE=A4?= =?UTF-8?q?=E5=8F=91=E5=88=97=E8=A1=A8=20=20=20-=20=E4=BF=AE=E5=A4=8D=20?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +- src/api/wechat-fans.js | 17 +- src/components/TTable/TTable.vue | 17 +- src/utils/model.js | 4 +- .../message-manage/main/add-mass/index.vue | 257 ++++++++++++++---- .../message-manage/main/mass-list/index.vue | 35 ++- 6 files changed, 265 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index 8d999f6..b25c4a0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -112,4 +112,13 @@ fix - 添加群发 - 群发列表 - 修复 分页异常的问题 - - 修复 预览异常的问题 \ No newline at end of file + - 修复 预览异常的问题 + + +## v1.0.7 +`2022.9.21` +feat +- 添加群发 + - 增加 动态创建消息模板 +- 群发列表 + - 修复 分页异常的问题 \ No newline at end of file diff --git a/src/api/wechat-fans.js b/src/api/wechat-fans.js index 8e4062f..aa583f4 100644 --- a/src/api/wechat-fans.js +++ b/src/api/wechat-fans.js @@ -1,7 +1,7 @@ /* * @Date: 2022-09-15 16:40:39 * @LastEditors: JinxChen - * @LastEditTime: 2022-09-19 16:50:23 + * @LastEditTime: 2022-09-20 11:25:01 * @FilePath: \TelpoUserManageAdmin\src\api\wechat-fans.js * @description: */ @@ -13,6 +13,8 @@ export const APIWechatFans = { getArticlesGroup, //获取文章列表 getGroupSenderDetails, //获取单个群发记录 deleteGroupSender, //删除单个群发记录 + getTemplateMsgList, //获取模板消息列表 + getTemplateById, //根据模板id获取对应的模板消息 }; export default APIWechatFans; @@ -64,3 +66,16 @@ function deleteGroupSender(id) { method: 'delete', }); } +function getTemplateMsgList(){ + return requestWxFans({ + url: `/GroupSender/TemplateMsgTemplates`, + method: 'get', + }); +} + +function getTemplateById(id){ + return requestWxFans({ + url: `/GroupSender/TemplateMsgTemplates/${id}`, + method: 'get', + }); +} diff --git a/src/components/TTable/TTable.vue b/src/components/TTable/TTable.vue index ec524b9..6f8eb58 100644 --- a/src/components/TTable/TTable.vue +++ b/src/components/TTable/TTable.vue @@ -1,7 +1,7 @@ @@ -16,9 +16,16 @@ :prop="column.prop" :label="column.title" :fixed="column.fixed" - v-if="!column.action" + v-if="!column.action && !column.isCustom" height="400" /> + + +