diff --git a/src/views/vehicle-maintenance/vehicle-alarm-list.vue b/src/views/vehicle-maintenance/vehicle-alarm-list.vue index 206f5b64..01ee380b 100644 --- a/src/views/vehicle-maintenance/vehicle-alarm-list.vue +++ b/src/views/vehicle-maintenance/vehicle-alarm-list.vue @@ -87,10 +87,16 @@ await this.getList() }, async getList() { + let handleStatus; + if( this.activeIndex == 2 ) { + handleStatus = 3 + } else { + handleStatus = this.activeIndex + } let res = await getAlarmList({ pageNum:this.pageNum, pageSize:this.pageSize, - handStatus: this.activeIndex + handStatus: handleStatus }) this.total = res.total if(this.pageNum == 1){// 第一页直接赋值