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;