From 28972c351ea79b4721750f6970e88263b64c64aa Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 13 三月 2025 16:03:36 +0800 Subject: [PATCH] 表格样式整体修改 --- src/views/CNAS/resourceDemand/device/component/quantityValueTraceabilityPlan.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/quantityValueTraceabilityPlan.vue b/src/views/CNAS/resourceDemand/device/component/quantityValueTraceabilityPlan.vue index e3775fe..f94c759 100644 --- a/src/views/CNAS/resourceDemand/device/component/quantityValueTraceabilityPlan.vue +++ b/src/views/CNAS/resourceDemand/device/component/quantityValueTraceabilityPlan.vue @@ -7,6 +7,7 @@ </div> <div> <el-table ref="yearTable" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border height="calc(100vh - 18em)" style="width: 100% ;"> <!-- 琛ㄦ牸鍒� --> <el-table-column align="center" header-align="center" label="搴忓彿" prop="prop" type="index" @@ -56,7 +57,8 @@ </div> <div style="margin: 10px 0"> <el-table ref="yearTable" :data="deviceTraceabilityManagementDetails" height="300px" id="templateParamTable" - row-key="deviceId" border style="width: 100% ;"> + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border + row-key="deviceId" style="width: 100% ;"> <el-table-column align="center" header-align="center" label="搴忓彿" type="index" width="60"></el-table-column> <el-table-column label="璁惧鍚嶇О" min-width="170" prop="deviceId"> <template slot-scope="scope"> -- Gitblit v1.9.3