Эх сурвалжийг харах

搜索框重置时间改为最新月份

wangqian 6 өдөр өмнө
parent
commit
044d1081e6

+ 1 - 1
wxjy-wxjy-web/index.html

@@ -5,7 +5,7 @@
     <link rel="icon" href="/favicon.ico">
     <link rel="icon" href="/favicon.ico">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <script type="module" src="/config.js"></script>
     <script type="module" src="/config.js"></script>
-    <title>wxjy-zhsj-web</title>
+    <title>wxjy-wxjy-web</title>
   </head>
   </head>
   <body>
   <body>
     <div id="app"></div>
     <div id="app"></div>

+ 1 - 1
wxjy-wxjy-web/package.json

@@ -1,5 +1,5 @@
 {
 {
-  "name": "wxjy-zhsj-web",
+  "name": "wxjy-wxjy-web",
   "version": "2024.0.0-SNAPSHOT",
   "version": "2024.0.0-SNAPSHOT",
   "private": true,
   "private": true,
   "type": "module",
   "type": "module",

+ 1 - 0
wxjy-wxjy-web/src/views/statReport/CustomMStatF.vue

@@ -252,6 +252,7 @@ const onSearch = () => {
 // 重置方法
 // 重置方法
 const onReset = () => {
 const onReset = () => {
   queryFormRef.value?.resetFields()
   queryFormRef.value?.resetFields()
+  state.queryData.beginDate = dayjs().startOf('month').format('YYYY-MM');
   onPageChange(1)
   onPageChange(1)
 }
 }