From 3ae7e51bf01f00b1a514fd536962209bc4485904 Mon Sep 17 00:00:00 2001
From: HynoR <20227709+HynoR@users.noreply.github.com>
Date: Tue, 9 Dec 2025 11:29:55 +0800
Subject: [PATCH] feat: Implement process management and network data handling
- 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 82ebbb30ea87..f965fb385536 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 3d7b0f630d36..de09b3cc90f1 100644
--- a/frontend/src/views/host/process/process/index.vue
+++ b/frontend/src/views/host/process/process/index.vue
@@ -1,7 +1,7 @@