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