|
@@ -44,26 +44,23 @@
|
|
|
:data="tableList">
|
|
|
<el-table-column label="VIP编号"
|
|
|
align="center"
|
|
|
- prop="id"></el-table-column>
|
|
|
+ prop="vipGroupId"></el-table-column>
|
|
|
<el-table-column label="VIP课名称"
|
|
|
align="center"
|
|
|
- prop="name"></el-table-column>
|
|
|
+ prop="vipGroupName"></el-table-column>
|
|
|
<el-table-column label="VIP课状态"
|
|
|
align="center">
|
|
|
- <template slot-scope="scope">{{ scope.row.status | vipCourseStatus }}</template>
|
|
|
+ <template slot-scope="scope">{{ scope.row.vipGroupStatus | vipCourseStatus }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="指导老师"
|
|
|
align="center"
|
|
|
- prop="userName"></el-table-column>
|
|
|
- <el-table-column label="教务老师"
|
|
|
- align="center"
|
|
|
- prop="educationalTeacherName"></el-table-column>
|
|
|
+ prop="teacherName"></el-table-column>
|
|
|
<el-table-column label="班级人数"
|
|
|
align="center"
|
|
|
prop="studentNum"></el-table-column>
|
|
|
<el-table-column label="活动方案"
|
|
|
align="center"
|
|
|
- prop="vipGroupActivityName"></el-table-column>
|
|
|
+ prop="activeName"></el-table-column>
|
|
|
<el-table-column label="开课时间"
|
|
|
width="150"
|
|
|
align="center"
|
|
@@ -124,16 +121,14 @@ import {
|
|
|
findStudentVipGroupClass,
|
|
|
findStudentCourses
|
|
|
} from "@/api/studentManager";
|
|
|
-import { getVipList } from "@/api/vipSeting"
|
|
|
export default {
|
|
|
name: "studentvip",
|
|
|
components: { pagination },
|
|
|
data () {
|
|
|
return {
|
|
|
searchForm: {
|
|
|
- userId: null,
|
|
|
- search: null,
|
|
|
- studentId: null
|
|
|
+ studentId: null,
|
|
|
+ classGroupName: null
|
|
|
},
|
|
|
checkIndex: null, // 选中的课程
|
|
|
dialogTableVisible: false,
|
|
@@ -173,9 +168,7 @@ export default {
|
|
|
let params = this.searchForm;
|
|
|
params.rows = this.pageInfo.limit;
|
|
|
params.page = this.pageInfo.page;
|
|
|
- params.userId = this.searchForm.studentId;
|
|
|
- params.studentId = null;
|
|
|
- getVipList(params).then(res => {
|
|
|
+ findStudentVipGroupClass(params).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.tableList = res.data.rows;
|
|
|
this.pageInfo.total = res.data.total;
|