视频告警页面
This commit is contained in:
@@ -1,18 +1,30 @@
|
||||
import type { AlarmEventAttachmentsVO, AlarmEventAttachmentsForm, AlarmEventAttachmentsQuery } from './model';
|
||||
import type {
|
||||
AlarmEventAttachmentsForm,
|
||||
AlarmEventAttachmentsQuery,
|
||||
AlarmEventAttachmentsVO,
|
||||
} from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
import type { ID, IDS, PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
* @param params
|
||||
* @returns 【请填写功能名称】列表
|
||||
*/
|
||||
* 查询【请填写功能名称】列表
|
||||
* @param params
|
||||
* @returns 【请填写功能名称】列表
|
||||
*/
|
||||
export function alarmEventAttachmentsList(params?: AlarmEventAttachmentsQuery) {
|
||||
return requestClient.get<PageResult<AlarmEventAttachmentsVO>>('/sis/alarmEventAttachments/list', { params });
|
||||
return requestClient.get<PageResult<AlarmEventAttachmentsVO>>(
|
||||
'/sis/alarmEventAttachments/list',
|
||||
{ params },
|
||||
);
|
||||
}
|
||||
|
||||
export function queryAlarmEventAttachmentsList(id: ID) {
|
||||
return requestClient.get<AlarmEventAttachmentsVO[]>(
|
||||
'/sis/alarmEventAttachments/query/' + id,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -20,7 +32,9 @@ export function alarmEventAttachmentsList(params?: AlarmEventAttachmentsQuery) {
|
||||
* @param params
|
||||
* @returns 【请填写功能名称】列表
|
||||
*/
|
||||
export function alarmEventAttachmentsExport(params?: AlarmEventAttachmentsQuery) {
|
||||
export function alarmEventAttachmentsExport(
|
||||
params?: AlarmEventAttachmentsQuery,
|
||||
) {
|
||||
return commonExport('/sis/alarmEventAttachments/export', params ?? {});
|
||||
}
|
||||
|
||||
@@ -30,7 +44,9 @@ export function alarmEventAttachmentsExport(params?: AlarmEventAttachmentsQuery)
|
||||
* @returns 【请填写功能名称】详情
|
||||
*/
|
||||
export function alarmEventAttachmentsInfo(id: ID) {
|
||||
return requestClient.get<AlarmEventAttachmentsVO>(`/sis/alarmEventAttachments/${id}`);
|
||||
return requestClient.get<AlarmEventAttachmentsVO>(
|
||||
`/sis/alarmEventAttachments/${id}`,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user