Commit 505817cd by 黑潮

update: 人群提示

parent 543f4be9
......@@ -939,14 +939,7 @@ export default {
if (this.xsxsFlag == 1) {
params.analyseJson = JSON.stringify(this.analyseConfig);
}
if (this.isAdd && this.form.effectType != 0) {
this.checkMessageSendCount().then(() => {
this.saveEcmInfo(params);
});
} else {
this.saveEcmInfo(params);
}
// this.saveEcmInfo(params);
this.saveEcmInfo(params);
} else {
this.$tips({ type: 'warning', message: '表单填写不完整' });
return false;
......@@ -954,7 +947,7 @@ export default {
});
}),
// 保存
saveEcmInfo(params) {
async saveEcmInfo(params) {
if (this.loading) {
return;
}
......@@ -962,6 +955,9 @@ export default {
this.$tips({ type: 'warning', message: `修改卡券目前不支持微信客服/群发接口` });
return false;
}
if (this.form.effectType != 0) {
await this.checkMessageSendCount();
}
this.loading = true;
saveEcmInfo(params)
.then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment