Browse Source

未排课学员

1
mo 2 years ago
parent
commit
9548d85c93
2 changed files with 9 additions and 8 deletions
  1. 5 4
      src/views/arrearage-students/index.vue
  2. 4 4
      src/views/main/constant.js

+ 5 - 4
src/views/arrearage-students/index.vue

@@ -2,7 +2,7 @@
   <div class="m-container">
   <div class="m-container">
     <h2>
     <h2>
       <div class="squrt"></div>欠费学员
       <div class="squrt"></div>欠费学员
-      <!-- <filter-search @reload="reloadSearch" :keys="['visitFlag']" :moreKeys="['organId']"/> -->
+      <filter-search @reload="reloadSearch" :keys="['hasCourse']" :moreKeys="['organId']"/>
     </h2>
     </h2>
     <div class="m-core">
     <div class="m-core">
       <save-form
       <save-form
@@ -234,10 +234,10 @@ export default {
     if(query.result) {
     if(query.result) {
       this.searchForm.eduTeacherId = Number(query.result)
       this.searchForm.eduTeacherId = Number(query.result)
     }
     }
-    if(query.noPaymentType){
+    // if(query.noPaymentType){
 
 
-        this.searchForm.noPaymentType = Number(query.noPaymentType)
-    }
+    //     this.searchForm.noPaymentType = Number(query.noPaymentType)
+    // }
     getCooperation({ rows: 1000 }).then((res) => {
     getCooperation({ rows: 1000 }).then((res) => {
       this.cooperations = res.data.rows
       this.cooperations = res.data.rows
     })
     })
@@ -259,6 +259,7 @@ export default {
           page: this.rules.page,
           page: this.rules.page,
           rows: this.rules.limit,
           rows: this.rules.limit,
           organId: organId.join(','),
           organId: organId.join(','),
+          hasCourse:this.$route.query.hasCourse,
           ...rest,
           ...rest,
         })
         })
 
 

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

@@ -192,23 +192,23 @@ export const errorType = {
     always: true,
     always: true,
   },
   },
   STUDENT_ARREARAGE: {
   STUDENT_ARREARAGE: {
-    name: '未缴费学员数',
+    name: '已排课未缴费学员数',
     isError: true,
     isError: true,
     url: '/studentManager/ArrearageStudents',
     url: '/studentManager/ArrearageStudents',
     permission: '/ArrearageStudents',
     permission: '/ArrearageStudents',
     always: true,
     always: true,
     query: {
     query: {
-      noPaymentType: '0'
+      hasCourse: 'true'
     }
     }
   },
   },
   STUDENT_NOT_PAYMENT: {
   STUDENT_NOT_PAYMENT: {
-    name: '未缴费学员数',
+    name: '未排课未缴费学员数',
     isError: true,
     isError: true,
     url: '/studentManager/ArrearageStudents',
     url: '/studentManager/ArrearageStudents',
     permission: '/ArrearageStudents',
     permission: '/ArrearageStudents',
     always: true,
     always: true,
     query: {
     query: {
-      noPaymentType: '1'
+      hasCourse: 'false'
     }
     }
   },
   },
   STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP: {
   STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP: {