修改页码bug

This commit is contained in:
zhoulingpo
2023-11-30 17:01:52 +08:00
parent 650fa4e9ef
commit 19290ce11f
7 changed files with 37 additions and 17 deletions
@@ -3,14 +3,14 @@
<div id="mechanism" >
<div class="mechanism-content">
<el-tabs v-model="activeName" @tab-click="handleClick" style="height: 100%">
<el-tab-pane label="机构管理" name="mechanism">
<mechanism></mechanism>
<el-tab-pane label="机构管理" name="mechanism" >
<mechanism v-if="activeName=='mechanism'"></mechanism>
</el-tab-pane>
<el-tab-pane label="工作组" name="workgroup">
<workgroup></workgroup>
<el-tab-pane label="工作组" name="workgroup" >
<workgroup v-if="activeName=='workgroup'"></workgroup>
</el-tab-pane>
<el-tab-pane label="技术委员会" name="committee">
<committee></committee>
<el-tab-pane label="技术委员会" name="committee" >
<committee v-if="activeName=='committee'"></committee>
</el-tab-pane>
</el-tabs>
</div>
+5 -2
View File
@@ -260,6 +260,8 @@
</el-table>
<pagination
style="position: static;"
:auto-size="true"
:pageSize="addFilePageSize"
:total="addFileStandtotal"
:page="addFilePage"
@pageChange="addFileStandPageChange"
@@ -655,6 +657,7 @@
</el-table-column>
</el-table>
<pagination
:auto-size="true"
:page="conditionForm.page"
:pageSize="conditionForm.pageSize"
:total="total2"
@@ -780,7 +783,7 @@ export default {
saveFileName: '',
selectedSplitStandList: [],
addFilePage: 1,
addFilePageSize: this.$store.getters.userInfo.configContent,
addFilePageSize: 20,
splitInfoPage: 1,
splitInfoPageSize: this.$store.getters.userInfo.configContent,
selectedList: [],
@@ -831,7 +834,7 @@ export default {
standType: 'INLAND',
numberName: '',
page: 1,
pageSize: this.$store.getters.userInfo.configContent
pageSize: 20
},
tableData: [],
total2: 0,
@@ -241,8 +241,20 @@ export default {
},
props: {
},
watch: {
watch:{
addFilePageSize(){
if( this.addFilePageSize1 != this.$store.getters.userInfo.configContent)
this.addFilePageSize2 = this.$store.getters.userInfo.configContent
this.getSarFileSplitInfoEOPage()
},
addFilePageSize2(){
if( this.addFilePageSize != this.$store.getters.userInfo.configContent)
this.addFilePageSize =this.$store.getters.userInfo.configContent
this.getSarFileSplitInfoEOPage2()
}
},
methods: {
// select (selection, row) {
// this.$refs.standSelectTable.clearSelection()
@@ -461,8 +473,7 @@ export default {
this.getSarFileSplitInfoEOPage2()
}
},
computed: {
},
mounted () {
this.getSarFileSplitInfoEOPage()
this.getSarFileSplitInfoEOPage2()
@@ -2070,13 +2070,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: [], // 条目部门选择树形结构
@@ -212,6 +212,8 @@
</el-table-column>
</el-table>
<pagination
:auto-size="true"
:page-size="sarProStatePageSize"
:page="sarProStateTotalPage"
:total="sarProStateTotal"
@pageChange="pageProStateChange"
@@ -251,7 +253,7 @@ export default {
},
sarProStateTotal: 0,
sarProStateTotalPage: 1,
sarProStatePageSize: this.$store.getters.userInfo.configContent,
sarProStatePageSize:20,
sarProStateListDatas: [], // 符合性项目列表数据
sarProStateTableHeight: null, // 符合性项目列表高度
productId: "" // 符合性项目Id
@@ -309,6 +309,8 @@
</el-table-column>
</el-table>
<pagination
:auto-size="true"
:pageSize="sarProStatePageSize"
:page="sarProStateTotalPage"
:total="sarProStateTotal"
@pageChange="pageProStateChange"
@@ -483,7 +485,7 @@
},
sarProStateTotal: 0,
sarProStateTotalPage: 1,
sarProStatePageSize: this.$store.getters.userInfo.configContent,
sarProStatePageSize: 20,
sarProStateListDatas: [], // 符合性项目列表数据
sarProStateTableHeight: null,
standId: '', // 符合性项目id
@@ -564,6 +564,7 @@
width="875px"
:close-on-click-modal="false"
:append-to-body="true"
:destroy-on-close="true"
>
<div class="search-area">
<div class="left">
@@ -688,6 +689,7 @@
<pagination
style="position: relative;"
:page="page"
:autoSize="true"
:pageSize="pageSize"
:total="total"
@pageChange="pageChange"
@@ -743,7 +745,7 @@ export default {
}
],
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
pageSize: 20,
total: 0,
drawerTitle: "",
//存放被勾选的项目的数据