diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 260a819ed..2d320950f 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -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} }, // 表格所选中得行内容