From bde0036f4e90d2eecf1ca24755fdaf559ffd85e0 Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Mon, 27 Jun 2022 12:02:21 +0800 Subject: [PATCH] [update] --- .../components/ParameterItemCollectionList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} }, // 表格所选中得行内容