From 310a7690929accd8b28cd04688fd4571379db3e9 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Wed, 25 Jun 2025 09:21:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/table.vue | 8 +- frontend/src/views/home/components/test.vue | 60 +--- .../src/views/home/components/testPopup.vue | 256 +++++++++--------- 3 files changed, 127 insertions(+), 197 deletions(-) diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue index e5e88d9..619289b 100644 --- a/frontend/src/views/home/components/table.vue +++ b/frontend/src/views/home/components/table.vue @@ -97,10 +97,10 @@ - 系数校准 - + + + + diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue index cf52bea..3584098 100644 --- a/frontend/src/views/home/components/test.vue +++ b/frontend/src/views/home/components/test.vue @@ -12,64 +12,6 @@ style="width: 82%; margin-right: 3%;" :percentage="percentage" :color="customColors"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 检测项进度 @@ -335,7 +277,7 @@ const checkResultView: ComputedRef = computed(() watch(testStatus, function (newValue, oldValue) { if (newValue == 'start') { - if(!checkStore.selectTestItems.preTest && !checkStore.selectTestItems.channelsTest){ + if (!checkStore.selectTestItems.preTest && !checkStore.selectTestItems.channelsTest) { ElMessage.success('初始化开始!') emit('update:testStatus', 'test_init') testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:初始化开始!`}) diff --git a/frontend/src/views/home/components/testPopup.vue b/frontend/src/views/home/components/testPopup.vue index 8299877..a695ee5 100644 --- a/frontend/src/views/home/components/testPopup.vue +++ b/frontend/src/views/home/components/testPopup.vue @@ -4,8 +4,10 @@
- - + + @@ -15,33 +17,16 @@ :webMsgSend="webMsgSend"/> - + + @update:webMsgSend="webMsgSend=$event" @sendPause="sendPause" @sendResume="sendResume" @sendReCheck="sendReCheck" @closeWebSocket="closeWebSocket" + :stepsActive="stepsActive"/>