From d4b322a4523574749d8d06887e58bbe85222cb89 Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Wed, 3 Jan 2024 10:58:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BF=E5=AD=94=E6=9C=BA=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96=E6=95=B0=E6=8D=AE=E5=80=BC=E4=B8=BA=E6=97=B6=E5=88=86?= =?UTF-8?q?=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operationtimedata108/hrPuncherdata108.data.ts | 7 +++++++ .../hrpuncherdata108/operationtimedata108/index.vue | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/views/pszc/hrpuncherdata108/operationtimedata108/hrPuncherdata108.data.ts b/src/views/pszc/hrpuncherdata108/operationtimedata108/hrPuncherdata108.data.ts index a744248..64fb646 100644 --- a/src/views/pszc/hrpuncherdata108/operationtimedata108/hrPuncherdata108.data.ts +++ b/src/views/pszc/hrpuncherdata108/operationtimedata108/hrPuncherdata108.data.ts @@ -46,6 +46,13 @@ export const HrPuncherdata108 = useCrudSchemas(reactive([ field: 'ivalue', sort: 'custom', isSearch: false, + // formatter: (row,column, cellValue) => { + // const hourTime = parseInt(time.slice(0,2)); + // const minuteTime = parseInt(time.slice(3,5)); + // const secondTime = parseInt(time.slice(6,8)); + // return hourTime*3600+minuteTime*60+secondTime; + + // }, }, { label: '仪表的编号', diff --git a/src/views/pszc/hrpuncherdata108/operationtimedata108/index.vue b/src/views/pszc/hrpuncherdata108/operationtimedata108/index.vue index e180c75..1d5366f 100644 --- a/src/views/pszc/hrpuncherdata108/operationtimedata108/index.vue +++ b/src/views/pszc/hrpuncherdata108/operationtimedata108/index.vue @@ -29,10 +29,14 @@ > + +