From 00a5d715d57b1cab9c464004c678b08fe54f0207 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123456 <zxx19900626>
Date: 星期三, 27 四月 2022 17:17:58 +0800
Subject: [PATCH] 人才绿卡补贴接口对接

---
 src/pages/components/qiyezhigongShebao/zhigongShebao.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/pages/components/qiyezhigongShebao/zhigongShebao.vue b/src/pages/components/qiyezhigongShebao/zhigongShebao.vue
index fd8cd81..06a042d 100644
--- a/src/pages/components/qiyezhigongShebao/zhigongShebao.vue
+++ b/src/pages/components/qiyezhigongShebao/zhigongShebao.vue
@@ -1,6 +1,7 @@
 <template>
   <div class="zhigongShebao-wrap">
     <el-table
+      :cell-style="handleCellStyle"
       :height="tableHeight"
       border
       :data="tableData"
@@ -94,7 +95,12 @@
             },
             getHeight() {
                 this.tableHeight = window.innerHeight - nowSize(230)
-            }
+            },
+            handleCellStyle({rowIndex, columnIndex}) {
+                if(columnIndex == 0) {
+                    return { background:'#51D2FF' }
+                }
+            },
         },
         created() {
             window.addEventListener('resize', this.getHeight)

--
Gitblit v1.9.1