From 344d130f65a020c58e99a64d87040c0d2e74f18e Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 十一月 2023 10:24:42 +0800
Subject: [PATCH] 修改 工艺列表给详情传递数据的数据类型和标红处理

---
 src/views/dashboard/components/ProcessInfo.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/dashboard/components/ProcessInfo.vue b/src/views/dashboard/components/ProcessInfo.vue
index 859f890..9c74f97 100644
--- a/src/views/dashboard/components/ProcessInfo.vue
+++ b/src/views/dashboard/components/ProcessInfo.vue
@@ -29,7 +29,7 @@
 import type { Task } from '@/api/task'
 const props = defineProps<{
   craftModel: CraftModel
-  activeArr: Array
+  activeArr: string[]
   task?: Task
 }>()
 const { craftModel, task, activeArr } = toRefs(props)
@@ -73,9 +73,9 @@
   font-weight: 600;
 }
 .process-info {
-  width: calc(50% - 35px);
+  width: calc(50% - 10px);
   height: 140px;
-  padding: 23px 10px 10px;
+  padding: 23px 5px 10px 10px;
   background: $status-done;
   border-radius: 8px;
   //float: left;
@@ -85,7 +85,7 @@
   margin-bottom: 30px;
 
   &:nth-of-type(odd) {
-    margin-right: 30px;
+    margin-right: 20px;
   }
 
   .item-l-bng {
@@ -146,7 +146,7 @@
   .btn {
     width: 100px;
     position: absolute;
-    right: 10px;
+    right: 5px;
     bottom: 10px;
     .el-button--primary {
       background: $status-running;

--
Gitblit v1.8.0