|
@@ -195,15 +195,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
submit() {
|
|
|
- for (const key in this.surplustime) {
|
|
|
- if (this.surplustime.hasOwnProperty(key)) {
|
|
|
- const item = this.surplustime[key];
|
|
|
- if (item > 0) {
|
|
|
- this.$message.error(`${this.courseTypeListByName[key]},还剩余${item}分钟剩余可排时长`)
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ // for (const key in this.surplustime) {
|
|
|
+ // if (this.surplustime.hasOwnProperty(key)) {
|
|
|
+ // const item = this.surplustime[key];
|
|
|
+ // if (item > 0) {
|
|
|
+ // this.$message.error(`${this.courseTypeListByName[key]},还剩余${item}分钟剩余可排时长`)
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
this.$refs.form.validate(async valid => {
|
|
|
if (valid) {
|
|
|
const list = []
|