From 290cac1af23c2fff8a1d8660f5b11a50609a1381 Mon Sep 17 00:00:00 2001
From: maochaoying <925670706@qq.com>
Date: Fri, 28 Jul 2023 19:03:24 +0800
Subject: [PATCH] continue
---
src/pages/index.vue | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 87bf915..e5412cc 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -327,9 +327,10 @@
-
- 核查进度({{ hasTestedLength }} / {{ testArrLength }})
-
+
+
核查进度({{ hasTestedLength }} / {{ testArrLength }})
+
继续操作
+
@@ -458,6 +459,15 @@ const clickLogo = () => {
// taskStore.updateType(0)
// getInitData()
}
+const continueWork = () => {
+ // 重置图片
+ imageStore.reset()
+ taskStore.updateCurrentDetailTaskId(null)
+ accountStore.changePage(0)
+ // 需要将进行中的数据渲染
+ taskStore.updateType(0)
+ getInitData()
+}
const getInitData = async () => {
// 需要得到当前list中进行中的任务数据 从而防止刷新后页面消失
@@ -905,6 +915,8 @@ initWebSocket()
font-weight: 500;
letter-spacing: 0.07em;
color: #3d3d3d;
+ display: flex;
+ align-items: center;
}
}
.history_btn {
@@ -944,18 +956,21 @@ initWebSocket()
align-items: center;
justify-content: space-between;
.progress_btn {
- padding: 25px 24px 18px 24px;
+ padding: 25px 24px 18px 0;
box-sizing: border-box;
border-radius: 6px;
background: #ffffff;
margin-left: 30px;
- width: 311.41px;
+ width: 411.41px;
.title {
margin-bottom: 33px;
font-size: 22px;
font-weight: 500;
letter-spacing: 0.07em;
color: #3d3d3d;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
}
}
.table_wrap {