Commit 5a5bfcb4 by xuyl

修复营销bug

1 parent 860731f6
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<div class="gl-form-page"> <div class="gl-form-page">
<el-form ref="configForm" label-width="154px" :model="addForm" :rules="addRules" class="code-body-form"> <el-form ref="configForm" label-width="154px" :model="addForm" :rules="addRules" class="code-body-form">
<el-form-item label="营销名称:" prop="imName"> <el-form-item label="营销名称:" prop="imName">
<el-input @focus="imNameStatus = false" type="type" size="small" placeholder="请输入营销名称" v-model.trim="addForm.imName" :disabled="!editStatus" maxlength="30"></el-input> <el-input ref="sInput" @focus="imNameStatus = false" type="type" size="small" placeholder="请输入营销名称" v-model.trim="addForm.imName" :disabled="!editStatus" maxlength="30"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="推送时间:">系统将在「开始营销时间」之后启动智系统将在「开始营销时间」之后启动短信营销,并在「截止营销时间」之后停止短信发送。由于相关管控限制,营销类短信无法实时触达用户,若短信时效要求很高,请谨慎使用。</el-form-item> <el-form-item label="推送时间:">系统将在「开始营销时间」之后启动智系统将在「开始营销时间」之后启动短信营销,并在「截止营销时间」之后停止短信发送。由于相关管控限制,营销类短信无法实时触达用户,若短信时效要求很高,请谨慎使用。</el-form-item>
<el-form-item size="small" label="营销时间:" prop="time"> <el-form-item size="small" label="营销时间:" prop="time">
...@@ -595,6 +595,7 @@ export default { ...@@ -595,6 +595,7 @@ export default {
} }
if (!this.addForm.imName) { if (!this.addForm.imName) {
this.imNameStatus = true this.imNameStatus = true
this.$message.error('请输入营销名称')
return return
} }
if (this.dracImFollowStaffResponses && this.dracImFollowStaffResponses.length == 0) { if (this.dracImFollowStaffResponses && this.dracImFollowStaffResponses.length == 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!