浏览代码

05/19 16:42

11
mo 5 年之前
父节点
当前提交
6cbaa3ac49
共有 2 个文件被更改,包括 16 次插入1 次删除
  1. 3 1
      src/views/teamDetail/components/resetClass.vue
  2. 13 0
      src/views/teamDetail/components/studentList.vue

+ 3 - 1
src/views/teamDetail/components/resetClass.vue

@@ -82,7 +82,8 @@
               <div>
                 <!-- v-if="scope.row.type !='MIX'" -->
                 <el-button type="text"
-                           @click="resetClass(scope.row)">学员调整</el-button>
+                           @click="resetClass(scope.row)"
+                           v-if="scope.row.type != 'MUSIC_NETWORK'">学员调整</el-button>
                 <el-button type="text"
                            @click="classAdjustment(scope.row)">班级调整</el-button>
                 <!--<el-button type="text"
@@ -101,6 +102,7 @@
                   </div>
                   <!-- v-if="scope.row.type !='MIX'" -->
                   <el-button type="text"
+                             v-if="scope.row.type != 'MUSIC_NETWORK'"
                              slot="reference">删除班级</el-button>
                 </el-popover>
 

+ 13 - 0
src/views/teamDetail/components/studentList.vue

@@ -1288,6 +1288,19 @@ export default {
       this.$refs["payForm"].resetFields();
       this.payVisible = false;
     }
+  }, watch: {
+    quitVisible (val) {
+      if (!val) {
+        this.quitForm = {
+          // 退团信息确认
+          isRefundCourseFee: null,
+          isRefundInstrumentFee: null,
+          isRefundTeachingAssistantsFee: null,
+          reason: ""
+        }
+        this.$refs['quitForm'].resetFields();
+      }
+    }
   }
 };
 </script>