谐波溯源删除,新增,左侧表格联动

This commit is contained in:
stt
2025-10-27 13:19:27 +08:00
parent 791893ca38
commit 920fecc9a7
4 changed files with 22 additions and 2 deletions

View File

@@ -611,7 +611,11 @@ const handleChartClick = (params: any) => {
};
// 定义 emit
const emit = defineEmits(["flag-changed", "expand-detail"]);
const emit = defineEmits([
"flag-changed",
"expand-detail",
"refresh-security-detail",
]);
watch(flag, (newVal) => {
// 向父组件发送 flag 变化事件
@@ -950,6 +954,8 @@ const initialResponsibilityList = () => {
}
loading.value = false;
}
// 通知父组件刷新 manage/securityDetail.vue 中的数据
emit("refresh-security-detail");
})
.catch((error) => {
traceabilityTableData.value = [];