From f143c5e2d96fcdc52064f5511e1dbea581bd5a0d Mon Sep 17 00:00:00 2001 From: zwq Date: Thu, 16 Jan 2025 08:34:17 +0800 Subject: [PATCH] . --- src/router/index.js | 2 +- src/views/group/base/groupWorkLog/index.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 509a429c..4e58e365 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -76,7 +76,7 @@ export const constantRoutes = [ children: [ { path: "index", - component: (resolve) => require(["@/views/cost/raw/costMaterial/index"], resolve), + component: (resolve) => require(["@/views/core/base/factory/index"], resolve), name: "首页", meta: { title: "首页", icon: "dashboard", affix: true }, hidden: true diff --git a/src/views/group/base/groupWorkLog/index.vue b/src/views/group/base/groupWorkLog/index.vue index e51e1751..37fa6b2e 100644 --- a/src/views/group/base/groupWorkLog/index.vue +++ b/src/views/group/base/groupWorkLog/index.vue @@ -43,8 +43,7 @@ const tableProps = [ { prop: 'startDay', label: '上班日期', - filter: parseTime, - minWidth: 160, + filter: (val) => (val ? parseTime(val, '{y}-{m}-{d}') : '-'), }, { prop: 'startTime',