mo 3 лет назад
Родитель
Сommit
152395cd4d

+ 11 - 1
src/views/afterSchoolManager/afterSchoolList.vue

@@ -102,7 +102,17 @@
               </copy-text>
             </template>
           </el-table-column>
-
+                   <el-table-column
+            align="center"
+            prop="actualTeacherName"
+            label="是否团练宝布置"
+          >
+            <template slot-scope="scope">
+              <div>
+                {{ scope.row.musicScoreId ? "是" : "否" }}
+              </div>
+            </template>
+          </el-table-column>
           <el-table-column align="center" prop="expireDate" label="截止时间">
             <template slot-scope="scope">
               {{ scope.row.expireDate | dateForMinFormat }}

+ 11 - 0
src/views/afterSchoolManager/afterWorkList.vue

@@ -181,6 +181,17 @@
               <div>{{scope.row.isRepliedTimely?'是':'否'}}</div>
             </template>
           </el-table-column>
+                   <el-table-column
+            align="center"
+            prop="actualTeacherName"
+            label="是否团练宝布置"
+          >
+            <template slot-scope="scope">
+              <div>
+                {{ scope.row.musicScoreId ? "是" : "否" }}
+              </div>
+            </template>
+          </el-table-column>
           <!-- <el-table-column align="center" prop="teacherName" label="老师姓名">
             <template slot-scope="scope">
               <div v-if="scope.row.extracurricularExercises&&scope.row.extracurricularExercises.teacher">{{scope.row.extracurricularExercises.teacher.username}}</div>

+ 20 - 17
src/views/attendanceManager/attendanceList/index.vue

@@ -112,16 +112,16 @@
             prop="actualTeacherName"
             label="布置老师"
           ></el-table-column>
-                  <el-table-column
+          <el-table-column
             align="center"
             prop="actualTeacherName"
             label="是否团练宝布置"
           >
-          <template slot-scope="scope">
-            <div>
-              {{scope.row.musicScoreId?"是":"否"}}
-            </div>
-          </template>
+            <template slot-scope="scope">
+              <div>
+                {{ scope.row.musicScoreId ? "是" : "否" }}
+              </div>
+            </template>
           </el-table-column>
           <el-table-column
             align="center"
@@ -141,12 +141,10 @@
           <el-table-column align="center" prop="studentId" label="操作">
             <template slot-scope="scope">
               <div>
-                <auth auths='/teamCourseListDetailWorkList/attendanceList'>
-                  <el-button
-                  type="text"
-                  @click="lookDetail(scope.row)"
-                  >查看</el-button
-                >
+                <auth auths="/teamCourseListDetailWorkList/attendanceList">
+                  <el-button type="text" @click="lookDetail(scope.row)"
+                    >查看</el-button
+                  >
                 </auth>
               </div>
             </template>
@@ -160,7 +158,12 @@
           :page-sizes="rules.page_size"
           @pagination="getList"
         />
-        <el-dialog title="训练详情" :visible.sync="classVisible" width="1000px" v-if="classVisible">
+        <el-dialog
+          title="训练详情"
+          :visible.sync="classVisible"
+          width="1000px"
+          v-if="classVisible"
+        >
           <studentWork
             v-if="activeRow"
             :courseScheduleId="activeRow.courseScheduleId"
@@ -186,7 +189,7 @@ export default {
         search: null,
         organId: null,
         groupType: "MUSIC",
-          courseTimer: [],
+        courseTimer: [],
       },
 
       teacherList: [],
@@ -213,7 +216,7 @@ export default {
     //   }
     // });
     // 获取分部
-    this.$store.dispatch('setBranchs')
+    this.$store.dispatch("setBranchs");
     this.init();
   },
   activated() {
@@ -261,7 +264,7 @@ export default {
         search: null,
         organId: null,
         groupType: "MUSIC",
-        courseTimer:[]
+        courseTimer: [],
       };
       // this.courseTimer = [];
       this.search();
@@ -277,7 +280,7 @@ export default {
 .search {
   // width: 220px!important;
   /deep/.el-input__inner {
-     width: 260px!important;
+    width: 260px !important;
   }
 }
 </style>