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( export async function alarmInfoListQuery(
params: PagingQueryParams params: PagingQueryParams
): Promise<PageDto<Item>> { ): Promise<PageDto<Item>> {
const response = await api.post('/api/alertRecord/page/detail', { const response = await api.post('/api/alertRecord/page/detail', params);
params: params,
});
return response.data; return response.data;
} }

View File

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