|
|
|
@ -4,7 +4,6 @@ |
|
|
|
<div class="mod-news__news}"> |
|
|
|
<el-form :inline="true" |
|
|
|
:model="dataForm" |
|
|
|
:rules="dataRule" |
|
|
|
ref="dataForm" |
|
|
|
:label-width="$i18n.locale === 'en-US' ? '120px' : '120px'"> |
|
|
|
<el-row> |
|
|
|
@ -638,6 +637,9 @@ export default { |
|
|
|
}, |
|
|
|
// 表单提交 |
|
|
|
dataFormSubmitHandle: debounce(function () { |
|
|
|
if (new Date() >= new Date(this.dataForm.signupEndTime)) { |
|
|
|
return this.$message.error('报名截止时间必须大于当前时间') |
|
|
|
} |
|
|
|
if (this.dataForm.actStartTime >= this.dataForm.actEndTime) { |
|
|
|
return this.$message.error('活动结束时间必须大于活动开始时间') |
|
|
|
} |
|
|
|
|