This commit is contained in:
9
apps/web-antd/src/api/common.d.ts
vendored
9
apps/web-antd/src/api/common.d.ts
vendored
@@ -38,5 +38,14 @@ export interface PageQuery {
|
||||
orderByColumn?: string;
|
||||
pageNum?: number;
|
||||
pageSize?: number;
|
||||
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface TreeNode<T = any> {
|
||||
level: number;
|
||||
code: T;
|
||||
ParentCode: T;
|
||||
label: string;
|
||||
children: TreeNode<T>;
|
||||
}
|
||||
|
@@ -1,306 +0,0 @@
|
||||
export interface BuildingVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingName: string;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
province: string;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
city: string;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
district: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
addr: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat: string;
|
||||
|
||||
/**
|
||||
* 产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)
|
||||
*/
|
||||
cqxz: number;
|
||||
|
||||
/**
|
||||
* 不动产编号
|
||||
*/
|
||||
bdcbh: string;
|
||||
|
||||
/**
|
||||
* 产权编号
|
||||
*/
|
||||
cqbh: string;
|
||||
|
||||
/**
|
||||
* 图地编号
|
||||
*/
|
||||
tdbh: string;
|
||||
|
||||
/**
|
||||
* 建筑面积
|
||||
*/
|
||||
jzmj: number;
|
||||
|
||||
/**
|
||||
* 产权面积
|
||||
*/
|
||||
cqmj: number;
|
||||
|
||||
/**
|
||||
* 可租面积
|
||||
*/
|
||||
kzmj: number;
|
||||
|
||||
/**
|
||||
* 自用面积
|
||||
*/
|
||||
zymj: number;
|
||||
|
||||
/**
|
||||
* 配套面积
|
||||
*/
|
||||
ptmj: number;
|
||||
|
||||
/**
|
||||
* 车位面积
|
||||
*/
|
||||
cwmj: number;
|
||||
|
||||
/**
|
||||
* 标准层高
|
||||
*/
|
||||
bzcg: number;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
order: number;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
}
|
||||
|
||||
export interface BuildingForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingName?: string;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
province?: string;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
city?: string;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
district?: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
addr?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon?: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)
|
||||
*/
|
||||
cqxz?: number;
|
||||
|
||||
/**
|
||||
* 不动产编号
|
||||
*/
|
||||
bdcbh?: string;
|
||||
|
||||
/**
|
||||
* 产权编号
|
||||
*/
|
||||
cqbh?: string;
|
||||
|
||||
/**
|
||||
* 图地编号
|
||||
*/
|
||||
tdbh?: string;
|
||||
|
||||
/**
|
||||
* 建筑面积
|
||||
*/
|
||||
jzmj?: number;
|
||||
|
||||
/**
|
||||
* 产权面积
|
||||
*/
|
||||
cqmj?: number;
|
||||
|
||||
/**
|
||||
* 可租面积
|
||||
*/
|
||||
kzmj?: number;
|
||||
|
||||
/**
|
||||
* 自用面积
|
||||
*/
|
||||
zymj?: number;
|
||||
|
||||
/**
|
||||
* 配套面积
|
||||
*/
|
||||
ptmj?: number;
|
||||
|
||||
/**
|
||||
* 车位面积
|
||||
*/
|
||||
cwmj?: number;
|
||||
|
||||
/**
|
||||
* 标准层高
|
||||
*/
|
||||
bzcg?: number;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
order?: number;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface BuildingQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingName?: string;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
province?: string;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
city?: string;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
district?: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
addr?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon?: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 产权性质(1:自持,2:承租,3:自持+承租,4:政府免费使用)
|
||||
*/
|
||||
cqxz?: number;
|
||||
|
||||
/**
|
||||
* 不动产编号
|
||||
*/
|
||||
bdcbh?: string;
|
||||
|
||||
/**
|
||||
* 产权编号
|
||||
*/
|
||||
cqbh?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,320 +0,0 @@
|
||||
export interface CeremonialServeVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
classificationId: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookId: string | number;
|
||||
|
||||
/**
|
||||
* 服务数量
|
||||
*/
|
||||
serveNum: number;
|
||||
|
||||
/**
|
||||
* 服务分类
|
||||
*/
|
||||
serveType: number;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
serveName: string;
|
||||
|
||||
/**
|
||||
* 预订状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
serveStatus: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy: string;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById: string | number;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime: string;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById: string | number;
|
||||
|
||||
/**
|
||||
* 确认人id
|
||||
*/
|
||||
confirmId: string | number;
|
||||
|
||||
/**
|
||||
* 服务开始时间
|
||||
*/
|
||||
beginTime: string;
|
||||
|
||||
/**
|
||||
* 服务结束时间
|
||||
*/
|
||||
endTime: string;
|
||||
|
||||
/**
|
||||
* 服务总价格
|
||||
*/
|
||||
servePrice: number;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:删除 1:未删除)
|
||||
*/
|
||||
dataStauts: number;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
serveImage: string;
|
||||
|
||||
/**
|
||||
* 产品图片Url
|
||||
*/
|
||||
serveImageUrl: string;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort: number;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialServeForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
classificationId?: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务数量
|
||||
*/
|
||||
serveNum?: number;
|
||||
|
||||
/**
|
||||
* 服务分类
|
||||
*/
|
||||
serveType?: number;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
serveName?: string;
|
||||
|
||||
/**
|
||||
* 预订状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
serveStatus?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy?: string;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById?: string | number;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy?: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById?: string | number;
|
||||
|
||||
/**
|
||||
* 确认人id
|
||||
*/
|
||||
confirmId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务开始时间
|
||||
*/
|
||||
beginTime?: string;
|
||||
|
||||
/**
|
||||
* 服务结束时间
|
||||
*/
|
||||
endTime?: string;
|
||||
|
||||
/**
|
||||
* 服务总价格
|
||||
*/
|
||||
servePrice?: number;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:删除 1:未删除)
|
||||
*/
|
||||
dataStauts?: number;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
serveImage?: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialServeQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
classificationId?: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务数量
|
||||
*/
|
||||
serveNum?: number;
|
||||
|
||||
/**
|
||||
* 服务分类
|
||||
*/
|
||||
serveType?: number;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
serveName?: string;
|
||||
|
||||
/**
|
||||
* 预订状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
serveStatus?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy?: string;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById?: string | number;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy?: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById?: string | number;
|
||||
|
||||
/**
|
||||
* 确认人id
|
||||
*/
|
||||
confirmId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务开始时间
|
||||
*/
|
||||
beginTime?: string;
|
||||
|
||||
/**
|
||||
* 服务结束时间
|
||||
*/
|
||||
endTime?: string;
|
||||
|
||||
/**
|
||||
* 服务总价格
|
||||
*/
|
||||
servePrice?: number;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:删除 1:未删除)
|
||||
*/
|
||||
dataStauts?: number;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
serveImage?: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,76 +0,0 @@
|
||||
export interface CeremonialserveRoombookingVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
ceremonialServeId: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookingId: string | number;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
totalPrice: number;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialserveRoombookingForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
ceremonialServeId?: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookingId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
totalPrice?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface CeremonialserveRoombookingQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
ceremonialServeId?: string | number;
|
||||
|
||||
/**
|
||||
* 预订id
|
||||
*/
|
||||
roomBookingId?: string | number;
|
||||
|
||||
/**
|
||||
* 服务和预订总价格
|
||||
*/
|
||||
totalPrice?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,126 +0,0 @@
|
||||
export interface CityAreaVO {
|
||||
/**
|
||||
* 城市编码
|
||||
*/
|
||||
areaCode: string;
|
||||
|
||||
/**
|
||||
* 城市名称
|
||||
*/
|
||||
areaName: string;
|
||||
|
||||
/**
|
||||
* 101 省级 202 市州 303 区县
|
||||
*/
|
||||
areaLevel: string;
|
||||
|
||||
/**
|
||||
* 父级城市编码
|
||||
*/
|
||||
parentAreaCode: string;
|
||||
|
||||
/**
|
||||
* 父级城市名称
|
||||
*/
|
||||
parentAreaName: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CityAreaForm extends BaseEntity {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 城市编码
|
||||
*/
|
||||
areaCode?: string;
|
||||
|
||||
/**
|
||||
* 城市名称
|
||||
*/
|
||||
areaName?: string;
|
||||
|
||||
/**
|
||||
* 101 省级 202 市州 303 区县
|
||||
*/
|
||||
areaLevel?: string;
|
||||
|
||||
/**
|
||||
* 父级城市编码
|
||||
*/
|
||||
parentAreaCode?: string;
|
||||
|
||||
/**
|
||||
* 父级城市名称
|
||||
*/
|
||||
parentAreaName?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon?: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CityAreaQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 城市编码
|
||||
*/
|
||||
areaCode?: string;
|
||||
|
||||
/**
|
||||
* 城市名称
|
||||
*/
|
||||
areaName?: string;
|
||||
|
||||
/**
|
||||
* 101 省级 202 市州 303 区县
|
||||
*/
|
||||
areaLevel?: string;
|
||||
|
||||
/**
|
||||
* 父级城市编码
|
||||
*/
|
||||
parentAreaCode?: string;
|
||||
|
||||
/**
|
||||
* 父级城市名称
|
||||
*/
|
||||
parentAreaName?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon?: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,195 +0,0 @@
|
||||
export interface CommunityVO {
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
communityName: string;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
communityType: number;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
province: string;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
city: string;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
district: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
addr: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat: string;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
img: string;
|
||||
|
||||
/**
|
||||
* 小图图片Url
|
||||
*/
|
||||
imgUrl: string;
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CommunityForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
communityName?: string;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
communityType?: number;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
province?: string;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
city?: string;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
district?: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
addr?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon?: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
img?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CommunityQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
communityName?: string;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
communityType?: number;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
province?: string;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
city?: string;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
district?: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
addr?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lon?: string;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
img?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,406 +0,0 @@
|
||||
export interface ConferenceVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 会议室名称
|
||||
*/
|
||||
roomName: string;
|
||||
|
||||
/**
|
||||
* 会议室编号
|
||||
*/
|
||||
roomNo: number;
|
||||
|
||||
/**
|
||||
* 会议室位置
|
||||
*/
|
||||
roomLocation: string;
|
||||
|
||||
/**
|
||||
* 会议室面积
|
||||
*/
|
||||
roomArea: string;
|
||||
|
||||
/**
|
||||
* 会议室类型
|
||||
*/
|
||||
roomType: string;
|
||||
|
||||
/**
|
||||
* 会议室容纳人数
|
||||
*/
|
||||
roomNumber: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy: string;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById: string | number;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime: string;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById: string | number;
|
||||
|
||||
/**
|
||||
* 会议室配套设施
|
||||
*/
|
||||
roomFacilities: string;
|
||||
|
||||
/**
|
||||
* 会议室价格类型(0:免费,1付费,2:面议)
|
||||
*/
|
||||
feeType: number;
|
||||
|
||||
/**
|
||||
* 费用金额
|
||||
*/
|
||||
feePrice: number;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
dataStatus: number;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
responsiblePerson: string;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
contactNumber: number;
|
||||
|
||||
/**
|
||||
* 会议室照片
|
||||
*/
|
||||
pictures: string;
|
||||
|
||||
/**
|
||||
* 会议室描述
|
||||
*/
|
||||
description: string;
|
||||
|
||||
/**
|
||||
* 是否需要审核(0:需要审核,1:不需要审核)
|
||||
*/
|
||||
review: number;
|
||||
|
||||
/**
|
||||
* 启用状态(0:禁用,1:启用)
|
||||
*/
|
||||
enabledStatus: number;
|
||||
|
||||
/**
|
||||
* 开放星期(1:星期一,2:星期二)
|
||||
*/
|
||||
openingWeek: number;
|
||||
|
||||
/**
|
||||
* 开放开始时间
|
||||
*/
|
||||
openingBeginTime: string;
|
||||
|
||||
/**
|
||||
* 开放结束时间
|
||||
*/
|
||||
openingEndTime: string;
|
||||
|
||||
}
|
||||
|
||||
export interface ConferenceForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 会议室名称
|
||||
*/
|
||||
roomName?: string;
|
||||
|
||||
/**
|
||||
* 会议室编号
|
||||
*/
|
||||
roomNo?: number;
|
||||
|
||||
/**
|
||||
* 会议室位置
|
||||
*/
|
||||
roomLocation?: string;
|
||||
|
||||
/**
|
||||
* 会议室面积
|
||||
*/
|
||||
roomArea?: string;
|
||||
|
||||
/**
|
||||
* 会议室类型
|
||||
*/
|
||||
roomType?: string;
|
||||
|
||||
/**
|
||||
* 会议室容纳人数
|
||||
*/
|
||||
roomNumber?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy?: string;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById?: string | number;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy?: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById?: string | number;
|
||||
|
||||
/**
|
||||
* 会议室配套设施
|
||||
*/
|
||||
roomFacilities?: string;
|
||||
|
||||
/**
|
||||
* 会议室价格类型(0:免费,1付费,2:面议)
|
||||
*/
|
||||
feeType?: number;
|
||||
|
||||
/**
|
||||
* 费用金额
|
||||
*/
|
||||
feePrice?: number;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
dataStatus?: number;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
responsiblePerson?: string;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
contactNumber?: number;
|
||||
|
||||
/**
|
||||
* 会议室照片
|
||||
*/
|
||||
pictures?: string;
|
||||
|
||||
/**
|
||||
* 会议室描述
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* 是否需要审核(0:需要审核,1:不需要审核)
|
||||
*/
|
||||
review?: number;
|
||||
|
||||
/**
|
||||
* 启用状态(0:禁用,1:启用)
|
||||
*/
|
||||
enabledStatus?: number;
|
||||
|
||||
/**
|
||||
* 开放星期(1:星期一,2:星期二)
|
||||
*/
|
||||
openingWeek?: number;
|
||||
|
||||
/**
|
||||
* 开放开始时间
|
||||
*/
|
||||
openingBeginTime?: string;
|
||||
|
||||
/**
|
||||
* 开放结束时间
|
||||
*/
|
||||
openingEndTime?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface ConferenceQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 会议室名称
|
||||
*/
|
||||
roomName?: string;
|
||||
|
||||
/**
|
||||
* 会议室编号
|
||||
*/
|
||||
roomNo?: number;
|
||||
|
||||
/**
|
||||
* 会议室位置
|
||||
*/
|
||||
roomLocation?: string;
|
||||
|
||||
/**
|
||||
* 会议室面积
|
||||
*/
|
||||
roomArea?: string;
|
||||
|
||||
/**
|
||||
* 会议室类型
|
||||
*/
|
||||
roomType?: string;
|
||||
|
||||
/**
|
||||
* 会议室容纳人数
|
||||
*/
|
||||
roomNumber?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy?: string;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById?: string | number;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy?: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById?: string | number;
|
||||
|
||||
/**
|
||||
* 会议室配套设施
|
||||
*/
|
||||
roomFacilities?: string;
|
||||
|
||||
/**
|
||||
* 会议室价格类型(0:免费,1付费,2:面议)
|
||||
*/
|
||||
feeType?: number;
|
||||
|
||||
/**
|
||||
* 费用金额
|
||||
*/
|
||||
feePrice?: number;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
dataStatus?: number;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
responsiblePerson?: string;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
contactNumber?: number;
|
||||
|
||||
/**
|
||||
* 会议室照片
|
||||
*/
|
||||
pictures?: string;
|
||||
|
||||
/**
|
||||
* 会议室描述
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* 是否需要审核(0:需要审核,1:不需要审核)
|
||||
*/
|
||||
review?: number;
|
||||
|
||||
/**
|
||||
* 启用状态(0:禁用,1:启用)
|
||||
*/
|
||||
enabledStatus?: number;
|
||||
|
||||
/**
|
||||
* 开放星期(1:星期一,2:星期二)
|
||||
*/
|
||||
openingWeek?: number;
|
||||
|
||||
/**
|
||||
* 开放开始时间
|
||||
*/
|
||||
openingBeginTime?: string;
|
||||
|
||||
/**
|
||||
* 开放结束时间
|
||||
*/
|
||||
openingEndTime?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,91 +0,0 @@
|
||||
export interface DeviceTypeVO {
|
||||
/**
|
||||
* 设备类型编码
|
||||
*/
|
||||
dvNo: string;
|
||||
|
||||
/**
|
||||
* 设备类型名称
|
||||
*/
|
||||
dvName: string;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
factoryNo: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState: number;
|
||||
|
||||
}
|
||||
|
||||
export interface DeviceTypeForm extends BaseEntity {
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 设备类型编码
|
||||
*/
|
||||
dvNo?: string;
|
||||
|
||||
/**
|
||||
* 设备类型名称
|
||||
*/
|
||||
dvName?: string;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
factoryNo?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface DeviceTypeQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 设备类型编码
|
||||
*/
|
||||
dvNo?: string;
|
||||
|
||||
/**
|
||||
* 设备类型名称
|
||||
*/
|
||||
dvName?: string;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
factoryNo?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,86 +0,0 @@
|
||||
export interface E8ConfigVO {
|
||||
/**
|
||||
* E8 名称
|
||||
*/
|
||||
e8Name: string;
|
||||
|
||||
/**
|
||||
* E8服务地址
|
||||
*/
|
||||
e8ServerUrl: string;
|
||||
|
||||
/**
|
||||
* E8服务提供的secret
|
||||
*/
|
||||
e8Secret: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
}
|
||||
|
||||
export interface E8ConfigForm extends BaseEntity {
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* E8 名称
|
||||
*/
|
||||
e8Name?: string;
|
||||
|
||||
/**
|
||||
* E8服务地址
|
||||
*/
|
||||
e8ServerUrl?: string;
|
||||
|
||||
/**
|
||||
* E8服务提供的secret
|
||||
*/
|
||||
e8Secret?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface E8ConfigQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* E8 名称
|
||||
*/
|
||||
e8Name?: string;
|
||||
|
||||
/**
|
||||
* E8服务地址
|
||||
*/
|
||||
e8ServerUrl?: string;
|
||||
|
||||
/**
|
||||
* E8服务提供的secret
|
||||
*/
|
||||
e8Secret?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,71 +0,0 @@
|
||||
export interface FactoryVO {
|
||||
/**
|
||||
* 厂商编码
|
||||
*/
|
||||
factoryNo: string;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
factoryName: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState: number;
|
||||
|
||||
}
|
||||
|
||||
export interface FactoryForm extends BaseEntity {
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
factoryName?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface FactoryQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 厂商编码
|
||||
*/
|
||||
factoryNo?: string;
|
||||
|
||||
/**
|
||||
* 设备厂商名称
|
||||
*/
|
||||
factoryName?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,101 +0,0 @@
|
||||
export interface FloorVO {
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode: string;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
floorCode: number;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
*/
|
||||
floorName: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
}
|
||||
|
||||
export interface FloorForm extends BaseEntity {
|
||||
/**
|
||||
* 数据库id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
floorCode?: number;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
*/
|
||||
floorName?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface FloorQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
floorCode?: number;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
*/
|
||||
floorName?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,406 +0,0 @@
|
||||
export interface RoomBookingVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
tbConferenceId: string | number;
|
||||
|
||||
/**
|
||||
* 预约状态(0:未预定 1:使用中 2:已预订)
|
||||
*/
|
||||
bookingStatus: number;
|
||||
|
||||
/**
|
||||
* 审核状态(0:未审核 1:通过 2:未通过)
|
||||
*/
|
||||
reviewStatus: number;
|
||||
|
||||
/**
|
||||
* 会议预订人
|
||||
*/
|
||||
bookingName: string;
|
||||
|
||||
/**
|
||||
* 使用单位
|
||||
*/
|
||||
userUnit: string;
|
||||
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
conferenceTheme: string;
|
||||
|
||||
/**
|
||||
* 预约日期
|
||||
*/
|
||||
appointmentDate: string;
|
||||
|
||||
/**
|
||||
* 预约开始时段
|
||||
*/
|
||||
appointmentBeginTime: string;
|
||||
|
||||
/**
|
||||
* 预约结束时段
|
||||
*/
|
||||
appointmentEndTime: string;
|
||||
|
||||
/**
|
||||
* 参会人员
|
||||
*/
|
||||
attendeesName: string;
|
||||
|
||||
/**
|
||||
* 参会人数
|
||||
*/
|
||||
approverCount: number;
|
||||
|
||||
/**
|
||||
* 签到开始时间
|
||||
*/
|
||||
checkInStartTime: string;
|
||||
|
||||
/**
|
||||
* 签到结束时间
|
||||
*/
|
||||
checkInEndTime: string;
|
||||
|
||||
/**
|
||||
* 审批人
|
||||
*/
|
||||
approver: string;
|
||||
|
||||
/**
|
||||
* 审批时间
|
||||
*/
|
||||
approverTime: string;
|
||||
|
||||
/**
|
||||
* 评价
|
||||
*/
|
||||
evaluate: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
/**
|
||||
* 是否需要增值服务(0:需要,1:不需要)
|
||||
*/
|
||||
addServices: number;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById: string | number;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy: string;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById: string | number;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy: string;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime: string;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
dataStatus: number;
|
||||
|
||||
}
|
||||
|
||||
export interface RoomBookingForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
tbConferenceId?: string | number;
|
||||
|
||||
/**
|
||||
* 预约状态(0:未预定 1:使用中 2:已预订)
|
||||
*/
|
||||
bookingStatus?: number;
|
||||
|
||||
/**
|
||||
* 审核状态(0:未审核 1:通过 2:未通过)
|
||||
*/
|
||||
reviewStatus?: number;
|
||||
|
||||
/**
|
||||
* 会议预订人
|
||||
*/
|
||||
bookingName?: string;
|
||||
|
||||
/**
|
||||
* 使用单位
|
||||
*/
|
||||
userUnit?: string;
|
||||
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
conferenceTheme?: string;
|
||||
|
||||
/**
|
||||
* 预约日期
|
||||
*/
|
||||
appointmentDate?: string;
|
||||
|
||||
/**
|
||||
* 预约开始时段
|
||||
*/
|
||||
appointmentBeginTime?: string;
|
||||
|
||||
/**
|
||||
* 预约结束时段
|
||||
*/
|
||||
appointmentEndTime?: string;
|
||||
|
||||
/**
|
||||
* 参会人员
|
||||
*/
|
||||
attendeesName?: string;
|
||||
|
||||
/**
|
||||
* 参会人数
|
||||
*/
|
||||
approverCount?: number;
|
||||
|
||||
/**
|
||||
* 签到开始时间
|
||||
*/
|
||||
checkInStartTime?: string;
|
||||
|
||||
/**
|
||||
* 签到结束时间
|
||||
*/
|
||||
checkInEndTime?: string;
|
||||
|
||||
/**
|
||||
* 审批人
|
||||
*/
|
||||
approver?: string;
|
||||
|
||||
/**
|
||||
* 审批时间
|
||||
*/
|
||||
approverTime?: string;
|
||||
|
||||
/**
|
||||
* 评价
|
||||
*/
|
||||
evaluate?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
/**
|
||||
* 是否需要增值服务(0:需要,1:不需要)
|
||||
*/
|
||||
addServices?: number;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById?: string | number;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy?: string;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById?: string | number;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy?: string;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
dataStatus?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface RoomBookingQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
tbConferenceId?: string | number;
|
||||
|
||||
/**
|
||||
* 预约状态(0:未预定 1:使用中 2:已预订)
|
||||
*/
|
||||
bookingStatus?: number;
|
||||
|
||||
/**
|
||||
* 审核状态(0:未审核 1:通过 2:未通过)
|
||||
*/
|
||||
reviewStatus?: number;
|
||||
|
||||
/**
|
||||
* 会议预订人
|
||||
*/
|
||||
bookingName?: string;
|
||||
|
||||
/**
|
||||
* 使用单位
|
||||
*/
|
||||
userUnit?: string;
|
||||
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
conferenceTheme?: string;
|
||||
|
||||
/**
|
||||
* 预约日期
|
||||
*/
|
||||
appointmentDate?: string;
|
||||
|
||||
/**
|
||||
* 预约开始时段
|
||||
*/
|
||||
appointmentBeginTime?: string;
|
||||
|
||||
/**
|
||||
* 预约结束时段
|
||||
*/
|
||||
appointmentEndTime?: string;
|
||||
|
||||
/**
|
||||
* 参会人员
|
||||
*/
|
||||
attendeesName?: string;
|
||||
|
||||
/**
|
||||
* 参会人数
|
||||
*/
|
||||
approverCount?: number;
|
||||
|
||||
/**
|
||||
* 签到开始时间
|
||||
*/
|
||||
checkInStartTime?: string;
|
||||
|
||||
/**
|
||||
* 签到结束时间
|
||||
*/
|
||||
checkInEndTime?: string;
|
||||
|
||||
/**
|
||||
* 审批人
|
||||
*/
|
||||
approver?: string;
|
||||
|
||||
/**
|
||||
* 审批时间
|
||||
*/
|
||||
approverTime?: string;
|
||||
|
||||
/**
|
||||
* 评价
|
||||
*/
|
||||
evaluate?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
/**
|
||||
* 是否需要增值服务(0:需要,1:不需要)
|
||||
*/
|
||||
addServices?: number;
|
||||
|
||||
/**
|
||||
* 创建人id
|
||||
*/
|
||||
createById?: string | number;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy?: string;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 更新人id
|
||||
*/
|
||||
updateById?: string | number;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy?: string;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
|
||||
/**
|
||||
* 数据状态(模拟删除 0:未删除 1:删除)
|
||||
*/
|
||||
dataStatus?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,146 +0,0 @@
|
||||
export interface VisitorManagementVO {
|
||||
/**
|
||||
* 访客姓名
|
||||
*/
|
||||
visitorName: string;
|
||||
|
||||
/**
|
||||
* 访客电话
|
||||
*/
|
||||
visitorPhone: string;
|
||||
|
||||
/**
|
||||
* 拜访事由
|
||||
*/
|
||||
visitingReason: string;
|
||||
|
||||
/**
|
||||
* 拜访开始时间
|
||||
*/
|
||||
visitingBeginTime: string;
|
||||
|
||||
/**
|
||||
* 拜访结束时间
|
||||
*/
|
||||
visitingEndTime: string;
|
||||
|
||||
/**
|
||||
* 预约车位(0:预约,1:不预约)
|
||||
*/
|
||||
bookingParkingSpace: number;
|
||||
|
||||
/**
|
||||
* 车牌号
|
||||
*/
|
||||
licensePlate: string;
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
facePictures: string;
|
||||
|
||||
/**
|
||||
* 预约状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
serveStatus: number;
|
||||
|
||||
}
|
||||
|
||||
export interface VisitorManagementForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 访客姓名
|
||||
*/
|
||||
visitorName?: string;
|
||||
|
||||
/**
|
||||
* 访客电话
|
||||
*/
|
||||
visitorPhone?: string;
|
||||
|
||||
/**
|
||||
* 拜访事由
|
||||
*/
|
||||
visitingReason?: string;
|
||||
|
||||
/**
|
||||
* 预约车位(0:预约,1:不预约)
|
||||
*/
|
||||
bookingParkingSpace?: number;
|
||||
|
||||
/**
|
||||
* 车牌号
|
||||
*/
|
||||
licensePlate?: string;
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
facePictures?: string;
|
||||
|
||||
/**
|
||||
* 预约状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
serveStatus?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface VisitorManagementQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 访客姓名
|
||||
*/
|
||||
visitorName?: string;
|
||||
|
||||
/**
|
||||
* 访客电话
|
||||
*/
|
||||
visitorPhone?: string;
|
||||
|
||||
/**
|
||||
* 拜访事由
|
||||
*/
|
||||
visitingReason?: string;
|
||||
|
||||
/**
|
||||
* 拜访开始时间
|
||||
*/
|
||||
visitingBeginTime?: string;
|
||||
|
||||
/**
|
||||
* 拜访结束时间
|
||||
*/
|
||||
visitingEndTime?: string;
|
||||
|
||||
/**
|
||||
* 预约车位(0:预约,1:不预约)
|
||||
*/
|
||||
bookingParkingSpace?: number;
|
||||
|
||||
/**
|
||||
* 车牌号
|
||||
*/
|
||||
licensePlate?: string;
|
||||
|
||||
/**
|
||||
* 人脸图片
|
||||
*/
|
||||
facePictures?: string;
|
||||
|
||||
/**
|
||||
* 预约状态(0:待确认,1:已确认,2:已取消,3:已完成)
|
||||
*/
|
||||
serveStatus?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,18 +1,24 @@
|
||||
import type { AccessControlVO, AccessControlForm, AccessControlQuery } from './model';
|
||||
import type {
|
||||
AccessControlForm,
|
||||
AccessControlQuery,
|
||||
AccessControlVO,
|
||||
} from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
import type { ID, IDS, PageResult, TreeNode } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询门禁管理列表
|
||||
* @param params
|
||||
* @returns 门禁管理列表
|
||||
*/
|
||||
* 查询门禁管理列表
|
||||
* @param params
|
||||
* @returns 门禁管理列表
|
||||
*/
|
||||
export function accessControlList(params?: AccessControlQuery) {
|
||||
return requestClient.get<PageResult<AccessControlVO>>('/sis/accessControl/list', { params });
|
||||
return requestClient.get<PageResult<AccessControlVO>>(
|
||||
'/sis/accessControl/list',
|
||||
{ params },
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -59,3 +65,11 @@ export function accessControlUpdate(data: AccessControlForm) {
|
||||
export function accessControlRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/sis/accessControl/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询门禁书
|
||||
* @returns void
|
||||
*/
|
||||
export function queryTree() {
|
||||
return requestClient.get<TreeNode<Number>[]>(`/sis/accessControl/tree`);
|
||||
}
|
||||
|
@@ -1,271 +0,0 @@
|
||||
export interface AccessControlVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
accessPort: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType: number;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
factoryCode: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createEmpId: string | number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AccessControlForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName?: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
accessPort?: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType?: number;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
factoryCode?: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType?: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode?: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createEmpId?: string | number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AccessControlQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName?: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
accessPort?: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType?: number;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
factoryCode?: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType?: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode?: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createEmpId?: string | number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -5,6 +5,8 @@ import { getDictOptions } from '#/utils/dict';
|
||||
import { renderDict } from '#/utils/render';
|
||||
import { communityTree } from '#/api/property/community';
|
||||
import { addFullName } from '@vben/utils';
|
||||
import { deviceManageList } from '#/api/sis/deviceManage';
|
||||
import type { DeviceManageQuery } from '#/api/sis/deviceManage/model';
|
||||
|
||||
export const querySchema: FormSchemaGetter = () => [
|
||||
{
|
||||
@@ -82,6 +84,10 @@ export const columns: VxeGridProps['columns'] = [
|
||||
title: '外部编码',
|
||||
field: 'outCode',
|
||||
},
|
||||
{
|
||||
title: '绑定设备',
|
||||
field: 'bindDeviceIp',
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
@@ -139,4 +145,22 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
rules: 'selectRequired',
|
||||
},
|
||||
{
|
||||
label: '绑定设备',
|
||||
fieldName: 'bindDeviceIp',
|
||||
component: 'ApiSelect',
|
||||
componentProps: {
|
||||
resultField: 'list', // 根据API返回结构调整
|
||||
labelField: 'deviceName',
|
||||
valueField: 'id',
|
||||
api: async () => {
|
||||
const params: DeviceManageQuery = {
|
||||
pageNum: 1,
|
||||
pageSize: 500,
|
||||
};
|
||||
const res = await deviceManageList(params);
|
||||
return res.rows;
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
|
@@ -3,8 +3,6 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import { getPopupContainer } from '@vben/utils';
|
||||
import { getDictOptions } from '#/utils/dict';
|
||||
import { DictEnum } from '@vben/constants';
|
||||
import { accessControlList } from '#/api/sis/accessControl';
|
||||
import type { AccessControlQuery } from '#/api/sis/accessControl/model';
|
||||
|
||||
export const querySchema: FormSchemaGetter = () => [
|
||||
{
|
||||
@@ -65,10 +63,10 @@ export const columns: VxeGridProps['columns'] = [
|
||||
title: '录像机端口',
|
||||
field: 'vcrPort',
|
||||
},
|
||||
{
|
||||
/*{
|
||||
title: '门禁id',
|
||||
field: 'accessControlId',
|
||||
},
|
||||
},*/
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
@@ -148,7 +146,7 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'vcrPwd',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
/*{
|
||||
label: '绑定门禁',
|
||||
fieldName: 'accessControlId',
|
||||
component: 'ApiSelect',
|
||||
@@ -166,5 +164,5 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
return res.rows;
|
||||
},
|
||||
},
|
||||
},
|
||||
},*/
|
||||
];
|
||||
|
@@ -1,18 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import type { Recordable } from '@vben/types';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui';
|
||||
import { getVxePopupContainer } from '@vben/utils';
|
||||
|
||||
import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import {
|
||||
import {
|
||||
useVbenVxeGrid,
|
||||
vxeCheckboxChecked,
|
||||
type VxeGridProps
|
||||
type VxeGridProps,
|
||||
} from '#/adapter/vxe-table';
|
||||
|
||||
import {
|
||||
@@ -76,7 +71,7 @@ const gridOptions: VxeGridProps = {
|
||||
keyField: 'id',
|
||||
},
|
||||
// 表格全局唯一表示 保存列配置需要用到
|
||||
id: 'sis-deviceManage-index'
|
||||
id: 'sis-deviceManage-index',
|
||||
};
|
||||
|
||||
const [BasicTable, tableApi] = useVbenVxeGrid({
|
||||
@@ -118,9 +113,14 @@ function handleMultiDelete() {
|
||||
}
|
||||
|
||||
function handleDownloadExcel() {
|
||||
commonDownloadExcel(deviceManageExport, '设备管理数据', tableApi.formApi.form.values, {
|
||||
fieldMappingTime: formOptions.fieldMappingTime,
|
||||
});
|
||||
commonDownloadExcel(
|
||||
deviceManageExport,
|
||||
'设备管理数据',
|
||||
tableApi.formApi.form.values,
|
||||
{
|
||||
fieldMappingTime: formOptions.fieldMappingTime,
|
||||
},
|
||||
);
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -138,9 +138,10 @@ function handleDownloadExcel() {
|
||||
<a-button
|
||||
:disabled="!vxeCheckboxChecked(tableApi)"
|
||||
danger
|
||||
type="primary"
|
||||
v-access:code="['sis:deviceManage:remove']"
|
||||
@click="handleMultiDelete">
|
||||
type="primary"
|
||||
v-access:code="['sis:deviceManage:remove']"
|
||||
@click="handleMultiDelete"
|
||||
>
|
||||
{{ $t('pages.common.delete') }}
|
||||
</a-button>
|
||||
<a-button
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import type { FormSchemaGetter, VbenFormSchema } from '#/adapter/form';
|
||||
import { type FormSchemaGetter, type VbenFormSchema } from '#/adapter/form';
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
|
||||
import { DictEnum } from '@vben/constants';
|
||||
@@ -20,7 +20,7 @@ const labelText: VbenFormSchema = {
|
||||
valueField: 'id',
|
||||
// immediate: true,
|
||||
api: async () => {
|
||||
if(!libArr || libArr.length == 0){
|
||||
if (!libArr || libArr.length == 0) {
|
||||
const params: PersonLibQuery = {
|
||||
pageNum: 1,
|
||||
pageSize: 500,
|
||||
@@ -35,11 +35,11 @@ const labelText: VbenFormSchema = {
|
||||
);
|
||||
item.labelText = (
|
||||
<span>
|
||||
{item.libName} {tag}
|
||||
</span>
|
||||
{item.libName} {tag}
|
||||
</span>
|
||||
);
|
||||
});
|
||||
libArr = res.rows
|
||||
libArr = res.rows;
|
||||
}
|
||||
return libArr;
|
||||
},
|
||||
|
129
apps/web-antd/src/views/sis/personLibImg/imgAuth-modal.vue
Normal file
129
apps/web-antd/src/views/sis/personLibImg/imgAuth-modal.vue
Normal file
@@ -0,0 +1,129 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
import { useVbenModal } from '@vben/common-ui';
|
||||
import { useBeforeCloseDiff } from '#/utils/popup';
|
||||
import type { TransferProps, TreeProps } from 'ant-design-vue';
|
||||
import { Switch, Transfer, Tree } from 'ant-design-vue';
|
||||
import { queryTree } from '#/api/sis/accessControl';
|
||||
import type { TreeNode } from '#/api/common';
|
||||
|
||||
const emit = defineEmits<{ reload: [] }>();
|
||||
const title = ref('门禁授权');
|
||||
|
||||
const { onBeforeClose } = useBeforeCloseDiff({});
|
||||
|
||||
const [BasicModal, modalApi] = useVbenModal({
|
||||
// 在这里更改宽度
|
||||
class: 'w-[700px]',
|
||||
fullscreenButton: false,
|
||||
onBeforeClose,
|
||||
onClosed: handleClosed,
|
||||
onConfirm: handleConfirm,
|
||||
});
|
||||
|
||||
async function handleConfirm() {
|
||||
try {
|
||||
modalApi.lock(true);
|
||||
|
||||
/*const { valid } = await formApi.validate();
|
||||
if (!valid) {
|
||||
return;
|
||||
}
|
||||
const data = cloneDeep(await formApi.getValues());
|
||||
await (isUpdate.value ? personLibImgUpdate(data) : personLibImgAdd(data));*/
|
||||
|
||||
// resetInitialized();
|
||||
emit('reload');
|
||||
modalApi.close();
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
} finally {
|
||||
modalApi.lock(false);
|
||||
}
|
||||
}
|
||||
|
||||
async function handleClosed() {
|
||||
// await formApi.resetForm();
|
||||
// resetInitialized();
|
||||
}
|
||||
|
||||
const checked = ref(false);
|
||||
const targetKeys = ref<string[]>([]);
|
||||
const dataSource = ref<TreeNode[]>([]);
|
||||
|
||||
onMounted(() => {
|
||||
queryAcTree();
|
||||
});
|
||||
|
||||
function queryAcTree() {
|
||||
queryTree().then((res = []) => {
|
||||
dataSource.value = res;
|
||||
});
|
||||
}
|
||||
|
||||
const onChecked = (
|
||||
e: Parameters<TreeProps['onCheck']>[1] | Parameters<TreeProps['onSelect']>[1],
|
||||
checkedKeys: string[],
|
||||
onItemSelect: (n: any, c: boolean) => void,
|
||||
) => {
|
||||
const { eventKey } = e.node;
|
||||
onItemSelect(eventKey, !isChecked(checkedKeys, eventKey));
|
||||
};
|
||||
|
||||
function isChecked(
|
||||
selectedKeys: (string | number)[],
|
||||
eventKey: string | number,
|
||||
) {
|
||||
return selectedKeys.indexOf(eventKey) !== -1;
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<BasicModal :title="title">
|
||||
<div class="p-4">
|
||||
<span>AI盒子授权: </span>
|
||||
<Switch v-model:checked="checked" />
|
||||
</div>
|
||||
<div class="p-4">
|
||||
<Transfer
|
||||
v-model:target-keys="targetKeys"
|
||||
class="tree-transfer h-[400px]"
|
||||
:data-source="dataSource"
|
||||
:render="(item) => item.title"
|
||||
:show-select-all="true"
|
||||
:showSearch="true"
|
||||
>
|
||||
<template #children="{ direction, selectedKeys, onItemSelect }">
|
||||
<Tree
|
||||
v-if="direction === 'left'"
|
||||
block-node
|
||||
checkable
|
||||
check-strictly
|
||||
default-expand-all
|
||||
:checked-keys="[...selectedKeys, ...targetKeys]"
|
||||
:tree-data="dataSource"
|
||||
@check="
|
||||
(_, props) => {
|
||||
onChecked(
|
||||
props,
|
||||
[...selectedKeys, ...targetKeys],
|
||||
onItemSelect,
|
||||
);
|
||||
}
|
||||
"
|
||||
@select="
|
||||
(_, props) => {
|
||||
onChecked(
|
||||
props,
|
||||
[...selectedKeys, ...targetKeys],
|
||||
onItemSelect,
|
||||
);
|
||||
}
|
||||
"
|
||||
/>
|
||||
</template>
|
||||
</Transfer>
|
||||
</div>
|
||||
</BasicModal>
|
||||
</template>
|
@@ -17,6 +17,7 @@ import { commonDownloadExcel } from '#/utils/file/download';
|
||||
|
||||
import { columns, querySchema } from './data';
|
||||
import personLibImgModal from './personLibImg-modal.vue';
|
||||
import imgAuthModal from './imgAuth-modal.vue';
|
||||
|
||||
const formOptions: VbenFormProps = {
|
||||
commonConfig: {
|
||||
@@ -80,6 +81,10 @@ const [PersonLibImgModal, modalApi] = useVbenModal({
|
||||
connectedComponent: personLibImgModal,
|
||||
});
|
||||
|
||||
const [ImgAuthModal, authModalApi] = useVbenModal({
|
||||
connectedComponent: imgAuthModal,
|
||||
});
|
||||
|
||||
function handleAdd() {
|
||||
modalApi.setData({});
|
||||
modalApi.open();
|
||||
@@ -123,7 +128,10 @@ function handleDownloadExcel() {
|
||||
/**
|
||||
* 对图像进行门禁授权
|
||||
*/
|
||||
function accessControlAuth() {}
|
||||
function accessControlAuth() {
|
||||
authModalApi.setData({});
|
||||
authModalApi.open();
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -190,5 +198,6 @@ function accessControlAuth() {}
|
||||
</template>
|
||||
</BasicTable>
|
||||
<PersonLibImgModal @reload="tableApi.query()" />
|
||||
<ImgAuthModal @reload="tableApi.query()" />
|
||||
</Page>
|
||||
</template>
|
||||
|
@@ -7,7 +7,7 @@ import type { User } from '#/api/system/user/model';
|
||||
import { ref } from 'vue';
|
||||
|
||||
import { useAccess } from '@vben/access';
|
||||
import { Page, useVbenDrawer, useVbenModal } from '@vben/common-ui';
|
||||
import { Page, useVbenDrawer, useVbenModal, } from '@vben/common-ui';
|
||||
import { $t } from '@vben/locales';
|
||||
import { preferences } from '@vben/preferences';
|
||||
import { getVxePopupContainer } from '@vben/utils';
|
||||
|
Reference in New Issue
Block a user