From 655aee70727fe0479442d02cec27114eaed15872 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 21 三月 2025 14:40:19 +0800
Subject: [PATCH] 人员-样式优化
---
src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue b/src/views/CNAS/resourceDemand/device/component/equipmentVerificationPlan.vue
index 236ca34..09150de 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"
@@ -64,8 +65,8 @@
<span style="width: 80px;font-size: 14px">璁惧鍚嶇О锛�</span>
<el-input v-model="searchForm.deviceName" clearable size="small"
style="margin-right: 10px;width: 220px"></el-input>
- <el-button size="small" type="primary" @click="getYearTableDetailData(currentRow)">鏌� 璇�</el-button>
- <el-button size="small" @click="reset">閲� 缃�</el-button>
+ <el-button size="mini" type="primary" @click="getYearTableDetailData(currentRow)">鏌ヨ</el-button>
+ <el-button size="mini" @click="reset">閲嶇疆</el-button>
</div>
<div>
<el-button size="small" type="primary" @click="handleForm('add')">鏂板</el-button>
@@ -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"
@@ -605,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