Browse Source

Merge branch 'Nov16thResetMusic' of http://git.dayaedu.com/molingzhide/dy-admin-manager into Nov16thResetMusic

lex-xin 4 years ago
parent
commit
e741f4c4a9

+ 4 - 4
src/views/resetTeaming/components/resetPayList.vue

@@ -108,7 +108,7 @@
         </el-table-column>
         <el-table-column label="操作"
                          fixed="right"
-                         min-width="160px">
+                         min-width="200px">
           <template slot-scope="scope">
             <div>
               <el-button type="text"
@@ -117,10 +117,10 @@
               <!-- <el-button type="text"
                          @click="lookDetail(scope.row)"
                          v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button> -->
-              <!-- <el-button type="text"
+              <el-button type="text"
                          @click="openChioseStudent(scope.row)"
                          v-if="scope.row.status != 'REJECT' && scope.row.status != 'AUDITING'&&teamStatus && scope.row.paymentType != 'MUSIC_APPLY' && scope.row.paymentType != 'ADD_STUDENT'"
-                         v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button> -->
+                         v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button>
               <el-button type="text"
                          v-if="teamStatus && scope.row.auditStatus === 'REJECT'"
                          v-permission="'musicGroupPaymentCalender/update'"
@@ -652,7 +652,7 @@ export default {
           this.$refs.setStudentFee.clearTable();
           this.payVisible = false;
           this.chioseStudentVisible = false;
-          this.$refs.payItems?.getList()
+          // this.$refs.payItems?.getList()
           this.getList();
 
         }

+ 4 - 4
src/views/resetTeaming/components/resetPayListSchool.vue

@@ -108,7 +108,7 @@
         </el-table-column>
         <el-table-column label="操作"
                          fixed="right"
-                         min-width="160px">
+                         min-width="200px">
           <template slot-scope="scope">
             <div>
               <el-button type="text"
@@ -117,10 +117,10 @@
               <!-- <el-button type="text"
                          @click="lookDetail(scope.row)"
                          v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button> -->
-              <!-- <el-button type="text"
+              <el-button type="text"
                          @click="openChioseStudent(scope.row)"
                          v-if="scope.row.status != 'REJECT' && scope.row.status != 'AUDITING'&&teamStatus && scope.row.paymentType != 'MUSIC_APPLY' && scope.row.paymentType != 'ADD_STUDENT'"
-                         v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button> -->
+                         v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button>
               <el-button type="text"
                          v-if="teamStatus && scope.row.auditStatus === 'REJECT'"
                          v-permission="'musicGroupPaymentCalender/update'"
@@ -638,7 +638,7 @@ export default {
           this.payVisible = false;
           this.chioseStudentVisible = false;
           this.getList();
-          this.$refs.payItems?.getList()
+          // this.$refs.payItems?.getList()
         }
       });
     },

+ 4 - 3
src/views/resetTeaming/components/studentPayBase.vue

@@ -39,6 +39,7 @@
                 :header-cell-style="{background:'#EDEEF0',color:'#444'}"
                 :data="tableList"
                 ref='multipleTable'
+                max-height="300"
                 @selection-change="handleSelectionChange">
         <el-table-column type="selection"
                          width="55">
@@ -128,7 +129,7 @@ import { findSound, getMusicGroupStudentFee, resetMusicGroupStudentFee, queryCan
 
 export default {
   components: { pagination },
-  props: ['clearStduent', 'musicGroupPaymentCalenderId'],
+  props: ['clearStduent', 'musicGroupPaymentCalenderId', 'batchNo'],
   data () {
     return {
       searchForm: {
@@ -196,7 +197,7 @@ export default {
       this.searchForm.musicGroupId = this.teamid;
       queryCanAddStudent({
         ...this.searchForm,
-        musicGroupPaymentCalenderId: this.musicGroupPaymentCalenderId,
+        batchNo: this.batchNo,
       }).then(res => {
         if (res.code == 200) {
           // this.rules.total = res.data.total;
@@ -286,7 +287,7 @@ export default {
 </script>
 <style lang='scss' scoped>
 .tableWrap {
-  height: 300px;
+  // height: 300px;
   overflow: auto;
 }
 </style>

+ 2 - 2
src/views/resetTeaming/modals/pay-items.vue

@@ -71,7 +71,7 @@
               v-permission="'musicGroupPaymentCalender/auditListDetail'"
               >查看</el-button
             >
-            <el-button
+            <!-- <el-button
               type="text"
               @click="$listeners.openChioseStudent(scope.row)"
               v-if="
@@ -83,7 +83,7 @@
               "
               v-permission="'musicGroupPaymentCalenderDetail/batchAdd'"
               >添加学员</el-button
-            >
+            > -->
             <!-- <el-button
               type="text"
               v-if="scope.row.status == 'REJECT' && teamStatus"

+ 32 - 0
src/views/teamDetail/componentCourse/teacherList.vue

@@ -41,6 +41,37 @@
         </template>
       </el-table-column>
       <el-table-column align='center'
+                       prop="complaintsContent"
+                       width="120"
+                       label="申诉内容">
+        <template slot-scope="scope">
+          <div v-if="scope.row.teacherAttendance">
+            <overflow-text :text="scope.row.teacherAttendance.complaintsContent" width="100%">
+              {{ scope.row.teacherAttendance.complaintsContent}}
+            </overflow-text>
+          </div>
+        </template>
+      </el-table-column>
+      <el-table-column align='center'
+                       prop="complaintsTime"
+                       width="160"
+                       label="申诉时间">
+        <template slot-scope="scope">
+          <div>
+            {{ scope.row.teacherAttendance && scope.row.teacherAttendance.complaintsTime}}
+          </div>
+        </template>
+      </el-table-column>
+      <el-table-column align='center'
+                       prop="complaintsStatus"
+                       label="申诉状态">
+        <template slot-scope="scope">
+          <div v-if="scope.row.teacherAttendance">
+            {{scope.row.teacherAttendance.complaintsStatus | complaintsStatusEnum}}
+          </div>
+        </template>
+      </el-table-column>
+      <el-table-column align='center'
                        prop="teacherPhone"
                        label="签到状态">
         <template slot-scope="scope">
@@ -56,6 +87,7 @@
       </el-table-column>
       <el-table-column align='center'
                        width="200px"
+                       fixed="right"
                        label="操作">
         <template slot-scope="scope">
           <div>

+ 5 - 1
src/views/teamDetail/teamCourseList.vue

@@ -13,7 +13,7 @@
                :model.sync="searchForm">
         <el-form-item>
           <el-input v-model.trim="searchForm.search"
-                    @keyup.enter.native="search"
+                    clearable
                     placeholder="课程(组)编号/课程名称" />
         </el-form-item>
         <el-form-item>
@@ -219,6 +219,10 @@
             </template>
           </el-table-column>
           <el-table-column align="center"
+                           prop="teacherName"
+                           width="110"
+                           label="主教老师"></el-table-column>
+          <el-table-column align="center"
                            prop="schoolName"
                            label="教学点">
             <template slot-scope="scope">