Browse Source

Merge branch 'ol_12_30' into online

wolyshaw 4 years ago
parent
commit
cdff5354dd

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

@@ -129,7 +129,7 @@
                          v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button> -->
               <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' && scope.row.paymentType != 'SPAN_GROUP_CLASS_ADJUST'"
+                         v-if="scope.row.auditStatus != 'REJECT' && scope.row.auditStatus != 'AUDITING'&&teamStatus && scope.row.paymentType != 'MUSIC_APPLY' && scope.row.paymentType != 'ADD_STUDENT' && scope.row.paymentType != 'SPAN_GROUP_CLASS_ADJUST'"
                          v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button>
               <el-button type="text"
                          v-if="teamStatus && scope.row.auditStatus === 'REJECT'"

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

@@ -129,7 +129,7 @@
                          v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button> -->
               <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-if="scope.row.auditStatus != 'REJECT' && scope.row.auditStatus != 'AUDITING'&&teamStatus && scope.row.paymentType != 'MUSIC_APPLY' && scope.row.paymentType != 'ADD_STUDENT'"
                          v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button>
               <el-button type="text"
                          v-if="teamStatus && scope.row.auditStatus === 'REJECT'"

+ 4 - 1
src/views/teamBuild/components/merged-students.vue

@@ -98,7 +98,10 @@ export default {
         await this.$confirm('是否确认删除已选择学员?', '提示', {
           type: 'warning'
         })
-        await batchDelStudentRegistration(this.passed)
+        await batchDelStudentRegistration({
+          musicGroupId: this.id,
+          userIds: this.passed
+        })
         this.$message.success('删除成功')
         this.FetchDetail()
       } catch (error) {}

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

@@ -73,20 +73,6 @@
         </template>
       </el-table-column>
       <el-table-column align='center'
-                       prop="signOutAttachments"
-                       label="签退照片">
-        <template slot-scope="scope">
-          <el-image
-            v-if="scope.row.teacherAttendance && scope.row.teacherAttendance.signOutAttachments"
-            style="width: 60px; height: 60px"
-            fit="cover"
-            :src="scope.row.teacherAttendance.signOutAttachments"
-            :previewSrcList="[scope.row.teacherAttendance.signOutAttachments]"
-          >
-          </el-image>
-        </template>
-      </el-table-column>
-      <el-table-column align='center'
                        prop="teacherPhone"
                        label="签到状态">
         <template slot-scope="scope">