浏览代码

去掉点名

lex-xin 4 年之前
父节点
当前提交
07bd5d14e3
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/views/teamDetail/components/courseList.vue

+ 6 - 2
src/views/teamDetail/components/courseList.vue

@@ -110,7 +110,7 @@
 
         <el-table-column align="center"
                          prop="courseScheduleStatus"
-                         label="课程状态">
+                         label="课程状态">s
           <template slot-scope="scope">
             <div>{{ scope.row.courseScheduleStatus | coursesStatus }}</div>
           </template>
@@ -137,7 +137,11 @@
         <el-table-column align="center"
                          prop="remark"
                          label="是否点名">
-          <template slot-scope="scope">{{ scope.row.isCallNames ? '已点名' : '未点名' }}</template>
+          <template slot-scope="scope">
+            <div v-if="scope.row.courseScheduleStatus != 'NOT_START'">
+              {{ scope.row.isCallNames ? '已点名' : '未点名' }}
+            </div>
+          </template>
         </el-table-column>
         <el-table-column align="center"
                          prop="remark"