@@ -159,7 +170,12 @@
},
data() {
return {
- subjectObj: {},
+ subjectObj: {},
+ companyType: [],
+ typeSelect: [],
+ educationType:[],
+ companyIndustry:[],
+ companyArea:[],
select: {
name: '',
mobile: '',
@@ -267,7 +283,14 @@
}
this.getList()
},
- methods: {
+ methods: {
+ changeSelectType(e, selectName) {
+ if (e) {
+ this.select[selectName] = e.join(",")
+ } else {
+ this.select[selectName] = ''
+ }
+ },
pageIndexChange(e) {
this.select.page = e
this.getList()
@@ -282,7 +305,12 @@
let index = perSize + e + 1
return index
},
- resetSelect() {
+ resetSelect() {
+ this.companyType = []
+ this.typeSelect = []
+ this.educationType=[]
+ this.companyIndustry=[]
+ this.companyArea=[]
this.select.name = ''
this.select.mobile = ''
this.select.company_name = ''
diff --git a/src/views/course/history.vue b/src/views/course/history.vue
index c5fcb1b..dc0adcc 100644
--- a/src/views/course/history.vue
+++ b/src/views/course/history.vue
@@ -125,7 +125,13 @@
label: '报名截止日期',
align: 'center',
width: 120,
- }, {
+ },{
+ prop: 'sign_pass_total',
+ label: '学员人数',
+ align: 'center',
+ width: 120,
+ },
+ {
prop: 'type_detail.name',
label: '课程体系',
align: 'center',
@@ -229,17 +235,18 @@
},
toTxl(row) {
- let value = row.type_detail.name
-
- this.$router.push({
- path: '/course/txl',
- query: {
- title: row.name,
- id: row.id,
- date: row.start_date + '至' + row.end_date,
- leibie: value,
- is_history: true
- }
+ let value = row.type_detail.name
+
+ this.$router.push({
+ path: '/course/txl',
+ query: {
+ title: row.name,
+ id: row.id,
+ date: row.start_date ? row.start_date + '至' + row.end_date : '',
+ leibie: value,
+ is_history: row.course_status === 40 ? true : false,
+ is_fee:row.is_fee
+ }
})
},
toPay(row) {
diff --git a/src/views/course/txl.vue b/src/views/course/txl.vue
index c4a5e50..3629225 100644
--- a/src/views/course/txl.vue
+++ b/src/views/course/txl.vue
@@ -15,47 +15,59 @@
+
+ {changeSelectType(e,'type')}" multiple collapse-tags clearable>
+
+
+
+
+
+ {changeSelectType(e,'education')}" multiple collapse-tags placeholder="请选择学历" clearable>
+
+
+
+
-
-
+
+ {changeSelectType(e,'company_area')}"
+ placeholder="请选择所属区域" clearable>
-
-
+
+ {changeSelectType(e,'company_type')}" multiple collapse-tags
+ placeholder="请选择企业资质" clearable>
-
-
+
+ {changeSelectType(e,'company_industry')}" placeholder="请选择所属领域" clearable>
-
-
-
-
-
-
-
-
-
-
-
-
+ -->
+
@@ -100,12 +112,15 @@
-
+
设置班委
编辑
- 查看
+ 查看
+
+ 删除
+
@@ -124,7 +139,8 @@
import myMixins from "@/mixin/selectMixin.js";
import formMixin from "@/mixin/formMixin.js";
import {
- index
+ index,
+ destroy
} from '@/api/apply/index.js'
import {
download
@@ -142,7 +158,12 @@
},
data() {
return {
- subjectObj: {},
+ subjectObj: {},
+ companyType: [],
+ typeSelect: [],
+ educationType:[],
+ companyIndustry:[],
+ companyArea:[],
select: {
name: '',
mobile: '',
@@ -246,7 +267,14 @@
this.getAutoForm()
this.getList()
},
- methods: {
+ methods: {
+ changeSelectType(e, selectName) {
+ if (e) {
+ this.select[selectName] = e.join(",")
+ } else {
+ this.select[selectName] = ''
+ }
+ },
pageIndexChange(e) {
this.select.page = e
this.getList()
@@ -262,6 +290,11 @@
return index
},
resetSelect(){
+ this.companyType = []
+ this.typeSelect = []
+ this.educationType=[]
+ this.companyIndustry=[]
+ this.companyArea=[]
this.select.name = ''
this.select.mobile = ''
this.select.company_name = ''
@@ -294,7 +327,7 @@
}, {
key: 'status',
op: 'eq',
- value: 1
+ value: '1'
}, {
key: 'fee_status',
op: 'eq',
@@ -335,6 +368,18 @@
this.$refs.editSign.row = row
this.$refs.editSign.formList = this.formList
this.$refs.editSign.isShow = true
+ },
+ deleteList(id) {
+ var that = this;
+ destroy({
+ id: id,
+ }).then(response => {
+ this.$Message.success('删除成功');
+ this.getList()
+ }).catch(error => {
+ console.log(error)
+ reject(error)
+ })
},
exportExcel() {
let _export = {}
diff --git a/src/views/student/index.vue b/src/views/student/index.vue
index 82cc667..410af6d 100644
--- a/src/views/student/index.vue
+++ b/src/views/student/index.vue
@@ -50,7 +50,7 @@
- {changeSelectType(e,'education')}" multiple collapse-tags placeholder="请选择学历" clearable>