From 54d781c9cf4597d24a7f404c29bd747866716be7 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Mon, 8 May 2023 14:18:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/active/activity.vue | 48 ++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/src/views/active/activity.vue b/src/views/active/activity.vue index a4f828a..a8b4fc1 100644 --- a/src/views/active/activity.vue +++ b/src/views/active/activity.vue @@ -431,28 +431,36 @@ value: "商业" }], activityCon: [{ - id: 1, - value: "讲座" - }, { id: 2, - value: "主题参观" + value: "主题党日" + }, { + id: 4, + value: "未成年课程" }, { + id: 5, + value: "大讲堂" + },{ id: 3, value: "体验活动" + },{ + id: 1, + value: "讲座" }], activityGroup: [{ id: 1, - value: "幼儿园" + value: "未成年" }, { id: 2, - value: "小学生" - }, { - id: 3, - value: "初中生" - }, { - id: 4, - value: "高中生" - }, { + value: "成年人" + }, + // { + // id: 3, + // value: "初中生" + // }, { + // id: 4, + // value: "高中生" + // }, + { id: 5, value: "不限" }] @@ -759,8 +767,8 @@ }, submitForm(formName) { var that = this; - - + + this.form.start_time = this.dateRange[0]; this.form.end_time = this.dateRange[1]; if (!this.form.start_time || !this.form.end_time) { @@ -768,11 +776,11 @@ return false; } //比较预约截止不能大于活动开始时间 - let checktime = that.compareDate(that.form.start_time, that.form.end_plan); - if (!checktime) { - that.$message.error('截止时间不能晚于开始时间'); - return false; - } + // let checktime = that.compareDate(that.form.start_time, that.form.end_plan); + // if (!checktime) { + // that.$message.error('截止时间不能晚于开始时间'); + // return false; + // } let upTotal = 0 if(that.form.numbers_list.length==0){ that.$message.error('请填写活动场次');