From 879249b34397ba1dc2be1ff1c7afd158d35ec340 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 25 十二月 2025 14:30:48 +0800
Subject: [PATCH] 1.公司-商机管理添加市的字段
---
src/components/PIMTable/PIMTable.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index d1b778d..94f9a52 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -15,6 +15,7 @@
:expand-row-keys="expandRowKeys"
:show-summary="isShowSummary"
:summary-method="summaryMethod"
+ stripe
@row-click="rowClick"
@current-change="currentChange"
@selection-change="handleSelectionChange"
@@ -25,9 +26,10 @@
align="center"
type="selection"
width="55"
+ fixed="left"
v-if="isSelection"
/>
- <el-table-column align="center" label="搴忓彿" type="index" width="60" />
+ <el-table-column align="center" label="搴忓彿" type="index" width="60" fixed="left" />
<el-table-column
v-for="(item, index) in column"
@@ -207,8 +209,8 @@
</el-table-column>
</el-table>
<pagination
- v-show="total > 0"
- :total="total"
+ v-if="page.total > 0"
+ :total="page.total"
:layout="page.layout"
:page="page.current"
:limit="page.size"
@@ -245,7 +247,7 @@
},
height: {
type: [Number, String],
- default: "calc(100vh - 18.5em)",
+ default: "calc(100vh - 22em)",
},
expandRowKeys: {
type: Array,
@@ -301,7 +303,7 @@
},
rowKey: {
type: String,
- default: undefined,
+ default: 'id',
},
page: {
type: Object,
--
Gitblit v1.9.3