From ca85f1b36d12a4b82b326cc1d4c107304c3679f4 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Tue, 8 Oct 2024 17:02:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/check/checknum/checknum.html | 12 ++++++++++++ .../templates/system/checkReport/checkReport.html | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html b/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html index f881a1b..d3007b9 100644 --- a/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html +++ b/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html @@ -234,6 +234,18 @@ { field: 'checkStartTime', title: '检查开始时间', + formatter: function (value){ + let date = new Date(value); + return date.toISOString().split('T')[0]; + } + }, + { + field: 'checkEndTime', + title: '检查结束时间', + formatter: function (value){ + let date = new Date(value); + return date.toISOString().split('T')[0]; + } }, { field: 'createTime', diff --git a/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html b/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html index fc09c1e..c57f415 100644 --- a/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html +++ b/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html @@ -134,6 +134,18 @@ { field: 'checkStartTime', title: '检查开始时间', + formatter: function (value){ + let date = new Date(value); + return date.toISOString().split('T')[0]; + } + }, + { + field: 'checkEndTime', + title: '检查结束时间', + formatter: function (value){ + let date = new Date(value); + return date.toISOString().split('T')[0]; + } }, { field: 'createTime',