From 4c9fe192f25fe34d84bea92e7f43db2da909195f Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Thu, 22 Aug 2024 10:19:23 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8E=86=E5=8F=B2=E6=8A=93=E5=8C=85?=
=?UTF-8?q?=E6=96=87=E4=BB=B6=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/i18n/locales/en-US.ts | 5 +-
src/i18n/locales/zh-CN.ts | 5 +-
src/views/traceManage/pcap/file.vue | 404 +++++++++++++++++++++++++++
src/views/traceManage/pcap/index.vue | 40 ++-
4 files changed, 448 insertions(+), 6 deletions(-)
create mode 100644 src/views/traceManage/pcap/file.vue
diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts
index 258b565d..90599a57 100644
--- a/src/i18n/locales/en-US.ts
+++ b/src/i18n/locales/en-US.ts
@@ -1088,13 +1088,16 @@ export default {
cmd: 'Command',
execCmd: "Common Command Options",
execCmd2: "Filter Protocol Port Command",
- execCmd3: "File Split By Time, Number Of Retained File (-G 10 -W 7)",
+ execCmd3: "File Split By Time units of seconds (-G 10), Generated Max File Number (-W 7)",
execUPFCmdA: 'Standard Edition - UPF with other NE anomalous packet capture analysis',
execUPFCmdB: 'Standard Edition - UPF anomalies requiring packet capture analysis',
batchOper: 'Batch Operations',
batchStartText: 'Batch Start',
batchStopText: 'Batch Stop',
batchDownText: 'Batch Download',
+ fileView: 'Historical Packet Capture Files',
+ fileUPF: 'Standard Edition',
+ fileUPFTip: 'UPF internal packet capture and analysis packet',
textStart: "Start",
textStop: "Stop",
textLog: "Log",
diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts
index 92996b74..6e365396 100644
--- a/src/i18n/locales/zh-CN.ts
+++ b/src/i18n/locales/zh-CN.ts
@@ -1088,13 +1088,16 @@ export default {
cmd: '命令',
execCmd: "通用命令选项",
execCmd2: "过滤协议端口命令",
- execCmd3: "按时间分割的文件,保留的文件数量 (-G 10 -W 7)",
+ execCmd3: "分割文件按时间单位秒 (-G 10 ),最多生成文件数量 (-W 7)",
execUPFCmdA: '标准版-UPF配合其他网元异常抓包分析',
execUPFCmdB: '标准版-UPF异常需要抓包分析',
batchOper: '批量操作',
batchStartText: '批量开始',
batchStopText: '批量停止',
batchDownText: '批量下载',
+ fileView: '历史抓包文件',
+ fileUPF: '标准版',
+ fileUPFTip: 'UPF内部抓包分析包',
textStart: "开始",
textStop: "停止",
textLog: "日志",
diff --git a/src/views/traceManage/pcap/file.vue b/src/views/traceManage/pcap/file.vue
new file mode 100644
index 00000000..02e25a82
--- /dev/null
+++ b/src/views/traceManage/pcap/file.vue
@@ -0,0 +1,404 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('common.close') }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ path }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('views.traceManage.pcap.fileUPFTip') }}
+
+
+ {{ t('views.traceManage.pcap.fileUPF') }}
+
+
+
+ {{ t('common.reloadText') }}
+
+
+
+
+
+
+
+
+ (col.width = w)"
+ >
+
+
+
+
+
+ {{ t('common.downloadText') }}
+
+
+
+ {{ t('views.logManage.neFile.dirCd') }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/traceManage/pcap/index.vue b/src/views/traceManage/pcap/index.vue
index 05619e91..4a13d09d 100644
--- a/src/views/traceManage/pcap/index.vue
+++ b/src/views/traceManage/pcap/index.vue
@@ -1,5 +1,6 @@