Pārlūkot izejas kodu

修改会议状态颜色区分

humingbo 1 gadu atpakaļ
vecāks
revīzija
6913b9465d
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      src/views/meeting/meeting.vue

+ 4 - 4
src/views/meeting/meeting.vue

@@ -94,17 +94,17 @@
       <el-table-column prop="status" label="会议状态" width="80">
         <template slot-scope="scope">
           <!--会议状态,0待开始,1进行中,2已结束-->
-          <div v-if="scope.row.status===0" style="color: green">待开始</div>
+          <div v-if="scope.row.status===0" style="color: red">待开始</div>
           <div v-else-if="scope.row.status===1" style="color: #3A71A8">进行中</div>
-          <div v-else>已结束</div>
+          <div v-else style="color: green">已结束</div>
         </template>
       </el-table-column>
       <el-table-column prop="status" label="确认状态" width="80">
         <template slot-scope="scope">
-          <div v-if="scope.row.meetingConfirmStatus===0 && (scope.row.meetingType===1 || scope.row.meetingType===2)">
+          <div style="color: red" v-if="scope.row.meetingConfirmStatus===0 && (scope.row.meetingType===1 || scope.row.meetingType===2)">
             未确认
           </div>
-          <div
+          <div style="color: green"
             v-else-if="scope.row.meetingConfirmStatus===1 && (scope.row.meetingType===1 || scope.row.meetingType===2)">
             已确认
           </div>