修改页码bug
This commit is contained in:
@@ -221,7 +221,7 @@
|
|||||||
label="序号"
|
label="序号"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="{scope, column, $index}">
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -2432,13 +2432,13 @@ export default {
|
|||||||
rows: 10,
|
rows: 10,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
replaceTotal: 0,
|
replaceTotal: 0,
|
||||||
replaceRows: 10,
|
replaceRows: this.$store.getters.userInfo.configContent,
|
||||||
pageItems: 1,
|
pageItems: 1,
|
||||||
totalItems: 0,
|
totalItems: 0,
|
||||||
itemsRows: 10,
|
itemsRows: this.$store.getters.userInfo.configContent,
|
||||||
configPage: 1,
|
configPage: 1,
|
||||||
configTotal: 0,
|
configTotal: 0,
|
||||||
configRows: 10,
|
configRows: this.$store.getters.userInfo.configContent,
|
||||||
zNodesS: [], // 责任部门树结构
|
zNodesS: [], // 责任部门树结构
|
||||||
zNodesSItem: [],
|
zNodesSItem: [],
|
||||||
searchInlandNodes: [], // 条目部门选择树形结构
|
searchInlandNodes: [], // 条目部门选择树形结构
|
||||||
@@ -3924,6 +3924,7 @@ export default {
|
|||||||
// 搜索
|
// 搜索
|
||||||
getDomesticStandardTableBtn(item) {
|
getDomesticStandardTableBtn(item) {
|
||||||
sessionStorage.setItem('tableFlag', JSON.stringify(item))
|
sessionStorage.setItem('tableFlag', JSON.stringify(item))
|
||||||
|
|
||||||
this.tableFlag = item
|
this.tableFlag = item
|
||||||
item.page = 1
|
item.page = 1
|
||||||
this.getDomesticStandardTable(item)
|
this.getDomesticStandardTable(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user