diff --git a/src/views/message-manage/main/add-mass/index.vue b/src/views/message-manage/main/add-mass/index.vue
index 6f41d41..a88830c 100644
--- a/src/views/message-manage/main/add-mass/index.vue
+++ b/src/views/message-manage/main/add-mass/index.vue
@@ -1,7 +1,7 @@
@@ -23,13 +23,18 @@
- 学习账号{{keyword1Data}}
+ 消息类别{{keyword1Data}}
- 更新内容{{keyword2Data}}
-
+ 通知用户{{keyword2Data}}
+
+
+
+
+ 通知内容{{keyword3Data}}
+
@@ -53,12 +58,12 @@
查看名单
+
-
@@ -95,6 +100,7 @@ export default {
firstData: '{{first.DATA}}:',
keyword1Data: '{{keyword1DATA}}:',
keyword2Data: '{{keyword2DATA}}:',
+ keyword3Data: '{{keyword3DATA}}:',
remarkData: '{{remarkDATA}}:',
form: {
subject: '' /* || '财商学习通知' */, //发送主题
@@ -105,6 +111,7 @@ export default {
first: '' /* || '家长您好,您孩子所需的财商学习内容有更新' */, //内容模板标题
keyword1: '' /* || 'csds' */, //学习账号
keyword2: '' /* || '财商36问' */, //更新内容
+ keyword3: '',
remark: '' /* || '请点击内容查看详情' */, //内容详情
},
article: '', //选择文章
@@ -135,6 +142,9 @@ export default {
keyword2: [
{ required: true, message: '请填写消息模板内容', trigger: 'blur' },
],
+ keyword3: [
+ { required: true, message: '请填写消息模板内容', trigger: 'blur' },
+ ],
remark: [
{ required: true, message: '请填写消息模板内容', trigger: 'blur' },
],
@@ -208,7 +218,7 @@ export default {
// 立即发送
onSend() {
// 拼接所需字段
- let keywordStr = this.form.keyword1 + ',' + this.form.keyword2;
+ let keywordStr = this.form.keyword1 + ',' + this.form.keyword2 + ',' + this.form.keyword3;
let reqBody = {
send_now: true, //true 是立即发送, false是保存
subject: this.form.subject,
@@ -235,7 +245,7 @@ export default {
// 保存
onSave() {
// 拼接所需字段
- let keywordStr = this.form.keyword1 + ',' + this.form.keyword2;
+ let keywordStr = this.form.keyword1 + ',' + this.form.keyword2 + ',' + this.form.keyword3;
let reqBody = {
send_now: false, //true 是立即发送, false是保存
subject: this.form.subject,
@@ -318,18 +328,21 @@ export default {