|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="m-container">
|
|
|
<h2>
|
|
|
- <div class="squrt"></div>乐团列表
|
|
|
+ <div class="squrt"></div>乐团列表 <filter-search @reload="getList"/>
|
|
|
</h2>
|
|
|
<div class="m-core">
|
|
|
<div class="btnList" style="margin-bottom: 20px">
|
|
@@ -337,7 +337,6 @@ export default {
|
|
|
closeStudens
|
|
|
},
|
|
|
mounted () {
|
|
|
- this.$set(this.topForm, 'teamName', this.$route.query.search)
|
|
|
this.init();
|
|
|
},
|
|
|
activated () {
|
|
@@ -369,15 +368,15 @@ export default {
|
|
|
reset () {
|
|
|
this.rules.page = 1;
|
|
|
this.$refs['topForm'].resetFields();
|
|
|
- if (this.$route.query.search) {
|
|
|
- this.$router.replace({
|
|
|
- path: this.$route.path,
|
|
|
- query: {
|
|
|
- ...this.$route.query,
|
|
|
- search: undefined
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ // if (this.$route.query.search) {
|
|
|
+ // this.$router.replace({
|
|
|
+ // path: this.$route.path,
|
|
|
+ // query: {
|
|
|
+ // ...this.$route.query,
|
|
|
+ // search: undefined
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
this.getList()
|
|
|
},
|
|
|
search () {
|
|
@@ -392,6 +391,7 @@ export default {
|
|
|
chargeTypeId: this.topForm.payType || null,
|
|
|
musicGroupName: this.topForm.teamName || null,
|
|
|
musicGroupStatus: this.topForm.status || null,
|
|
|
+ musicGroupId: this.$route.query.search
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.tableData = res.data.rows
|