修改页码bug

This commit is contained in:
zhoulingpo
2023-11-30 17:08:52 +08:00
parent acf50924a0
commit 94cc921f1b
@@ -221,7 +221,7 @@
label="序号"
align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + ((tableFlag === '' ? sarStandardsSearch.page : tableFlag.page)-1) * (tableFlag === '' ? sarStandardsSearch.pageSize : tableFlag.pageSize)}}
{{ ($index + 1) + ((tableFlag === '' ? sarStandardsSearch.page : tableFlag.page)-1) * (tableFlag === '' ? sarStandardsSearch.pageSize : $store.getters.userInfo.configContent)}}
</template>
</el-table-column>
<el-table-column
@@ -2432,13 +2432,13 @@ export default {
rows: 10,
replacePage: 1,
replaceTotal: 0,
replaceRows: 10,
replaceRows: this.$store.getters.userInfo.configContent,
pageItems: 1,
totalItems: 0,
itemsRows: 10,
itemsRows: this.$store.getters.userInfo.configContent,
configPage: 1,
configTotal: 0,
configRows: 10,
configRows: this.$store.getters.userInfo.configContent,
zNodesS: [], //
zNodesSItem: [],
searchInlandNodes: [], //
@@ -3924,6 +3924,7 @@ export default {
//
getDomesticStandardTableBtn(item) {
sessionStorage.setItem('tableFlag', JSON.stringify(item))
this.tableFlag = item
item.page = 1
this.getDomesticStandardTable(item)