This commit is contained in:
2025-08-27 20:44:12 +08:00
54 changed files with 734 additions and 105749 deletions

View File

@@ -0,0 +1,11 @@
import { requestClient } from '#/api/request';
import type { PageResult } from '#/api/common';
/**
* 通行记录列表
* @param data
* @returns void
*/
export function getVisitorList(params?: any) {
return requestClient.get<PageResult<any>>('/sis/visitor/list', { params });
}

View File

@@ -1,18 +1,24 @@
import type { AlarmEventProcessVO, AlarmEventProcessForm, AlarmEventProcessQuery } from './model';
import type {
AlarmEventProcessForm,
AlarmEventProcessQuery,
AlarmEventProcessVO,
} 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 alarmEventProcessList(params?: AlarmEventProcessQuery) {
return requestClient.get<PageResult<AlarmEventProcessVO>>('/sis/alarmEventProcess/list', { params });
return requestClient.get<PageResult<AlarmEventProcessVO>>(
'/sis/alarmEventProcess/list',
{ params },
);
}
/**
@@ -59,3 +65,14 @@ export function alarmEventProcessUpdate(data: AlarmEventProcessForm) {
export function alarmEventProcessRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/sis/alarmEventProcess/${id}`);
}
/**
* 删除告警信息处理流程记录
* @param id id
* @returns void
*/
export function queryResult(id: ID | IDS) {
return requestClient.get<AlarmEventProcessVO>(
`/sis/alarmEventProcess/query/result/${id}`,
);
}