This commit is contained in:
yanran200730
2022-09-15 15:00:07 +08:00
parent 05aad4b68e
commit 0fc014b17b
2 changed files with 9 additions and 2 deletions

View File

@@ -596,9 +596,15 @@ export default {
if (valid) {
if (new Date(this.dateForm.choiceTime).getTime() < Date.now()) {
return this.$message.error('定时发送时间不得早于当前时间')
} else {
this.confirm(1)
}
if (this.params.sendChannel === 'sendChannel' && new Date(this.dateForm.choiceTime).getTime() > new Date(this.dateForm.taskEndTime).getTime()) {
return this.$message.error('定时发送时间不得晚于结束时间')
}
taskEndTime
this.confirm(1)
}
})
},

View File

@@ -42,6 +42,7 @@
</ai-info-item>
<ai-info-item label="创建时间" :value="info.createTime"></ai-info-item>
<ai-info-item label="群发时间" :value="info.choiceTime"></ai-info-item>
<ai-info-item label="结束时间" :value="info.taskEndTime" v-if="info.sendChannel === '1'"></ai-info-item>
<ai-info-item label="群发范围" isLine>
<div class="text">
<span>{{ info.sendScope === '0' ? '全部' : '按条件筛选的' }}</span>