Ver Fonte

老师课表列表添加状态

lex-xin há 4 anos atrás
pai
commit
e4ebeb1230

+ 2 - 2
src/views/teacherManager/teacherDetail/components/teacherRecord.vue

@@ -112,14 +112,14 @@
 
 
           <el-table-column align="center" label="签到状态">
           <el-table-column align="center" label="签到状态">
             <template slot-scope="scope">
             <template slot-scope="scope">
-              <div v-if="scope.row.courseScheduleStatus != 'NOT_START'">{{
+              <div v-if="scope.row.courseStatus != 'NOT_START'">{{
               scope.row.signInStatus | attendanceType
               scope.row.signInStatus | attendanceType
             }}</div>
             }}</div>
             </template>
             </template>
           </el-table-column>
           </el-table-column>
           <el-table-column align="center" label="签退状态">
           <el-table-column align="center" label="签退状态">
             <template slot-scope="scope">
             <template slot-scope="scope">
-              <div v-if="scope.row.courseScheduleStatus != 'NOT_START'">{{
+              <div v-if="scope.row.courseStatus != 'NOT_START'">{{
               scope.row.signOutStatus | attendanceOutType
               scope.row.signOutStatus | attendanceOutType
             }}</div>
             }}</div>
             </template>
             </template>