三份清单的切换分页

lijinlong
吕天方 2 years ago
parent 46ffb61c56
commit c992a410a6

@ -3,7 +3,7 @@
* @Author: kery.chen
* @Description: 总体概览左侧
* @Date: 2021-11-30 11:08:50
* @LastEditTime: 2023-08-24 13:47:44
* @LastEditTime: 2023-08-25 10:38:55
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue
-->
<template>
@ -241,7 +241,7 @@
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="inventoryBtn"
@pagination="inventoryBtnTwo"
/>
</div>
</div>
@ -986,6 +986,19 @@ export default {
// this.setCurrentPageData()
// this.dialogStatus = true
},
inventoryBtnTwo(status){
console.log(this.dialogTitle)
const { page, limit } = status
this.queryParams.pageNum = page
this.queryParams.pageSize = limit
if(this.dialogTitle == '重点企业名录清单') {
this.inventoryBtn(1,'重点企业名录清单')
} else if(this.dialogTitle == '重点领域监管清单') {
this.inventoryBtn(2,'重点领域监管清单')
} else if(this.dialogTitle == '重点工作项目清单') {
this.inventoryBtn(3,'重点工作项目清单')
}
},
//
inventoryChange() {
this.threeTimer = setInterval(() => {

Loading…
Cancel
Save