From 43c9b669d810a3fa43b06f9ffd1b53c09bab45ec Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Sun, 09 Oct 2022 09:05:09 +0800
Subject: [PATCH] 取消默认时间查询
---
src/views/taskinfo/taskinfo.vue | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/views/taskinfo/taskinfo.vue b/src/views/taskinfo/taskinfo.vue
index b2b2869..47fdf65 100644
--- a/src/views/taskinfo/taskinfo.vue
+++ b/src/views/taskinfo/taskinfo.vue
@@ -75,12 +75,13 @@
};
},
created() {
- const date = new Date()
- const year = date.getFullYear()
- const month = date.getMonth() + 1
- const strDate = date.getDate()
- this.query.startTime = `${year}-${month}-${strDate} 00:00:00`
- this.query.endTime = `${year}-${month}-${strDate} 23:59:59`
+ // 默认时间查询
+ // const date = new Date()
+ // const year = date.getFullYear()
+ // const month = date.getMonth() + 1
+ // const strDate = date.getDate()
+ // this.query.startTime = `${year}-${month}-${strDate} 00:00:00`
+ // this.query.endTime = `${year}-${month}-${strDate} 23:59:59`
},
computed: {
...mapGetters(["permission"]),
--
Gitblit v1.9.3