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/operationInstruction.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue b/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue index 8ab8536..fe1ab9a 100644 --- a/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue +++ b/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue @@ -5,7 +5,8 @@ <el-button size="small" type="primary" @click="getList">鍒锋柊</el-button> <el-button size="small" type="primary" @click="dialogVisible = true">鍙楁帶鐢宠</el-button> </div> - <el-table :data="tableData" border height="calc(100vh - 18em)"> + <el-table :data="tableData" border height="calc(100vh - 18em)" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> <el-table-column type="index" label="搴忓彿" width="120"> <template v-slot="scope"> <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> @@ -79,6 +80,7 @@ <el-button size="small" @click="delFile">鍒犻櫎</el-button> </div> <el-table :data="documentTableData" border style="width: 100%;" tooltip-effect="dark" :row-key="getRowKey" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" @selection-change="handleSelectionChange" height="29em"> <el-table-column type="selection" width="55%"> </el-table-column> -- Gitblit v1.9.3