From 6c404c1c6bff614df919c880e643233a113e3837 Mon Sep 17 00:00:00 2001 From: qingjiao Date: Thu, 30 Apr 2026 10:55:57 +0800 Subject: [PATCH] V0.37 --- src/views/factorySetting/index.vue | 60 +++++++++++++++--------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/views/factorySetting/index.vue b/src/views/factorySetting/index.vue index 83a9d74..e384a9f 100644 --- a/src/views/factorySetting/index.vue +++ b/src/views/factorySetting/index.vue @@ -23,27 +23,27 @@ - - - - - - - - - - - - - - - - - - - - - +
+
{{ $t('table.NetworkPacketCapture') }}
+ + {{ $t('table.StartPacketCapture') }} + + + {{ $t('table.StopPacketCapture') }} + + + {{ $t('table.Download') }} + + + {{ $t('table.Delete') }} + + + {{ $t('table.CapturingPacket') }} + + + {{ $t('table.PacketCaptureHasBeenStopped') }} + +
@@ -138,6 +138,15 @@ export default { }) }, + getPacketInfo() { + getPacketCaptureInfo({}).then(res => { + const data = res.data + this.DataDB.status = data.status + this.DataDB.file = data.file + }).catch(() => { + + }) + }, StartPacketCapture(Flag) { if (Flag === 1) { startPacketCapture({}).then(res => { @@ -153,15 +162,6 @@ export default { }) } }, - getPacketInfo() { - getPacketCaptureInfo({}).then(res => { - const data = res.data - this.DataDB.status = data.status - this.DataDB.file = data.file - }).catch(() => { - - }) - }, DeletePacketCaptureRecords() { const data = { name: this.DataDB.file