diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue index d1f64e121a..f63cb21114 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue @@ -1563,6 +1563,10 @@ } } ); + + defineExpose({ + emitTableParams, + }); await getDefaultFields(); diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue index 27031df977..ca5063354a 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue @@ -113,7 +113,7 @@ modulesCount?: Record; // 模块数量统计对象 }>(); - const emits = defineEmits(['update:selectedKeys', 'caseNodeSelect', 'init']); + const emits = defineEmits(['update:selectedKeys', 'caseNodeSelect', 'init', 'dragUpdate']); const currentProjectId = computed(() => appStore.currentProjectId); @@ -273,7 +273,8 @@ console.log(error); } finally { loading.value = false; - initModules(); + // initModules(); + emits('dragUpdate'); } } diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/thirdDemandDrawer.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/thirdDemandDrawer.vue index ad2d11c264..108905b6db 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/thirdDemandDrawer.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/thirdDemandDrawer.vue @@ -228,11 +228,20 @@ } } - watchEffect(() => { - if (props.platformInfo.demand_platform_config) { - initColumn(); + watch( + () => props.platformInfo.demand_platform_config, + (val) => { + if (val) { + initColumn(); + } } - }); + ); + + // watchEffect(() => { + // if (props.platformInfo.demand_platform_config) { + + // } + // }); watch( () => innerLinkDemandVisible.value, diff --git a/frontend/src/views/case-management/caseManagementFeature/index.vue b/frontend/src/views/case-management/caseManagementFeature/index.vue index f6e06612a1..72c414cb4b 100644 --- a/frontend/src/views/case-management/caseManagementFeature/index.vue +++ b/frontend/src/views/case-management/caseManagementFeature/index.vue @@ -66,6 +66,7 @@ :modules-count="modulesCount" @case-node-select="caseNodeSelect" @init="setRootModules" + @drag-update="dragUpdate" >
@@ -83,6 +84,7 @@