This commit is contained in:
yanran200730
2023-02-20 17:09:23 +08:00
parent 9493853fe4
commit 8a7e27b58f

View File

@@ -233,7 +233,6 @@
methods: {
onChange () {
console.log(22)
this.getStatisticsKeyData()
this.getStatisticsHot()
this.getStatisticsUse()
@@ -243,8 +242,8 @@
this.instance.post(`/app/appexaminationinfo/statisticsKeyData`, null, {
params: {
...this.search1,
beginDate: this.search1.date[0],
endDate: this.search1.date[1],
beginDate: this.search1.date ? this.search1.date[0] : '',
endDate: this.search1.date ? this.search1.date[1] : '',
areaId: this.areaId
}
}).then(res => {
@@ -258,8 +257,8 @@
this.instance.post(`/app/appwechatuserqujing/statisticsUse`, null, {
params: {
...this.search4,
beginDate: this.search4.date[0],
endDate: this.search4.date[1],
beginDate: this.search4.date ? this.search4.date[0] : '',
endDate: this.search4.date ? this.search4.date[1] : '',
areaId: this.areaId
}
}).then(res => {
@@ -276,8 +275,8 @@
size: 20,
areaId: this.areaId,
type: this.type,
beginDate: this.search2.date[0],
endDate: this.search2.date[1]
beginDate: this.search2.date ? this.search2.date[0] : '',
endDate: this.search2.date ? this.search2.date[1] : '',
}
}).then(res => {
if (res.code == 0) {