|
@@ -127,7 +127,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
prop="userName"
|
|
|
- label="指导老师"></el-table-column>
|
|
|
+ label="指导老师"
|
|
|
+ width='100px'></el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
prop="educationalTeacherName"
|
|
|
label="教务老师"></el-table-column>
|
|
@@ -159,7 +160,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
prop="createTime"
|
|
|
- label="上次课时间">
|
|
|
+ label="上次课时间"
|
|
|
+ width='100px'>
|
|
|
+
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<p>{{scope.row.lastOverTime | formatterTime}}</p>
|
|
@@ -168,7 +171,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
prop="paymentExpireDate"
|
|
|
- label="开课时间">
|
|
|
+ label="开课时间"
|
|
|
+ width='100px'>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<p>{{scope.row.courseStartDate | formatterTime}}</p>
|
|
@@ -177,7 +181,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
prop="coursesExpireDate"
|
|
|
- label="结束时间">
|
|
|
+ label="结束时间"
|
|
|
+ width='100px'>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<p>{{scope.row.coursesExpireDate | formatterTime}}</p>
|
|
@@ -186,7 +191,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
prop="createTime"
|
|
|
- label="申请时间">
|
|
|
+ label="申请时间"
|
|
|
+ width='100px'>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<p>{{scope.row.createTime | formatterTime}}</p>
|
|
@@ -204,7 +210,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<el-button type="text"
|
|
|
- v-if="permission('/vipDetail')"
|
|
|
+ v-if="permission('/vipDetail')"
|
|
|
@click="gotoVipDetail(scope.row)">查看</el-button>
|
|
|
<!--
|
|
|
<el-button type="text">启动</el-button>-->
|
|
@@ -229,7 +235,9 @@
|
|
|
<el-button type="text"
|
|
|
slot="reference">停止</el-button>
|
|
|
</el-popover>
|
|
|
- <el-button type="text" @click="onVipDelete(scope.row)" v-if="scope.row.enableDelete == 1 && permission('vipGroupManage/deleteVipGroup')">删除</el-button>
|
|
|
+ <el-button type="text"
|
|
|
+ @click="onVipDelete(scope.row)"
|
|
|
+ v-if="scope.row.enableDelete == 1 && permission('vipGroupManage/deleteVipGroup')">删除</el-button>
|
|
|
<el-button type="text"
|
|
|
v-if="scope.row.status > 1&&scope.row.status != 3 && permission('/vipReset')"
|
|
|
@click="resetVip(scope.row)">修改</el-button>
|
|
@@ -394,7 +402,7 @@ export default {
|
|
|
}
|
|
|
);
|
|
|
},
|
|
|
- onCancelVip(scope) {
|
|
|
+ onCancelVip (scope) {
|
|
|
this.stopReason = null
|
|
|
scope._self.$refs[scope.$index].doClose()
|
|
|
},
|
|
@@ -540,14 +548,14 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 删除VIP
|
|
|
- onVipDelete(row) {
|
|
|
+ onVipDelete (row) {
|
|
|
this.$confirm("您确定删除该VIP课吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
deleteVipGroup({ vipGroupId: row.id }).then(res => {
|
|
|
- if(res.code == 200) {
|
|
|
+ if (res.code == 200) {
|
|
|
this.$message.success("删除成功");
|
|
|
this.getList();
|
|
|
}
|