From 6ac19b825edfcbeaaf3ddc97660b61a4116f80c8 Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Mon, 13 Jan 2025 14:29:32 +0800
Subject: [PATCH] sc
---
src/views/Home/CloseRate.vue | 2 +-
src/views/Home/Index.vue | 8 +++++++-
src/views/Home/SalesReport.vue | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/views/Home/CloseRate.vue b/src/views/Home/CloseRate.vue
index f03d6c6..6eb4e1c 100644
--- a/src/views/Home/CloseRate.vue
+++ b/src/views/Home/CloseRate.vue
@@ -25,7 +25,7 @@
-
+
diff --git a/src/views/Home/SalesReport.vue b/src/views/Home/SalesReport.vue
index b5a2870..e14c264 100644
--- a/src/views/Home/SalesReport.vue
+++ b/src/views/Home/SalesReport.vue
@@ -174,10 +174,10 @@ const searchForm = ref({})
function handleReset() {
const year = new Date().getFullYear()
- const month = new Date().getMonth() + 1
+ const month = new Date().getMonth() + 1 + ''
searchForm.value = {
nickname: undefined,
- consultTime: [`${year}-${month}-01`, formatDate(new Date())],
+ consultTime: [`${year}-${month.padStart(2, '0')}-01`, formatDate(new Date())],
licenseTypeList: [],
sourceId: undefined
}