2025-07-08 16:49:39 +08:00
|
|
|
|
declare namespace ApiTypes {
|
2025-12-15 18:27:46 +08:00
|
|
|
|
namespace Archive {
|
|
|
|
|
|
namespace HouseOccupants {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 房屋ID[ref:asset_houses]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetCustomerHouse = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id?: number // 房屋ID[ref:asset_houses]
|
|
|
|
|
|
phone: string // 手机号
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetHouseOccupants = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
keyword?: string // -
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // 住户记录ID
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetHouseOccupantsByPhone = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
phone: string // 手机号
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace HouseRegisters {
|
|
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
phone: string // 手机号
|
|
|
|
|
|
name?: string // 姓名
|
|
|
|
|
|
external_userid: string // 外部联系人ID
|
|
|
|
|
|
house_info: string[] // 房屋信息
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type RegisterHouse = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 房屋ID
|
|
|
|
|
|
type: string // 类型, [enum:HouseRegistersTypeEnum]
|
|
|
|
|
|
house_status?: string // 房屋状态,[enum:HouseRegistersHouseStatusEnum]
|
|
|
|
|
|
usage_plan?: string // 使用计划,[enum:HouseRegistersUsagePlanEnum]
|
|
|
|
|
|
customer_info: string[] // 客户信息
|
|
|
|
|
|
ownership_info?: string[] // 产权信息
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Unbind = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
external_userid: string // 外部联系人ID
|
|
|
|
|
|
asset_houses_id: number // 房屋ID
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type RemoveOwner = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
house_occupants_id: number // 房客id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type ChangeOccupant = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
update_info: string[] // 要修改的信息
|
|
|
|
|
|
'update_info.name'?: string // 客户姓名
|
|
|
|
|
|
'update_info.phone'?: string // 客户手机号
|
|
|
|
|
|
'update_info.reserve_phone'?: phone // 客户备用电话
|
|
|
|
|
|
'update_info.card_type'?: string // 证件类型,[enum:HouseOccupantsCardTypeEnum]
|
|
|
|
|
|
'update_info.id_card'?: string // 客户身份证号
|
|
|
|
|
|
'update_info.card_front_image'?: string[] // 身份证正面图片
|
|
|
|
|
|
'update_info.card_back_image'?: string[] // 身份证反面图片
|
|
|
|
|
|
'update_info.address'?: string // 客户地址
|
|
|
|
|
|
'update_info.ownership_info'?: string[] // 产权信息
|
|
|
|
|
|
house_relation?: string // 房客关系,[enum:HouseOccupantsHouseRelationEnum]
|
|
|
|
|
|
residential_relation?: string // 居住关系,[enum:HouseOccupantsResidentialRelationEnum]
|
|
|
|
|
|
owners_id?: number // 产权人id,[ref:house_occupants]
|
|
|
|
|
|
relation_with_owner?: string // 与产权人关系,[enum:HouseOccupantsRelationWithOwnerEnum]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Asset {
|
|
|
|
|
|
namespace AssetHouses {
|
|
|
|
|
|
type SelectProject = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
name?: string // 项目名称
|
|
|
|
|
|
city?: string // 城市名称
|
|
|
|
|
|
city_id?: string // 城市id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type SelectBuilding = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_projects_id: number // 所属项目ID
|
|
|
|
|
|
name?: string // 名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type SelectUnit = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_projects_id?: number // 所属项目ID
|
|
|
|
|
|
asset_buildings_id: number // 所属楼栋ID
|
|
|
|
|
|
name?: string // 名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type SelectHouse = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_projects_id?: number // 所属项目ID
|
|
|
|
|
|
asset_buildings_id?: number // 所属楼栋ID
|
|
|
|
|
|
asset_units_id?: number // 所属单元ID
|
|
|
|
|
|
name?: string // 名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 房屋ID
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Banner {
|
|
|
|
|
|
namespace BannerSpaces {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // ID
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Bill {
|
|
|
|
|
|
namespace HouseBills {
|
|
|
|
|
|
type HouseList = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
full_name?: string // -
|
|
|
|
|
|
overdue_months_range?: string[] // 欠费月份区间,例如 [1, 3]
|
|
|
|
|
|
uncollected_days?: number // 欠费天数:1,3,7,15
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type HouseArrearageAmount = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
type: number // 账单查询类型:1 欠费账单, 2 已收账单
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type MonthBillDetail = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
month: string // 月份 2025-08
|
|
|
|
|
|
type: number // 账单查询类型:1 欠费账单, 2 已收账单
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type BillQRCode = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
bill_ids: string[] // 账单id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetOccupantArrearageHouses = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
phone: string // 手机号
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Collection {
|
|
|
|
|
|
namespace HouseCollectionRecords {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 资产房屋ID
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 房屋信息id,[ref:asset_houses]
|
|
|
|
|
|
total_unpaid_amount?: number // 总未缴金额
|
|
|
|
|
|
channel: string // 通知渠道,[enum:HouseCollectionTasksChannelEnum]
|
|
|
|
|
|
notified_time?: Date // 通知时间
|
|
|
|
|
|
collection_result?: string // 催收结果
|
|
|
|
|
|
collection_content?: string // 催收内容
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Update = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
channel: string // 通知渠道,[enum:HouseCollectionTasksChannelEnum]
|
|
|
|
|
|
notified_time?: Date // 通知时间
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetTaskRecords = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
collection_tasks_id: number // 任务ID
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace HouseCollectionTasks {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
task_name?: string // 模糊搜索:名称
|
|
|
|
|
|
status?: string // 状态,[enum:HouseCollectionTasksStatusEnum]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
channel: string[] // 通知渠道
|
|
|
|
|
|
houses: string[] // 通知房屋信息
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Company {
|
|
|
|
|
|
namespace CompanyEmployeeBacklogs {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
type?: string // 类型,[enum:CompanyEmployeeBacklogsTypeEnum]
|
|
|
|
|
|
status?: string // 状态,[enum:CompanyEmployeeBacklogsStatusEnum]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace CompanyEmployeeCustomers {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
name?: string // 模糊搜索:名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Delete = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Customer {
|
|
|
|
|
|
namespace CustomerHouses {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
external_userid: string // 客户外部联系人id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type HouseDetail = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
external_userid: string // 客户外部联系人id
|
|
|
|
|
|
asset_houses_id: number // 房屋id,[ref:asset_houses]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace CustomerMomentTasks {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
content?: string // 模糊搜索:名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
customer_moments_id: number // 朋友圈id,[ref:customer_moments]
|
|
|
|
|
|
company_employee_backlogs: number // 公司员工待办事项id,[ref:company_employee_backlogs]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace CustomerMoments {
|
|
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // 内容id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type UploadMedia = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
path: string // 文件路径
|
|
|
|
|
|
type: string // 文件类型
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type UploadImage = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
path: string // 文件路径
|
|
|
|
|
|
type: string // 文件类型
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace CustomerOpinions {
|
|
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
type: string // 类型,[enum:CustomerOpinionsTypeEnum]
|
|
|
|
|
|
content: string // 建议内容
|
|
|
|
|
|
images?: string[] // 图片
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Grid {
|
|
|
|
|
|
namespace GridRanges {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
grids_id?: number // 模糊搜索:名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace Grids {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
name?: string // 模糊搜索:名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetProject = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
name?: string // 项目名称
|
|
|
|
|
|
city?: string // 城市名称
|
|
|
|
|
|
city_id?: string // 城市id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetBuilding = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_projects_id?: number // 所属项目ID
|
|
|
|
|
|
name?: string // 名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetUnit = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_projects_id?: number // 所属项目ID
|
|
|
|
|
|
asset_buildings_id?: number // 所属楼栋ID
|
|
|
|
|
|
name?: string // 名称
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetHouse = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_projects_id?: number // 所属项目ID
|
|
|
|
|
|
asset_buildings_id?: number // 所属楼栋ID
|
|
|
|
|
|
asset_units_id?: number // 所属单元ID
|
|
|
|
|
|
name?: string // 名称
|
|
|
|
|
|
full_name?: string // 全名
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridSelectHouse = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_projects_id?: number // 所属项目ID
|
|
|
|
|
|
asset_buildings_id?: number // 所属楼栋ID
|
|
|
|
|
|
asset_units_id?: number // 所属单元ID
|
|
|
|
|
|
name?: string // 名称
|
|
|
|
|
|
full_name?: string // 全名
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace HouseOrder {
|
|
|
|
|
|
namespace HouseOrders {
|
|
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
amount: number // 金额
|
|
|
|
|
|
discount_amount?: number // 优惠金额
|
|
|
|
|
|
late_fee?: number // 滞纳金
|
|
|
|
|
|
total_payable_amount: number // 应付金额
|
|
|
|
|
|
bill_ids: string[] // 账单id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetPayQrCode = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
namespace Login {
|
|
|
|
|
|
namespace Auth {
|
|
|
|
|
|
type Login = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
code: string // 微信code
|
|
|
|
|
|
app_id: string // 小程序app_id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type ChangeAvatar = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
avatar: string[] // 头像
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type BindPhoneNumber = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
code?: string // 微信code
|
|
|
|
|
|
phone?: string // 手机号
|
|
|
|
|
|
phone_validate_code?: string // 手机验证码
|
|
|
|
|
|
app_id: string // 小程序app_id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type SendValidateSms = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
phone: string // 手机号
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type GetAccessToken = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
user_name: string // 用户名
|
|
|
|
|
|
password: string // 密码
|
|
|
|
|
|
app_id: string // appId
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type WorkLogin = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
code: string // 企业微信code
|
|
|
|
|
|
phone?: string // 手机号
|
|
|
|
|
|
name?: string // 真实姓名
|
|
|
|
|
|
app_id: string // 企业微信CorpID
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type BindWork = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
session_key: string // -
|
|
|
|
|
|
iv: string // -
|
|
|
|
|
|
encrypted_data: string // -
|
|
|
|
|
|
app_id: string // 小程序app_id
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type GetWorkAccessToken = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
user_name: string // 用户名
|
|
|
|
|
|
password: string // 密码
|
|
|
|
|
|
app_id: string // 企业微信CorpID
|
|
|
|
|
|
work_type: string // 企业微信类型
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type PreUpload = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
filename: string // 文件名称
|
|
|
|
|
|
alc?: string // 访问限制 public-read, private
|
|
|
|
|
|
}
|
2025-07-09 00:34:00 +08:00
|
|
|
|
type TemporaryUrl = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
filename: string // 文件名称
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
namespace WorkOrder {
|
|
|
|
|
|
namespace HouseWorkLogs {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
house_work_orders_id: number // 工单id,[ref:house_work_orders]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
house_work_orders_id: number // 工单id,[ref:house_work_orders]
|
|
|
|
|
|
status: string // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
description?: string // 进度描述
|
|
|
|
|
|
attachments?: string[] // 附件
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace HouseWorkOrders {
|
|
|
|
|
|
type List = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
status?: string // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetHouseWorkOrders = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
asset_houses_id: number // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
status?: string // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
type: string // 工单类型,[enum:HouseWorkOrdersTypeEnum]
|
|
|
|
|
|
complaint_type?: string // 投诉类型[enum:HouseWorkOrdersComplaintTypeEnum]
|
|
|
|
|
|
location?: string // 报修位置[enum:HouseWorkOrdersLocationEnum]
|
|
|
|
|
|
content: string // 工单内容
|
|
|
|
|
|
reporter_name?: string // 上报人名称
|
|
|
|
|
|
reporter_phone?: string // 上报人手机
|
|
|
|
|
|
contact_phone?: string // 联系人电话
|
|
|
|
|
|
attachments?: string[] // 工单附件
|
|
|
|
|
|
expect_start_time?: Date // 期望上门开始时间
|
|
|
|
|
|
expect_end_time?: Date // 期望上门最后时间
|
|
|
|
|
|
is_anonymous?: boolean // 是否匿名
|
|
|
|
|
|
asset_houses_id: number // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2025-12-15 18:39:29 +08:00
|
|
|
|
id: number // id
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
}
|