|
@@ -1049,9 +1049,11 @@ const submit = () => {
|
|
},
|
|
},
|
|
}
|
|
}
|
|
console.log('🚀🚀🚀提交参数', params)
|
|
console.log('🚀🚀🚀提交参数', params)
|
|
- if (!formState.statisticsTime[0] || !formState.statisticsTime[1]) {
|
|
|
|
- message.warn('统计时间不完整')
|
|
|
|
- return
|
|
|
|
|
|
+ if ([4, 5, 6, 7, 8].includes(formState.eventType as number)) {
|
|
|
|
+ if (!formState.statisticsTime[0] || !formState.statisticsTime[1]) {
|
|
|
|
+ message.warn('统计时间不完整')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if (formState.effectTimeFrames.length === 0) {
|
|
if (formState.effectTimeFrames.length === 0) {
|
|
message.warn('请添加生效时段')
|
|
message.warn('请添加生效时段')
|