告警--历史图片

master
13703816893 2 years ago
parent 4cc515973e
commit a55afa59ca

@ -22,15 +22,17 @@ export default {
page: 1, // page: 1, //
pageSize: 10, // pageSize: 10, //
total: 0, // total: 0, //
selectnr:'',//
}; };
}, },
mounted() {}, mounted() {},
methods: { methods: {
// //
getdataform(val) { getdataform(val) {
this.selectnr = val
getHistoryList({ getHistoryList({
channelId: val.channelId, channelId: this.selectnr.channelId,
termId: val.termId, termId: this.selectnr.termId,
pageindex: this.page, pageindex: this.page,
pagesize: this.pageSize pagesize: this.pageSize
}) })
@ -42,7 +44,19 @@ export default {
// //
changebtn(e){ changebtn(e){
console.log(e) console.log(e)
if (Math.floor(e / 9) == 1) {
this.page++
getHistoryList({
channelId: this.selectnr.channelId,
termId: this.selectnr.termId,
pageindex: this.page,
pagesize: this.pageSize
})
.then((res) => {
this.imglist.push(res.data.list)
this.total = res.data.total;
})
}
}, },
display() { display() {
this.isShow = true; this.isShow = true;

Loading…
Cancel
Save