微调
This commit is contained in:
parent
bb10c84c91
commit
9d56dfd106
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user