From dda73772cb66b0b40794502b49f4fe334f137936 Mon Sep 17 00:00:00 2001
From: ywh <136o9815044@qq.com>
Date: Tue, 20 Aug 2024 09:23:17 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B8=90=E5=88=86=E5=BF=AB=E7=85=A7=E6=A0=BC?=
=?UTF-8?q?=E5=BC=8F=E8=AF=9D=E5=BF=AB=E7=85=A7=E6=97=B6=E9=97=B4=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/src/views/statistics/integral/index.vue | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/statistics/integral/index.vue b/ruoyi-ui/src/views/statistics/integral/index.vue
index 76c3c9d..ec95ea1 100644
--- a/ruoyi-ui/src/views/statistics/integral/index.vue
+++ b/ruoyi-ui/src/views/statistics/integral/index.vue
@@ -39,8 +39,8 @@
-
-
+
+
@@ -136,6 +136,12 @@ export default {
const day = date.getDate().toString().padStart(2, '0');
return `${year}-${month}-${day}`;
},
+ dateFormat(row, column, cellValue, index) {
+ // 使用date-fns或moment.js等库来格式化日期
+ // 这里仅使用JavaScript原生Date对象作为示例
+ const date = new Date(cellValue);
+ return date.getFullYear() + '-' + (date.getMonth() + 1).toString().padStart(2, '0') + '-' + date.getDate().toString().padStart(2, '0');
+ },
/** 查询店铺单日历史信息列表 */
getList() {
this.loading = true;