浏览代码

退团输入框bug

1
mo 4 年之前
父节点
当前提交
5186a06596
共有 2 个文件被更改,包括 20 次插入9 次删除
  1. 2 1
      src/views/studentManager/memberList.vue
  2. 18 8
      src/views/teamDetail/components/studentList.vue

+ 2 - 1
src/views/studentManager/memberList.vue

@@ -379,7 +379,8 @@ export default {
           isCloudTeacherAmount: null,
           maintenanceFee: 0,
           reason: "",
-        };
+
+        }
         this.$refs["quitForm"].$refs["quitForm"].resetFields();
       }
     },

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

@@ -201,7 +201,10 @@
         ></el-table-column>
         <el-table-column label="学员编号" width="120px;" prop="userId">
           <template slot-scope="scope">
-            <div @click="gotoStudent(scope.row.userId)" style="color:#14928A;cursor: pointer;">
+            <div
+              @click="gotoStudent(scope.row.userId)"
+              style="color: #14928a; cursor: pointer"
+            >
               <copy-text>
                 {{ scope.row.userId }}
               </copy-text>
@@ -210,7 +213,10 @@
         </el-table-column>
         <el-table-column label="学员姓名" width="120px;" prop="realName">
           <template slot-scope="scope">
-            <div @click="gotoStudent(scope.row.realName)" style="color:#14928A;cursor: pointer;">
+            <div
+              @click="gotoStudent(scope.row.realName)"
+              style="color: #14928a; cursor: pointer"
+            >
               <copy-text>
                 {{ scope.row.realName }}
               </copy-text>
@@ -542,7 +548,7 @@
     </el-dialog>
     <!-- 退团弹窗 -->
     <el-dialog title="退团信息确认" width="640px" :visible.sync="quitVisible">
-      <quiteTeam :quitForm="quitForm" :activeRow="activeRow"  ref="quitForm"/>
+      <quiteTeam :quitForm="quitForm" :activeRow="activeRow" ref="quitForm" />
       <span slot="footer" class="dialog-footer question">
         <div>
           <el-popover placement="right" width="500" trigger="click">
@@ -766,7 +772,7 @@ import changeVoice from "@/views/teamBuild/modals/change-voice";
 //import changeVoice from "./modals/change-voice";
 import visit from "@/views/withdrawal-application/modals/visit";
 import mergeMusic from "@/views/teamBuild/components/merge-music";
-import quiteTeam from "@/views/teamDetail/components/modals/quite-team"
+import quiteTeam from "@/views/teamDetail/components/modals/quite-team";
 export default {
   name: "tstudentList",
   data() {
@@ -966,7 +972,7 @@ export default {
     qrCode,
     changeVoice,
     mergeMusic,
-    quiteTeam
+    quiteTeam,
   },
   created() {},
   filters: {
@@ -1245,8 +1251,8 @@ export default {
                 reason: this.quitForm.reason,
                 isRefundCourseFee: this.quitForm.isRefundCourseFee,
                 isRefundInstrumentFee: this.quitForm.isRefundInstrumentFee,
-                isRefundTeachingAssistantsFee: this.quitForm
-                  .isRefundTeachingAssistantsFee,
+                isRefundTeachingAssistantsFee:
+                  this.quitForm.isRefundTeachingAssistantsFee,
                 maintenanceFee: this.quitForm.maintenanceFee,
               };
               // 退还乐器练习云教练费用
@@ -1414,7 +1420,7 @@ export default {
       getGoods({
         subjectId: subjectId,
         type: type,
-        organId: this.organId
+        organId: this.organId,
       }).then((res) => {
         let result = res.data;
         if (res.code == 200) {
@@ -1682,6 +1688,10 @@ export default {
           isRefundCourseFee: null,
           isRefundInstrumentFee: null,
           isRefundTeachingAssistantsFee: null,
+          isMaintenanceFee: null,
+          cloudTeacherAmount: null,
+          isCloudTeacherAmount: null,
+          maintenanceFee: 0,
           reason: "",
         };
         this.$refs["quitForm"].$refs["quitForm"].resetFields();