From 38ab0d9ca079887142224305dfb70b8d370401f9 Mon Sep 17 00:00:00 2001
From: KOMATA <20227709+HynoR@users.noreply.github.com>
Date: Tue, 9 Dec 2025 17:31:23 +0800
Subject: [PATCH] feat: Implement process management and network data handling
(#11270)
- Introduced ProcessStore for managing process and network data via WebSocket.
- Enhanced TableSearch component to synchronize search parameters with props.
- Updated network and process views to utilize ProcessStore for data fetching and state management.
- Improved data filtering and sorting in network and process views.
- Added WebSocket connection management with polling for real-time updates.
---
.../src/components/table-search/index.vue | 16 +-
frontend/src/store/index.ts | 3 +-
frontend/src/store/modules/process.ts | 320 ++++++++++++++++++
.../src/views/host/process/network/index.vue | 150 ++++----
.../src/views/host/process/process/index.vue | 126 ++-----
5 files changed, 441 insertions(+), 174 deletions(-)
create mode 100644 frontend/src/store/modules/process.ts
diff --git a/frontend/src/components/table-search/index.vue b/frontend/src/components/table-search/index.vue
index 82ebbb30e..f965fb385 100644
--- a/frontend/src/components/table-search/index.vue
+++ b/frontend/src/components/table-search/index.vue
@@ -15,7 +15,7 @@
diff --git a/frontend/src/views/host/process/process/index.vue b/frontend/src/views/host/process/process/index.vue
index 3d7b0f630..de09b3cc9 100644
--- a/frontend/src/views/host/process/process/index.vue
+++ b/frontend/src/views/host/process/process/index.vue
@@ -1,7 +1,7 @@