Ver código fonte

fix: 系统月度使用情况统计重置方法修改

zhangying 10 meses atrás
pai
commit
ee62409eaa
1 arquivos alterados com 4 adições e 3 exclusões
  1. 4 3
      vue/src/views/statistics/MonthSystemApplyCount.vue

+ 4 - 3
vue/src/views/statistics/MonthSystemApplyCount.vue

@@ -210,9 +210,10 @@ function analysisByImageTable() {
   initLineImageTable(weekNameList, weekLineData, "weekCountImageTable", "全市就业驿站运行概括");
 }
 
-// 查询表单
+// 查询重置
 function onReset() {
-  searchParams.dateStr = dayjs(new Date().getDate()).format("YYYY-MM");
+  searchParams.dateStr = dayjs().format("YYYY-MM");
+  pickerDate.value = dayjs();
   loadData()
 }
 
@@ -276,7 +277,7 @@ function initTableData(result: any, resultKey: any, arr: any, arrNewKey: any) {
   })
 }
 
-function dataTypeChange(value: any) {
+function dataTypeChange() {
   if (dataType.value == 'table') {
     analysisByTable();
   }