From 3a05fd672f3cf6fcd847e28d93ad3e3b9c01fea2 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 16 四月 2025 15:58:32 +0800 Subject: [PATCH] 网络分析仪 --- src/views/CNAS/resourceDemand/device/component/operationInstruction.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue b/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue index 8ab8536..31bcab9 100644 --- a/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue +++ b/src/views/CNAS/resourceDemand/device/component/operationInstruction.vue @@ -5,7 +5,8 @@ <el-button size="small" type="primary" @click="getList">鍒锋柊</el-button> <el-button size="small" type="primary" @click="dialogVisible = true">鍙楁帶鐢宠</el-button> </div> - <el-table :data="tableData" border height="calc(100vh - 18em)"> + <el-table :data="tableData" border height="calc(100vh - 18em)" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> <el-table-column type="index" label="搴忓彿" width="120"> <template v-slot="scope"> <span>{{ (search.current - 1) * search.size + scope.$index + 1 }}</span> @@ -39,7 +40,7 @@ </el-table> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="1" :page-sizes="[10, 20, 30, 50, 100]" :page-size="search.size" layout="->,total, sizes, prev, pager, next, jumper" - :total="search.total"> + :total="search.total" background> </el-pagination> <el-dialog :visible.sync="dialogVisible" title="鍙楁帶鐢宠" width="60%"> <div style="height: 60vh; overflow-y: auto; overflow-x: hidden;"> @@ -79,6 +80,7 @@ <el-button size="small" @click="delFile">鍒犻櫎</el-button> </div> <el-table :data="documentTableData" border style="width: 100%;" tooltip-effect="dark" :row-key="getRowKey" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" @selection-change="handleSelectionChange" height="29em"> <el-table-column type="selection" width="55%"> </el-table-column> -- Gitblit v1.9.3