历史记录分页问题

参考列查看回显
This commit is contained in:
zyx.net
2022-12-29 10:57:25 +08:00
parent e1ece038a7
commit 5f15471526
2 changed files with 13 additions and 5 deletions
@@ -479,7 +479,13 @@
this.areaVisibleView = true this.areaVisibleView = true
let url = '' let url = ''
if (this.$route.query.it === undefined) { if (this.$route.query.it === undefined) {
console.log(val)
console.log(val.db_field_name)
if(val.db_field_name == 'referencesCol') {
url = `/jero-boot/params/report/queryParamsReportConfigById?id=${val.db_field_id}`
}else{
url = `/jero-boot/params/config/getById?id=${val.db_field_name}` url = `/jero-boot/params/config/getById?id=${val.db_field_name}`
}
} else { } else {
// 历史版本 // 历史版本
url = `/jero-boot/params/collectManifestHistory/getConfigById?id=${val.db_field_name}` url = `/jero-boot/params/collectManifestHistory/getConfigById?id=${val.db_field_name}`
@@ -673,12 +679,11 @@
this.bussLogList(val) this.bussLogList(val)
}, },
onChangehistory(page, pageSize) { onChangehistory(page, pageSize) {
console.log(1)
this.pageNohistory = page this.pageNohistory = page
this.bussLogList() this.bussLogList()
}, },
SizeChangehistory(page, pageSize) { SizeChangehistory(page, pageSize) {
this.pageNo = 1 this.pageNohistory = 1
this.pageSizehistory = pageSize this.pageSizehistory = pageSize
this.bussLogList() this.bussLogList()
}, },
@@ -701,9 +706,11 @@
}) })
}, },
handleOk() { handleOk() {
this.pageNohistory = 1
this.visible = false this.visible = false
}, },
handleCancel() { handleCancel() {
this.pageNohistory = 1
this.visible = false this.visible = false
}, },
getAndUserId(result) { getAndUserId(result) {
@@ -813,18 +813,19 @@
}) })
}, },
handleOk() { handleOk() {
this.pageNohistory = 1
this.visible = false this.visible = false
}, },
handleCancel() { handleCancel() {
this.pageNohistory = 1
this.visible = false this.visible = false
}, },
onChangehistory(page, pageSize) { onChangehistory(page, pageSize) {
console.log(1)
this.pageNohistory = page this.pageNohistory = page
this.bussLogList() this.bussLogList()
}, },
SizeChangehistory(page, pageSize) { SizeChangehistory(page, pageSize) {
this.pageNo = 1 this.pageNohistory = 1
this.pageSizehistory = pageSize this.pageSizehistory = pageSize
this.bussLogList() this.bussLogList()
}, },