From 6137ac18b7653665c5ff3afb789a485725257854 Mon Sep 17 00:00:00 2001
From: GYYM <704080176@qq.com>
Date: Fri, 22 Nov 2024 10:46:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/home/components/channelsTest.vue | 11 ++++++-----
.../views/home/components/dataCheckPopup.vue | 8 ++++----
.../src/views/home/components/reportPopup.vue | 17 ++++++++++-------
frontend/src/views/home/components/table.vue | 4 ++--
frontend/src/views/home/components/test.vue | 7 +++++--
.../src/views/home/components/testPopup.vue | 12 +++++++++++-
frontend/src/views/home/tabs/dashboard.vue | 6 ++++--
.../plan/planList/components/planPopup.vue | 6 +++++-
8 files changed, 47 insertions(+), 24 deletions(-)
diff --git a/frontend/src/views/home/components/channelsTest.vue b/frontend/src/views/home/components/channelsTest.vue
index 93659ad..b6da0d1 100644
--- a/frontend/src/views/home/components/channelsTest.vue
+++ b/frontend/src/views/home/components/channelsTest.vue
@@ -14,6 +14,7 @@
+
@@ -87,12 +88,12 @@ if(ts.value==='start')
ts.value = 'process'
let timer = setInterval(() => {
- if(activeIndex.value < activeTotalNum.value - 2)
+ if(activeIndex.value < activeTotalNum.value)
activeIndex.value++
- else if(activeIndex.value === activeTotalNum.value -2)
+ else if(activeIndex.value === activeTotalNum.value)
{
- activeIndex.value++
- activeIndex.value++
+ clearInterval(timer)
+ ts.value = 'success'
}
else
{
@@ -176,6 +177,6 @@ emit('update:testStatus',ts.value)
margin-bottom: 10px;
}
.right-content{
- min-height: 400px;
+ max-height: 400px;
}
diff --git a/frontend/src/views/home/components/dataCheckPopup.vue b/frontend/src/views/home/components/dataCheckPopup.vue
index eb5bbad..a5b82d2 100644
--- a/frontend/src/views/home/components/dataCheckPopup.vue
+++ b/frontend/src/views/home/components/dataCheckPopup.vue
@@ -1,5 +1,5 @@
-
+
@@ -49,13 +49,13 @@
class="ml-2"
inline-prompt
style="--el-switch-on-color: #003078; --el-switch-off-color: #5a79a9"
- active-text="仅显示不合格测试项"
- inactive-text="显示全部测试项"
+ active-text="不合格测试项"
+ inactive-text="全部测试项"
/>
-
+
-
-
+
+
-
+
@@ -17,13 +17,13 @@
-
-
+
+
-
+
@@ -132,8 +132,11 @@ const props = defineProps<{
}
.report-title{
+ margin-left: 15px;
+
/* display: flex; */
/* flex-direction: row;
+
margin-top: 10px; */
}
diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue
index e3c7d0e..e45eadc 100644
--- a/frontend/src/views/home/components/table.vue
+++ b/frontend/src/views/home/components/table.vue
@@ -90,10 +90,10 @@
link
:icon="View"
@click="openDrawer('查看', scope.row)"
- v-if="form.activeTabs === 3 && form.activeChildTabs === 0"
+ v-if="form.activeTabs === 3 && form.activeChildTabs === 1"
>查看
-