|
|
@ -638,6 +638,15 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 表单提交 |
|
|
// 表单提交 |
|
|
dataFormSubmitHandle: debounce(function () { |
|
|
dataFormSubmitHandle: debounce(function () { |
|
|
|
|
|
if (this.dataForm.actStartTime >= this.dataForm.actEndTime) { |
|
|
|
|
|
return this.$message.error('活动结束时间必须大于活动开始时间') |
|
|
|
|
|
} |
|
|
|
|
|
if (this.dataForm.actStartTime <= this.dataForm.signupEndTime) { |
|
|
|
|
|
return this.$message.error('活动开始时间必须大于报名截止时间') |
|
|
|
|
|
} |
|
|
|
|
|
if (this.dataForm.actEndTime > this.dataForm.signinEndTime) { |
|
|
|
|
|
return this.$message.error('打卡结束时间必须大于或等于活动结束时间') |
|
|
|
|
|
} |
|
|
if ((this.dataForm.actContent).length > 10000) { |
|
|
if ((this.dataForm.actContent).length > 10000) { |
|
|
return this.$message.error('您输入的的内容已超过字数') |
|
|
return this.$message.error('您输入的的内容已超过字数') |
|
|
} |
|
|
} |
|
|
|