增加默认查询时间
This commit is contained in:
parent
8c7b7199ac
commit
99b23755ff
|
|
@ -159,11 +159,11 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
let start = new Date()
|
let start = new Date()
|
||||||
start.setMonth(start.getMonth() - 2)
|
start.setMonth(start.getMonth() - 2)
|
||||||
this.dateRange = [this.format(start), this.format(end)]
|
this.dateRange = [this.format(start), this.format(end)]
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
format(date) {
|
format(date) {
|
||||||
|
|
|
||||||
|
|
@ -372,11 +372,11 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
let start = new Date()
|
let start = new Date()
|
||||||
start.setMonth(start.getMonth() - 2)
|
start.setMonth(start.getMonth() - 2)
|
||||||
this.dateRange = [this.format(start), this.format(end)]
|
this.dateRange = [this.format(start), this.format(end)]
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
format(date) {
|
format(date) {
|
||||||
|
|
|
||||||
|
|
@ -163,11 +163,11 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
let start = new Date()
|
let start = new Date()
|
||||||
start.setMonth(start.getMonth() - 2)
|
start.setMonth(start.getMonth() - 2)
|
||||||
this.dateRange = [this.format(start), this.format(end)]
|
this.dateRange = [this.format(start), this.format(end)]
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
format(date) {
|
format(date) {
|
||||||
|
|
|
||||||
|
|
@ -163,11 +163,11 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
let start = new Date()
|
let start = new Date()
|
||||||
start.setMonth(start.getMonth() - 2)
|
start.setMonth(start.getMonth() - 2)
|
||||||
this.dateRange = [this.format(start), this.format(end)]
|
this.dateRange = [this.format(start), this.format(end)]
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
format(date) {
|
format(date) {
|
||||||
|
|
|
||||||
|
|
@ -180,11 +180,11 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList()
|
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
let start = new Date()
|
let start = new Date()
|
||||||
start.setMonth(start.getMonth() - 2)
|
start.setMonth(start.getMonth() - 2)
|
||||||
this.dateRange = [this.format(start), this.format(end)]
|
this.dateRange = [this.format(start), this.format(end)]
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
format(date) {
|
format(date) {
|
||||||
|
|
|
||||||
|
|
@ -159,11 +159,11 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList()
|
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
let start = new Date()
|
let start = new Date()
|
||||||
start.setMonth(start.getMonth() - 2)
|
start.setMonth(start.getMonth() - 2)
|
||||||
this.dateRange = [this.format(start), this.format(end)]
|
this.dateRange = [this.format(start), this.format(end)]
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
format(date) {
|
format(date) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue