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