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/equipmentAcceptance.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue b/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue index f087f71..f837ef1 100644 --- a/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue +++ b/src/views/CNAS/resourceDemand/device/component/equipmentAcceptance.vue @@ -6,6 +6,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" @@ -177,7 +178,6 @@ this.tableLoading = true getDeviceAcceptanceFileList({ acceptanceId: this.acceptanceId }).then(res => { this.tableLoading = false - if (res.code === 201) return this.tableData = res.data }).catch(err => { this.tableLoading = false @@ -209,7 +209,6 @@ this.tableLoading = true delDeviceAcceptanceFileList({ acceptanceFileId: row.acceptanceFileId }).then(res => { this.tableLoading = false - if (res.code === 201) return this.$message.success('鍒犻櫎鎴愬姛') this.searchTableList() }).catch(err => { -- Gitblit v1.9.3