From c384e04f81caf681647c602d5896cc10b289582e Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 27 二月 2026 14:59:16 +0800
Subject: [PATCH] 经销商管理
---
admin/src/components/base/BaseTable.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/admin/src/components/base/BaseTable.vue b/admin/src/components/base/BaseTable.vue
index ccdafc0..6eab552 100644
--- a/admin/src/components/base/BaseTable.vue
+++ b/admin/src/components/base/BaseTable.vue
@@ -33,6 +33,7 @@
sorts: [],
// 褰撳墠椤垫暟鎹�
list: [],
+ totalData:{},
// 鍒嗛〉
pagination: {
pageIndex: 1,
@@ -124,6 +125,9 @@
.then(data => {
this.tableData.list = data.records
this.tableData.pagination.total = data.total
+ if (this.tableData.pagination.pageIndex === 1) {
+ this.tableData.totalData = data.countData || {}
+ }
})
.catch(e => {
this.$tip.apiFailed(e)
@@ -168,7 +172,7 @@
this.$tip.warning('璇疯嚦灏戦�夋嫨涓�鏉℃暟鎹�')
return
}
- let message = `纭鍒犻櫎宸查�変腑鐨� ${this.tableData.selectedRows.length} 鏉�${this.module}璁板綍鍚�?`
+ let message = `纭鍒犻櫎宸查�変腑鐨� ${this.tableData.selectedRows.length} 鏉¤褰曞悧?`
if (childConfirm) {
const containChildrenRows = []
for (const row of this.tableData.selectedRows) {
--
Gitblit v1.9.3