From b0f14528e49fcfb6d486bf1e920f0457cbac6049 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期六, 18 十一月 2023 14:32:43 +0800
Subject: [PATCH] 没有任务的时候如果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