dusenyao 5 hónapja
szülő
commit
3d4a61bbc6
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      src/views/oboc/index.vue

+ 3 - 1
src/views/oboc/index.vue

@@ -31,7 +31,9 @@
         </el-table-column>
         <el-table-column label="到期剩余天数" width="140">
           <template slot-scope="{ row }">
-            <span>{{ row.is_disabled === 'true' ? '已废弃' : formateDate(row.effective_end_date) }}</span>
+            <span :style="{ color: row.is_disabled === 'true' ? '#CA0000' : '' }">
+              {{ row.is_disabled === 'true' ? '已废弃' : formateDate(row.effective_end_date) }}
+            </span>
           </template>
         </el-table-column>
         <el-table-column label="操作" fixed="right" width="200">