Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,18 +1,25 @@
|
||||
import type { ArrangementVO, ArrangementForm, ArrangementQuery } from './model';
|
||||
import type {
|
||||
ArrangementVO,
|
||||
ArrangementForm,
|
||||
ArrangementQuery,
|
||||
arrangmentListQuery,
|
||||
} from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 分页查询排班列表
|
||||
* @param params
|
||||
* @returns 排班列表
|
||||
*/
|
||||
* 分页查询排班列表
|
||||
* @param params
|
||||
* @returns 排班列表
|
||||
*/
|
||||
export function arrangementList(params?: ArrangementQuery) {
|
||||
return requestClient.get<PageResult<ArrangementVO>>('/property/arrangement/list', { params });
|
||||
return requestClient.get<PageResult<ArrangementVO>>(
|
||||
'/property/arrangement/list',
|
||||
{ params },
|
||||
);
|
||||
}
|
||||
/**
|
||||
* 根据月份查询排班列表
|
||||
@@ -58,3 +65,30 @@ export function arrangementUpdate(data: ArrangementForm) {
|
||||
export function arrangementRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/arrangement/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询某天排班详情列表
|
||||
* @param params
|
||||
* @returns 排班列表
|
||||
*/
|
||||
|
||||
export function arrangmentList(params?: arrangmentListQuery) {
|
||||
return requestClient.get<PageResult<ArrangementVO>>(
|
||||
'/property/arrangement/list',
|
||||
{ params },
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询某天排班人员详情列表(班表视图)
|
||||
* @param params
|
||||
* @returns 排班列表
|
||||
*/
|
||||
|
||||
export function queryScheduleView(params?: arrangmentListQuery) {
|
||||
return requestClient.get<PageResult<AttendanceUserGroup>>(
|
||||
'/property/AttendanceUserGroup/queryScheduleView',
|
||||
{ params },
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -9,37 +9,40 @@ export interface ArrangementVO {
|
||||
/**
|
||||
* 排班名称
|
||||
*/
|
||||
scheduleName: string;
|
||||
scheduleName?: string;
|
||||
|
||||
/**
|
||||
* 考勤组ID
|
||||
*/
|
||||
groupId: string | number;
|
||||
groupId?: string | number;
|
||||
|
||||
/**
|
||||
* 排班类型:1-固定班制,2-排班制
|
||||
*/
|
||||
scheduleType: number;
|
||||
scheduleType?: number;
|
||||
|
||||
/**
|
||||
* 日期类型:1-单个日期,2-长期有效,3-期间有效
|
||||
*/
|
||||
dateType: number;
|
||||
dateType?: number;
|
||||
|
||||
/**
|
||||
* 开始日期
|
||||
*/
|
||||
startDate: string;
|
||||
startDate?: string;
|
||||
|
||||
/**
|
||||
* 结束日期(仅date_type=3时有效)
|
||||
*/
|
||||
endDate: string;
|
||||
endDate?: string;
|
||||
|
||||
/**
|
||||
* 状态:0-未生效,1-已生效
|
||||
*/
|
||||
status: number;
|
||||
status?: number;
|
||||
userGroupList?: any[];
|
||||
attendanceGroup?: any;
|
||||
dateType?: number;
|
||||
}
|
||||
|
||||
export interface ArrangementForm extends BaseEntity {
|
||||
@@ -86,6 +89,10 @@ export interface ArrangementForm extends BaseEntity {
|
||||
* 排班人员详情
|
||||
*/
|
||||
userGroupList: any[];
|
||||
/**
|
||||
* 排班id
|
||||
*/
|
||||
scheduleId?: string | number;
|
||||
}
|
||||
|
||||
export interface ArrangementQuery extends PageQuery {
|
||||
@@ -134,3 +141,9 @@ export interface ArrangementQuery extends PageQuery {
|
||||
*/
|
||||
month?: string;
|
||||
}
|
||||
export interface arrangmentListQuery extends PageQuery {
|
||||
currentDate: string; //某天的日期
|
||||
}
|
||||
export interface AttendanceUserGroup extends PageQuery {
|
||||
currentDate: string; //某天的日期
|
||||
}
|
||||
|
@@ -0,0 +1,61 @@
|
||||
import type { AttendanceAreaVO, AttendanceAreaForm, AttendanceAreaQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询区域区域管理列表
|
||||
* @param params
|
||||
* @returns 区域区域管理列表
|
||||
*/
|
||||
export function attendanceAreaList(params?: AttendanceAreaQuery) {
|
||||
return requestClient.get<PageResult<AttendanceAreaVO>>('/property/attendanceArea/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出区域区域管理列表
|
||||
* @param params
|
||||
* @returns 区域区域管理列表
|
||||
*/
|
||||
export function attendanceAreaExport(params?: AttendanceAreaQuery) {
|
||||
return commonExport('/property/attendanceArea/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询区域区域管理详情
|
||||
* @param id id
|
||||
* @returns 区域区域管理详情
|
||||
*/
|
||||
export function attendanceAreaInfo(id: ID) {
|
||||
return requestClient.get<AttendanceAreaVO>(`/property/attendanceArea/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增区域区域管理
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function attendanceAreaAdd(data: AttendanceAreaForm) {
|
||||
return requestClient.postWithMsg<void>('/property/attendanceArea', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新区域区域管理
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function attendanceAreaUpdate(data: AttendanceAreaForm) {
|
||||
return requestClient.putWithMsg<void>('/property/attendanceArea', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除区域区域管理
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function attendanceAreaRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/attendanceArea/${id}`);
|
||||
}
|
69
apps/web-antd/src/api/property/attendanceManagement/attendanceArea/model.d.ts
vendored
Normal file
69
apps/web-antd/src/api/property/attendanceManagement/attendanceArea/model.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface AttendanceAreaVO {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 摄像机id
|
||||
*/
|
||||
deviceManageId: string | number;
|
||||
|
||||
/**
|
||||
* 区域
|
||||
*/
|
||||
area: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
reamark: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AttendanceAreaForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 摄像机id
|
||||
*/
|
||||
deviceManageId?: string | number;
|
||||
|
||||
/**
|
||||
* 区域
|
||||
*/
|
||||
area?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
reamark?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AttendanceAreaQuery extends PageQuery {
|
||||
/**
|
||||
* 摄像机id
|
||||
*/
|
||||
deviceManageId?: string | number;
|
||||
|
||||
/**
|
||||
* 区域
|
||||
*/
|
||||
area?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
reamark?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -94,6 +94,10 @@ export interface WorkOrdersVO {
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
orderImgUrl: string;
|
||||
|
||||
}
|
||||
|
||||
|
@@ -0,0 +1,61 @@
|
||||
import type { QuestionVO, QuestionForm, QuestionQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询调查问卷问题列表
|
||||
* @param params
|
||||
* @returns 调查问卷问题列表
|
||||
*/
|
||||
export function questionList(params?: QuestionQuery) {
|
||||
return requestClient.get<PageResult<QuestionVO>>('/property/question/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出调查问卷问题列表
|
||||
* @param params
|
||||
* @returns 调查问卷问题列表
|
||||
*/
|
||||
export function questionExport(params?: QuestionQuery) {
|
||||
return commonExport('/property/question/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询调查问卷问题详情
|
||||
* @param id id
|
||||
* @returns 调查问卷问题详情
|
||||
*/
|
||||
export function questionInfo(id: ID) {
|
||||
return requestClient.get<QuestionVO>(`/property/question/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增调查问卷问题
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function questionAdd(data: QuestionForm) {
|
||||
return requestClient.postWithMsg<void>('/property/question', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新调查问卷问题
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function questionUpdate(data: QuestionForm) {
|
||||
return requestClient.putWithMsg<void>('/property/question', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除调查问卷问题
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function questionRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/question/${id}`);
|
||||
}
|
132
apps/web-antd/src/api/property/customerService/questionnaire/question/model.d.ts
vendored
Normal file
132
apps/web-antd/src/api/property/customerService/questionnaire/question/model.d.ts
vendored
Normal file
@@ -0,0 +1,132 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
import type {
|
||||
QuestionItemForm
|
||||
} from "#/api/property/customerService/questionnaire/questionItem/model";
|
||||
|
||||
export interface QuestionVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 调查问卷id
|
||||
*/
|
||||
questionnaireId: string | number;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
head: string;
|
||||
|
||||
/**
|
||||
* 问题类型(1单行文本2多行文本3单选题4多选题5评分题6日期选择)
|
||||
*/
|
||||
type: string;
|
||||
|
||||
/**
|
||||
* 是否必填(1不必填2必填)
|
||||
*/
|
||||
isRequired: string;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
depict: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort: number;
|
||||
|
||||
}
|
||||
|
||||
export interface QuestionForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 调查问卷id
|
||||
*/
|
||||
questionnaireId?: string | number;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
head?: string;
|
||||
|
||||
/**
|
||||
* 问题类型(1单行文本2多行文本3单选题4多选题5评分题6日期选择)
|
||||
*/
|
||||
type: string;
|
||||
|
||||
/**
|
||||
* 是否必填(1不必填2必填)
|
||||
*/
|
||||
isRequired?: string;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
depict?: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 选项
|
||||
*/
|
||||
questionnaireQuestionItems:QuestionItemForm[]
|
||||
|
||||
/**
|
||||
* 评分预览
|
||||
*/
|
||||
rate?:number;
|
||||
|
||||
/**
|
||||
* 时间预览
|
||||
*/
|
||||
dateTime?:string;
|
||||
|
||||
}
|
||||
|
||||
export interface QuestionQuery extends PageQuery {
|
||||
/**
|
||||
* 调查问卷id
|
||||
*/
|
||||
questionnaireId?: string | number;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
head?: string;
|
||||
|
||||
/**
|
||||
* 问题类型(1单行文本2多行文本3单选题4多选题5评分题6日期选择)
|
||||
*/
|
||||
type?: string;
|
||||
|
||||
/**
|
||||
* 是否必填(1不必填2必填)
|
||||
*/
|
||||
isRequired?: string;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
depict?: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
import type { QuestionItemVO, QuestionItemForm, QuestionItemQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询调查问卷问题选项列表
|
||||
* @param params
|
||||
* @returns 调查问卷问题选项列表
|
||||
*/
|
||||
export function questionItemList(params?: QuestionItemQuery) {
|
||||
return requestClient.get<PageResult<QuestionItemVO>>('/property/questionItem/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出调查问卷问题选项列表
|
||||
* @param params
|
||||
* @returns 调查问卷问题选项列表
|
||||
*/
|
||||
export function questionItemExport(params?: QuestionItemQuery) {
|
||||
return commonExport('/property/questionItem/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询调查问卷问题选项详情
|
||||
* @param id id
|
||||
* @returns 调查问卷问题选项详情
|
||||
*/
|
||||
export function questionItemInfo(id: ID) {
|
||||
return requestClient.get<QuestionItemVO>(`/property/questionItem/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增调查问卷问题选项
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function questionItemAdd(data: QuestionItemForm) {
|
||||
return requestClient.postWithMsg<void>('/property/questionItem', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新调查问卷问题选项
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function questionItemUpdate(data: QuestionItemForm) {
|
||||
return requestClient.putWithMsg<void>('/property/questionItem', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除调查问卷问题选项
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function questionItemRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/questionItem/${id}`);
|
||||
}
|
79
apps/web-antd/src/api/property/customerService/questionnaire/questionItem/model.d.ts
vendored
Normal file
79
apps/web-antd/src/api/property/customerService/questionnaire/questionItem/model.d.ts
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface QuestionItemVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 问题id
|
||||
*/
|
||||
questionId: string | number;
|
||||
|
||||
/**
|
||||
* 选项内容
|
||||
*/
|
||||
itemContent: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
}
|
||||
|
||||
export interface QuestionItemForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 问题id
|
||||
*/
|
||||
questionId?: string | number;
|
||||
|
||||
/**
|
||||
* 选项内容
|
||||
*/
|
||||
itemContent?: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface QuestionItemQuery extends PageQuery {
|
||||
/**
|
||||
* 问题id
|
||||
*/
|
||||
questionId?: string | number;
|
||||
|
||||
/**
|
||||
* 选项内容
|
||||
*/
|
||||
itemContent?: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
import type { QuestionnaireVO, QuestionnaireForm, QuestionnaireQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询调查问卷列表
|
||||
* @param params
|
||||
* @returns 调查问卷列表
|
||||
*/
|
||||
export function questionnaireList(params?: QuestionnaireQuery) {
|
||||
return requestClient.get<PageResult<QuestionnaireVO>>('/property/questionnaire/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出调查问卷列表
|
||||
* @param params
|
||||
* @returns 调查问卷列表
|
||||
*/
|
||||
export function questionnaireExport(params?: QuestionnaireQuery) {
|
||||
return commonExport('/property/questionnaire/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询调查问卷详情
|
||||
* @param id id
|
||||
* @returns 调查问卷详情
|
||||
*/
|
||||
export function questionnaireInfo(id: ID) {
|
||||
return requestClient.get<QuestionnaireVO>(`/property/questionnaire/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增调查问卷
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function questionnaireAdd(data: QuestionnaireForm) {
|
||||
return requestClient.postWithMsg<void>('/property/questionnaire', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新调查问卷
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function questionnaireUpdate(data: QuestionnaireForm) {
|
||||
return requestClient.putWithMsg<void>('/property/questionnaire', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除调查问卷
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function questionnaireRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/questionnaire/${id}`);
|
||||
}
|
120
apps/web-antd/src/api/property/customerService/questionnaire/questionnaire/model.d.ts
vendored
Normal file
120
apps/web-antd/src/api/property/customerService/questionnaire/questionnaire/model.d.ts
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
import type {QuestionForm} from "#/api/property/customerService/questionnaire/question/model";
|
||||
|
||||
export interface QuestionnaireVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
head: string;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
depict: string;
|
||||
|
||||
/**
|
||||
* 是否匿名收集
|
||||
*/
|
||||
isAnonyCollec: string;
|
||||
|
||||
/**
|
||||
* 是否多次提交
|
||||
*/
|
||||
isCommit: string;
|
||||
|
||||
/**
|
||||
* 截止日期
|
||||
*/
|
||||
deadline: string;
|
||||
|
||||
/**
|
||||
* 状态(1草稿2已发布3未发布)
|
||||
*/
|
||||
status: string;
|
||||
|
||||
}
|
||||
|
||||
export interface QuestionnaireForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
head?: string;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
depict?: string;
|
||||
|
||||
/**
|
||||
* 是否匿名收集
|
||||
*/
|
||||
isAnonyCollec?: string;
|
||||
|
||||
/**
|
||||
* 是否多次提交
|
||||
*/
|
||||
isCommit?: string;
|
||||
|
||||
/**
|
||||
* 截止日期
|
||||
*/
|
||||
deadline?: string;
|
||||
|
||||
/**
|
||||
* 状态(1草稿2已发布3未发布)
|
||||
*/
|
||||
status?: string;
|
||||
|
||||
/**
|
||||
* 问题
|
||||
*/
|
||||
questionnaireQuestions:QuestionForm[];
|
||||
|
||||
}
|
||||
|
||||
export interface QuestionnaireQuery extends PageQuery {
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
head?: string;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
depict?: string;
|
||||
|
||||
/**
|
||||
* 是否匿名收集
|
||||
*/
|
||||
isAnonyCollec?: string;
|
||||
|
||||
/**
|
||||
* 是否多次提交
|
||||
*/
|
||||
isCommit?: string;
|
||||
|
||||
/**
|
||||
* 截止日期
|
||||
*/
|
||||
deadline?: string;
|
||||
|
||||
/**
|
||||
* 状态(1草稿2已发布3未发布)
|
||||
*/
|
||||
status?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -32,20 +32,59 @@ export interface TaskDetailVO {
|
||||
patrolType: string;
|
||||
|
||||
/**
|
||||
* 签到类型
|
||||
* 签到类型(1.现场拍照、2.摄像头签到、3.现场扫码)
|
||||
*/
|
||||
signType: string;
|
||||
|
||||
/**
|
||||
* 实际巡检时间
|
||||
*/
|
||||
actualInspectionTime: string;
|
||||
|
||||
/**
|
||||
* 实际签到状态(1已签到2.未签到)
|
||||
*/
|
||||
actualSignState: string;
|
||||
|
||||
/**
|
||||
* 巡检状态(0未完成,1已完成)
|
||||
*/
|
||||
inspectionState: string;
|
||||
|
||||
/**
|
||||
* 巡检照片
|
||||
* 巡检图片
|
||||
*/
|
||||
inspectionImag
|
||||
e: string;
|
||||
inspectionImage: string;
|
||||
|
||||
/**
|
||||
* 计划巡检人
|
||||
*/
|
||||
planInspectionPerson: string;
|
||||
|
||||
/**
|
||||
* 实际巡检人
|
||||
*/
|
||||
actualInspectionPerson: string;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
taskStatus: string;
|
||||
|
||||
/**
|
||||
* 巡检结果
|
||||
*/
|
||||
inspectionResults: string;
|
||||
|
||||
/**
|
||||
* 巡检描述
|
||||
*/
|
||||
inspectionDesc: string;
|
||||
|
||||
/**
|
||||
* 巡检位置
|
||||
*/
|
||||
inspectionLocation: string;
|
||||
|
||||
/**
|
||||
* 实际巡检时间
|
||||
@@ -67,6 +106,11 @@ e: string;
|
||||
*/
|
||||
pointEndTime: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue: string;
|
||||
|
||||
}
|
||||
|
||||
export interface TaskDetailForm extends BaseEntity {
|
||||
@@ -101,20 +145,60 @@ export interface TaskDetailForm extends BaseEntity {
|
||||
patrolType?: string;
|
||||
|
||||
/**
|
||||
* 签到类型
|
||||
* 签到类型(1.现场拍照、2.摄像头签到、3.现场扫码)
|
||||
*/
|
||||
signType?: string;
|
||||
|
||||
/**
|
||||
* 实际巡检时间
|
||||
*/
|
||||
actualInspectionTime?: string;
|
||||
|
||||
/**
|
||||
* 实际签到状态(1已签到2.未签到)
|
||||
*/
|
||||
actualSignState?: string;
|
||||
|
||||
/**
|
||||
* 巡检状态(0未完成,1已完成)
|
||||
*/
|
||||
inspectionState?: string;
|
||||
|
||||
/**
|
||||
* 巡检照片
|
||||
* 巡检图片
|
||||
*/
|
||||
inspectionImage?: string;
|
||||
|
||||
/**
|
||||
* 计划巡检人
|
||||
*/
|
||||
planInspectionPerson?: string;
|
||||
|
||||
/**
|
||||
* 实际巡检人
|
||||
*/
|
||||
actualInspectionPerson?: string;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
taskStatus?: string;
|
||||
|
||||
/**
|
||||
* 巡检结果
|
||||
*/
|
||||
inspectionResults?: string;
|
||||
|
||||
/**
|
||||
* 巡检描述
|
||||
*/
|
||||
inspectionDesc?: string;
|
||||
|
||||
/**
|
||||
* 巡检位置
|
||||
*/
|
||||
inspectionLocation?: string;
|
||||
|
||||
/**
|
||||
* 实际巡检时间
|
||||
*/
|
||||
@@ -135,6 +219,11 @@ export interface TaskDetailForm extends BaseEntity {
|
||||
*/
|
||||
pointEndTime?: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface TaskDetailQuery extends PageQuery {
|
||||
@@ -164,20 +253,59 @@ export interface TaskDetailQuery extends PageQuery {
|
||||
patrolType?: string;
|
||||
|
||||
/**
|
||||
* 签到类型
|
||||
* 签到类型(1.现场拍照、2.摄像头签到、3.现场扫码)
|
||||
*/
|
||||
signType?: string;
|
||||
|
||||
/**
|
||||
* 实际巡检时间
|
||||
*/
|
||||
actualInspectionTime?: string;
|
||||
|
||||
/**
|
||||
* 实际签到状态(1已签到2.未签到)
|
||||
*/
|
||||
actualSignState?: string;
|
||||
|
||||
/**
|
||||
* 巡检状态(0未完成,1已完成)
|
||||
*/
|
||||
inspectionState?: string;
|
||||
|
||||
/**
|
||||
* 巡检照片
|
||||
* 巡检图片
|
||||
*/
|
||||
inspectionImag
|
||||
e?: string;
|
||||
inspectionImage?: string;
|
||||
|
||||
/**
|
||||
* 计划巡检人
|
||||
*/
|
||||
planInspectionPerson?: string;
|
||||
|
||||
/**
|
||||
* 实际巡检人
|
||||
*/
|
||||
actualInspectionPerson?: string;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
taskStatus?: string;
|
||||
|
||||
/**
|
||||
* 巡检结果
|
||||
*/
|
||||
inspectionResults?: string;
|
||||
|
||||
/**
|
||||
* 巡检描述
|
||||
*/
|
||||
inspectionDesc?: string;
|
||||
|
||||
/**
|
||||
* 巡检位置
|
||||
*/
|
||||
inspectionLocation?: string;
|
||||
|
||||
/**
|
||||
* 实际巡检时间
|
||||
@@ -194,6 +322,11 @@ e?: string;
|
||||
*/
|
||||
pointEndTime?: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
|
@@ -46,6 +46,10 @@ export interface InspectionPointVO {
|
||||
*/
|
||||
searchValue: string;
|
||||
|
||||
itemName: string;
|
||||
|
||||
createTime: string;
|
||||
|
||||
}
|
||||
|
||||
export interface InspectionPointForm extends BaseEntity {
|
||||
|
@@ -24,7 +24,7 @@ export interface PersonVO {
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
gender: number
|
||||
gender: string | number
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
@@ -75,6 +75,10 @@ export interface PersonVO {
|
||||
|
||||
authEndDate?: string
|
||||
|
||||
authTime: any[]
|
||||
|
||||
rosterType?: string | number
|
||||
|
||||
}
|
||||
|
||||
export interface PersonForm extends BaseEntity {
|
||||
@@ -293,7 +297,7 @@ export interface Person extends BaseEntity {
|
||||
* @param file excel文件
|
||||
*/
|
||||
export interface PerssonImportParam {
|
||||
updateSupport: boolean;
|
||||
unitId: number;
|
||||
file: Blob | File;
|
||||
updateSupport: boolean
|
||||
unitId: number
|
||||
file: Blob | File
|
||||
}
|
||||
|
@@ -70,6 +70,10 @@ export interface VisitorManagementVO {
|
||||
* 预约状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
serveStatus: number;
|
||||
/**
|
||||
* 身份证号
|
||||
*/
|
||||
idCard: string;
|
||||
}
|
||||
|
||||
export interface VisitorManagementForm extends BaseEntity {
|
||||
|
@@ -2,12 +2,12 @@ import type {
|
||||
AccessControlForm,
|
||||
AccessControlQuery,
|
||||
AccessControlVO,
|
||||
} from './model'
|
||||
} from './model';
|
||||
|
||||
import type { ID, IDS, PageResult, TreeNode } from '#/api/common'
|
||||
import type { ID, IDS, PageResult, TreeNode } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper'
|
||||
import { requestClient } from '#/api/request'
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询门禁管理列表
|
||||
@@ -18,7 +18,7 @@ export function accessControlList(params?: AccessControlQuery) {
|
||||
return requestClient.get<PageResult<AccessControlVO>>(
|
||||
'/sis/accessControl/list',
|
||||
{ params },
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -27,7 +27,7 @@ export function accessControlList(params?: AccessControlQuery) {
|
||||
* @returns 门禁管理列表
|
||||
*/
|
||||
export function accessControlExport(params?: AccessControlQuery) {
|
||||
return commonExport('/sis/accessControl/export', params ?? {})
|
||||
return commonExport('/sis/accessControl/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -36,7 +36,7 @@ export function accessControlExport(params?: AccessControlQuery) {
|
||||
* @returns 门禁管理详情
|
||||
*/
|
||||
export function accessControlInfo(id: ID) {
|
||||
return requestClient.get<AccessControlVO>(`/sis/accessControl/${id}`)
|
||||
return requestClient.get<AccessControlVO>(`/sis/accessControl/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -45,7 +45,7 @@ export function accessControlInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlAdd(data: AccessControlForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/accessControl', data)
|
||||
return requestClient.postWithMsg<void>('/sis/accessControl', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -54,7 +54,7 @@ export function accessControlAdd(data: AccessControlForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlUpdate(data: AccessControlForm) {
|
||||
return requestClient.putWithMsg<void>('/sis/accessControl', data)
|
||||
return requestClient.putWithMsg<void>('/sis/accessControl', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -63,7 +63,7 @@ export function accessControlUpdate(data: AccessControlForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/sis/accessControl/${id}`)
|
||||
return requestClient.deleteWithMsg<void>(`/sis/accessControl/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -71,7 +71,7 @@ export function accessControlRemove(id: ID | IDS) {
|
||||
* @returns void
|
||||
*/
|
||||
export function queryTree() {
|
||||
return requestClient.get<TreeNode<Number>[]>(`/sis/accessControl/tree`)
|
||||
return requestClient.get<TreeNode<Number>[]>(`/sis/accessControl/tree`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -79,5 +79,12 @@ export function queryTree() {
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlSync() {
|
||||
return requestClient.get<void>(`/sis/accessControl/sync`)
|
||||
return requestClient.get<void>(`/sis/accessControl/sync`);
|
||||
}
|
||||
|
||||
export function remoteOpenDoor(params: any) {
|
||||
return requestClient.post<void>(
|
||||
`/sis/accessControl/e8/remoteOpenDoor`,
|
||||
params,
|
||||
);
|
||||
}
|
||||
|
61
apps/web-antd/src/api/sis/alarmEventAttachments/index.ts
Normal file
61
apps/web-antd/src/api/sis/alarmEventAttachments/index.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { AlarmEventAttachmentsVO, AlarmEventAttachmentsForm, AlarmEventAttachmentsQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
* @param params
|
||||
* @returns 【请填写功能名称】列表
|
||||
*/
|
||||
export function alarmEventAttachmentsList(params?: AlarmEventAttachmentsQuery) {
|
||||
return requestClient.get<PageResult<AlarmEventAttachmentsVO>>('/sis/alarmEventAttachments/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出【请填写功能名称】列表
|
||||
* @param params
|
||||
* @returns 【请填写功能名称】列表
|
||||
*/
|
||||
export function alarmEventAttachmentsExport(params?: AlarmEventAttachmentsQuery) {
|
||||
return commonExport('/sis/alarmEventAttachments/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】详情
|
||||
* @param id id
|
||||
* @returns 【请填写功能名称】详情
|
||||
*/
|
||||
export function alarmEventAttachmentsInfo(id: ID) {
|
||||
return requestClient.get<AlarmEventAttachmentsVO>(`/sis/alarmEventAttachments/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function alarmEventAttachmentsAdd(data: AlarmEventAttachmentsForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/alarmEventAttachments', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新【请填写功能名称】
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function alarmEventAttachmentsUpdate(data: AlarmEventAttachmentsForm) {
|
||||
return requestClient.putWithMsg<void>('/sis/alarmEventAttachments', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function alarmEventAttachmentsRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/sis/alarmEventAttachments/${id}`);
|
||||
}
|
69
apps/web-antd/src/api/sis/alarmEventAttachments/model.d.ts
vendored
Normal file
69
apps/web-antd/src/api/sis/alarmEventAttachments/model.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface AlarmEventAttachmentsVO {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 事件id
|
||||
*/
|
||||
eventId: string | number;
|
||||
|
||||
/**
|
||||
* 时间图片id
|
||||
*/
|
||||
ossId: string | number;
|
||||
|
||||
/**
|
||||
* 1:图片,2:文件;3视频
|
||||
*/
|
||||
type: number;
|
||||
|
||||
}
|
||||
|
||||
export interface AlarmEventAttachmentsForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 事件id
|
||||
*/
|
||||
eventId?: string | number;
|
||||
|
||||
/**
|
||||
* 时间图片id
|
||||
*/
|
||||
ossId?: string | number;
|
||||
|
||||
/**
|
||||
* 1:图片,2:文件;3视频
|
||||
*/
|
||||
type?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface AlarmEventAttachmentsQuery extends PageQuery {
|
||||
/**
|
||||
* 事件id
|
||||
*/
|
||||
eventId?: string | number;
|
||||
|
||||
/**
|
||||
* 时间图片id
|
||||
*/
|
||||
ossId?: string | number;
|
||||
|
||||
/**
|
||||
* 1:图片,2:文件;3视频
|
||||
*/
|
||||
type?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
61
apps/web-antd/src/api/sis/alarmEvents/index.ts
Normal file
61
apps/web-antd/src/api/sis/alarmEvents/index.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { AlarmEventsVO, AlarmEventsForm, AlarmEventsQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
* @param params
|
||||
* @returns 【请填写功能名称】列表
|
||||
*/
|
||||
export function alarmEventsList(params?: AlarmEventsQuery) {
|
||||
return requestClient.get<PageResult<AlarmEventsVO>>('/sis/alarmEvents/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出【请填写功能名称】列表
|
||||
* @param params
|
||||
* @returns 【请填写功能名称】列表
|
||||
*/
|
||||
export function alarmEventsExport(params?: AlarmEventsQuery) {
|
||||
return commonExport('/sis/alarmEvents/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】详情
|
||||
* @param id id
|
||||
* @returns 【请填写功能名称】详情
|
||||
*/
|
||||
export function alarmEventsInfo(id: ID) {
|
||||
return requestClient.get<AlarmEventsVO>(`/sis/alarmEvents/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function alarmEventsAdd(data: AlarmEventsForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/alarmEvents', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新【请填写功能名称】
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function alarmEventsUpdate(data: AlarmEventsForm) {
|
||||
return requestClient.putWithMsg<void>('/sis/alarmEvents', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function alarmEventsRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/sis/alarmEvents/${id}`);
|
||||
}
|
159
apps/web-antd/src/api/sis/alarmEvents/model.d.ts
vendored
Normal file
159
apps/web-antd/src/api/sis/alarmEvents/model.d.ts
vendored
Normal file
@@ -0,0 +1,159 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface AlarmEventsVO {
|
||||
/**
|
||||
* 报警记录ID
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 报警事件类型
|
||||
*/
|
||||
type: number;
|
||||
|
||||
/**
|
||||
* 报警记录级别(1:一般,2:中级,3:紧急)
|
||||
*/
|
||||
level: number;
|
||||
|
||||
/**
|
||||
* 报警设备ip
|
||||
*/
|
||||
deviceIp: string;
|
||||
|
||||
/**
|
||||
* 报警设备名称
|
||||
*/
|
||||
deviceName: string;
|
||||
|
||||
/**
|
||||
* 设备所属区域id
|
||||
*/
|
||||
deviceGroupId: string | number;
|
||||
|
||||
/**
|
||||
* 设备所属区域名称
|
||||
*/
|
||||
deviceGroupName: string;
|
||||
|
||||
/**
|
||||
* 设备告警时间
|
||||
*/
|
||||
reportTime: string;
|
||||
|
||||
/**
|
||||
* 1:未处理,2:已处理-忽略,3:已处理-生成工单
|
||||
*/
|
||||
state: number;
|
||||
|
||||
/**
|
||||
* 工单id,需要state=3才会写入
|
||||
*/
|
||||
workOrderId: string | number;
|
||||
|
||||
}
|
||||
|
||||
export interface AlarmEventsForm extends BaseEntity {
|
||||
/**
|
||||
* 报警记录ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 报警事件类型
|
||||
*/
|
||||
type?: number;
|
||||
|
||||
/**
|
||||
* 报警记录级别(1:一般,2:中级,3:紧急)
|
||||
*/
|
||||
level?: number;
|
||||
|
||||
/**
|
||||
* 报警设备ip
|
||||
*/
|
||||
deviceIp?: string;
|
||||
|
||||
/**
|
||||
* 报警设备名称
|
||||
*/
|
||||
deviceName?: string;
|
||||
|
||||
/**
|
||||
* 设备所属区域id
|
||||
*/
|
||||
deviceGroupId?: string | number;
|
||||
|
||||
/**
|
||||
* 设备所属区域名称
|
||||
*/
|
||||
deviceGroupName?: string;
|
||||
|
||||
/**
|
||||
* 设备告警时间
|
||||
*/
|
||||
reportTime?: string;
|
||||
|
||||
/**
|
||||
* 1:未处理,2:已处理-忽略,3:已处理-生成工单
|
||||
*/
|
||||
state?: number;
|
||||
|
||||
/**
|
||||
* 工单id,需要state=3才会写入
|
||||
*/
|
||||
workOrderId?: string | number;
|
||||
|
||||
}
|
||||
|
||||
export interface AlarmEventsQuery extends PageQuery {
|
||||
/**
|
||||
* 报警事件类型
|
||||
*/
|
||||
type?: number;
|
||||
|
||||
/**
|
||||
* 报警记录级别(1:一般,2:中级,3:紧急)
|
||||
*/
|
||||
level?: number;
|
||||
|
||||
/**
|
||||
* 报警设备ip
|
||||
*/
|
||||
deviceIp?: string;
|
||||
|
||||
/**
|
||||
* 报警设备名称
|
||||
*/
|
||||
deviceName?: string;
|
||||
|
||||
/**
|
||||
* 设备所属区域id
|
||||
*/
|
||||
deviceGroupId?: string | number;
|
||||
|
||||
/**
|
||||
* 设备所属区域名称
|
||||
*/
|
||||
deviceGroupName?: string;
|
||||
|
||||
/**
|
||||
* 设备告警时间
|
||||
*/
|
||||
reportTime?: string;
|
||||
|
||||
/**
|
||||
* 1:未处理,2:已处理-忽略,3:已处理-生成工单
|
||||
*/
|
||||
state?: number;
|
||||
|
||||
/**
|
||||
* 工单id,需要state=3才会写入
|
||||
*/
|
||||
workOrderId?: string | number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -1,182 +1,194 @@
|
||||
import type { BaseEntity, PageQuery } from '#/api/common'
|
||||
import type { BaseEntity, PageQuery } from '#/api/common';
|
||||
|
||||
export interface DeviceManageVO {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 设备编码
|
||||
*/
|
||||
deviceNo: string
|
||||
deviceNo: string;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
deviceName: string
|
||||
deviceName: string;
|
||||
|
||||
/**
|
||||
* 设备ip
|
||||
*/
|
||||
deviceIp: string
|
||||
deviceIp: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
devicePort: number
|
||||
devicePort: number;
|
||||
|
||||
/**
|
||||
* 设备账号
|
||||
*/
|
||||
deviceAccount: string
|
||||
deviceAccount: string;
|
||||
|
||||
/**
|
||||
* 设备密码
|
||||
*/
|
||||
devicePwd: string
|
||||
devicePwd: string;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
deviceMac: string
|
||||
deviceMac: string;
|
||||
|
||||
/**
|
||||
* 设备在线状态 0:离线 1:在线 2:未知
|
||||
*/
|
||||
deviceStatus: number
|
||||
deviceStatus: number;
|
||||
|
||||
/**
|
||||
* 父级设备id
|
||||
*/
|
||||
parentId: string | number
|
||||
parentId: string | number;
|
||||
|
||||
/**
|
||||
* 设备通道编号
|
||||
*/
|
||||
channelNo: string
|
||||
channelNo: string;
|
||||
|
||||
/**
|
||||
* 录像机ip
|
||||
*/
|
||||
vcrIp: string
|
||||
vcrIp: string;
|
||||
|
||||
/**
|
||||
* 录像机端口
|
||||
*/
|
||||
vcrPort: number
|
||||
vcrPort: number;
|
||||
|
||||
/**
|
||||
* 录像机账号
|
||||
*/
|
||||
vcrAccount: string
|
||||
vcrAccount: string;
|
||||
|
||||
/**
|
||||
* 录像机密码
|
||||
*/
|
||||
vcrPwd: string
|
||||
vcrPwd: string;
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
accessControlId: string | number
|
||||
accessControlId: string | number;
|
||||
|
||||
/**
|
||||
* 楼层id
|
||||
*/
|
||||
floorId: string | number
|
||||
floorId: string | number;
|
||||
|
||||
lon: number;
|
||||
|
||||
lat: number;
|
||||
}
|
||||
|
||||
export interface DeviceManageForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 设备编码
|
||||
*/
|
||||
deviceNo?: string
|
||||
deviceNo?: string;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
deviceName?: string
|
||||
deviceName?: string;
|
||||
|
||||
/**
|
||||
* 设备ip
|
||||
*/
|
||||
deviceIp?: string
|
||||
deviceIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
devicePort?: number
|
||||
devicePort?: number;
|
||||
|
||||
/**
|
||||
* 设备账号
|
||||
*/
|
||||
deviceAccount?: string
|
||||
deviceAccount?: string;
|
||||
|
||||
/**
|
||||
* 设备密码
|
||||
*/
|
||||
devicePwd?: string
|
||||
devicePwd?: string;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
deviceMac?: string
|
||||
deviceMac?: string;
|
||||
|
||||
lon: number;
|
||||
|
||||
lat: number;
|
||||
|
||||
/**
|
||||
* 设备在线状态 0:离线 1:在线 2:未知
|
||||
*/
|
||||
deviceStatus?: number
|
||||
deviceStatus?: number;
|
||||
}
|
||||
|
||||
export interface DeviceManageQuery extends PageQuery {
|
||||
/**
|
||||
* 设备编码
|
||||
*/
|
||||
deviceNo?: string
|
||||
deviceNo?: string;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
deviceName?: string
|
||||
deviceName?: string;
|
||||
|
||||
/**
|
||||
* 设备ip
|
||||
*/
|
||||
deviceIp?: string
|
||||
deviceIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
devicePort?: number
|
||||
devicePort?: number;
|
||||
|
||||
/**
|
||||
* 设备账号
|
||||
*/
|
||||
deviceAccount?: string
|
||||
deviceAccount?: string;
|
||||
|
||||
/**
|
||||
* 设备密码
|
||||
*/
|
||||
devicePwd?: string
|
||||
devicePwd?: string;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
deviceMac?: string
|
||||
deviceMac?: string;
|
||||
|
||||
lon?: number;
|
||||
|
||||
lat?: number;
|
||||
|
||||
/**
|
||||
* 设备在线状态 0:离线 1:在线 2:未知
|
||||
*/
|
||||
deviceStatus?: number
|
||||
deviceStatus?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any
|
||||
params?: any;
|
||||
}
|
||||
|
@@ -12,9 +12,21 @@ export function addStreamProxy(params?: any) {
|
||||
params,
|
||||
);
|
||||
}
|
||||
|
||||
export function addFFmpegStreamProxy(params?: any) {
|
||||
return requestClient.post<AddStreamProxyResult>(
|
||||
'sis/stream/realtime/addFfmpeg',
|
||||
'sis/stream/FFmpeg/proxy',
|
||||
params,
|
||||
);
|
||||
}
|
||||
|
||||
export function addMediaStreamProxy(params?: any) {
|
||||
return requestClient.post<AddStreamProxyResult>('sis/stream/proxy', params);
|
||||
}
|
||||
|
||||
export function addFFmpegMediaStreamProxy(params?: any) {
|
||||
return requestClient.post<AddStreamProxyResult>(
|
||||
'sis/stream/ffmpeg/proxy',
|
||||
params,
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user