上报库保存修改

This commit is contained in:
zyx.net
2022-08-04 14:46:52 +08:00
parent 35dacd6004
commit 45f2415dc7
2 changed files with 15 additions and 11 deletions
@@ -335,12 +335,13 @@
this.getHeader()
eventBUs.$on('getTableList', search => {
this.queryParamQuery = search
console.log(this.queryParamQuery)
this.getTableList()
})
},
watch: {
currentPersonRole: {
handler: function() {
console.log(123)
this.getTableList()
},
immediate: true
@@ -566,11 +567,12 @@
}
getAction('/params/userTypeLog/queryCurrentType', query).then((res) => {
if (res.success) {
this.queryParamQuery = {...this.queryParamQuery}
if (res.result && res.result.userType) {
if (!(result.some(val => val.value == res.result.userType))) {
res.result.userType = result[0] ? result[0].value : ''
}
this.queryParam = {...this.queryParamQuery}
this.getTableList(res.result.userType)
} else {
@@ -657,7 +659,7 @@
},
getTableListReset() {
this.formInline = {}
this.queryParam = {}
this.queryParamQuery = {}
let params = {
paramsManifestId: this.$route.query.id,
pageNo: this.pageNo,
@@ -725,6 +727,8 @@
this.selectedRowKeys = []
},
getTableList(currentPersonRole) {
console.log(currentPersonRole)
console.log(this.queryParamQuery)
// todo
let paramsManifestid
let url
@@ -744,7 +748,7 @@
paramsManifestId: paramsManifestid,
...this.formInline,
...currentPersonRole,
...this.queryParam
...this.queryParamQuery
}
this.loading = true
getAction(url, params).then((res) => {