|
|
|
@ -82,25 +82,7 @@ |
|
|
|
|
currentTab: 0, //sweiper所在页 |
|
|
|
|
|
|
|
|
|
pages: [1, 1, 1, 1, 1, 1, 1, 1], //第几个swiper的第几页 |
|
|
|
|
list: [ |
|
|
|
|
// [ |
|
|
|
|
// { |
|
|
|
|
// "id": 62, |
|
|
|
|
// "reportTime": "2023-04-17 16:39:55", |
|
|
|
|
// "title": "咨询演练", |
|
|
|
|
// "waringName": "咨询", |
|
|
|
|
// "statusName": "待接警", |
|
|
|
|
// "status": "1" |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// "id": 63, |
|
|
|
|
// "reportTime": "2023-04-17 16:49:29", |
|
|
|
|
// "title": "咨询演练", |
|
|
|
|
// "waringName": "咨询", |
|
|
|
|
// "statusName": "待接警", |
|
|
|
|
// "status": "1" |
|
|
|
|
// } |
|
|
|
|
// ],[],[],[],[],[],[],[], |
|
|
|
|
list: [ |
|
|
|
|
], //数据格式 |
|
|
|
|
baseUrls: '', |
|
|
|
|
pageBottoms: [] |
|
|
|
@ -230,15 +212,13 @@ |
|
|
|
|
} |
|
|
|
|
getEventReportData(data).then(res => { |
|
|
|
|
if (res.code === 200) { |
|
|
|
|
console.log(res.rows) |
|
|
|
|
res.rows.forEach(item => { |
|
|
|
|
this.list[this.currentTab].push(item) |
|
|
|
|
}) |
|
|
|
|
console.log(this.list[this.currentTab]) |
|
|
|
|
if (res.total == this.list[this.currentTab].length) { |
|
|
|
|
this.pageBottoms[this.currentTab] = true |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.$forceUpdate() |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|