修改页码bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user