From b95cf940af8e01e4eca30b2599b029c2f645bd1e Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期一, 29 四月 2024 10:44:26 +0800 Subject: [PATCH] feat:创建新分支 --- src/views/dashboard/components/ProcessingInfo.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/dashboard/components/ProcessingInfo.vue b/src/views/dashboard/components/ProcessingInfo.vue index a466947..ff2172b 100644 --- a/src/views/dashboard/components/ProcessingInfo.vue +++ b/src/views/dashboard/components/ProcessingInfo.vue @@ -92,19 +92,18 @@ * 璁$畻瀹屾垚杩涘害, 浠诲姟鐘舵�佹湭鐢熶骇鍥哄畾涓� 0% 宸插畬鎴愬浐瀹氫负 100% 鐢熶骇涓垯浠巔lc鑾峰彇 */ const processingPercent = computed(() => { - if (task?.value?.Procedure?.Status === 1) { - return 0 - } + // if (task?.value?.Procedure?.Status === 1) { + // return 0 + // } if (task?.value?.Procedure?.Status === 3) { return 100 } + // if (task?.value?.Procedure?.Status === 2 || task?.value?.Procedure?.Status === 1) { + // return calculateProgress(plcStore.plcInfo as Statistics) + // } - if (task?.value?.Procedure?.Status === 2) { - return calculateProgress(plcStore.plcInfo as Statistics) - } - - return 0 + return calculateProgress(plcStore.plcInfo as Statistics) }) /** -- Gitblit v1.8.0