From 62ecc7d5306d40eb301b59d8ff7a940e23f7e5e4 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 27 九月 2024 10:53:12 +0800
Subject: [PATCH] ll

---
 admin/src/views/statistics/platformRecord.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/admin/src/views/statistics/platformRecord.vue b/admin/src/views/statistics/platformRecord.vue
index 9a2a51b..1d71124 100644
--- a/admin/src/views/statistics/platformRecord.vue
+++ b/admin/src/views/statistics/platformRecord.vue
@@ -24,6 +24,9 @@
 <script>
 import Pagination from '@/components/common/Pagination'
 import QueryForm from '@/components/common/QueryForm'
+import dayjs from 'dayjs'
+import duration from 'dayjs/plugin/duration'
+dayjs.extend(duration);
 import { platformJobPage, getPlatformGroupList } from '@/api'
 export default {
   components: {
@@ -52,6 +55,7 @@
             filed: 'platformGroupId',
             type: 'select',
             label: '鏈堝彴缁�',
+            placeholder: '鍏ㄩ儴鏈堝彴缁�',
             options: []
           },
           {
@@ -89,6 +93,7 @@
             label: i.name
           }
         })
+        // this.queryFormConfig.formItems[1].options.unshift({ value: '', label: '鍏ㄩ儴鏈堝彴缁�' })
       })
     },
     getList(page) {
@@ -109,6 +114,7 @@
         this.list.forEach(item => {
           item.inTypeTemp = item.inType == 0 ? '鏁存墭鐩�' : '浠剁儫'
           item.taskOrigin = 'WMS鑾峰彇'
+          item.workTime = dayjs.duration(item.workTime, 'seconds').format('H鏃秏鍒唖绉�');
         })
         this.pagination.total = res.total || 0
       }, () => {

--
Gitblit v1.9.3