From 6eb11f16eefff6e86d3286783197274d3d389084 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期六, 15 三月 2025 15:31:02 +0800 Subject: [PATCH] cnas样式统一 --- src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue b/src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue index a7f5436..1595bd4 100644 --- a/src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue +++ b/src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue @@ -16,6 +16,7 @@ </div> <div> <el-table ref="yearTable" v-loading="yearTableDataLoading" :data="yearTableData" height="calc(60vh - 20em)" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border highlight-current-row style="width: 100% ;" @current-change="currentChange"> <!-- 琛ㄦ牸鍒� --> <el-table-column align="center" header-align="center" label="搴忓彿" prop="prop" type="index" @@ -73,6 +74,7 @@ </div> <div> <el-table ref="yearTableDetailData" v-loading="yearTableDetailDataLoading" :data="yearTableDetailData" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border height="calc(60vh - 20em)" style="width: 100% ;"> <!-- 琛ㄦ牸鍒� --> <el-table-column align="center" header-align="center" label="搴忓彿" prop="prop" type="index" @@ -581,7 +583,6 @@ this.outLoading = true exportReviewExamineRecordContrast({ planDetailsId: this.downRow.planDetailsId }).then(res => { this.outLoading = false - this.$message.success('瀵煎嚭鎴愬姛') const blob = new Blob([res], { type: 'application/octet-stream' }); this.$download.saveAs(blob, '浠櫒璁惧鏈熼棿鏍告煡姣斿璁板綍琛�.doc') }) @@ -606,7 +607,7 @@ if (response.code == 200) { this.$message.success('涓婁紶鎴愬姛'); this.getYearTableData() - } else if (response.code == 201) { + } else { this.$message.error(response.message) } }, -- Gitblit v1.9.3