修改禅道已知bug
This commit is contained in:
@@ -361,7 +361,7 @@
|
|||||||
getAction(this.url.getLoginUserType, params).then((res) => {
|
getAction(this.url.getLoginUserType, params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.getTableList(res.result[0].value)
|
this.getTableList(res.result[0].value)
|
||||||
this.$emit('LoginUserType', res.result)
|
this.$emit('LoginUserType', res.result,this.currentPersonRole)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -790,13 +790,13 @@
|
|||||||
}
|
}
|
||||||
return flag
|
return flag
|
||||||
},
|
},
|
||||||
LoginUserType(val) {
|
LoginUserType(val, currentPersonRole) {
|
||||||
this.RoleType = []
|
this.RoleType = []
|
||||||
if (this.currentPersonRole == '') {
|
if (this.currentPersonRole == '') {
|
||||||
this.currentPersonRole = val.length >= 1 ? val[0].value : ''
|
this.currentPersonRole = val.length >= 1 ? val[0].value : ''
|
||||||
}
|
}
|
||||||
this.RoleType = val
|
this.RoleType = val
|
||||||
this.formInlineRoleSwitching.roleSwitchingCode = val[0].value
|
this.formInlineRoleSwitching.roleSwitchingCode = currentPersonRole || val[0].value
|
||||||
this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching }
|
this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching }
|
||||||
},
|
},
|
||||||
// 表格所选中得行内容
|
// 表格所选中得行内容
|
||||||
|
|||||||
Reference in New Issue
Block a user