浏览代码

去掉次数,没有作的字段

lex-xin 9 月之前
父节点
当前提交
203cb8ba82

+ 3 - 3
src/views/afterSchoolManager/components/textConment.vue

@@ -41,9 +41,9 @@
             <span v-else>--</span>
           </template>
         </el-table-column>
-        <el-table-column prop="times" label="次数/总计">
+        <el-table-column prop="times" label="总计">
           <template slot-scope="scope"
-            >{{ scope.row.trainingTimes }}/{{ scope.row.times }}次</template
+            >{{ scope.row.times }}次</template
           >
         </el-table-column>
       </el-table>
@@ -81,7 +81,7 @@ export default {
   mounted() {
     console.log(this.trainingDetailList);
     this.fitterTraining = this.trainingDetailList.map(item => item);
-    this.getPublicSubject();
+    // this.getPublicSubject();
   },
 
   methods: {

+ 3 - 3
src/views/attendanceManager/attendanceList/components/textConment.vue

@@ -41,9 +41,9 @@
             <span v-else>--</span>
           </template>
         </el-table-column>
-        <el-table-column prop="times" label="次数/总计">
+        <el-table-column prop="times" label="总计">
           <template slot-scope="scope"
-            >{{ scope.row.trainingTimes }}/{{ scope.row.times }}次</template
+            >{{ scope.row.times }}次</template
           >
         </el-table-column>
       </el-table>
@@ -83,7 +83,7 @@ export default {
   mounted() {
     console.log(this.trainingDetailList);
     this.fitterTraining = this.trainingDetailList.map(item => item);
-    this.getPublicSubject();
+    // this.getPublicSubject();
   },
 
   methods: {