2025-06-27 16:42:11 +08:00
|
|
|
|
declare namespace ApiTypes {
|
2025-07-01 16:22:53 +08:00
|
|
|
|
namespace Archive {
|
|
|
|
|
|
namespace HouseOccupants {
|
|
|
|
|
|
type List = {
|
2025-07-10 18:01:45 +08:00
|
|
|
|
"asset_houses_id"?: number; // 资产房屋ID
|
|
|
|
|
|
"status"?: string; // 状态,[enum:HouseOccupantsStatusEnum]
|
2025-07-01 16:22:53 +08:00
|
|
|
|
};
|
2025-07-17 13:58:54 +08:00
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"name": string; // 客户姓名
|
|
|
|
|
|
"phone": string; // 客户手机号
|
|
|
|
|
|
"reserve_phone"?: string; // 备用电话
|
|
|
|
|
|
"card_type"?: string; // 证件类型,[enum:HouseOccupantsCardTypeEnum]
|
|
|
|
|
|
"id_card"?: string; // 客户身份证号
|
|
|
|
|
|
"card_front_image"?: string[]; // 身份证正面图片
|
|
|
|
|
|
"card_back_image"?: string[]; // 身份证反面图片
|
|
|
|
|
|
"address"?: string; // 客户地址
|
|
|
|
|
|
"ownership_info"?: string[]; // 产权信息
|
|
|
|
|
|
"house_relation"?: string; // 房客关系,[enum:HouseOccupantsHouseRelationEnum]
|
|
|
|
|
|
"relation_with_owner"?: string; // 与产权人关系,[enum:HouseOccupantsRelationWithOwnerEnum]
|
|
|
|
|
|
"is_live_in"?: number; // 是否在居住中
|
|
|
|
|
|
"move_in_date"?: Date; // 入住时间
|
|
|
|
|
|
"status"?: string; // 状态,[enum:HouseOccupantsStatusEnum]
|
|
|
|
|
|
"unbound_time"?: Date; // 解绑时间
|
|
|
|
|
|
};
|
2025-07-01 16:22:53 +08:00
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-07-17 13:58:54 +08:00
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-07-01 16:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace HouseRegisters {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"house_name"?: string; // 模糊搜索:房屋名称
|
|
|
|
|
|
"type"?: string; // 类型,[enum:HouseRegistersTypeEnum]
|
|
|
|
|
|
"status"?: string; // 状态,[enum:HouseRegistersStatusEnum]
|
2025-07-25 16:42:54 +08:00
|
|
|
|
"asset_houses_id"?: number; // 房屋ID
|
2025-07-01 16:22:53 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"asset_houses_id": number; // 房屋ID
|
|
|
|
|
|
"type": string; // 类型,[enum:HouseRegistersTypeEnum]
|
|
|
|
|
|
"status"?: string; // 状态,[enum:HouseRegistersStatusEnum]
|
|
|
|
|
|
"house_status"?: string; // 房屋状态,[enum:HouseRegistersHouseStatusEnum]
|
|
|
|
|
|
"usage_plan"?: string; // 使用计划,[enum:HouseRegistersUsagePlanEnum]
|
|
|
|
|
|
"customer_type"?: string; // 客户类型,[enum:HouseRegistersCustomerTypeEnum]
|
|
|
|
|
|
"customer_info"?: string[]; // 客户信息
|
2025-07-10 18:01:45 +08:00
|
|
|
|
"ownership_info"?: string[]; // 产权信息
|
2025-07-01 16:22:53 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"type": string; // 类型,[enum:HouseRegistersTypeEnum]
|
|
|
|
|
|
"house_status"?: string; // 房屋状态,[enum:HouseRegistersHouseStatusEnum]
|
|
|
|
|
|
"usage_plan"?: string; // 使用计划,[enum:HouseRegistersUsagePlanEnum]
|
|
|
|
|
|
"customer_type"?: string; // 客户类型,[enum:HouseRegistersCustomerTypeEnum]
|
|
|
|
|
|
"customer_info"?: string[]; // 客户信息
|
2025-07-10 18:01:45 +08:00
|
|
|
|
"ownership_info"?: string[]; // 产权信息
|
2025-07-01 16:22:53 +08:00
|
|
|
|
};
|
2025-07-17 13:58:54 +08:00
|
|
|
|
type MoveOut = {
|
|
|
|
|
|
"house_occupants_id": number; // 房客id
|
2025-07-25 16:42:54 +08:00
|
|
|
|
"move_out_date"?: Date; // 搬离时间
|
|
|
|
|
|
"apply_reason"?: string; // 搬离原因
|
2025-07-17 13:58:54 +08:00
|
|
|
|
};
|
|
|
|
|
|
type RemoveOwner = {
|
|
|
|
|
|
"house_occupants_id": number; // 房客id
|
|
|
|
|
|
};
|
2025-07-01 16:22:53 +08:00
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Audit = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"status": string; // 状态:Approved 通过、Rejected 拒绝
|
|
|
|
|
|
"reason"?: string; // 拒绝原因
|
|
|
|
|
|
};
|
|
|
|
|
|
type SoftDelete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Restore = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-06-29 18:42:50 +08:00
|
|
|
|
namespace Asset {
|
|
|
|
|
|
namespace AssetBuildings {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"name": string; // 楼栋名称
|
|
|
|
|
|
"alias_name"?: string; // 楼栋别名
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"name": string; // 楼栋名称
|
|
|
|
|
|
"alias_name"?: string; // 楼栋别名
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-06-30 14:24:39 +08:00
|
|
|
|
type Select = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
2025-06-29 18:42:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace AssetHouses {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"asset_units_id"?: number; // 所属单元id,[ref:asset_units]
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"asset_units_id": number; // 所属单元id,[ref:asset_units]
|
|
|
|
|
|
"name": string; // 房屋名称
|
|
|
|
|
|
"floor"?: number; // 楼层
|
|
|
|
|
|
"built_area"?: number; // 建筑面积
|
|
|
|
|
|
"inside_area"?: number; // 套内面积
|
|
|
|
|
|
"chargeable_area"?: number; // 计费面积
|
|
|
|
|
|
"ownership_type"?: string; // 产权性质,[enum:AssetHousesOwnershipTypeEnum]
|
|
|
|
|
|
"ownership_term"?: string; // 产权年限
|
|
|
|
|
|
"orientation"?: string; // 朝向,[enum:AssetHousesOrientationEnum]
|
|
|
|
|
|
"usage"?: string; // 用途,[enum:AssetHousesUsageEnum]
|
|
|
|
|
|
"status"?: string; // 房屋状态,[enum:AssetHousesStatusEnum]
|
|
|
|
|
|
"room"?: number; // 房
|
|
|
|
|
|
"hall"?: number; // 厅
|
|
|
|
|
|
"kitchen"?: number; // 厨
|
|
|
|
|
|
"bathroom"?: number; // 卫
|
|
|
|
|
|
"balcony"?: number; // 阳台
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"asset_units_id": number; // 所属单元id,[ref:asset_units]
|
|
|
|
|
|
"name": string; // 房屋名称
|
|
|
|
|
|
"floor"?: number; // 楼层
|
|
|
|
|
|
"built_area"?: number; // 建筑面积
|
|
|
|
|
|
"inside_area"?: number; // 套内面积
|
|
|
|
|
|
"chargeable_area"?: number; // 计费面积
|
|
|
|
|
|
"ownership_type"?: string; // 产权性质,[enum:AssetHousesOwnershipTypeEnum]
|
|
|
|
|
|
"ownership_term"?: string; // 产权年限
|
|
|
|
|
|
"orientation"?: string; // 朝向,[enum:AssetHousesOrientationEnum]
|
|
|
|
|
|
"usage"?: string; // 用途,[enum:AssetHousesUsageEnum]
|
|
|
|
|
|
"status"?: string; // 房屋状态,[enum:AssetHousesStatusEnum]
|
|
|
|
|
|
"room"?: number; // 房
|
|
|
|
|
|
"hall"?: number; // 厅
|
|
|
|
|
|
"kitchen"?: number; // 厨
|
|
|
|
|
|
"bathroom"?: number; // 卫
|
|
|
|
|
|
"balcony"?: number; // 阳台
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-07-01 17:56:01 +08:00
|
|
|
|
type Select = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"asset_units_id"?: number; // 所属单元id,[ref:asset_units]
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
2025-06-29 18:42:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace AssetProjects {
|
|
|
|
|
|
type List = {
|
2025-06-30 14:24:39 +08:00
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
2025-06-29 18:42:50 +08:00
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"name": string; // 项目名称
|
|
|
|
|
|
"alias_name"?: string; // 项目别名
|
|
|
|
|
|
"code"?: string; // 项目编码
|
2025-06-30 14:24:39 +08:00
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
2025-06-29 18:42:50 +08:00
|
|
|
|
"province"?: string; // 省
|
|
|
|
|
|
"city"?: string; // 市
|
|
|
|
|
|
"area"?: string; // 区
|
|
|
|
|
|
"street"?: string; // 街道
|
|
|
|
|
|
"province_id"?: number; // 省ID[ref:cities]
|
|
|
|
|
|
"city_id"?: number; // 市ID[ref:cities]
|
|
|
|
|
|
"area_id"?: number; // 区ID[ref:cities]
|
|
|
|
|
|
"street_id"?: number; // 街道ID[ref:cities]
|
|
|
|
|
|
"address"?: string; // 地址
|
|
|
|
|
|
"longitude"?: string; // 经度
|
|
|
|
|
|
"latitude"?: string; // 纬度
|
|
|
|
|
|
"property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum]
|
|
|
|
|
|
"status"?: string; // 状态,[enum:AssetProjectsStatusEnum]
|
|
|
|
|
|
"entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum]
|
|
|
|
|
|
"charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum]
|
|
|
|
|
|
"takeover_date"?: Date; // 接管日期
|
|
|
|
|
|
"closure_date"?: Date; // 封园日期
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"name": string; // 项目名称
|
|
|
|
|
|
"alias_name"?: string; // 项目别名
|
|
|
|
|
|
"code"?: string; // 项目编码
|
2025-06-30 14:24:39 +08:00
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
2025-06-29 18:42:50 +08:00
|
|
|
|
"province"?: string; // 省
|
|
|
|
|
|
"city"?: string; // 市
|
|
|
|
|
|
"area"?: string; // 区
|
|
|
|
|
|
"street"?: string; // 街道
|
|
|
|
|
|
"province_id"?: number; // 省ID[ref:cities]
|
|
|
|
|
|
"city_id"?: number; // 市ID[ref:cities]
|
|
|
|
|
|
"area_id"?: number; // 区ID[ref:cities]
|
|
|
|
|
|
"street_id"?: number; // 街道ID[ref:cities]
|
|
|
|
|
|
"address"?: string; // 地址
|
|
|
|
|
|
"longitude"?: string; // 经度
|
|
|
|
|
|
"latitude"?: string; // 纬度
|
|
|
|
|
|
"property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum]
|
|
|
|
|
|
"status"?: string; // 状态,[enum:AssetProjectsStatusEnum]
|
|
|
|
|
|
"entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum]
|
|
|
|
|
|
"charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum]
|
|
|
|
|
|
"takeover_date"?: Date; // 接管日期
|
|
|
|
|
|
"closure_date"?: Date; // 封园日期
|
|
|
|
|
|
};
|
2025-07-10 18:01:45 +08:00
|
|
|
|
type BindCompany = {
|
|
|
|
|
|
"projects_id": number; // 项目id
|
|
|
|
|
|
"companies_id": number; // 机构id
|
|
|
|
|
|
};
|
2025-06-29 18:42:50 +08:00
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type SoftDelete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Restore = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-06-30 14:24:39 +08:00
|
|
|
|
type Select = {
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
2025-06-29 18:42:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace AssetUnits {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"name": string; // 单元名称
|
|
|
|
|
|
"alias_name"?: string; // 单元别名
|
|
|
|
|
|
"building_structure"?: string; // 建筑结构,[enum:AssetUnitsBuildingStructureEnum]
|
|
|
|
|
|
"building_type"?: string; // 建筑类型,[enum:AssetUnitsBuildingTypeEnum]
|
|
|
|
|
|
"elevator_count"?: number; // 电梯数量
|
|
|
|
|
|
"units_per_building"?: number; // 单元户数
|
|
|
|
|
|
"highest_floor"?: number; // 最高楼层
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"name": string; // 单元名称
|
|
|
|
|
|
"alias_name"?: string; // 单元别名
|
|
|
|
|
|
"building_structure"?: string; // 建筑结构,[enum:AssetUnitsBuildingStructureEnum]
|
|
|
|
|
|
"building_type"?: string; // 建筑类型,[enum:AssetUnitsBuildingTypeEnum]
|
|
|
|
|
|
"elevator_count"?: number; // 电梯数量
|
|
|
|
|
|
"units_per_building"?: number; // 单元户数
|
|
|
|
|
|
"highest_floor"?: number; // 最高楼层
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-06-30 14:24:39 +08:00
|
|
|
|
type Select = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
2025-07-17 13:58:54 +08:00
|
|
|
|
type GridSelect = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
2025-06-29 18:42:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-07-04 17:26:52 +08:00
|
|
|
|
namespace Bill {
|
|
|
|
|
|
namespace HouseBills {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"full_name"?: string; // 模糊搜索:房屋名称
|
|
|
|
|
|
"company_name"?: string; // 模糊搜索:公司名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
|
2025-07-16 10:18:01 +08:00
|
|
|
|
"company_receipt_accounts_id": number; // 公司收款账户id,[ref:company_receipt_accounts]
|
2025-07-04 17:26:52 +08:00
|
|
|
|
"type": string; // 账单类型,[enum:HouseBillsTypeEnum]
|
|
|
|
|
|
"amount": number; // 金额
|
|
|
|
|
|
"discount_amount"?: number; // 优惠金额
|
|
|
|
|
|
"late_fee"?: number; // 滞纳金
|
|
|
|
|
|
"start_date": Date; // 计费开始日期
|
|
|
|
|
|
"end_date": Date; // 计费结束日期
|
2025-07-16 10:18:01 +08:00
|
|
|
|
"month": string; // 月份
|
2025-07-04 17:26:52 +08:00
|
|
|
|
"late_start_date"?: Date; // 滞纳金起算日期
|
|
|
|
|
|
"collected_late_fee_days"?: number; // 已收滞纳金天数
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
2025-07-16 10:18:01 +08:00
|
|
|
|
"company_receipt_accounts_id": number; // 公司收款账户id,[ref:company_receipt_accounts]
|
2025-07-04 17:26:52 +08:00
|
|
|
|
"type": string; // 账单类型,[enum:HouseBillsTypeEnum]
|
|
|
|
|
|
"amount": number; // 金额
|
|
|
|
|
|
"discount_amount"?: number; // 优惠金额
|
|
|
|
|
|
"late_fee"?: number; // 滞纳金
|
|
|
|
|
|
"start_date": Date; // 计费开始日期
|
|
|
|
|
|
"end_date": Date; // 计费结束日期
|
2025-07-16 10:18:01 +08:00
|
|
|
|
"month": string; // 月份
|
2025-07-04 17:26:52 +08:00
|
|
|
|
"late_start_date"?: Date; // 滞纳金起算日期
|
|
|
|
|
|
"collected_late_fee_days"?: number; // 已收滞纳金天数
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type SoftDelete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Restore = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-06-27 17:03:33 +08:00
|
|
|
|
namespace Common {
|
|
|
|
|
|
namespace Admins {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"username"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"username": string; // 用户名
|
|
|
|
|
|
"password": string; // 密码
|
|
|
|
|
|
"roles_id"?: string[]; // 角色
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"username": string; // 用户名/手机号
|
|
|
|
|
|
"password"?: string; // 密码,[hidden]
|
|
|
|
|
|
"roles_id"?: string[]; // 角色
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"username"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Auth {
|
|
|
|
|
|
type Login = {
|
|
|
|
|
|
"username": string; // 用户名
|
|
|
|
|
|
"password": string; // 密码
|
|
|
|
|
|
};
|
|
|
|
|
|
type ChangePassword = {
|
|
|
|
|
|
"old_password": string; // 老密码
|
|
|
|
|
|
"new_password": string; // 新密码
|
|
|
|
|
|
"re_new_password": string; // 重复新密码
|
|
|
|
|
|
};
|
|
|
|
|
|
type PreUpload = {
|
|
|
|
|
|
"filename": string; // 文件名称
|
|
|
|
|
|
"alc": string; // 访问限制 public-read, private
|
|
|
|
|
|
};
|
|
|
|
|
|
type TemporaryUrl = {
|
|
|
|
|
|
"filename": string; // 文件名称
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-06-29 18:42:50 +08:00
|
|
|
|
namespace Company {
|
|
|
|
|
|
namespace Companies {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"parent_id"?: number; // 父级ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"name": string; // 组织名称
|
|
|
|
|
|
"short_name"?: string; // 组织简称
|
|
|
|
|
|
"business_license_number": string; // 营业执照号
|
|
|
|
|
|
"merchant_type"?: string; // 商户类型,[enum:CompaniesMerchantTypeEnum]
|
|
|
|
|
|
"contact_name": string; // 联系人姓名
|
|
|
|
|
|
"contact_phone": string; // 联系人手机
|
|
|
|
|
|
"contact_email"?: string; // 联系人邮箱
|
|
|
|
|
|
"contact_address"?: string; // 联系人地址
|
|
|
|
|
|
"province"?: string; // 省
|
|
|
|
|
|
"city"?: string; // 市
|
|
|
|
|
|
"area"?: string; // 区
|
|
|
|
|
|
"street"?: string; // 街道
|
|
|
|
|
|
"province_id"?: number; // 省ID[ref:cities]
|
|
|
|
|
|
"city_id"?: number; // 市ID[ref:cities]
|
|
|
|
|
|
"area_id"?: number; // 区ID[ref:cities]
|
|
|
|
|
|
"street_id"?: number; // 街道ID[ref:cities]
|
|
|
|
|
|
"address"?: string; // 地址
|
|
|
|
|
|
"business_license_image"?: string[]; // 营业执照图片
|
|
|
|
|
|
"_lft"?: number; //
|
|
|
|
|
|
"_rgt"?: number; //
|
2025-06-30 14:24:39 +08:00
|
|
|
|
"parent_id"?: number; // 上级 ID
|
2025-06-29 18:42:50 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"name": string; // 组织名称
|
|
|
|
|
|
"short_name"?: string; // 组织简称
|
|
|
|
|
|
"business_license_number": string; // 营业执照号
|
|
|
|
|
|
"merchant_type"?: string; // 商户类型,[enum:CompaniesMerchantTypeEnum]
|
|
|
|
|
|
"contact_name": string; // 联系人姓名
|
|
|
|
|
|
"contact_phone": string; // 联系人手机
|
|
|
|
|
|
"contact_email"?: string; // 联系人邮箱
|
|
|
|
|
|
"contact_address"?: string; // 联系人地址
|
|
|
|
|
|
"province"?: string; // 省
|
|
|
|
|
|
"city"?: string; // 市
|
|
|
|
|
|
"area"?: string; // 区
|
|
|
|
|
|
"street"?: string; // 街道
|
|
|
|
|
|
"province_id"?: number; // 省ID[ref:cities]
|
|
|
|
|
|
"city_id"?: number; // 市ID[ref:cities]
|
|
|
|
|
|
"area_id"?: number; // 区ID[ref:cities]
|
|
|
|
|
|
"street_id"?: number; // 街道ID[ref:cities]
|
|
|
|
|
|
"address"?: string; // 地址
|
|
|
|
|
|
"business_license_image"?: string[]; // 营业执照图片
|
|
|
|
|
|
"_lft"?: number; //
|
|
|
|
|
|
"_rgt"?: number; //
|
2025-06-30 14:24:39 +08:00
|
|
|
|
"parent_id"?: number; // 上级 ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type SoftDelete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Restore = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
2025-06-30 15:56:13 +08:00
|
|
|
|
namespace CompanyEmployees {
|
|
|
|
|
|
type List = {
|
2025-07-01 11:35:54 +08:00
|
|
|
|
"companies_id"?: number; // 机构ID
|
|
|
|
|
|
"organizations_id"?: number; // 组织机构ID
|
2025-06-30 15:56:13 +08:00
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"phone"?: string; // 模糊搜索:手机号
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"name": string; // 名称
|
|
|
|
|
|
"phone": string; // 手机号
|
|
|
|
|
|
"password"?: string; // 密码[hidden]
|
|
|
|
|
|
"organizations_id": number; // 所属组织id,[ref:organizations]
|
|
|
|
|
|
"positions_id"?: number; // 岗位id,[ref:company_positions]
|
|
|
|
|
|
"sex"?: string; // 性别,[enum:SexEnum]
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"name": string; // 名称
|
|
|
|
|
|
"phone": string; // 手机号
|
|
|
|
|
|
"password"?: string; // 密码[hidden]
|
|
|
|
|
|
"organizations_id": number; // 所属组织id,[ref:organizations]
|
|
|
|
|
|
"positions_id"?: number; // 岗位id,[ref:company_positions]
|
|
|
|
|
|
"sex"?: string; // 性别,[enum:SexEnum]
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type SoftDelete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Restore = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"organizations_id"?: number; // 所属组织id,[ref:organizations]
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace CompanyPositions {
|
|
|
|
|
|
type List = {
|
2025-07-01 11:35:54 +08:00
|
|
|
|
"companies_id"?: number; // 机构ID
|
2025-06-30 15:56:13 +08:00
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"name": string; // 岗位名称
|
2025-07-01 11:35:54 +08:00
|
|
|
|
"code"?: string; // 岗位编号
|
2025-06-30 15:56:13 +08:00
|
|
|
|
"status"?: number; // 状态
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"name": string; // 岗位名称
|
2025-07-01 11:35:54 +08:00
|
|
|
|
"code"?: string; // 岗位编号
|
2025-06-30 15:56:13 +08:00
|
|
|
|
"status"?: number; // 状态
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
2025-07-16 10:18:01 +08:00
|
|
|
|
namespace CompanyProjectReceiptAccounts {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-07-17 13:58:54 +08:00
|
|
|
|
type Select = {
|
|
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
};
|
2025-07-16 10:18:01 +08:00
|
|
|
|
}
|
2025-06-30 14:24:39 +08:00
|
|
|
|
namespace CompanyReceiptAccounts {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
2025-07-16 10:18:01 +08:00
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
2025-06-30 14:24:39 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"company_name": string; // 企业名称
|
|
|
|
|
|
"company_bank": string; // 企业开户行
|
|
|
|
|
|
"company_account": string; // 企业账户
|
|
|
|
|
|
"pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum]
|
|
|
|
|
|
"merchant_id"?: string; // 第三方支付的商户ID
|
|
|
|
|
|
"is_default"?: number; // 是否默认收款账号
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"company_name": string; // 企业名称
|
|
|
|
|
|
"company_bank": string; // 企业开户行
|
|
|
|
|
|
"company_account": string; // 企业账户
|
|
|
|
|
|
"pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum]
|
|
|
|
|
|
"merchant_id"?: string; // 第三方支付的商户ID
|
|
|
|
|
|
"is_default"?: number; // 是否默认收款账号
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type SoftDelete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Restore = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Organizations {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"companies_id"?: number; // 机构ID[ref:companies]
|
2025-07-16 10:18:01 +08:00
|
|
|
|
"parent_id"?: number; // 父级ID
|
2025-06-30 14:24:39 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"companies_id": number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"type": string; // 类型,[enum:OrganizationsTypeEnum]
|
|
|
|
|
|
"name": string; // 名称
|
2025-06-30 15:56:13 +08:00
|
|
|
|
"managers_id"?: number; // 负责人IDid,[ref:company_employees]
|
2025-06-30 14:24:39 +08:00
|
|
|
|
"manager_phone"?: string; // 负责人电话
|
|
|
|
|
|
"manager_email"?: string; // 负责人邮箱
|
|
|
|
|
|
"status"?: number; // 状态
|
|
|
|
|
|
"sort"?: number; // 排序
|
|
|
|
|
|
"_lft"?: number; //
|
|
|
|
|
|
"_rgt"?: number; //
|
2025-06-29 18:42:50 +08:00
|
|
|
|
"parent_id"?: number; //
|
|
|
|
|
|
};
|
2025-06-30 14:24:39 +08:00
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"type": string; // 类型,[enum:OrganizationsTypeEnum]
|
|
|
|
|
|
"name": string; // 名称
|
2025-06-30 15:56:13 +08:00
|
|
|
|
"managers_id"?: number; // 负责人IDid,[ref:company_employees]
|
2025-06-30 14:24:39 +08:00
|
|
|
|
"manager_phone"?: string; // 负责人电话
|
|
|
|
|
|
"manager_email"?: string; // 负责人邮箱
|
|
|
|
|
|
"status"?: number; // 状态
|
|
|
|
|
|
"sort"?: number; // 排序
|
|
|
|
|
|
"_lft"?: number; //
|
|
|
|
|
|
"_rgt"?: number; //
|
|
|
|
|
|
"parent_id"?: number; // 上级 ID
|
|
|
|
|
|
};
|
2025-06-29 18:42:50 +08:00
|
|
|
|
type Move = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
"type": string; // 类型:up 升级,down 降级
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type SoftDelete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Restore = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-06-30 15:56:13 +08:00
|
|
|
|
type Select = {
|
|
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
|
|
|
|
|
type SelectTree = {
|
|
|
|
|
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
|
|
|
|
|
"keywords"?: string; // -
|
|
|
|
|
|
"type"?: string; // -
|
|
|
|
|
|
"parent_id"?: number; // -
|
|
|
|
|
|
};
|
2025-06-29 18:42:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-06-30 18:42:21 +08:00
|
|
|
|
namespace Grid {
|
|
|
|
|
|
namespace Grids {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
2025-07-16 10:18:01 +08:00
|
|
|
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
2025-06-30 18:42:21 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
|
|
|
|
|
"grid_mark": string; // 网格标识
|
2025-07-01 11:35:54 +08:00
|
|
|
|
"grid_ranges": string[]; // 网格范围
|
2025-06-30 18:42:21 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"grid_mark": string; // 网格标识
|
2025-07-01 11:35:54 +08:00
|
|
|
|
"grid_ranges": string[]; // 网格范围
|
2025-06-30 18:42:21 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-07-01 11:35:54 +08:00
|
|
|
|
type AddManager = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"company_employees_id": number; // 公司员工id
|
|
|
|
|
|
};
|
2025-06-30 18:42:21 +08:00
|
|
|
|
type GetGridMark = {
|
|
|
|
|
|
"asset_projects_id": number; // -
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-06-27 17:03:33 +08:00
|
|
|
|
namespace Permission {
|
|
|
|
|
|
namespace SysPermissions {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"parent_id"?: number; // 上级ID
|
|
|
|
|
|
"guard_name": string; //
|
|
|
|
|
|
};
|
|
|
|
|
|
type Tree = {
|
|
|
|
|
|
"parent_id"?: number; // 上级ID
|
|
|
|
|
|
"guard_name": string; //
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"name": string; //
|
|
|
|
|
|
"key"?: string; //
|
|
|
|
|
|
"guard_name": string; //
|
|
|
|
|
|
"icon"?: string; // 图标
|
|
|
|
|
|
"type": string; // 类型:SysPermissionsTypeEnum
|
|
|
|
|
|
"backend_apis"?: string[]; // 后台api
|
|
|
|
|
|
"path"?: string; // 路由
|
|
|
|
|
|
"parent_id"?: number; //
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
"name": string; //
|
|
|
|
|
|
"key"?: string; //
|
|
|
|
|
|
"guard_name": string; //
|
|
|
|
|
|
"icon"?: string; // 图标
|
|
|
|
|
|
"type": string; // 类型:SysPermissionsTypeEnum
|
|
|
|
|
|
"backend_apis"?: string[]; // 后台api
|
|
|
|
|
|
"path"?: string; // 路由
|
|
|
|
|
|
"parent_id"?: number; //
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Move = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
"type": string; // 类型:up 升级,down 降级
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace SysRoles {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"name": string; // 名称
|
|
|
|
|
|
"color"?: string; // 颜色
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
"name": string; // 名称
|
|
|
|
|
|
"color"?: string; // 颜色
|
|
|
|
|
|
};
|
|
|
|
|
|
type Delete = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetPermissions = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type SetPermissions = {
|
|
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
"permissions_ids": string[]; // 权限ID
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
2025-06-27 16:42:11 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|