Browse Source

进行中添加学员重新创建缴费

wolyshaw 4 years ago
parent
commit
5f575cac85
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/teamDetail/components/studentList.vue

+ 8 - 1
src/views/teamDetail/components/studentList.vue

@@ -230,13 +230,16 @@
         </el-table-column>
         <el-table-column align="center"
                          fixed="right"
-                         width="340px;"
+                         width="360px;"
                          label="操作">
           <template slot-scope="scope">
             <div>
               <el-button type="text"
                          v-if="permission('studentManage/queryStudentClassGroup')&&scope.row.studentStatus != 'QUIT'"
                          @click="lookClass(scope.row)">查看班级</el-button>
+              <el-button type="text"
+                         v-if="permission('musicGroupPaymentCalender/add') && scope.row.studentStatus == 'APPLY' && scope.row.paymentStatus == '0'"
+                         @click="addPay(scope.row)">添加缴费</el-button>
 
               <el-button type="text"
                          v-if="permission('musicGroupQuit/directQuitMusicGroup')&&scope.row.studentStatus != 'QUIT'"
@@ -1018,6 +1021,10 @@ export default {
         }
       });
     },
+    addPay(row) {
+      this.createUserPayVisible = true;
+      this.createdUserId = row.userId;
+    },
     addCycle() {
       this.cycles.push({});
       this.collapse.push(this.collapse.length);