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',