This commit is contained in:
@@ -1,38 +1,40 @@
|
||||
import type { BuildingVO, BuildingForm, BuildingQuery } 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 建筑管理列表
|
||||
* @returns 建筑列表
|
||||
*/
|
||||
export function buildingList(params?: BuildingQuery) {
|
||||
return requestClient.get<PageResult<BuildingVO>>('/property/building/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出建筑管理列表
|
||||
* 导出建筑列表
|
||||
* @param params
|
||||
* @returns 建筑管理列表
|
||||
* @returns 建筑列表
|
||||
*/
|
||||
export function buildingExport(params?: BuildingQuery) {
|
||||
return commonExport('/property/building/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询建筑管理详情
|
||||
* 查询建筑详情
|
||||
* @param id id
|
||||
* @returns 建筑管理详情
|
||||
* @returns 建筑详情
|
||||
*/
|
||||
export function buildingInfo(id: ID) {
|
||||
return requestClient.get<BuildingVO>(`/property/building/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增建筑管理
|
||||
* 新增建筑
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -41,7 +43,7 @@ export function buildingAdd(data: BuildingForm) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新建筑管理
|
||||
* 更新建筑
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -50,7 +52,7 @@ export function buildingUpdate(data: BuildingForm) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除建筑管理
|
||||
* 删除建筑
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
|
288
apps/web-antd/src/api/property/building/model.d.ts
vendored
288
apps/web-antd/src/api/property/building/model.d.ts
vendored
@@ -9,12 +9,7 @@ export interface BuildingVO {
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode: string;
|
||||
communityId: string | number;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
@@ -36,6 +31,31 @@ export interface BuildingVO {
|
||||
*/
|
||||
district: string;
|
||||
|
||||
/**
|
||||
* 总层数
|
||||
*/
|
||||
floorCount: number;
|
||||
|
||||
/**
|
||||
* 单元数
|
||||
*/
|
||||
unitCount: number;
|
||||
|
||||
/**
|
||||
* 建筑类型('1:住宅','2:商业','3:混合')
|
||||
*/
|
||||
buildType: number;
|
||||
|
||||
/**
|
||||
* 电梯数量
|
||||
*/
|
||||
elevatorCount: number;
|
||||
|
||||
/**
|
||||
* 竣工日期
|
||||
*/
|
||||
completionDate: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@@ -111,26 +131,6 @@ export interface BuildingVO {
|
||||
*/
|
||||
sort: number;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState: number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue: string;
|
||||
|
||||
}
|
||||
|
||||
export interface BuildingForm extends BaseEntity {
|
||||
@@ -142,12 +142,7 @@ export interface BuildingForm extends BaseEntity {
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
communityId?: string | number;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
@@ -169,6 +164,31 @@ export interface BuildingForm extends BaseEntity {
|
||||
*/
|
||||
district?: string;
|
||||
|
||||
/**
|
||||
* 总层数
|
||||
*/
|
||||
floorCount?: number;
|
||||
|
||||
/**
|
||||
* 单元数
|
||||
*/
|
||||
unitCount?: number;
|
||||
|
||||
/**
|
||||
* 建筑类型('1:住宅','2:商业','3:混合')
|
||||
*/
|
||||
buildType?: number;
|
||||
|
||||
/**
|
||||
* 电梯数量
|
||||
*/
|
||||
elevatorCount?: number;
|
||||
|
||||
/**
|
||||
* 竣工日期
|
||||
*/
|
||||
completionDate?: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@@ -244,25 +264,6 @@ export interface BuildingForm extends BaseEntity {
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
}
|
||||
|
||||
@@ -270,12 +271,7 @@ export interface BuildingQuery extends PageQuery {
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
communityId?: string | number;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
@@ -297,6 +293,31 @@ export interface BuildingQuery extends PageQuery {
|
||||
*/
|
||||
district?: string;
|
||||
|
||||
/**
|
||||
* 总层数
|
||||
*/
|
||||
floorCount?: number;
|
||||
|
||||
/**
|
||||
* 单元数
|
||||
*/
|
||||
unitCount?: number;
|
||||
|
||||
/**
|
||||
* 建筑类型('1:住宅','2:商业','3:混合')
|
||||
*/
|
||||
buildType?: number;
|
||||
|
||||
/**
|
||||
* 电梯数量
|
||||
*/
|
||||
elevatorCount?: number;
|
||||
|
||||
/**
|
||||
* 竣工日期
|
||||
*/
|
||||
completionDate?: string;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@@ -372,161 +393,8 @@ export interface BuildingQuery extends PageQuery {
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
export interface Building extends BaseEntity {
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
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;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
@@ -1,38 +1,40 @@
|
||||
import type { CommunityVO, CommunityForm, CommunityQuery } 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 小区管理列表
|
||||
* @returns 小区列表
|
||||
*/
|
||||
export function communityList(params?: CommunityQuery) {
|
||||
return requestClient.get<PageResult<CommunityVO>>('/property/community/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出小区管理列表
|
||||
* 导出小区列表
|
||||
* @param params
|
||||
* @returns 小区管理列表
|
||||
* @returns 小区列表
|
||||
*/
|
||||
export function communityExport(params?: CommunityQuery) {
|
||||
return commonExport('/property/community/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询小区管理详情
|
||||
* 查询小区详情
|
||||
* @param id id
|
||||
* @returns 小区管理详情
|
||||
* @returns 小区详情
|
||||
*/
|
||||
export function communityInfo(id: ID) {
|
||||
return requestClient.get<CommunityVO>(`/property/community/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增小区管理
|
||||
* 新增小区
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -41,7 +43,7 @@ export function communityAdd(data: CommunityForm) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新小区管理
|
||||
* 更新小区
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -50,7 +52,7 @@ export function communityUpdate(data: CommunityForm) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除小区管理
|
||||
* 删除小区
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
|
211
apps/web-antd/src/api/property/community/model.d.ts
vendored
211
apps/web-antd/src/api/property/community/model.d.ts
vendored
@@ -2,7 +2,7 @@ import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface CommunityVO {
|
||||
/**
|
||||
* 主键
|
||||
*
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
@@ -11,11 +11,6 @@ export interface CommunityVO {
|
||||
*/
|
||||
communityName: string;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
@@ -51,31 +46,41 @@ export interface CommunityVO {
|
||||
*/
|
||||
lat: string;
|
||||
|
||||
/**
|
||||
* 占地面积(平方米)
|
||||
*/
|
||||
area: number;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
builtYear: string;
|
||||
|
||||
/**
|
||||
* 物业公司
|
||||
*/
|
||||
propertyCompany: string;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
contactPhone: string;
|
||||
|
||||
/**
|
||||
* 社区描述
|
||||
*/
|
||||
description: string;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
img: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState: number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CommunityForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
@@ -84,11 +89,6 @@ export interface CommunityForm extends BaseEntity {
|
||||
*/
|
||||
communityName?: string;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
@@ -124,26 +124,36 @@ export interface CommunityForm extends BaseEntity {
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 占地面积(平方米)
|
||||
*/
|
||||
area?: number;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
builtYear?: string;
|
||||
|
||||
/**
|
||||
* 物业公司
|
||||
*/
|
||||
propertyCompany?: string;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
contactPhone?: string;
|
||||
|
||||
/**
|
||||
* 社区描述
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
img?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface CommunityQuery extends PageQuery {
|
||||
@@ -152,11 +162,6 @@ export interface CommunityQuery extends PageQuery {
|
||||
*/
|
||||
communityName?: string;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 社区类型 1:园区,2:小区
|
||||
*/
|
||||
@@ -192,100 +197,38 @@ export interface CommunityQuery extends PageQuery {
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 占地面积(平方米)
|
||||
*/
|
||||
area?: number;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
builtYear?: string;
|
||||
|
||||
/**
|
||||
* 物业公司
|
||||
*/
|
||||
propertyCompany?: string;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
contactPhone?: string;
|
||||
|
||||
/**
|
||||
* 社区描述
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* 小图图片
|
||||
*/
|
||||
img?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
export interface Community extends BaseEntity {
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
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;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
@@ -1,38 +1,40 @@
|
||||
import type { FloorVO, FloorForm, FloorQuery } 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 楼层管理列表
|
||||
* @returns 楼层列表
|
||||
*/
|
||||
export function floorList(params?: FloorQuery) {
|
||||
return requestClient.get<PageResult<FloorVO>>('/property/floor/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出楼层管理列表
|
||||
* 导出楼层列表
|
||||
* @param params
|
||||
* @returns 楼层管理列表
|
||||
* @returns 楼层列表
|
||||
*/
|
||||
export function floorExport(params?: FloorQuery) {
|
||||
return commonExport('/property/floor/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询楼层管理详情
|
||||
* 查询楼层详情
|
||||
* @param id id
|
||||
* @returns 楼层管理详情
|
||||
* @returns 楼层详情
|
||||
*/
|
||||
export function floorInfo(id: ID) {
|
||||
return requestClient.get<FloorVO>(`/property/floor/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增楼层管理
|
||||
* 新增楼层
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -41,7 +43,7 @@ export function floorAdd(data: FloorForm) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新楼层管理
|
||||
* 更新楼层
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
@@ -50,7 +52,7 @@ export function floorUpdate(data: FloorForm) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除楼层管理
|
||||
* 删除楼层
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
|
102
apps/web-antd/src/api/property/floor/model.d.ts
vendored
102
apps/web-antd/src/api/property/floor/model.d.ts
vendored
@@ -1,21 +1,15 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface FloorVO {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
id: string | number;
|
||||
/**
|
||||
* 社区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
* 单元编码
|
||||
*/
|
||||
buildingCode: string;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
floorCode: number;
|
||||
unitId: string | number;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
@@ -23,32 +17,37 @@ export interface FloorVO {
|
||||
floorName: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
* 楼层号
|
||||
*/
|
||||
orgCode: string;
|
||||
floorNumber: number;
|
||||
|
||||
/**
|
||||
* 楼层类型
|
||||
*/
|
||||
floorType: number;
|
||||
|
||||
/**
|
||||
* 房间数量
|
||||
*/
|
||||
roomCount: number;
|
||||
|
||||
/**
|
||||
* 层高
|
||||
*/
|
||||
floorHeight: number;
|
||||
|
||||
}
|
||||
|
||||
export interface FloorForm extends BaseEntity {
|
||||
/**
|
||||
* ID
|
||||
*
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 社区编码
|
||||
* 单元编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
floorCode?: number;
|
||||
unitId?: string | number;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
@@ -56,27 +55,32 @@ export interface FloorForm extends BaseEntity {
|
||||
floorName?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
* 楼层号
|
||||
*/
|
||||
orgCode?: string;
|
||||
floorNumber?: number;
|
||||
|
||||
/**
|
||||
* 楼层类型
|
||||
*/
|
||||
floorType?: number;
|
||||
|
||||
/**
|
||||
* 房间数量
|
||||
*/
|
||||
roomCount?: number;
|
||||
|
||||
/**
|
||||
* 层高
|
||||
*/
|
||||
floorHeight?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface FloorQuery extends PageQuery {
|
||||
/**
|
||||
* 社区编码
|
||||
* 单元编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 楼层编码
|
||||
*/
|
||||
floorCode?: number;
|
||||
unitId?: string | number;
|
||||
|
||||
/**
|
||||
* 楼层数名称
|
||||
@@ -84,14 +88,24 @@ export interface FloorQuery extends PageQuery {
|
||||
floorName?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
* 楼层号
|
||||
*/
|
||||
orgCode?: string;
|
||||
floorNumber?: number;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
* 楼层类型
|
||||
*/
|
||||
dataState?: number;
|
||||
floorType?: number;
|
||||
|
||||
/**
|
||||
* 房间数量
|
||||
*/
|
||||
roomCount?: number;
|
||||
|
||||
/**
|
||||
* 层高
|
||||
*/
|
||||
floorHeight?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
|
@@ -1,6 +1,8 @@
|
||||
import type { RoomVO, RoomForm, RoomQuery } 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';
|
||||
|
||||
|
25
apps/web-antd/src/api/property/room/model.d.ts
vendored
25
apps/web-antd/src/api/property/room/model.d.ts
vendored
@@ -2,19 +2,14 @@ import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface RoomVO {
|
||||
/**
|
||||
* 主键
|
||||
*
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 所属楼层ID
|
||||
*/
|
||||
floorCode: string;
|
||||
|
||||
/**
|
||||
* 房间编码
|
||||
*/
|
||||
roomCode: string;
|
||||
floorId: string | number;
|
||||
|
||||
/**
|
||||
* 房间号(如101,202)
|
||||
@@ -55,19 +50,14 @@ export interface RoomVO {
|
||||
|
||||
export interface RoomForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 所属楼层ID
|
||||
*/
|
||||
floorCode?: string;
|
||||
|
||||
/**
|
||||
* 房间编码
|
||||
*/
|
||||
roomCode?: string;
|
||||
floorId?: string | number;
|
||||
|
||||
/**
|
||||
* 房间号(如101,202)
|
||||
@@ -110,12 +100,7 @@ export interface RoomQuery extends PageQuery {
|
||||
/**
|
||||
* 所属楼层ID
|
||||
*/
|
||||
floorCode?: string;
|
||||
|
||||
/**
|
||||
* 房间编码
|
||||
*/
|
||||
roomCode?: string;
|
||||
floorId?: string | number;
|
||||
|
||||
/**
|
||||
* 房间号(如101,202)
|
||||
|
21
apps/web-antd/src/api/property/unit/model.d.ts
vendored
21
apps/web-antd/src/api/property/unit/model.d.ts
vendored
@@ -9,12 +9,7 @@ export interface UnitVO {
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode: string;
|
||||
|
||||
/**
|
||||
* 单元编码
|
||||
*/
|
||||
unitCode: string;
|
||||
buildingId: string | number;
|
||||
|
||||
/**
|
||||
* 单元名称
|
||||
@@ -47,12 +42,7 @@ export interface UnitForm extends BaseEntity {
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 单元编码
|
||||
*/
|
||||
unitCode?: string;
|
||||
buildingId?: string | number;
|
||||
|
||||
/**
|
||||
* 单元名称
|
||||
@@ -80,12 +70,7 @@ export interface UnitQuery extends PageQuery {
|
||||
/**
|
||||
* 建筑名称
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 单元编码
|
||||
*/
|
||||
unitCode?: string;
|
||||
buildingId?: string | number;
|
||||
|
||||
/**
|
||||
* 单元名称
|
||||
|
Reference in New Issue
Block a user