|
@@ -607,13 +607,24 @@
|
|
</auth>
|
|
</auth>
|
|
<!-- -->
|
|
<!-- -->
|
|
<auth
|
|
<auth
|
|
- v-show="scope.row.payingStatus == 2 && scope.row.noneNeedCloudTeacher == 0"
|
|
|
|
|
|
+ v-show="
|
|
|
|
+ scope.row.payingStatus == 2 &&
|
|
|
|
+ scope.row.noneNeedCloudTeacher == 0
|
|
|
|
+ "
|
|
:auths="'studentRegistration/setNoneCloudTeacher'"
|
|
:auths="'studentRegistration/setNoneCloudTeacher'"
|
|
>
|
|
>
|
|
<el-button type="text" @click="relieve(scope.row)"
|
|
<el-button type="text" @click="relieve(scope.row)"
|
|
>解除预约限制</el-button
|
|
>解除预约限制</el-button
|
|
>
|
|
>
|
|
</auth>
|
|
</auth>
|
|
|
|
+ <auth
|
|
|
|
+ v-show="scope.row.payingStatus == 2"
|
|
|
|
+ :auths="'studentRegistration/setCloudTeacherToFailed'"
|
|
|
|
+ >
|
|
|
|
+ <el-button type="text" @click="failedRelieve(scope.row)"
|
|
|
|
+ >拒绝审核</el-button
|
|
|
|
+ >
|
|
|
|
+ </auth>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -794,7 +805,7 @@
|
|
width="640px"
|
|
width="640px"
|
|
:visible.sync="quitVisible"
|
|
:visible.sync="quitVisible"
|
|
>
|
|
>
|
|
- <quiteTeam :quitForm="quitForm" :activeRow="activeRow" ref="quitForm"/>
|
|
|
|
|
|
+ <quiteTeam :quitForm="quitForm" :activeRow="activeRow" ref="quitForm" />
|
|
<span slot="footer" class="dialog-footer question">
|
|
<span slot="footer" class="dialog-footer question">
|
|
<div>
|
|
<div>
|
|
<el-popover placement="right" width="500" trigger="click">
|
|
<el-popover placement="right" width="500" trigger="click">
|
|
@@ -873,7 +884,7 @@ import {
|
|
checkCanReg,
|
|
checkCanReg,
|
|
} from "@/api/buildTeam";
|
|
} from "@/api/buildTeam";
|
|
|
|
|
|
-import { setNoneCloudTeacher } from "./api";
|
|
|
|
|
|
+import { setNoneCloudTeacher, setCloudTeacherToFailed } from "./api";
|
|
import mergeMusic from "./components/merge-music";
|
|
import mergeMusic from "./components/merge-music";
|
|
import forecastList from "./components/forecast-list";
|
|
import forecastList from "./components/forecast-list";
|
|
import newForecastList from "./components/newForecast-list";
|
|
import newForecastList from "./components/newForecast-list";
|
|
@@ -890,7 +901,7 @@ import { permission } from "@/utils/directivePage";
|
|
import cleanDeep from "clean-deep";
|
|
import cleanDeep from "clean-deep";
|
|
import changeVoice from "./modals/change-voice";
|
|
import changeVoice from "./modals/change-voice";
|
|
import visit from "@/views/withdrawal-application/modals/visit";
|
|
import visit from "@/views/withdrawal-application/modals/visit";
|
|
-import quiteTeam from "@/views/teamDetail/components/modals/quite-team"
|
|
|
|
|
|
+import quiteTeam from "@/views/teamDetail/components/modals/quite-team";
|
|
export default {
|
|
export default {
|
|
name: "signupList",
|
|
name: "signupList",
|
|
components: {
|
|
components: {
|
|
@@ -901,7 +912,7 @@ export default {
|
|
forecastList,
|
|
forecastList,
|
|
visit,
|
|
visit,
|
|
newForecastList,
|
|
newForecastList,
|
|
- quiteTeam
|
|
|
|
|
|
+ quiteTeam,
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -936,7 +947,7 @@ export default {
|
|
isMaintenanceFee: null,
|
|
isMaintenanceFee: null,
|
|
cloudTeacherAmount: null,
|
|
cloudTeacherAmount: null,
|
|
isCloudTeacherAmount: null,
|
|
isCloudTeacherAmount: null,
|
|
- isRefundMemberFee:null,
|
|
|
|
|
|
+ isRefundMemberFee: null,
|
|
maintenanceFee: 0,
|
|
maintenanceFee: 0,
|
|
reason: "",
|
|
reason: "",
|
|
},
|
|
},
|
|
@@ -1565,7 +1576,7 @@ export default {
|
|
isRefundCourseFee: false,
|
|
isRefundCourseFee: false,
|
|
isRefundInstrumentFee: false,
|
|
isRefundInstrumentFee: false,
|
|
isRefundTeachingAssistantsFee: false,
|
|
isRefundTeachingAssistantsFee: false,
|
|
- isRefundMemberFee:false,
|
|
|
|
|
|
+ isRefundMemberFee: false,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
this.quitForm = {
|
|
this.quitForm = {
|
|
// 退团信息确认
|
|
// 退团信息确认
|
|
@@ -1606,7 +1617,7 @@ export default {
|
|
isRefundTeachingAssistantsFee:
|
|
isRefundTeachingAssistantsFee:
|
|
this.quitForm.isRefundTeachingAssistantsFee,
|
|
this.quitForm.isRefundTeachingAssistantsFee,
|
|
maintenanceFee: this.quitForm.maintenanceFee,
|
|
maintenanceFee: this.quitForm.maintenanceFee,
|
|
- isRefundMemberFee:this.quitForm.isRefundMemberFee,
|
|
|
|
|
|
+ isRefundMemberFee: this.quitForm.isRefundMemberFee,
|
|
};
|
|
};
|
|
// 退还乐器练习云教练费用
|
|
// 退还乐器练习云教练费用
|
|
if (this.quitForm.isRefundMemberFee) {
|
|
if (this.quitForm.isRefundMemberFee) {
|
|
@@ -1740,6 +1751,21 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ failedRelieve(row) {
|
|
|
|
+ this.$confirm("拒绝后学员需购买会员方可入团", "提示", {
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
+ type: "warning",
|
|
|
|
+ }).then(async () => {
|
|
|
|
+ try {
|
|
|
|
+ const res = await setCloudTeacherToFailed({ id: row.id });
|
|
|
|
+ this.$message.success("操作成功");
|
|
|
|
+ this.getList();
|
|
|
|
+ } catch (e) {
|
|
|
|
+ console.log(e);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
getCheckNum(row) {
|
|
getCheckNum(row) {
|
|
this.rules.page = 1;
|
|
this.rules.page = 1;
|
|
this.rules.limit = 10;
|
|
this.rules.limit = 10;
|
|
@@ -1761,7 +1787,7 @@ export default {
|
|
this.search();
|
|
this.search();
|
|
},
|
|
},
|
|
getpayingNum(row) {
|
|
getpayingNum(row) {
|
|
- this.rules.page = 1;
|
|
|
|
|
|
+ this.rules.page = 1;
|
|
this.rules.limit = 10;
|
|
this.rules.limit = 10;
|
|
this.searchFrom = {
|
|
this.searchFrom = {
|
|
name: null,
|
|
name: null,
|
|
@@ -1779,7 +1805,7 @@ export default {
|
|
this.search();
|
|
this.search();
|
|
},
|
|
},
|
|
getpayNum(row) {
|
|
getpayNum(row) {
|
|
- this.rules.page = 1;
|
|
|
|
|
|
+ this.rules.page = 1;
|
|
this.rules.limit = 10;
|
|
this.rules.limit = 10;
|
|
this.searchFrom = {
|
|
this.searchFrom = {
|
|
name: null,
|
|
name: null,
|
|
@@ -1849,7 +1875,7 @@ export default {
|
|
isCloudTeacherAmount: null,
|
|
isCloudTeacherAmount: null,
|
|
maintenanceFee: 0,
|
|
maintenanceFee: 0,
|
|
reason: "",
|
|
reason: "",
|
|
- isRefundMemberFee:null
|
|
|
|
|
|
+ isRefundMemberFee: null,
|
|
};
|
|
};
|
|
this.$refs["quitForm"].$refs["quitForm"].resetFields();
|
|
this.$refs["quitForm"].$refs["quitForm"].resetFields();
|
|
}
|
|
}
|