@@ -116,12 +117,12 @@
- 是否缴费:
+ 课程类型:
- 是
- 否
+ 付费
+ 公益
@@ -223,7 +224,7 @@
-
+
@@ -269,8 +270,8 @@
publicizeList: [],
form: {
step: '', // 控制课程 课表
- name: '',
type: '',
+ name: '',
dateRange: '',
total: '',
sign_start_date: '',
@@ -292,23 +293,23 @@
}],
type: [{
required: true,
- message: '请选择课程类别'
+ message: '请选择课程体系'
}],
sign_start_date: [{
required: true,
message: '请选择报名开始日期'
- }],
- sign_end_date: [{
- required: true,
- message: '请选择报名截止日期'
+ }],
+ sign_end_date: [{
+ required: true,
+ message: '请选择报名截止日期'
}],
// image_id: [{
// required: true,
// message: '请上传课程封面'
- // }],
- qun_image_id: [{
- required: true,
- message: '请上传群聊二维码'
+ // }],
+ qun_image_id: [{
+ required: true,
+ message: '请上传群聊二维码'
}],
// content: [{
// required: true,
@@ -451,15 +452,15 @@
getDetail() {
show({
id: this.id,
- show_relation: ['image','qun_image']
+ show_relation: ['image', 'qun_image']
}).then(res => {
this.form = this.base.requestToForm(res, this.form)
if (res.image) {
this.imgList.push(res.image)
- }
- if (res.qun_image) {
- this.qunList.push(res.qun_image)
- }
+ }
+ if (res.qun_image) {
+ this.qunList.push(res.qun_image)
+ }
this.publicizeList = res.publicize
this.form.dateRange = res.start_date ? [res.start_date, res.end_date] : ''
@@ -510,15 +511,15 @@
} else {
this.id = ''
this.showTinymce = false
- this.imgList = []
+ this.imgList = []
this.qunList = []
this.publicizeList = []
this.active = 0
this.formList = []
this.form = {
step: '', // 控制课程 课表
- name: '',
type: '',
+ name: '',
dateRange: '',
total: '',
sign_start_date: '',
diff --git a/src/views/course/components/addTypes.vue b/src/views/course/components/addTypes.vue
index acf1d06..7b51ab8 100644
--- a/src/views/course/components/addTypes.vue
+++ b/src/views/course/components/addTypes.vue
@@ -1,14 +1,14 @@
-
diff --git a/src/views/course/components/applyForm.vue b/src/views/course/components/applyForm.vue
index ae1dfb2..0998821 100644
--- a/src/views/course/components/applyForm.vue
+++ b/src/views/course/components/applyForm.vue
@@ -4,7 +4,9 @@
diff --git a/src/views/course/components/showCode.vue b/src/views/course/components/showCode.vue
index 4e1d792..70c8b6b 100644
--- a/src/views/course/components/showCode.vue
+++ b/src/views/course/components/showCode.vue
@@ -12,7 +12,7 @@
课程名称:{{row.name}}
开课日期:{{row.start_date ? row.start_date + '至' + row.end_date : ''}}
-
类别:{{row.type_value}}
+
课程体系:{{row.type_value}}
diff --git a/src/views/course/components/showCourse.vue b/src/views/course/components/showCourse.vue
index bb60c36..29afcac 100644
--- a/src/views/course/components/showCourse.vue
+++ b/src/views/course/components/showCourse.vue
@@ -17,7 +17,7 @@
- 课程类别
+ 课程体系
{{showform.type_detail?showform.type_detail.name:''}}
diff --git a/src/views/course/history.vue b/src/views/course/history.vue
index 38c37ae..43847ef 100644
--- a/src/views/course/history.vue
+++ b/src/views/course/history.vue
@@ -15,7 +15,7 @@