commit
This commit is contained in:
@@ -188,7 +188,7 @@ layout("/mobile/platform.html"){
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<div v-if="o.campus">
|
||||
<span class="train-title">校  区:</span>
|
||||
<span>{{o.campus}}</span>
|
||||
</div>
|
||||
|
||||
@@ -370,7 +370,7 @@ layout("/layouts/platform.html"){
|
||||
const valid = await this.$refs['form'].validate()
|
||||
if (valid) {
|
||||
const courseValid = this.formData.courseList.some((v, i) => {
|
||||
const basicValid = v.courseName && v.coursePeopleNumber && v.campus
|
||||
const basicValid = v.courseName && v.coursePeopleNumber
|
||||
&& v.courseLocation && v.courseInstructor && v.courseType
|
||||
const timeValid = v.courseTimeList.length > 0 && v.courseTimeList.every(x => {
|
||||
return x.courseStartTime && x.courseEndTime && (x.courseStartTime < x.courseEndTime)
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
</el-col>
|
||||
</el-form-item>
|
||||
|
||||
<vi-title2 :title="trainType + '信息'">
|
||||
<vi-title2 :title="trainType + '信息(如不需要校区信息,填写时忽略即可)'">
|
||||
<template #func>
|
||||
<el-button @click="addCourse" size="small" type="primary">
|
||||
添加{{ trainType }}
|
||||
|
||||
@@ -137,9 +137,17 @@ layout("/layouts/platform.html"){
|
||||
},
|
||||
methods: {
|
||||
exportSignPerson() {
|
||||
if(!this.pageForm.activityId) {
|
||||
this.$message.warning('请先选择活动')
|
||||
return
|
||||
}
|
||||
this.exportPro(loc() + '/exportSignPerson', {activityId: this.pageForm.activityId})
|
||||
},
|
||||
exportGiftPerson() {
|
||||
if(!this.pageForm.activityId) {
|
||||
this.$message.warning('请先选择活动')
|
||||
return
|
||||
}
|
||||
this.exportPro(loc() + '/exportGiftPerson', {activityId: this.pageForm.activityId})
|
||||
},
|
||||
exportPro(url, param) {
|
||||
|
||||
Reference in New Issue
Block a user