diff --git a/src/views/alarmHandling/components/historyimg.vue b/src/views/alarmHandling/components/historyimg.vue index c78fae8..4d26fbf 100644 --- a/src/views/alarmHandling/components/historyimg.vue +++ b/src/views/alarmHandling/components/historyimg.vue @@ -5,8 +5,14 @@ :close-on-click-modal="false" width="80%" > - - + + @@ -18,7 +24,7 @@ export default { data() { return { isShow: false, - imglist:[], + imglist: [], page: 1, // 当前页数 pageSize: 10, // 每页数量 total: 0, //总条数 @@ -32,17 +38,15 @@ export default { channelId: val.channelId, termId: val.termId, pageindex: this.page, - pagesize: this.pageSize - }) - .then((res) => { - this.imglist = res.data.list; - this.total = res.data.total; - }) + pagesize: this.pageSize, + }).then((res) => { + this.imglist = res.data.list; + this.total = res.data.total; + }); }, //下一页 - changebtn(e){ - console.log(e) - + changebtn(e) { + console.log(e); }, display() { this.isShow = true; @@ -54,8 +58,7 @@ export default { };