|
@@ -1,6 +1,9 @@
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
- <el-table :data="list" :header-cell-style="{ background: '#EDEEF0', color: '#444' }">
|
|
|
|
|
|
+ <el-table
|
|
|
|
+ :data="list"
|
|
|
|
+ :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
|
|
+ >
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
prop="batchNo"
|
|
prop="batchNo"
|
|
@@ -84,6 +87,13 @@
|
|
v-permission="'musicGroupPaymentCalenderDetail/batchAdd'"
|
|
v-permission="'musicGroupPaymentCalenderDetail/batchAdd'"
|
|
>添加学员</el-button
|
|
>添加学员</el-button
|
|
>
|
|
>
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ v-if="$listeners.lookUserList"
|
|
|
|
+ @click="$listeners.lookUserList(scope.row)"
|
|
|
|
+ v-permission="'musicGroupPaymentCalender/queryPage'"
|
|
|
|
+ >学员列表</el-button
|
|
|
|
+ >
|
|
<!-- <el-button
|
|
<!-- <el-button
|
|
type="text"
|
|
type="text"
|
|
v-if="scope.row.status == 'REJECT' && teamStatus"
|
|
v-if="scope.row.status == 'REJECT' && teamStatus"
|
|
@@ -98,37 +108,55 @@
|
|
@click="$listeners.commmitGetMoney(scope.row)"
|
|
@click="$listeners.commmitGetMoney(scope.row)"
|
|
>确认收款</el-button
|
|
>确认收款</el-button
|
|
>
|
|
>
|
|
- <el-button type="text"
|
|
|
|
- v-if="!isNewGropu&&teamStatus&&scope.row.paymentType!='MUSIC_APPLY'&&payUserType === 'STUDENT'"
|
|
|
|
- @click="$listeners.onCreateQRCode(scope.row)">续费二维码</el-button>
|
|
|
|
- <el-button type="text"
|
|
|
|
- v-if="$listeners.onPreview && payUserType === 'STUDENT'"
|
|
|
|
- v-permission="'musicGroup/findMusicGroupSubjectInfo/966'"
|
|
|
|
- @click="$listeners.onPreview(scope.row)">预览</el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ v-if="
|
|
|
|
+ !isNewGropu &&
|
|
|
|
+ teamStatus &&
|
|
|
|
+ scope.row.paymentType != 'MUSIC_APPLY' &&
|
|
|
|
+ payUserType === 'STUDENT'
|
|
|
|
+ "
|
|
|
|
+ @click="$listeners.onCreateQRCode(scope.row)"
|
|
|
|
+ >续费二维码</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ v-if="$listeners.onPreview && payUserType === 'STUDENT'"
|
|
|
|
+ v-permission="'musicGroup/findMusicGroupSubjectInfo/966'"
|
|
|
|
+ @click="$listeners.onPreview(scope.row)"
|
|
|
|
+ >预览</el-button
|
|
|
|
+ >
|
|
<!-- <el-button type="text" v-if="!isNewGropu" @click="onCreateQRCode(scope.row)">续费二维码</el-button> -->
|
|
<!-- <el-button type="text" v-if="!isNewGropu" @click="onCreateQRCode(scope.row)">续费二维码</el-button> -->
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
- <pagination :total="rules.total"
|
|
|
|
- :page.sync="rules.page"
|
|
|
|
- :limit.sync="rules.limit"
|
|
|
|
- :page-sizes="rules.page_size"
|
|
|
|
- @pagination="getList" />
|
|
|
|
- <div slot="footer"
|
|
|
|
- class="dialog-footer">
|
|
|
|
|
|
+ <pagination
|
|
|
|
+ :total="rules.total"
|
|
|
|
+ :page.sync="rules.page"
|
|
|
|
+ :limit.sync="rules.limit"
|
|
|
|
+ :page-sizes="rules.page_size"
|
|
|
|
+ @pagination="getList"
|
|
|
|
+ />
|
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
<el-button @click="$listeners.close">取 消</el-button>
|
|
<el-button @click="$listeners.close">取 消</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import { addMusicGroupPaymentCalender, getMusicGroupPaymentCalender, resetMusicGroupPaymentCalender, delMusicGroupPaymentCalender, findMusicGroupSubjectInfo } from "@/api/buildTeam";
|
|
|
|
-import loading from '@/utils/loading'
|
|
|
|
|
|
+import {
|
|
|
|
+ addMusicGroupPaymentCalender,
|
|
|
|
+ getMusicGroupPaymentCalender,
|
|
|
|
+ resetMusicGroupPaymentCalender,
|
|
|
|
+ delMusicGroupPaymentCalender,
|
|
|
|
+ findMusicGroupSubjectInfo,
|
|
|
|
+} from "@/api/buildTeam";
|
|
|
|
+import loading from "@/utils/loading";
|
|
import pagination from "@/components/Pagination/index";
|
|
import pagination from "@/components/Pagination/index";
|
|
export default {
|
|
export default {
|
|
- props: ['batchNo', 'teamStatus', 'teamType', 'payUserType', 'isNewGropu'],
|
|
|
|
|
|
+ props: ["batchNo", "teamStatus", "teamType", "payUserType", "isNewGropu"],
|
|
components: {
|
|
components: {
|
|
- pagination
|
|
|
|
|
|
+ pagination,
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -140,29 +168,29 @@ export default {
|
|
total: 0, // 总条数
|
|
total: 0, // 总条数
|
|
page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
},
|
|
},
|
|
- }
|
|
|
|
|
|
+ };
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.getList()
|
|
|
|
|
|
+ this.getList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
async getList() {
|
|
async getList() {
|
|
try {
|
|
try {
|
|
const res = await getMusicGroupPaymentCalender({
|
|
const res = await getMusicGroupPaymentCalender({
|
|
batchNo: this.batchNo,
|
|
batchNo: this.batchNo,
|
|
- page: '1',
|
|
|
|
|
|
+ page: "1",
|
|
rows: 10,
|
|
rows: 10,
|
|
- })
|
|
|
|
- this.list = res.data.rows
|
|
|
|
|
|
+ });
|
|
|
|
+ this.list = res.data.rows;
|
|
} catch (error) {}
|
|
} catch (error) {}
|
|
},
|
|
},
|
|
toDetail(row) {
|
|
toDetail(row) {
|
|
- this.$listeners.close()
|
|
|
|
|
|
+ this.$listeners.close();
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- this.$listeners.lookDetail(row)
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ this.$listeners.lookDetail(row);
|
|
|
|
+ });
|
|
|
|
+ },
|
|
|
|
+ },
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|