From d189050f3e07b54d428bb90333b04de605ab25a6 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 07 八月 2025 13:35:08 +0800 Subject: [PATCH] feat: 企业 --- src/views/DictionaryManage/DictionaryCategoryManage.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/views/DictionaryManage/DictionaryCategoryManage.vue b/src/views/DictionaryManage/DictionaryCategoryManage.vue index b110d7b..973e21b 100644 --- a/src/views/DictionaryManage/DictionaryCategoryManage.vue +++ b/src/views/DictionaryManage/DictionaryCategoryManage.vue @@ -62,6 +62,7 @@ operationBtnMap, }); +const { updateDictionaryCategorySelect } = useGetDictionaryCategorySelect(); const BaseState = { loading: true, }; @@ -121,7 +122,7 @@ } } -const { dialogProps, handleAdd, handleEdit, editForm } = useFormDialog({ +const { dialogProps, handleAdd, handleEdit, editForm, dialogState } = useFormDialog({ onConfirm: handleAddOrEdit, defaultFormParams: { id: '', @@ -146,7 +147,9 @@ let res = await dictionaryServices.saveDictionaryCategory(params); if (res) { Message.successMessage('鎿嶄綔鎴愬姛'); + updateDictionaryCategorySelect(); getList(paginationState.pageIndex); + dialogState.dialogVisible = false; } } catch (error) {} } -- Gitblit v1.9.1