|
@@ -38,6 +38,7 @@
|
|
<el-table style="width: 100%"
|
|
<el-table style="width: 100%"
|
|
:header-cell-style="{background:'#EDEEF0',color:'#444'}"
|
|
:header-cell-style="{background:'#EDEEF0',color:'#444'}"
|
|
:data="tableList"
|
|
:data="tableList"
|
|
|
|
+ ref='multipleTable'
|
|
@selection-change="handleSelectionChange">
|
|
@selection-change="handleSelectionChange">
|
|
<el-table-column type="selection"
|
|
<el-table-column type="selection"
|
|
width="55">
|
|
width="55">
|
|
@@ -46,15 +47,15 @@
|
|
prop="userId"
|
|
prop="userId"
|
|
label="学员编号"></el-table-column>
|
|
label="学员编号"></el-table-column>
|
|
<el-table-column align="center"
|
|
<el-table-column align="center"
|
|
- prop="studentId"
|
|
|
|
|
|
+ prop="username"
|
|
label="学员姓名">
|
|
label="学员姓名">
|
|
- <template slot-scope="scope">
|
|
|
|
|
|
+ <!-- <template slot-scope="scope">
|
|
<div v-if="scope.row.sysUser">
|
|
<div v-if="scope.row.sysUser">
|
|
{{scope.row.sysUser.username}}
|
|
{{scope.row.sysUser.username}}
|
|
</div>
|
|
</div>
|
|
- </template>
|
|
|
|
|
|
+ </template> -->
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center"
|
|
|
|
|
|
+ <!-- <el-table-column align="center"
|
|
prop="studentId"
|
|
prop="studentId"
|
|
label="联系电话">
|
|
label="联系电话">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -62,7 +63,7 @@
|
|
{{scope.row.sysUser.phone}}
|
|
{{scope.row.sysUser.phone}}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- </el-table-column>
|
|
|
|
|
|
+ </el-table-column> -->
|
|
<el-table-column align="center"
|
|
<el-table-column align="center"
|
|
prop="courseFee"
|
|
prop="courseFee"
|
|
label="缴费金额"></el-table-column>
|
|
label="缴费金额"></el-table-column>
|
|
@@ -77,13 +78,14 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
- <pagination :total="rules.total"
|
|
|
|
|
|
+ <!-- <pagination :total="rules.total"
|
|
:page.sync="rules.page"
|
|
:page.sync="rules.page"
|
|
:limit.sync="rules.limit"
|
|
:limit.sync="rules.limit"
|
|
:page-sizes="rules.page_size"
|
|
:page-sizes="rules.page_size"
|
|
- @pagination="getList" />
|
|
|
|
|
|
+ @pagination="getList" /> -->
|
|
</div>
|
|
</div>
|
|
<el-dialog :visible.sync="resetPayVisible"
|
|
<el-dialog :visible.sync="resetPayVisible"
|
|
|
|
+ append-to-body
|
|
width="500px"
|
|
width="500px"
|
|
title="修改缴费金额">
|
|
title="修改缴费金额">
|
|
<el-form :model="resetPayForm"
|
|
<el-form :model="resetPayForm"
|
|
@@ -125,6 +127,7 @@ import { findSound, getMusicGroupStudentFee, resetMusicGroupStudentFee } from "@
|
|
|
|
|
|
export default {
|
|
export default {
|
|
components: { pagination },
|
|
components: { pagination },
|
|
|
|
+ props: ['clearStduent'],
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
searchForm: {
|
|
searchForm: {
|
|
@@ -136,7 +139,7 @@ export default {
|
|
tableList: [{}],
|
|
tableList: [{}],
|
|
rules: {
|
|
rules: {
|
|
// 分页规则
|
|
// 分页规则
|
|
- limit: 10, // 限制显示条数
|
|
|
|
|
|
+ limit: 999, // 限制显示条数
|
|
page: 1, // 当前页
|
|
page: 1, // 当前页
|
|
total: 0, // 总条数
|
|
total: 0, // 总条数
|
|
page_size: [10, 20, 40, 50] // 选择限制显示条数
|
|
page_size: [10, 20, 40, 50] // 选择限制显示条数
|
|
@@ -186,13 +189,13 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
getList () {
|
|
getList () {
|
|
- this.searchForm.page = this.rules.page;
|
|
|
|
- this.searchForm.rows = this.rules.limit;
|
|
|
|
|
|
+ // this.searchForm.page = this.rules.page;
|
|
|
|
+ // this.searchForm.rows = this.rules.limit;
|
|
this.searchForm.musicGroupId = this.teamid;
|
|
this.searchForm.musicGroupId = this.teamid;
|
|
getMusicGroupStudentFee(this.searchForm).then(res => {
|
|
getMusicGroupStudentFee(this.searchForm).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
- this.rules.total = res.data.total;
|
|
|
|
- this.tableList = res.data.rows;
|
|
|
|
|
|
+ // this.rules.total = res.data.total;
|
|
|
|
+ this.tableList = res.data;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -207,6 +210,9 @@ export default {
|
|
}
|
|
}
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
|
|
+ clearTable () {
|
|
|
|
+ this.$refs.multipleTable.clearSelection()
|
|
|
|
+ },
|
|
startPay (row) { },
|
|
startPay (row) { },
|
|
resetPay (row) {
|
|
resetPay (row) {
|
|
this.activeRow = row;
|
|
this.activeRow = row;
|
|
@@ -233,6 +239,7 @@ export default {
|
|
},
|
|
},
|
|
handleSelectionChange (val) {
|
|
handleSelectionChange (val) {
|
|
this.activeChiose = val;
|
|
this.activeChiose = val;
|
|
|
|
+ this.$emit('chioseStudent', val)
|
|
},
|
|
},
|
|
submitSigan (sigan) {
|
|
submitSigan (sigan) {
|
|
let obj = {}
|
|
let obj = {}
|
|
@@ -269,4 +276,8 @@ export default {
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang='scss' scoped>
|
|
<style lang='scss' scoped>
|
|
|
|
+.tableWrap {
|
|
|
|
+ height: 300px;
|
|
|
|
+ overflow: auto;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|