参数项清单表头添加传参

This commit is contained in:
zyx.net
2022-10-20 11:44:03 +08:00
parent 38105aaa7a
commit 42ac31df37
2 changed files with 6 additions and 2 deletions
@@ -604,9 +604,11 @@
res.result.userType = result[0] ? result[0].value : ''
}
this.getTableList(res.result.userType)
this.getHeader(res.result.userType)
} else {
this.getTableList(result[0].value)
this.getHeader(result[0].value)
}
this.$emit('LoginUserType', result, this.currentPersonRole, res.result.userType)
} else {
@@ -614,7 +616,7 @@
}
})
},
getHeader() {
getHeader(userType) {
let paramsManifestid
let url
if (this.$route.query.it === undefined) {
@@ -628,7 +630,8 @@
}
let params = {
paramsManifestId: paramsManifestid,
flag: '7'
flag: '7',
userType:userType,
}
getAction(url, params).then((res) => {
if (res.success) {