|
@@ -20,7 +20,7 @@
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
- <select-all v-model.trim="searchForm.organIds"
|
|
|
|
|
|
+ <select-all v-model.trim="searchForm.organId"
|
|
clearable
|
|
clearable
|
|
filterable
|
|
filterable
|
|
multiple
|
|
multiple
|
|
@@ -196,7 +196,7 @@ import qs from 'qs'
|
|
const initSearch = {
|
|
const initSearch = {
|
|
search: '',
|
|
search: '',
|
|
eduTeacherId: null,
|
|
eduTeacherId: null,
|
|
- organIds: [],
|
|
|
|
|
|
+ organId: [],
|
|
branchs: null,
|
|
branchs: null,
|
|
musicGroupId: null,
|
|
musicGroupId: null,
|
|
cooperationOrganId: null,
|
|
cooperationOrganId: null,
|
|
@@ -229,7 +229,7 @@ export default {
|
|
mounted() {
|
|
mounted() {
|
|
const { query } = this.$route
|
|
const { query } = this.$route
|
|
if (query.organId) {
|
|
if (query.organId) {
|
|
- this.searchForm.organIds = [Number(query.organId)]
|
|
|
|
|
|
+ this.searchForm.organId = [Number(query.organId)]
|
|
}
|
|
}
|
|
if(query.result) {
|
|
if(query.result) {
|
|
this.searchForm.eduTeacherId = Number(query.result)
|
|
this.searchForm.eduTeacherId = Number(query.result)
|
|
@@ -254,11 +254,11 @@ export default {
|
|
},
|
|
},
|
|
async FetchList() {
|
|
async FetchList() {
|
|
try {
|
|
try {
|
|
- const { organIds, ...rest} = this.searchForm
|
|
|
|
|
|
+ const { organId, ...rest} = this.searchForm
|
|
const res = await queryArrearageStudents({
|
|
const res = await queryArrearageStudents({
|
|
page: this.rules.page,
|
|
page: this.rules.page,
|
|
rows: this.rules.limit,
|
|
rows: this.rules.limit,
|
|
- organIds: organIds.join(','),
|
|
|
|
|
|
+ organId: organId.join(','),
|
|
...rest,
|
|
...rest,
|
|
})
|
|
})
|
|
|
|
|
|
@@ -285,12 +285,12 @@ export default {
|
|
this.visible = true
|
|
this.visible = true
|
|
},
|
|
},
|
|
onExport() {
|
|
onExport() {
|
|
- const { organIds, ...rest} = this.searchForm
|
|
|
|
|
|
+ const { organId, ...rest} = this.searchForm
|
|
Export(this, {
|
|
Export(this, {
|
|
url: '/api-web/export/arrearageStudents',
|
|
url: '/api-web/export/arrearageStudents',
|
|
fileName: '欠费学员.xls',
|
|
fileName: '欠费学员.xls',
|
|
method: 'post',
|
|
method: 'post',
|
|
- params: qs.stringify({ organIds: organIds.join(','), ...rest })
|
|
|
|
|
|
+ params: qs.stringify({ organId: organId.join(','), ...rest })
|
|
}, '您确定导出欠费学员列表?')
|
|
}, '您确定导出欠费学员列表?')
|
|
}
|
|
}
|
|
}
|
|
}
|