This commit is contained in:
zhaomeijing
2022-06-27 12:02:21 +08:00
parent 8aa471abd8
commit bde0036f4e
@@ -488,6 +488,7 @@ export default {
handleOkRoleSwitching() {
this.visibleRoleSwitching = false
this.currentPersonRole = this.formInlineRoleSwitching.roleSwitchingCode
localStorage.setItem('currentPersonRole', JSON.stringify(this.formInlineRoleSwitching.roleSwitchingCode))
this.selectedRowKeysValue = []
},
roleSwitchingClick() {
@@ -772,7 +773,7 @@ export default {
this.currentPersonRole = val.length >= 1 ? val[0].value : ''
}
this.RoleType = val
this.formInlineRoleSwitching.roleSwitchingCode = this.currentPersonRole
this.formInlineRoleSwitching.roleSwitchingCode = JSON.parse(localStorage.getItem('currentPersonRole')) === null ? this.currentPersonRole : JSON.parse(localStorage.getItem('currentPersonRole'))
this.formInlineRoleSwitching = {...this.formInlineRoleSwitching}
},
// 表格所选中得行内容