Browse Source

乐团列表 筛选修改

wolyshaw 4 năm trước cách đây
mục cha
commit
0284f56b14

+ 0 - 1
src/components/filter-search/index.vue

@@ -1,7 +1,6 @@
 <template>
   <div class="container">
     <el-tag
-      v-show="!((item.key == 'WAIT_CREATE_PAYMENT_CALENDER' || $route.path == '/business/teamDetail') && !show && $route.query.form != 'reminders')"
       class="filter-search"
       v-for="item in activeItems"
       :key="item.key"

+ 4 - 2
src/views/main/constant.js

@@ -97,7 +97,7 @@ export const errorType = {
     url: '/business/ArrearageStudents',
     always: true,
     query: {
-      
+
     }
   },
   STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP: {
@@ -113,7 +113,9 @@ export const errorType = {
     name: '待创建缴费项目',
     isError: true,
     url: '/business/teamDetail',
-    resultKey: 'search',
+    query: {
+      searchType: 'WAIT_CREATE_PAYMENT_CALENDER'
+    }
   },
   COURSE_TRUANT_STUDENT_NUM: {
     name: '学员考勤异常旷课',

+ 2 - 1
src/views/teamDetail/teamList.vue

@@ -2,7 +2,7 @@
   <div class="m-container">
     <h2>
       <div class="squrt"></div>
-      乐团列表 <filter-search @reload="reloadSearch" :moreKeys="['organId']" />
+      乐团列表 <filter-search @reload="reloadSearch" :moreKeys="['organId']" :keys="['searchType']" />
     </h2>
     <div class="m-core">
       <div class="btnList" style="margin-bottom: 20px">
@@ -553,6 +553,7 @@ export default {
         musicGroupName: this.topForm.teamName || null,
         musicGroupStatus: this.topForm.status || null,
         musicGroupId: this.$route.query.search,
+        searchType: this.$route.query.searchType,
       }).then((res) => {
         if (res.code == 200) {
           this.tableData = res.data.rows;