This commit is contained in:
joylink_zhaoerwei 2023-10-31 11:23:44 +08:00
parent bb10c84c91
commit 9d56dfd106
2 changed files with 4 additions and 4 deletions

View File

@ -69,9 +69,7 @@ export interface Item {
export async function alarmInfoListQuery(
params: PagingQueryParams
): Promise<PageDto<Item>> {
const response = await api.post('/api/alertRecord/page/detail', {
params: params,
});
const response = await api.post('/api/alertRecord/page/detail', params);
return response.data;
}

View File

@ -356,7 +356,9 @@ function batchHandle() {
cancel: true,
}).onOk(async () => {
try {
await recordFailAlarmInfoById(params);
await recordFailAlarmInfoById(params).then(() => {
tableRef.value.requestServerInteraction();
});
} catch (err) {
errorNotify('一键误报失败:', err);
}