|
@@ -111,17 +111,20 @@
|
|
|
<el-table-column align="center"
|
|
|
prop="memo"
|
|
|
label="备注"></el-table-column>
|
|
|
- <el-table-column label="操作" fixed="right" min-width="150px">
|
|
|
+ <el-table-column label="操作" fixed="right" min-width="260px">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<el-button type="text"
|
|
|
@click="lookDetail(scope.row)"
|
|
|
v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button>
|
|
|
<el-button type="text"
|
|
|
+ @click="openChioseStudent(scope.row)"
|
|
|
+ v-if="scope.row.status != 'REJECT' && scope.row.status != 'AUDITING'"
|
|
|
+ v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button>
|
|
|
+ <el-button type="text"
|
|
|
v-if="scope.row.status == 'REJECT'"
|
|
|
v-permission="'musicGroupPaymentCalender/update'"
|
|
|
@click="resetPay(scope.row)">修改</el-button>
|
|
|
-
|
|
|
<el-button type="text" v-if="!isNewGropu" @click="onCreateQRCode(scope.row)">续费二维码</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -647,15 +650,19 @@ export default {
|
|
|
onReSet() {
|
|
|
this.searchForm = { payUserType: null };
|
|
|
},
|
|
|
+ openChioseStudent (row) {
|
|
|
+ this.chioseStudentVisible = true;
|
|
|
+ this.musicGroupPaymentCalenderId = row.id;
|
|
|
+ },
|
|
|
async payedSubmited(data) {
|
|
|
try {
|
|
|
await this.getList();
|
|
|
- if (!this.isNewGropu) {
|
|
|
- this.chioseStudentVisible = true;
|
|
|
- if (data) {
|
|
|
- this.musicGroupPaymentCalenderId = data.musicGroupPaymentCalenderId;
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (!this.isNewGropu) {
|
|
|
+ // this.chioseStudentVisible = true;
|
|
|
+ // if (data) {
|
|
|
+ // this.musicGroupPaymentCalenderId = data.musicGroupPaymentCalenderId;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
} catch (error) {}
|
|
|
},
|
|
|
},
|