|
@@ -208,7 +208,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
fixed="right"
|
|
|
- width="250px;"
|
|
|
+ width="300px;"
|
|
|
label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
@@ -220,6 +220,9 @@
|
|
|
<el-button type="text"
|
|
|
v-if="permission('musicGroupQuit/directQuitMusicGroup')&&scope.row.studentStatus != 'QUIT'"
|
|
|
@click="quieTeamMask(scope.row)">退团</el-button>
|
|
|
+ <el-button type="text"
|
|
|
+ v-if="permission('musicGroupQuit/directQuitMusicGroup1')&&scope.row.studentStatus != 'QUIT'"
|
|
|
+ @click="quieTeam(scope.row)">退团不退费</el-button>
|
|
|
|
|
|
<el-button type="text"
|
|
|
v-if="permission('visit/add')"
|
|
@@ -845,7 +848,8 @@ export default {
|
|
|
feedback: [{ required: true, message: "请输入家长反馈" }],
|
|
|
visitTime: [{ required: true, message: "请输入回访时间" }],
|
|
|
visitType: [{ required: true, message: "请选择回访类型" }]
|
|
|
- }
|
|
|
+ },
|
|
|
+ pickerOptions: null
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -1278,6 +1282,39 @@ export default {
|
|
|
this.activeRow = row;
|
|
|
this.quitVisible = true;
|
|
|
},
|
|
|
+ quieTeam (row) {
|
|
|
+ console.log(row)
|
|
|
+ this.$confirm("确定退团?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ // 发请求 退团
|
|
|
+ StudentQuit({
|
|
|
+ musicGroupId: this.teamid,
|
|
|
+ userId: row.userId,
|
|
|
+ reason: '',
|
|
|
+ isRefundCourseFee: false,
|
|
|
+ isRefundInstrumentFee: false,
|
|
|
+ isRefundTeachingAssistantsFee: false
|
|
|
+ }).then(res => {
|
|
|
+ this.quitForm = {
|
|
|
+ // 退团信息确认
|
|
|
+ isRefundCourseFee: null,
|
|
|
+ isRefundInstrumentFee: null,
|
|
|
+ isRefundTeachingAssistantsFee: null,
|
|
|
+ reason: ""
|
|
|
+ };
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success("退团成功");
|
|
|
+ this.getList();
|
|
|
+ this.quitVisible = false;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => { });
|
|
|
+ },
|
|
|
checkPhone (val) {
|
|
|
var regu = /^1[3456789]\d{9}$/;
|
|
|
var re = new RegExp(regu);
|
|
@@ -1383,7 +1420,7 @@ export default {
|
|
|
return time.getTime() >= new Date().getTime(); //开始时间不选时,结束时间最大值小于等于当天
|
|
|
}
|
|
|
};
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
watch: {
|
|
|
quitVisible (val) {
|