|
@@ -607,7 +607,10 @@
|
|
|
</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'"
|
|
|
>
|
|
|
<el-button type="text" @click="relieve(scope.row)"
|
|
@@ -794,7 +797,7 @@
|
|
|
width="640px"
|
|
|
:visible.sync="quitVisible"
|
|
|
>
|
|
|
- <quiteTeam :quitForm="quitForm" :activeRow="activeRow" ref="quitForm"/>
|
|
|
+ <quiteTeam :quitForm="quitForm" :activeRow="activeRow" ref="quitForm" />
|
|
|
<span slot="footer" class="dialog-footer question">
|
|
|
<div>
|
|
|
<el-popover placement="right" width="500" trigger="click">
|
|
@@ -890,7 +893,7 @@ import { permission } from "@/utils/directivePage";
|
|
|
import cleanDeep from "clean-deep";
|
|
|
import changeVoice from "./modals/change-voice";
|
|
|
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 {
|
|
|
name: "signupList",
|
|
|
components: {
|
|
@@ -901,7 +904,7 @@ export default {
|
|
|
forecastList,
|
|
|
visit,
|
|
|
newForecastList,
|
|
|
- quiteTeam
|
|
|
+ quiteTeam,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -936,7 +939,7 @@ export default {
|
|
|
isMaintenanceFee: null,
|
|
|
cloudTeacherAmount: null,
|
|
|
isCloudTeacherAmount: null,
|
|
|
- isRefundMemberFee:null,
|
|
|
+ isRefundMemberFee: null,
|
|
|
maintenanceFee: 0,
|
|
|
reason: "",
|
|
|
},
|
|
@@ -1565,7 +1568,7 @@ export default {
|
|
|
isRefundCourseFee: false,
|
|
|
isRefundInstrumentFee: false,
|
|
|
isRefundTeachingAssistantsFee: false,
|
|
|
- isRefundMemberFee:false,
|
|
|
+ isRefundMemberFee: false,
|
|
|
}).then((res) => {
|
|
|
this.quitForm = {
|
|
|
// 退团信息确认
|
|
@@ -1606,7 +1609,7 @@ export default {
|
|
|
isRefundTeachingAssistantsFee:
|
|
|
this.quitForm.isRefundTeachingAssistantsFee,
|
|
|
maintenanceFee: this.quitForm.maintenanceFee,
|
|
|
- isRefundMemberFee:this.quitForm.isRefundMemberFee,
|
|
|
+ isRefundMemberFee: this.quitForm.isRefundMemberFee,
|
|
|
};
|
|
|
// 退还乐器练习云教练费用
|
|
|
if (this.quitForm.isRefundMemberFee) {
|
|
@@ -1733,10 +1736,28 @@ export default {
|
|
|
}).then(async () => {
|
|
|
try {
|
|
|
const res = await setNoneCloudTeacher({ id: row.id });
|
|
|
- this.$message.success("解除预约成功");
|
|
|
- this.getList();
|
|
|
+ console.log('code',res.code)
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success("解除预约成功");
|
|
|
+ this.getList();
|
|
|
+ } else if (res.code == 100) {
|
|
|
+ this.$confirm(res.msg, "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ }).then(async (some) => {
|
|
|
+ const res = await setNoneCloudTeacher({
|
|
|
+ id: row.id,
|
|
|
+ isContinue: true,
|
|
|
+ });
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success("解除预约成功");
|
|
|
+ this.getList();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
} catch (e) {
|
|
|
- console.log(e);
|
|
|
+ console.log('错误',e);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -1761,7 +1782,7 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
getpayingNum(row) {
|
|
|
- this.rules.page = 1;
|
|
|
+ this.rules.page = 1;
|
|
|
this.rules.limit = 10;
|
|
|
this.searchFrom = {
|
|
|
name: null,
|
|
@@ -1779,7 +1800,7 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
getpayNum(row) {
|
|
|
- this.rules.page = 1;
|
|
|
+ this.rules.page = 1;
|
|
|
this.rules.limit = 10;
|
|
|
this.searchFrom = {
|
|
|
name: null,
|
|
@@ -1849,7 +1870,7 @@ export default {
|
|
|
isCloudTeacherAmount: null,
|
|
|
maintenanceFee: 0,
|
|
|
reason: "",
|
|
|
- isRefundMemberFee:null
|
|
|
+ isRefundMemberFee: null,
|
|
|
};
|
|
|
this.$refs["quitForm"].$refs["quitForm"].resetFields();
|
|
|
}
|