修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-01 11:37:22 +08:00
parent 96da56370a
commit ecc44b5dc6
2 changed files with 3 additions and 3 deletions
@@ -361,7 +361,7 @@
getAction(this.url.getLoginUserType, params).then((res) => {
if (res.success) {
this.getTableList(res.result[0].value)
this.$emit('LoginUserType', res.result)
this.$emit('LoginUserType', res.result,this.currentPersonRole)
}
})
},
@@ -790,13 +790,13 @@
}
return flag
},
LoginUserType(val) {
LoginUserType(val, currentPersonRole) {
this.RoleType = []
if (this.currentPersonRole == '') {
this.currentPersonRole = val.length >= 1 ? val[0].value : ''
}
this.RoleType = val
this.formInlineRoleSwitching.roleSwitchingCode = val[0].value
this.formInlineRoleSwitching.roleSwitchingCode = currentPersonRole || val[0].value
this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching }
},
// 表格所选中得行内容