|
|
|
@ -299,6 +299,7 @@
|
|
|
|
type: 'add',
|
|
|
|
type: 'add',
|
|
|
|
active: 0,
|
|
|
|
active: 0,
|
|
|
|
id: '',
|
|
|
|
id: '',
|
|
|
|
|
|
|
|
course_signs_count:0,
|
|
|
|
action: `${process.env.VUE_APP_UPLOAD_API}`,
|
|
|
|
action: `${process.env.VUE_APP_UPLOAD_API}`,
|
|
|
|
showTinymce: false,
|
|
|
|
showTinymce: false,
|
|
|
|
courseTypesList: [],
|
|
|
|
courseTypesList: [],
|
|
|
|
@ -503,7 +504,7 @@
|
|
|
|
if (res.qun_image) {
|
|
|
|
if (res.qun_image) {
|
|
|
|
this.qunList.push(res.qun_image)
|
|
|
|
this.qunList.push(res.qun_image)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.course_signs_count = res.course_signs_count
|
|
|
|
this.publicizeList = res.publicize
|
|
|
|
this.publicizeList = res.publicize
|
|
|
|
this.form.dateRange = res.start_date ? [res.start_date, res.end_date] : ''
|
|
|
|
this.form.dateRange = res.start_date ? [res.start_date, res.end_date] : ''
|
|
|
|
this.form.status = res.status ? res.status : 0
|
|
|
|
this.form.status = res.status ? res.status : 0
|
|
|
|
@ -538,6 +539,7 @@
|
|
|
|
editForm(type, id) {
|
|
|
|
editForm(type, id) {
|
|
|
|
// this.$refs.applyForm.formList = deepCopy(this.formList)
|
|
|
|
// this.$refs.applyForm.formList = deepCopy(this.formList)
|
|
|
|
this.$refs.applyForm.course_id = this.id
|
|
|
|
this.$refs.applyForm.course_id = this.id
|
|
|
|
|
|
|
|
this.$refs.applyForm.course_signs_count = this.course_signs_count
|
|
|
|
this.$refs.applyForm.dialogVisible = true
|
|
|
|
this.$refs.applyForm.dialogVisible = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -554,6 +556,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.id = ''
|
|
|
|
this.id = ''
|
|
|
|
|
|
|
|
this.course_signs_count = 0
|
|
|
|
this.showTinymce = false
|
|
|
|
this.showTinymce = false
|
|
|
|
this.imgList = []
|
|
|
|
this.imgList = []
|
|
|
|
this.qunList = []
|
|
|
|
this.qunList = []
|
|
|
|
|