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 }