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/maintenance.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/maintenance.vue b/src/views/CNAS/resourceDemand/device/component/maintenance.vue index ab1d867..2b1ebbe 100644 --- a/src/views/CNAS/resourceDemand/device/component/maintenance.vue +++ b/src/views/CNAS/resourceDemand/device/component/maintenance.vue @@ -8,8 +8,8 @@ @keyup.enter.native="getAllMessage(clickNodeVal.value)"></el-input></div> </div> <div class="search_thing" style="padding-left: 30px;"> - <el-button size="small" @click="resetSearch">閲� 缃�</el-button> - <el-button size="small" type="primary" @click="getAllMessage(clickNodeVal.value)">鏌� 璇�</el-button> + <el-button size="mini" type="primary" @click="getAllMessage(clickNodeVal.value)">鏌ヨ</el-button> + <el-button size="mini" @click="resetSearch">閲嶇疆</el-button> </div> <div class="btns"> <el-button size="small" type="primary" @click="dialogVisible = true; add()">娣诲姞缁存姢璁板綍</el-button> @@ -17,7 +17,8 @@ </div> </div> <div class="tables" style="margin-top: 10px;"> - <el-table ref="table" :data="MaintainParam" height="calc(100vh - 20em)"> + <el-table ref="table" :data="MaintainParam" height="calc(100vh - 20em)" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> <el-table-column label="搴忓彿" type="index" width="120"> <template v-slot="scope"> <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> @@ -183,7 +184,6 @@ this.outLoading = false const blob = new Blob([res], { type: 'application/octet-stream' }); this.$download.saveAs(blob, '璁惧缁存姢淇濆吇璁板綍.doc') - this.$message.success('瀵煎嚭鎴愬姛') }) }, //鎿嶄綔璇︽儏鍒犻櫎 -- Gitblit v1.9.3