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" /> + + +