diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue index c6e812b156..3e1f7faab4 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue @@ -1602,6 +1602,7 @@ defineExpose({ emitTableParams, + initData, }); await getDefaultFields(); diff --git a/frontend/src/views/case-management/caseManagementFeature/index.vue b/frontend/src/views/case-management/caseManagementFeature/index.vue index 9ba2ab9038..aab8e07bea 100644 --- a/frontend/src/views/case-management/caseManagementFeature/index.vue +++ b/frontend/src/views/case-management/caseManagementFeature/index.vue @@ -365,7 +365,7 @@ validateResultModal.value = false; caseTreeRef.value.initModules(); } - + const caseTableRef = ref(); const importLoading = ref(false); // 确定导入 async function conFirmImport() { @@ -380,7 +380,7 @@ Message.success(t('caseManagement.featureCase.importSuccess')); validateResultModal.value = false; showExcelModal.value = false; - caseTreeRef.value.initModules(); + caseTableRef.value.initData(); } catch (error) { console.log(error); } finally { @@ -388,8 +388,6 @@ } } - const caseTableRef = ref(); - function dragUpdate() { caseTableRef.value.emitTableParams(); }