diff --git a/src/views/invest/accountDealRecord/index.vue b/src/views/invest/accountDealRecord/index.vue
index 210e227..8d2db85 100644
--- a/src/views/invest/accountDealRecord/index.vue
+++ b/src/views/invest/accountDealRecord/index.vue
@@ -48,6 +48,7 @@
-
+
@@ -366,6 +374,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/creditCardBill/index.vue b/src/views/invest/creditCardBill/index.vue
index e723ca2..c95a101 100644
--- a/src/views/invest/creditCardBill/index.vue
+++ b/src/views/invest/creditCardBill/index.vue
@@ -35,6 +35,7 @@
+
@@ -61,7 +62,14 @@
-
+
@@ -304,6 +312,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/creditInstallmentHistory/index.vue b/src/views/invest/creditInstallmentHistory/index.vue
index 728799b..3649a1c 100644
--- a/src/views/invest/creditInstallmentHistory/index.vue
+++ b/src/views/invest/creditInstallmentHistory/index.vue
@@ -30,6 +30,7 @@
+
@@ -75,7 +76,14 @@
-
+
@@ -185,6 +193,7 @@
+
{{ parseTime(scope.row.repaymentDate, '{y}-{m}-{d}') }}
@@ -435,6 +444,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/creditQueryRecord/index.vue b/src/views/invest/creditQueryRecord/index.vue
index c47188e..4e35694 100644
--- a/src/views/invest/creditQueryRecord/index.vue
+++ b/src/views/invest/creditQueryRecord/index.vue
@@ -43,6 +43,7 @@
+
{{ parseTime(scope.row.queryDate, '{y}-{m}-{d}') }}
@@ -70,7 +71,14 @@
-
+
@@ -275,6 +283,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/creditTransferRecord/index.vue b/src/views/invest/creditTransferRecord/index.vue
index 2e07147..021af7a 100644
--- a/src/views/invest/creditTransferRecord/index.vue
+++ b/src/views/invest/creditTransferRecord/index.vue
@@ -38,7 +38,9 @@
-
+
+
@@ -59,7 +61,14 @@
-
+
@@ -275,6 +284,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/creditcard/index.vue b/src/views/invest/creditcard/index.vue
index 7dde0fd..7edacda 100644
--- a/src/views/invest/creditcard/index.vue
+++ b/src/views/invest/creditcard/index.vue
@@ -29,16 +29,13 @@
+
-
-
- {{ parseTime(scope.row.activationDate, '{y}-{m}-{d}') }}
-
-
-
-
-
+
+
+
+
@@ -56,12 +53,12 @@
-->
-
+
-
+
@@ -71,7 +68,14 @@
-
+
@@ -499,6 +503,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/debitInfors/index.vue b/src/views/invest/debitInfors/index.vue
index deca582..a8bf69f 100644
--- a/src/views/invest/debitInfors/index.vue
+++ b/src/views/invest/debitInfors/index.vue
@@ -32,6 +32,7 @@
+
@@ -53,7 +54,14 @@
-
+
@@ -252,6 +260,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/debitTransferRecord/index.vue b/src/views/invest/debitTransferRecord/index.vue
index 3a3ac0d..20ef45c 100644
--- a/src/views/invest/debitTransferRecord/index.vue
+++ b/src/views/invest/debitTransferRecord/index.vue
@@ -38,7 +38,9 @@
-
+
+
@@ -54,7 +56,14 @@
-
+
@@ -238,6 +247,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/debitcard/index.vue b/src/views/invest/debitcard/index.vue
index b5f585a..9e54ce0 100644
--- a/src/views/invest/debitcard/index.vue
+++ b/src/views/invest/debitcard/index.vue
@@ -34,6 +34,7 @@
+
@@ -64,7 +65,14 @@
-
+
@@ -445,6 +453,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/exchange/index.vue b/src/views/invest/exchange/index.vue
index 8d3dddd..777e770 100644
--- a/src/views/invest/exchange/index.vue
+++ b/src/views/invest/exchange/index.vue
@@ -26,12 +26,13 @@
新增
删除
- 导出
+
+
@@ -52,7 +53,14 @@
-
+
@@ -203,6 +211,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/financials/index.vue b/src/views/invest/financials/index.vue
index 6ba5613..742450a 100644
--- a/src/views/invest/financials/index.vue
+++ b/src/views/invest/financials/index.vue
@@ -29,6 +29,7 @@
+
@@ -55,7 +56,14 @@
-
+
@@ -246,6 +254,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/futureBaseInfor/index.vue b/src/views/invest/futureBaseInfor/index.vue
index 449da31..302594b 100644
--- a/src/views/invest/futureBaseInfor/index.vue
+++ b/src/views/invest/futureBaseInfor/index.vue
@@ -31,6 +31,7 @@
+
@@ -51,7 +52,14 @@
-
+
@@ -302,6 +310,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/futureStandardInfor/index.vue b/src/views/invest/futureStandardInfor/index.vue
index 0433218..600fe59 100644
--- a/src/views/invest/futureStandardInfor/index.vue
+++ b/src/views/invest/futureStandardInfor/index.vue
@@ -41,6 +41,7 @@
+
@@ -63,7 +64,14 @@
-
+
@@ -316,6 +324,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/futures/index.vue b/src/views/invest/futures/index.vue
index 72dc47e..dd68ec6 100644
--- a/src/views/invest/futures/index.vue
+++ b/src/views/invest/futures/index.vue
@@ -29,6 +29,7 @@
+
@@ -41,11 +42,7 @@
-
-
- {{ parseTime(scope.row.activationDate, '{y}-{m}-{d}') }}
-
-
+
@@ -57,7 +54,14 @@
-
+
@@ -260,6 +264,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/futuresBill/index.vue b/src/views/invest/futuresBill/index.vue
index 22e36a9..874d08d 100644
--- a/src/views/invest/futuresBill/index.vue
+++ b/src/views/invest/futuresBill/index.vue
@@ -30,6 +30,7 @@
+
@@ -45,7 +46,14 @@
-
+
@@ -337,6 +345,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/futuresDailyHistory/index.vue b/src/views/invest/futuresDailyHistory/index.vue
index f450e9d..7175407 100644
--- a/src/views/invest/futuresDailyHistory/index.vue
+++ b/src/views/invest/futuresDailyHistory/index.vue
@@ -27,6 +27,7 @@
+
@@ -55,7 +56,14 @@
-
+
@@ -262,6 +270,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/heartJourney/index.vue b/src/views/invest/heartJourney/index.vue
index 402c2c4..33239c6 100644
--- a/src/views/invest/heartJourney/index.vue
+++ b/src/views/invest/heartJourney/index.vue
@@ -29,6 +29,7 @@
+
@@ -47,7 +48,14 @@
-
+
@@ -184,6 +192,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/investAccountDeal/index.vue b/src/views/invest/investAccountDeal/index.vue
index 5b70227..437c0a4 100644
--- a/src/views/invest/investAccountDeal/index.vue
+++ b/src/views/invest/investAccountDeal/index.vue
@@ -33,6 +33,7 @@
+
@@ -53,7 +54,14 @@
-
+
@@ -270,6 +278,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/investTransferRecord/index.vue b/src/views/invest/investTransferRecord/index.vue
index c0caef2..5fd1f2a 100644
--- a/src/views/invest/investTransferRecord/index.vue
+++ b/src/views/invest/investTransferRecord/index.vue
@@ -38,7 +38,9 @@
-
+
+
@@ -54,7 +56,14 @@
-
+
@@ -236,6 +245,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/lend/index.vue b/src/views/invest/lend/index.vue
index 62fd008..eae1096 100644
--- a/src/views/invest/lend/index.vue
+++ b/src/views/invest/lend/index.vue
@@ -34,6 +34,7 @@
+
@@ -58,7 +59,14 @@
-
+
@@ -221,6 +229,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/lendTransferRecord/index.vue b/src/views/invest/lendTransferRecord/index.vue
index adddd46..16d45c6 100644
--- a/src/views/invest/lendTransferRecord/index.vue
+++ b/src/views/invest/lendTransferRecord/index.vue
@@ -38,7 +38,9 @@
-
+
+
@@ -60,7 +62,14 @@
-
+
@@ -286,6 +295,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/onlineLendHistory/index.vue b/src/views/invest/onlineLendHistory/index.vue
index 195b9b1..1b197f9 100644
--- a/src/views/invest/onlineLendHistory/index.vue
+++ b/src/views/invest/onlineLendHistory/index.vue
@@ -30,6 +30,7 @@
+
@@ -76,7 +77,14 @@
-
+
@@ -430,6 +438,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/peopleLendHistory/index.vue b/src/views/invest/peopleLendHistory/index.vue
index b8c9d5e..cdd82f0 100644
--- a/src/views/invest/peopleLendHistory/index.vue
+++ b/src/views/invest/peopleLendHistory/index.vue
@@ -31,6 +31,7 @@
+
@@ -60,7 +61,14 @@
-
+
@@ -240,6 +248,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/posTransferRecord/index.vue b/src/views/invest/posTransferRecord/index.vue
index 78f86aa..5bdc836 100644
--- a/src/views/invest/posTransferRecord/index.vue
+++ b/src/views/invest/posTransferRecord/index.vue
@@ -38,7 +38,9 @@
-
+
+
@@ -57,7 +59,14 @@
-
+
@@ -273,6 +282,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/posadvice/index.vue b/src/views/invest/posadvice/index.vue
index 917af77..e6cfb03 100644
--- a/src/views/invest/posadvice/index.vue
+++ b/src/views/invest/posadvice/index.vue
@@ -29,6 +29,7 @@
+
@@ -49,7 +50,14 @@
-->
-
+
@@ -152,6 +160,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
function formatMultiLineData(data) {
if (data != null) {
return data.replace(/、/g, '
')
diff --git a/src/views/invest/posmachine/index.vue b/src/views/invest/posmachine/index.vue
index 5f80416..b405908 100644
--- a/src/views/invest/posmachine/index.vue
+++ b/src/views/invest/posmachine/index.vue
@@ -37,6 +37,7 @@
+
@@ -71,7 +72,14 @@
-
+
@@ -288,6 +296,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/productInfor/index.vue b/src/views/invest/productInfor/index.vue
index 7199f27..68f1850 100644
--- a/src/views/invest/productInfor/index.vue
+++ b/src/views/invest/productInfor/index.vue
@@ -34,8 +34,9 @@
-
+
+
@@ -60,7 +61,14 @@
-
+
@@ -210,6 +218,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/productPriceRecord/index.vue b/src/views/invest/productPriceRecord/index.vue
index d7c9b95..7dfb9dd 100644
--- a/src/views/invest/productPriceRecord/index.vue
+++ b/src/views/invest/productPriceRecord/index.vue
@@ -45,8 +45,9 @@
-
+
+
@@ -73,7 +74,14 @@
-
+
@@ -320,6 +328,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/sleepAccounts/index.vue b/src/views/invest/sleepAccounts/index.vue
index bde9232..738d602 100644
--- a/src/views/invest/sleepAccounts/index.vue
+++ b/src/views/invest/sleepAccounts/index.vue
@@ -33,7 +33,8 @@
-
+
+
@@ -74,7 +75,14 @@
-
+
@@ -179,7 +187,8 @@
-
+
@@ -365,6 +374,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/stockBaseInfor/index.vue b/src/views/invest/stockBaseInfor/index.vue
index c72356a..d985cbf 100644
--- a/src/views/invest/stockBaseInfor/index.vue
+++ b/src/views/invest/stockBaseInfor/index.vue
@@ -36,6 +36,7 @@
+
@@ -62,7 +63,14 @@
-
+
@@ -285,6 +293,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/stocks/index.vue b/src/views/invest/stocks/index.vue
index b255fc2..a1ee0ad 100644
--- a/src/views/invest/stocks/index.vue
+++ b/src/views/invest/stocks/index.vue
@@ -29,6 +29,7 @@
+
@@ -55,7 +56,14 @@
-
+
@@ -246,6 +254,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/stocksBill/index.vue b/src/views/invest/stocksBill/index.vue
index 746f519..cd49937 100644
--- a/src/views/invest/stocksBill/index.vue
+++ b/src/views/invest/stocksBill/index.vue
@@ -30,6 +30,7 @@
+
@@ -45,7 +46,14 @@
-
+
@@ -335,6 +343,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/invest/stocksDailyHistory/index.vue b/src/views/invest/stocksDailyHistory/index.vue
index d30cee8..22de532 100644
--- a/src/views/invest/stocksDailyHistory/index.vue
+++ b/src/views/invest/stocksDailyHistory/index.vue
@@ -31,6 +31,7 @@
+
@@ -53,7 +54,14 @@
-
+
@@ -220,6 +228,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)