提示文案
This commit is contained in:
@@ -405,6 +405,17 @@ export default {
|
||||
|
||||
confirm() {
|
||||
if(this.flag) return
|
||||
if(!this.form.taskTitle) {
|
||||
return this.$u.toast('请输入任务名称')
|
||||
}
|
||||
|
||||
if(!this.form.sendScope || !this.sum.length) {
|
||||
return this.$u.toast('请选择发送范围')
|
||||
}
|
||||
|
||||
if(!this.content || form.wxGroups.length) {
|
||||
return this.$u.toast("请输入发送内容")
|
||||
}
|
||||
this.form.contents = []
|
||||
// 文本
|
||||
const firstContent = [
|
||||
@@ -446,18 +457,6 @@ export default {
|
||||
this.forms.contents = this.form.contents
|
||||
this.forms.taskTitle = this.form.taskTitle
|
||||
}
|
||||
|
||||
if(!this.form.taskTitle) {
|
||||
return this.$u.toast('请输入任务名称')
|
||||
}
|
||||
|
||||
if(!this.form.sendScope) {
|
||||
return this.$u.toast('请选择发送范围')
|
||||
}
|
||||
|
||||
if(!this.form.contents.length) {
|
||||
return this.$u.toast("请输入发送内容")
|
||||
}
|
||||
|
||||
if(this.enableExamine) { // 是否需要审批,0:否、1:是
|
||||
if(!this.form.examines.length) {
|
||||
|
||||
Reference in New Issue
Block a user