From b11d41acf7ba2449cac04982af7e4e58bc3080f1 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 15 十月 2022 14:03:16 +0800
Subject: [PATCH] 1.产能规划功能开发基本实现2.维修记录列表静态页面开发完成

---
 src/utils/global.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/utils/global.js b/src/utils/global.js
index dedc120..3c23e76 100644
--- a/src/utils/global.js
+++ b/src/utils/global.js
@@ -50,6 +50,13 @@
   // return `${y}-${m}-${d}  ${hh}:${mm}:${ss}   ${week}`
   return `${y}-${m}-${d}  ${hh}:${mm}:${ss}`
 }
+// 鏃堕棿澶勭悊鍑芥暟   杩斿洖 鏃跺垎
+export function handleDatetime3(value) {
+  const dt = new Date(value)
+  const hh = (dt.getHours() + '').padStart(2, '0')
+  const mm = (dt.getMinutes() + '').padStart(2, '0')
+  return `${hh}:${mm}`
+}
 
 // 鑾峰彇瑙勫垯鐢熸垚鐨勭紪鐮�
 export async function getNewEncodingRules(encode) {

--
Gitblit v1.9.3