From 7ec7fea9b03f6fb66b25769e3ec578528ccf2365 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 21 三月 2025 16:44:41 +0800
Subject: [PATCH] 合并装备代码

---
 src/views/CNAS/resourceDemand/device/component/state.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/device/component/state.vue b/src/views/CNAS/resourceDemand/device/component/state.vue
index b009a65..8715991 100644
--- a/src/views/CNAS/resourceDemand/device/component/state.vue
+++ b/src/views/CNAS/resourceDemand/device/component/state.vue
@@ -12,8 +12,8 @@
             </div>
           </div>
           <div class="search_thing" style="padding-left: 20px;">
-            <el-button size="small" @click="resetSearch">閲� 缃�</el-button>
-            <el-button size="small" type="primary" @click="getDeviceStatePage(clickNodeVal.value)">鏌� 璇�</el-button>
+            <el-button size="mini" type="primary" @click="getDeviceStatePage(clickNodeVal.value)">鏌ヨ</el-button>
+            <el-button size="mini" @click="resetSearch">閲嶇疆</el-button>
           </div>
         </el-col>
         <el-col :span="4">
@@ -25,7 +25,8 @@
       </el-row>
     </div>
     <div>
-      <el-table :data="tableDatalist" height="calc(100vh - 20em)" style="width: 100% ;">
+      <el-table :data="tableDatalist" height="calc(100vh - 20em)" style="width: 100% ;"
+                :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border>
         <!-- 琛ㄦ牸鍒� -->
         <el-table-column align="center" header-align="center" label="搴忓彿" prop="prop" type="index"
           width="70"></el-table-column>
@@ -430,7 +431,6 @@
         this.outLoading = false
         const blob = new Blob([res], { type: 'application/octet-stream' });
         this.$download.saveAs(blob, '璁惧鍋�/鍚敤.doc')
-        this.$message.success('瀵煎嚭鎴愬姛')
       })
     },
     // 鍒犻櫎
@@ -463,7 +463,6 @@
         this.outLoading = false
         const blob = new Blob([res], { type: 'application/octet-stream' });
         this.$download.saveAs(blob, '璁惧鍋滅敤/鍚敤.xlsx')
-        this.$message.success('瀵煎嚭鎴愬姛')
       }).finally(() => {
         this.outLoading = false
       })

--
Gitblit v1.9.3