From 0415f4c1c98109117873bcd82cf2f1216afc0fb9 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期一, 15 三月 2021 17:03:41 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master

---
 src/components/table/components/AirQuality.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/components/table/components/AirQuality.vue b/src/components/table/components/AirQuality.vue
index b0dc855..7e52808 100644
--- a/src/components/table/components/AirQuality.vue
+++ b/src/components/table/components/AirQuality.vue
@@ -45,6 +45,11 @@
                     prop="RegionalColor"
                     label="鍖哄煙棰滆壊"
                     width="200px">
+              <template slot-scope="scope">
+                <div v-if="scope.row.RegionalColor==='鍥涚骇绾㈣壊'" style="background-color: red">{{scope.row.RegionalColor}}</div>
+                <div v-else-if="scope.row.RegionalColor==='涓夌骇姗欒壊'" style="background-color: orange">{{scope.row.RegionalColor}}</div>
+                <div v-else style="background-color: green">{{scope.row.RegionalColor}}</div>
+              </template>
             </el-table-column>
         </el-table>
     </div>

--
Gitblit v1.8.0