From ece2dfeb926d728b10db38038e4d12e9e9851c24 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期五, 06 六月 2025 17:38:10 +0800 Subject: [PATCH] 分页修改 --- src/components/PIMTable/PIMTable.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue index 96f1f52..ab817f8 100644 --- a/src/components/PIMTable/PIMTable.vue +++ b/src/components/PIMTable/PIMTable.vue @@ -3,6 +3,7 @@ :header-cell-style="{ background: '#F0F1F5', color: '#333333' }" height="calc(100vh - 18.5em)" :highlight-current-row="highlightCurrentRow" :row-class-name="rowClassName" :row-style="rowStyle" :row-key="rowKey" style="width: 100%" tooltip-effect="dark" @row-click="rowClick" @current-change="currentChange" :show-summary="isShowSummary" + :summary-method="summaryMethod" @selection-change="handleSelectionChange" class="lims-table"> <el-table-column align="center" type="selection" width="55" v-if="isSelection"/> <el-table-column align="center" label="搴忓彿" type="index" width="60" /> @@ -123,6 +124,10 @@ type: Function, default: () => { } }, + summaryMethod: { + type: Function, + default: () => { } + }, rowClick: { type: Function, default: () => { } -- Gitblit v1.9.3