|
@@ -350,6 +350,12 @@ export default {
|
|
|
),
|
|
|
templateId: this.issue_id,
|
|
|
};
|
|
|
+ if (this.issue_form.endTime) {
|
|
|
+ if (this.issue_form.endTime.getTime() < new Date().getTime()) {
|
|
|
+ this.$message.error("截止时间不能小于当前时间");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
this.$http({
|
|
|
url: url,
|