|
@@ -925,7 +925,8 @@ export default {
|
|
|
components: {
|
|
|
pagination,
|
|
|
paymentCycle,
|
|
|
- createUserPay
|
|
|
+ createUserPay,
|
|
|
+ Tooltip
|
|
|
},
|
|
|
created () {
|
|
|
// 判断是否带缓存参数
|
|
@@ -1378,17 +1379,19 @@ export default {
|
|
|
this.quitVisible = true;
|
|
|
},
|
|
|
quieTeam (row) {
|
|
|
- this.$confirm("确定退团?", "提示", {
|
|
|
+ this.$prompt("请输入退团原因", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
+ inputPattern: /\S/,
|
|
|
+ inputErrorMessage: '请输入退团原因',
|
|
|
})
|
|
|
- .then(() => {
|
|
|
+ .then((val) => {
|
|
|
// 发请求 退团
|
|
|
StudentQuit({
|
|
|
musicGroupId: this.teamid,
|
|
|
userId: row.userId,
|
|
|
- reason: '',
|
|
|
+ reason: val.value,
|
|
|
isRefundCourseFee: false,
|
|
|
isRefundInstrumentFee: false,
|
|
|
isRefundTeachingAssistantsFee: false
|