|
@@ -39,10 +39,12 @@
|
|
|
|
|
|
<div class="tableWrap">
|
|
|
<el-table :header-cell-style="{background:'#EDEEF0',color:'#444'}"
|
|
|
- :data='tableList'>
|
|
|
- <el-table-column label="时间" prop='courseDate'>
|
|
|
+ :data='tableList'>
|
|
|
+ <el-table-column label="时间"
|
|
|
+ prop='courseDate'>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="课程名称" prop="classGroupName">
|
|
|
+ <el-table-column label="课程名称"
|
|
|
+ prop="classGroupName">
|
|
|
</el-table-column>
|
|
|
<el-table-column label="课程类型">
|
|
|
<template slot-scope="scope">
|
|
@@ -51,15 +53,17 @@
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="当前课次">
|
|
|
</el-table-column> -->
|
|
|
- <el-table-column label="指导老师" prop="realName">
|
|
|
+ <el-table-column label="指导老师"
|
|
|
+ prop="realName">
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="学员数量" prop="studentNum">
|
|
|
+ <el-table-column label="学员数量"
|
|
|
+ prop="studentNum">
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="剩余课时">
|
|
|
+ <!-- <el-table-column label="剩余课时">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.totalClassTimes - scope.row.currentClassTimes }}
|
|
|
+ {{ scope.row.totalClassTimes +'/'+ scope.row.currentClassTimes }}
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
|
<pagination :total="pageInfo.total"
|
|
|
:page.sync="pageInfo.page"
|
|
@@ -95,7 +99,7 @@ export default {
|
|
|
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ mounted () {
|
|
|
this.getCourseList()
|
|
|
},
|
|
|
methods: {
|
|
@@ -108,13 +112,13 @@ export default {
|
|
|
params.rows = this.pageInfo.limit
|
|
|
params.page = this.pageInfo.page
|
|
|
findStudentVipGroups(params).then(res => {
|
|
|
- if(res.code == 200) {
|
|
|
+ if (res.code == 200) {
|
|
|
this.tableList = res.data.rows
|
|
|
this.pageInfo.total = res.data.total
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- onSearch() {
|
|
|
+ onSearch () {
|
|
|
this.pageInfo.page = 1
|
|
|
this.getCourseList()
|
|
|
}
|