From 03e162a34e0539d6978c87f8d07a66bcd6c660d4 Mon Sep 17 00:00:00 2001 From: little4 <360013221@qq.com> Date: Fri, 11 Oct 2024 13:49:57 +0800 Subject: [PATCH] add pageIndex --- .../pages/maintenanceOperations/solar/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue index 429ae61f..5ce5e562 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue @@ -108,7 +108,12 @@ this.initQueryTable(); }, methods: { - + //翻页时不刷新序号 + indexMethod(index) { + return ( + index + (this.queryParams.pageNum - 1) * this.queryParams.pageSize + 1 + ); + }, onSizeChange(pageSize) { this.tableData = []; this.searchData.pageSize = pageSize;