story#6735 报警--tab参数
This commit is contained in:
@ -87,10 +87,16 @@
|
|||||||
await this.getList()
|
await this.getList()
|
||||||
},
|
},
|
||||||
async getList() {
|
async getList() {
|
||||||
|
let handleStatus;
|
||||||
|
if( this.activeIndex == 2 ) {
|
||||||
|
handleStatus = 3
|
||||||
|
} else {
|
||||||
|
handleStatus = this.activeIndex
|
||||||
|
}
|
||||||
let res = await getAlarmList({
|
let res = await getAlarmList({
|
||||||
pageNum:this.pageNum,
|
pageNum:this.pageNum,
|
||||||
pageSize:this.pageSize,
|
pageSize:this.pageSize,
|
||||||
handStatus: this.activeIndex
|
handStatus: handleStatus
|
||||||
})
|
})
|
||||||
this.total = res.total
|
this.total = res.total
|
||||||
if(this.pageNum == 1){// 第一页直接赋值
|
if(this.pageNum == 1){// 第一页直接赋值
|
||||||
|
Reference in New Issue
Block a user