From 9effd6fe741ec09c870a6a12aec394a09179c77b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 07 四月 2026 13:55:08 +0800
Subject: [PATCH] 1.整体样式修改
---
src/views/equipmentManagement/spareParts/index.vue | 51 ++++++++++++++++++++++++++-------------------------
1 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/src/views/equipmentManagement/spareParts/index.vue b/src/views/equipmentManagement/spareParts/index.vue
index 06ca37d..45e0157 100644
--- a/src/views/equipmentManagement/spareParts/index.vue
+++ b/src/views/equipmentManagement/spareParts/index.vue
@@ -21,20 +21,21 @@
<el-button type="primary" @click="addCategory">鏂板</el-button>
</div>
</div>
-
- <PIMTable
- rowKey="id"
- :column="columns"
- :tableData="renderTableData"
- :tableLoading="loading"
- :page="pagination"
- :isShowPagination="true"
- @pagination="handleSizeChange"
- >
- <template #status="{ row }">
- <el-tag type="success" size="small">{{ row.status }}</el-tag>
- </template>
- </PIMTable>
+ <div class="table_list">
+ <PIMTable
+ rowKey="id"
+ :column="columns"
+ :tableData="renderTableData"
+ :tableLoading="loading"
+ :page="pagination"
+ :isShowPagination="true"
+ @pagination="handleSizeChange"
+ >
+ <template #status="{ row }">
+ <el-tag type="success" size="small">{{ row.status }}</el-tag>
+ </template>
+ </PIMTable>
+ </div>
<el-dialog title="鍒嗙被绠$悊" v-model="dialogVisible" width="60%">
<el-form :model="form" :rules="rules" ref="formRef" label-width="100px">
@@ -112,16 +113,17 @@
</el-form-item>
</el-form>
</div>
-
- <PIMTable
- rowKey="rowKey"
- :column="usageColumns"
- :tableData="usageTableData"
- :tableLoading="usageLoading"
- :page="usagePagination"
- :isShowPagination="true"
- @pagination="handleUsagePageChange"
- />
+ <div class="table_list">
+ <PIMTable
+ rowKey="rowKey"
+ :column="usageColumns"
+ :tableData="usageTableData"
+ :tableLoading="usageLoading"
+ :page="usagePagination"
+ :isShowPagination="true"
+ @pagination="handleUsagePageChange"
+ />
+ </div>
</el-tab-pane>
</el-tabs>
</div>
@@ -538,7 +540,6 @@
margin-top: 20px;
display: flex;
justify-content: flex-end;
- padding: 16px 0;
}
.el-table__header-wrapper th {
--
Gitblit v1.9.3