From f8c0e9b318d946439e9bd1584eae1fa932af6d96 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 17 十一月 2023 16:32:38 +0800
Subject: [PATCH] 未生产中的完成进度显示0 因为plc 有数据 修改为可以显示数据

---
 src/views/dashboard/components/TaskInfo.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/dashboard/components/TaskInfo.vue b/src/views/dashboard/components/TaskInfo.vue
index d0ba6e1..969ba26 100644
--- a/src/views/dashboard/components/TaskInfo.vue
+++ b/src/views/dashboard/components/TaskInfo.vue
@@ -41,7 +41,7 @@
 
 const planTimeText = computed(() => {
   const format = (date: number) => {
-    return useDateFormat(date, 'YYYY-MM-DD', { locales: 'zh-cn' })
+    return useDateFormat(date, 'YYYY-MM-DD HH:mm:ss', { locales: 'zh-cn' })
   }
 
   const startTime = task.value.Procedure?.startTime

--
Gitblit v1.8.0