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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_houses_id": number; // 房屋ID[ref:asset_houses]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetCustomerHouse = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_houses_id"?: number; // 房屋ID[ref:asset_houses]
|
|
|
|
|
|
"phone": string; // 手机号
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetHouseOccupants = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"keyword"?: string; // -
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // 住户记录ID
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetHouseOccupantsByPhone = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"phone": string; // 手机号
|
|
|
|
|
|
};
|
2026-05-28 09:48:42 +08:00
|
|
|
|
type ChangeContact = {
|
|
|
|
|
|
"house_occupants_id": number; // 住户的id
|
|
|
|
|
|
"is_contact": boolean; // 是否常用联系人
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace HouseRegisters {
|
|
|
|
|
|
type Store = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"phone": string; // 手机号
|
|
|
|
|
|
"name"?: string; // 姓名
|
|
|
|
|
|
"external_userid": string; // 外部联系人ID
|
|
|
|
|
|
"house_info": string[]; // 房屋信息
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type RegisterHouse = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"external_userid": string; // 外部联系人ID
|
|
|
|
|
|
"asset_houses_id": number; // 房屋ID
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type RemoveOwner = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"house_occupants_id": number; // 房客id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type ChangeOccupant = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"name"?: string; // 项目名称
|
|
|
|
|
|
"city"?: string; // 城市名称
|
|
|
|
|
|
"city_id"?: string; // 城市id
|
|
|
|
|
|
};
|
2026-05-28 09:48:42 +08:00
|
|
|
|
type SelectPermissionProject = {
|
|
|
|
|
|
"name"?: string; // 项目名称
|
|
|
|
|
|
"city"?: string; // 城市名称
|
|
|
|
|
|
"city_id"?: string; // 城市id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type SelectBuilding = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_projects_id": number; // 所属项目ID
|
|
|
|
|
|
"name"?: string; // 名称
|
|
|
|
|
|
};
|
2026-05-28 09:48:42 +08:00
|
|
|
|
type SelectPermissionBuilding = {
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目ID
|
|
|
|
|
|
"name"?: string; // 名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type SelectUnit = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_projects_id"?: number; // 所属项目ID
|
|
|
|
|
|
"asset_buildings_id": number; // 所属楼栋ID
|
|
|
|
|
|
"name"?: string; // 名称
|
|
|
|
|
|
};
|
2026-05-28 09:48:42 +08:00
|
|
|
|
type SelectPermissionUnit = {
|
|
|
|
|
|
"asset_projects_id": number; // 所属项目ID
|
|
|
|
|
|
"asset_buildings_id"?: number; // 所属楼栋ID
|
|
|
|
|
|
"name"?: string; // 名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type SelectHouse = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_houses_id": number; // 房屋ID
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace AssetProjectAdmins {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
|
|
|
|
|
"project_name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-28 09:48:42 +08:00
|
|
|
|
namespace Attendance {
|
|
|
|
|
|
namespace AttendanceEmployeeTracks {
|
|
|
|
|
|
type MyTracks = {
|
|
|
|
|
|
"start_date"?: Date; // 开始日期
|
|
|
|
|
|
"end_date"?: Date; // 结束日期
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Track = {
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目ID(可选)
|
|
|
|
|
|
"longitude": number; // 经度
|
|
|
|
|
|
"latitude": number; // 纬度
|
|
|
|
|
|
"address"?: string; // 地址
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace AttendanceRecords {
|
|
|
|
|
|
type Checkin = {
|
|
|
|
|
|
"attendance_schedules_id": number; // 排班记录ID
|
|
|
|
|
|
"attendance_shift_periods_id": number; // 班次时段ID
|
|
|
|
|
|
"checkin_type": in:CheckIn,CheckOut; // 打卡类型(上班/下班)
|
|
|
|
|
|
"longitude": number; // 经度
|
|
|
|
|
|
"latitude": number; // 纬度
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目ID(可选,默认使用排班项目)
|
|
|
|
|
|
"address"?: string; // 地址
|
|
|
|
|
|
"photo"?: string[]; // 照片
|
|
|
|
|
|
"device_info"?: string[]; // 设备信息
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Makeup = {
|
|
|
|
|
|
"attendance_schedules_id": number; // 排班记录ID
|
|
|
|
|
|
"attendance_shift_periods_id": number; // 班次时段ID
|
|
|
|
|
|
"checkin_type": in:CheckIn,CheckOut; // 打卡类型
|
|
|
|
|
|
"checkin_time": Date; // 补卡时间
|
|
|
|
|
|
"longitude"?: number; // 经度
|
|
|
|
|
|
"latitude"?: number; // 纬度
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目ID
|
|
|
|
|
|
"address"?: string; // 地址
|
|
|
|
|
|
"photo"?: string[]; // 照片
|
|
|
|
|
|
"device_info"?: string[]; // 设备信息
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type MyRecords = {
|
|
|
|
|
|
"start_date": Date; // 开始日期
|
|
|
|
|
|
"end_date": Date; // 结束日期
|
|
|
|
|
|
};
|
|
|
|
|
|
type RecordDetail = {
|
|
|
|
|
|
"id": number; // 打卡记录ID
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace AttendanceSchedules {
|
|
|
|
|
|
type MySchedules = {
|
|
|
|
|
|
"start_date": Date; // 开始日期
|
|
|
|
|
|
"end_date": Date; // 结束日期
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetAttendanceShiftPeriod = {
|
|
|
|
|
|
"attendance_schedules_id": number; // 班次id
|
|
|
|
|
|
"attendance_shift_periods_id": number; // 打卡时段id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
namespace Banner {
|
|
|
|
|
|
namespace BannerSpaces {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // ID
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Bill {
|
|
|
|
|
|
namespace HouseBills {
|
|
|
|
|
|
type HouseList = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
"type": number; // 账单查询类型:1 欠费账单, 2 已收账单
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type MonthBillDetail = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"bill_ids": string[]; // 账单id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetOccupantArrearageHouses = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"phone": string; // 手机号
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Collection {
|
|
|
|
|
|
namespace HouseCollectionRecords {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_houses_id": number; // 资产房屋ID
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"channel": string; // 通知渠道,[enum:HouseCollectionTasksChannelEnum]
|
|
|
|
|
|
"notified_time"?: Date; // 通知时间
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetTaskRecords = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"collection_tasks_id": number; // 任务ID
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace HouseCollectionTasks {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"task_name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"status"?: string; // 状态,[enum:HouseCollectionTasksStatusEnum]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2026-05-28 09:48:42 +08:00
|
|
|
|
"channel": string[]; // 通知渠道 SMS,MiniProgram,OfficialAccount
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"houses": string[]; // 通知房屋信息
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Company {
|
|
|
|
|
|
namespace CompanyEmployeeBacklogs {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"type"?: string; // 类型,[enum:CompanyEmployeeBacklogsTypeEnum]
|
|
|
|
|
|
"status"?: string; // 状态,[enum:CompanyEmployeeBacklogsStatusEnum]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace CompanyEmployeeCustomers {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Delete = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace CompanyEmployees {
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace CompanyProjectReceiptAccounts {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"projects_id": number; // 项目ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetDefaultReceiptAccounts = {
|
|
|
|
|
|
"projects_id": number; // 项目ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Count {
|
|
|
|
|
|
namespace CommonCount {
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Customer {
|
|
|
|
|
|
namespace CustomerHouses {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"external_userid": string; // 客户外部联系人id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type HouseDetail = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"content"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"customer_moments_id": number; // 朋友圈id,[ref:customer_moments]
|
|
|
|
|
|
"company_employee_backlogs_id": number; // 公司员工待办事项id,[ref:company_employee_backlogs]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace CustomerMoments {
|
|
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // 内容id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type UploadMedia = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"path": string; // 文件路径
|
|
|
|
|
|
"type": string; // 文件类型
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type UploadImage = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"path": string; // 文件路径
|
|
|
|
|
|
"type": string; // 文件类型
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace CustomerOpinions {
|
|
|
|
|
|
type Store = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"type": string; // 类型,[enum:CustomerOpinionsTypeEnum]
|
|
|
|
|
|
"content": string; // 建议内容
|
|
|
|
|
|
"images"?: string[]; // 图片
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-28 09:48:42 +08:00
|
|
|
|
namespace Emergency {
|
|
|
|
|
|
namespace EmergencyEventCategories {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"parent_id"?: number; // 父级ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type TreeList = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"parent_id"?: number; // 父级ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
};
|
|
|
|
|
|
type SelectTree = {
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
"type"?: string; // 类型
|
|
|
|
|
|
"parent_id"?: number; // 父级ID
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace EmergencyEventFollows {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"emergency_events_id": number; // 突发事件ID,[ref:emergency_events]
|
|
|
|
|
|
"content"?: string; // 跟进内容
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"emergency_events_id": number; // 突发事件ID,[ref:emergency_events]
|
|
|
|
|
|
"content": string; // 跟进内容
|
|
|
|
|
|
"attachments"?: string[]; // 附件
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace EmergencyEventLevels {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"name"?: string; // 名称
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace EmergencyEventTeams {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"leader_name"?: string; // 队长名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetPermission = {
|
|
|
|
|
|
"asset_projects_id": number; // 项目ID,[ref:asset_projects]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
"leader_name"?: string; // 队长名称
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace EmergencyEvents {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"name"?: string; // 模糊搜索:事件名称
|
|
|
|
|
|
"asset_projects_id"?: number; // 事发项目ID
|
|
|
|
|
|
"asset_projects_name"?: string; // 事发项目名称
|
|
|
|
|
|
"emergency_event_employees_id"?: number; // 报事人ID
|
|
|
|
|
|
"reporter_name"?: string; // 报事人名称
|
|
|
|
|
|
"emergency_time"?: string[]; // 事发时间范围
|
|
|
|
|
|
"status"?: string; // 状态,[enum:EmergencyEventsStatusEnum]
|
|
|
|
|
|
"audit_status"?: string; // 审核状态,[enum:EmergencyEventsAuditStatusEnum]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"name": string; // 事件名称
|
|
|
|
|
|
"two_emergency_categories_id": number; // 二级分类ID,[ref:emergency_event_categories]
|
|
|
|
|
|
"emergency_event_levels_id": number; // 事件等级ID,[ref:emergency_event_levels]
|
|
|
|
|
|
"asset_projects_id": number; // 项目ID,[ref:asset_projects]
|
|
|
|
|
|
"emergency_time": Date; // 事件发生时间
|
|
|
|
|
|
"emergency_location": string; // 事件发生地点
|
|
|
|
|
|
"emergency_description": string; // 事件描述
|
|
|
|
|
|
"emergency_cause": string; // 事件原因
|
|
|
|
|
|
"cause_result": string; // 造成结果
|
|
|
|
|
|
"emergency_images"?: string[]; // 事件图片
|
|
|
|
|
|
"emergency_events_id"?: number; // 关联事件ID,[ref:emergency_events]
|
|
|
|
|
|
"related_person"?: string; // 关联人物
|
|
|
|
|
|
"supplement"?: string; // 补充信息
|
|
|
|
|
|
"compensation_type"?: string; // 赔偿类型,[enum:EmergencyEventsCompensationTypeEnum]
|
|
|
|
|
|
"compensation_rate"?: number; // 赔偿比例
|
|
|
|
|
|
"compensation_amount"?: number; // 赔偿金额
|
|
|
|
|
|
"compensation_paid_amount"?: number; // 已支付赔偿金额
|
|
|
|
|
|
};
|
|
|
|
|
|
type Update = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"name": string; // 事件名称
|
|
|
|
|
|
"two_emergency_categories_id": number; // 二级分类ID,[ref:emergency_event_categories]
|
|
|
|
|
|
"emergency_event_levels_id": number; // 事件等级ID,[ref:emergency_event_levels]
|
|
|
|
|
|
"emergency_event_levels_name"?: string; // 事件等级名称
|
|
|
|
|
|
"asset_projects_id": number; // 项目ID,[ref:asset_projects]
|
|
|
|
|
|
"emergency_time": Date; // 事件发生时间
|
|
|
|
|
|
"emergency_location": string; // 事件发生地点
|
|
|
|
|
|
"emergency_description": string; // 事件描述
|
|
|
|
|
|
"emergency_cause": string; // 事件原因
|
|
|
|
|
|
"cause_result": string; // 造成结果
|
|
|
|
|
|
"emergency_images"?: string[]; // 事件图片
|
|
|
|
|
|
"emergency_events_id"?: number; // 关联事件ID,[ref:emergency_events]
|
|
|
|
|
|
"related_person"?: string; // 关联人物
|
|
|
|
|
|
"supplement"?: string; // 补充信息
|
|
|
|
|
|
"compensation_type"?: string; // 赔偿类型,[enum:EmergencyEventsCompensationTypeEnum]
|
|
|
|
|
|
"compensation_rate"?: number; // 赔偿比例
|
|
|
|
|
|
"compensation_amount"?: number; // 赔偿金额
|
|
|
|
|
|
"compensation_paid_amount"?: number; // 已支付赔偿金额
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type ApplyClose = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"handled_result"?: string; // 处理结果
|
|
|
|
|
|
"introspection"?: string; // 反思与总结
|
|
|
|
|
|
};
|
|
|
|
|
|
type Select = {
|
|
|
|
|
|
"keywords"?: string; // 关键词
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目ID
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-01-30 09:54:46 +08:00
|
|
|
|
namespace GoodsReleases {
|
|
|
|
|
|
namespace GoodsReleases {
|
|
|
|
|
|
type ScanRelease = {
|
|
|
|
|
|
"code": string; // 放行码
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // 放行码id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Grid {
|
|
|
|
|
|
namespace GridRanges {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"grids_id"?: number; // 模糊搜索:名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace Grids {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"name"?: string; // 模糊搜索:名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetProject = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"name"?: string; // 项目名称
|
|
|
|
|
|
"city"?: string; // 城市名称
|
|
|
|
|
|
"city_id"?: string; // 城市id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetBuilding = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_projects_id"?: number; // 所属项目ID
|
|
|
|
|
|
"name"?: string; // 名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetUnit = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_projects_id"?: number; // 所属项目ID
|
|
|
|
|
|
"asset_buildings_id"?: number; // 所属楼栋ID
|
|
|
|
|
|
"name"?: string; // 名称
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GridAssetHouse = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetPayQrCode = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2026-05-28 09:48:42 +08:00
|
|
|
|
type AlipayQrCode = {
|
|
|
|
|
|
"id": number; // id 订单ID
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
namespace Login {
|
|
|
|
|
|
namespace Auth {
|
|
|
|
|
|
type Login = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"code": string; // 微信code
|
|
|
|
|
|
"app_id": string; // 小程序app_id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type ChangeAvatar = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"avatar": string[]; // 头像
|
|
|
|
|
|
};
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type BindPhoneNumber = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"phone": string; // 手机号
|
|
|
|
|
|
};
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type GetAccessToken = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"user_name": string; // 用户名
|
|
|
|
|
|
"password": string; // 密码
|
|
|
|
|
|
"app_id": string; // appId
|
|
|
|
|
|
};
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type WorkLogin = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"code": string; // 企业微信code
|
|
|
|
|
|
"phone"?: string; // 手机号
|
|
|
|
|
|
"name"?: string; // 真实姓名
|
|
|
|
|
|
"app_id": string; // 企业微信CorpID
|
|
|
|
|
|
};
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type BindWork = {
|
2026-01-30 09:54:46 +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 = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"user_name": string; // 用户名
|
|
|
|
|
|
"password": string; // 密码
|
|
|
|
|
|
"app_id": string; // 企业微信CorpID
|
|
|
|
|
|
"work_type": string; // 企业微信类型
|
|
|
|
|
|
};
|
2025-07-08 16:49:39 +08:00
|
|
|
|
type PreUpload = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"filename": string; // 文件名称
|
|
|
|
|
|
"alc"?: string; // 访问限制 public-read, private
|
|
|
|
|
|
};
|
2025-07-09 00:34:00 +08:00
|
|
|
|
type TemporaryUrl = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"filename": string; // 文件名称
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Meter {
|
|
|
|
|
|
namespace HouseMeterReadings {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"meter_type": string; // 仪表类型,[enum:HouseMetersMeterTypeEnum] HouseMeter=住户仪表,CommonMeter=公共仪表
|
|
|
|
|
|
"usage_type"?: string; // 使用类型,[enum:HouseMetersUsageTypeEnum]
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id"?: number; // 楼栋id,[ref:asset_buildings]
|
|
|
|
|
|
"keyword"?: string; // 搜索关键词(房屋名称/仪表名称)
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetMeterDetail = {
|
|
|
|
|
|
"house_meters_id": number; // 仪表id,[ref:house_meters]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"house_meters_id": number; // 仪表id,[ref:house_meters]
|
|
|
|
|
|
"current_reading": number; // 本次读数
|
|
|
|
|
|
"reading_time": Date; // 抄表时间
|
|
|
|
|
|
"image"?: string[]; // 仪表图片
|
|
|
|
|
|
"remark"?: string; // 备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // 抄表记录id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace HouseMeters {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"meter_type": string; // 仪表类型,[enum:HouseMetersMeterTypeEnum] HouseMeter=住户仪表,CommonMeter=公共仪表
|
|
|
|
|
|
"usage_type"?: string; // 使用类型,[enum:HouseMetersUsageTypeEnum] WaterMeter=水表,ElectricMeter=电表
|
|
|
|
|
|
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
|
|
|
|
|
"asset_buildings_id"?: number; // 楼栋id,[ref:asset_buildings]
|
2026-05-28 09:48:42 +08:00
|
|
|
|
"asset_units_id"?: number; // 单元id,[ref:asset_units]
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"keyword"?: string; // 搜索关键词(房屋名称/仪表名称)
|
|
|
|
|
|
"reading_status"?: string; // 抄表状态: read=已抄表, unread=未抄表
|
2026-05-28 09:48:42 +08:00
|
|
|
|
"overdue_days"?: string; // 未抄表天数筛选: 30=超过30天(31-60天), 60=超过60天(61-90天), 90=超过90天(91天及以上)
|
2026-01-30 09:54:46 +08:00
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // 仪表id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Msg {
|
|
|
|
|
|
namespace MsgPropertyAnnouncements {
|
|
|
|
|
|
type List = {
|
|
|
|
|
|
"title"?: string; // 模糊搜索:标题
|
|
|
|
|
|
"publish_at"?: Date; // 发布时间
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2026-05-28 09:48:42 +08:00
|
|
|
|
type MarkAsRead = {
|
|
|
|
|
|
"id": number; // 公告ID
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Patrol {
|
|
|
|
|
|
namespace PatrolTaskLocations {
|
|
|
|
|
|
type GetPatrolTaskList = {
|
|
|
|
|
|
"id": number; // 巡逻位置ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Store = {
|
|
|
|
|
|
"patrol_tasks_id": number; // 巡逻任务ID
|
|
|
|
|
|
"patrol_locations_id": number; // 巡逻位置ID
|
|
|
|
|
|
"longitude"?: number; // 经度
|
|
|
|
|
|
"latitude"?: number; // 纬度
|
|
|
|
|
|
"images"?: string[]; // 巡逻图片
|
|
|
|
|
|
"remark"?: string; // 巡逻备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetPatrolTaskLocation = {
|
|
|
|
|
|
"patrol_tasks_id": number; // 巡逻任务ID
|
|
|
|
|
|
"patrol_locations_id": number; // 巡逻位置ID
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Survey {
|
|
|
|
|
|
namespace Surveys {
|
|
|
|
|
|
type Questions = {
|
|
|
|
|
|
"surveyId": number; // -
|
|
|
|
|
|
"release_id"?: number; // -
|
|
|
|
|
|
};
|
|
|
|
|
|
type SubmitResponse = {
|
|
|
|
|
|
"surveyId": number; // -
|
|
|
|
|
|
"release_id"?: number; // -
|
|
|
|
|
|
"answers": string[]; // -
|
|
|
|
|
|
};
|
2026-01-30 09:54:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
namespace Visitor {
|
|
|
|
|
|
namespace VisitorApplies {
|
|
|
|
|
|
type Scan = {
|
2026-06-29 13:34:45 +08:00
|
|
|
|
"code"?: string; // 通行码(访客二维码)
|
|
|
|
|
|
"customers_id"?: number; // 客户ID(住户二维码)
|
|
|
|
|
|
"asset_houses_id"?: number; // 房屋ID(住户二维码)
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"scan_type": string; // 扫码类型:[enum:VisitorScanTypeEnum]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Show = {
|
|
|
|
|
|
"id": number; // 申请id
|
|
|
|
|
|
};
|
2025-07-08 16:49:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-12-15 18:27:46 +08:00
|
|
|
|
namespace WorkOrder {
|
|
|
|
|
|
namespace HouseWorkLogs {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"house_work_orders_id": number; // 工单id,[ref:house_work_orders]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"house_work_orders_id": number; // 工单id,[ref:house_work_orders]
|
|
|
|
|
|
"status": string; // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
"description"?: string; // 进度描述
|
|
|
|
|
|
"attachments"?: string[]; // 附件
|
|
|
|
|
|
"is_fee"?: boolean; // 是否产生费用
|
|
|
|
|
|
"amount"?: number; // 金额(单位元)
|
|
|
|
|
|
"company_project_receipt_accounts_id"?: number; // 收款账户id,[ref:company_project_receipt_accounts]
|
|
|
|
|
|
"is_passed"?: boolean; // 装修验收结果: 0-不合格,1-合格
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
namespace HouseWorkOrders {
|
|
|
|
|
|
type List = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"type"?: string; // 工单类型,[enum:HouseWorkOrdersTypeEnum]
|
|
|
|
|
|
"status"?: string; // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
};
|
|
|
|
|
|
type MySubmitList = {
|
|
|
|
|
|
"type"?: string; // 工单类型,[enum:HouseWorkOrdersTypeEnum]
|
|
|
|
|
|
"status"?: string; // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type GetHouseWorkOrders = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
"status"?: string; // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Store = {
|
2026-01-30 09:54:46 +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; // 期望上门最后时间
|
|
|
|
|
|
"asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses]
|
|
|
|
|
|
"is_self"?: boolean; // 是否自己处理(员工创建启用)
|
|
|
|
|
|
"floor"?: string; // 楼层
|
|
|
|
|
|
"asset_projects_id"?: number; // 资产项目id,[ref:asset_projects]
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
type Show = {
|
2026-01-30 09:54:46 +08:00
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetWorkOrderPayQrCode = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
};
|
2026-05-28 09:48:42 +08:00
|
|
|
|
type GetWorkOrderAlipayQrCode = {
|
|
|
|
|
|
"id": number; // 工单ID
|
|
|
|
|
|
};
|
2026-01-30 09:54:46 +08:00
|
|
|
|
type Accept = {
|
|
|
|
|
|
"id": number; // 工单id
|
|
|
|
|
|
"is_completed": boolean; // 是否完工:0否,1是
|
|
|
|
|
|
"accept_remark"?: string; // 验收备注
|
|
|
|
|
|
};
|
|
|
|
|
|
type Close = {
|
|
|
|
|
|
"id": number; // 工单id
|
|
|
|
|
|
};
|
|
|
|
|
|
type UnassignedList = {
|
|
|
|
|
|
"type"?: string; // 工单类型,[enum:HouseWorkOrdersTypeEnum]
|
|
|
|
|
|
"status"?: string; // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
|
|
|
|
|
"project_name"?: string; // 项目名称
|
|
|
|
|
|
};
|
|
|
|
|
|
type Receive = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"assign_remark"?: string; // 分派说明
|
|
|
|
|
|
"predict_complete_at"?: Date; // 预计完成时间
|
|
|
|
|
|
"level"?: string; // 优先级,[enum:HouseWorkOrdersLevelEnum]
|
|
|
|
|
|
};
|
|
|
|
|
|
type Assign = {
|
|
|
|
|
|
"id": number; // id
|
|
|
|
|
|
"assign_employees_id": number; // 处理人id,[ref:company_employees]
|
|
|
|
|
|
"assign_remark"?: string; // 分派说明
|
|
|
|
|
|
"predict_complete_at"?: Date; // 预计完成时间
|
|
|
|
|
|
"level"?: string; // 优先级,[enum:HouseWorkOrdersLevelEnum]
|
|
|
|
|
|
};
|
|
|
|
|
|
type GetAssignPermission = {
|
|
|
|
|
|
"id": number; // 工单id
|
|
|
|
|
|
};
|
2025-12-15 18:27:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-07-08 16:49:39 +08:00
|
|
|
|
}
|