报警详情跳转页面方式修改和列表刷新

This commit is contained in:
xusd 2024-06-04 11:19:13 +08:00
parent 31cc5b8fd0
commit 5c9ab34234
2 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,7 @@
}
updateRecord(data).then(() => {
this.$refs.showMsg.success('处理成功');
this.$tab.navigateTo("/pages/work/alarm/listAlarm?flag=1");
this.$tab.redirectTo("/pages/work/alarm/listAlarm?flag=1");
})
},
}

View File

@ -90,6 +90,10 @@
this.tipText = "已加载完成";
}
},
onShow() {
this.alarmList = [];
this.getAlarmList();
},
onLoad(opts) {
this.flag = opts.flag;
},