declare namespace ApiTypes { namespace Activity { namespace Activities { type List = { "title"?: string; // 模糊搜索:名称 "status"?: string; // 状态,[enum:ActivitiesStatusEnum] "publish_status"?: string; // 发布状态,[enum:ActivitiesPublishStatusEnum] "asset_projects_id"?: number; // 项目ID,[ref:asset_projects] "project_name"?: string; // 项目名称,关联搜索 }; type Store = { "title": string; // 活动标题 "start_time": Date; // 活动开始时间 "end_time": Date; // 活动结束时间 "publish_type"?: string; // 发布类型,[enum:ActivitiesPublishTypeEnum] "schedule_publish_at"?: Date; // 定时发布时间 "is_enroll"?: boolean; // 是否报名:1 是、0 否 "project_ids"?: string[]; // 项目ID "content": string; // 内容 "cover_image"?: string[]; // 封面图片 }; type Update = { "id": number; // id "title": string; // 活动标题 "start_time": Date; // 活动开始时间 "end_time": Date; // 活动结束时间 "publish_type"?: string; // 发布类型,[enum:ActivitiesPublishTypeEnum] "schedule_publish_at"?: Date; // 定时发布时间 "is_enroll"?: boolean; // 是否报名:1 是、0 否 "project_ids"?: string[]; // 项目ID "content": string; // 内容 "cover_image"?: string[]; // 封面图片 }; type ChangePublishStatus = { "id": number; // id "publish_status": string; // 状态,[enum:ActivitiesPublishStatusEnum] }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace ActivityEnrolls { type List = { "activities_id"?: number; // 活动id,[ref:activities] "customer_name"?: string; // 模糊搜索:客户名称 "customer_phone"?: string; // 模糊搜索:客户电话 }; type Show = { "id": number; // id }; type ChangeStatus = { "id": number; // id "status": string; // 状态:[ActivityEnrollsStatusEnum] }; } } namespace Admin { namespace AdminLogs { type List = { "company_employees_id"?: number; // 精确搜索:公司员工ID "employee_name"?: string; // 模糊搜索:员工姓名 "employee_phone"?: string; // 模糊搜索:员工电话 "router_name"?: string; // 模糊搜索:路由名称 "description"?: string; // 模糊搜索:描述 "created_at"?: string[]; // 时间范围搜索:创建时间,格式:[ }; type Show = { "id": number; // id }; } } namespace Approval { namespace ApprovalInstances { type PendingList = { "type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "applicant_name"?: string; // 申请人姓名 "asset_projects_id"?: number; // 所属项目id "status"?: string; // 状态,[enum:ApprovalRecordsStatusEnum] }; type Show = { "id": number; // 审批实例id }; type Approve = { "record_id": number; // 审批记录id "status": string; // 审批结果,[enum:ApprovalRecordsStatusEnum] "opinion"?: string; // 审批意见 }; type Cancel = { "id": number; // 审批实例id }; type List = { "type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "status"?: string; // 状态,[enum:ApprovalInstancesStatusEnum] "applicant_name"?: string; // 申请人姓名 "asset_projects_id"?: number; // 所属项目id }; type ProcessedList = { "type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "status"?: string; // 审批结果,[enum:ApprovalRecordsStatusEnum] "asset_projects_id"?: number; // 所属项目id }; type CcList = { "type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "asset_projects_id"?: number; // 所属项目id }; } namespace ApprovalTemplates { type List = { "name"?: string; // 模糊搜索:名称 "type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "is_enabled"?: boolean; // 是否启用 "asset_projects_id"?: number; // 所属项目id }; type Store = { "name": string; // 模板名称 "code": string; // 模板编码 "type": string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "description"?: string; // 模板描述 "is_enabled"?: boolean; // 是否启用 "asset_projects_id"?: number; // 所属项目id "nodes": string[]; // 审批节点列表 }; type Update = { "id": number; // id "name": string; // 模板名称 "code": string; // 模板编码 "type": string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "description"?: string; // 模板描述 "is_enabled"?: boolean; // 是否启用 "asset_projects_id"?: number; // 所属项目id "nodes": string[]; // 审批节点列表 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type ToggleEnabled = { "id": number; // id "is_enabled": boolean; // 是否启用 }; } } namespace Archive { namespace HouseOccupants { type List = { "asset_houses_id"?: number; // 资产房屋ID "asset_projects_id"?: number; // 资产项目ID "status"?: string; // 状态,[enum:HouseOccupantsStatusEnum] "name"?: string; // 客户姓名 "phone"?: string; // 客户手机号 "id_card"?: string; // 客户身份证号 "house_name"?: string; // 房屋名称 "project_name"?: string; // 项目名称 }; type CustomerList = { "name"?: string; // 客户姓名 "phone"?: string; // 客户手机号 "house_relation"?: string; // 房客关系,[enum:HouseOccupantsHouseRelationEnum] "residential_relation"?: string; // 居住关系,[enum:HouseOccupantsResidentialRelationEnum] "relation_with_owner"?: string; // 与产权人关系,[enum:HouseOccupantsRelationWithOwnerEnum] }; type CustomerHouseByPhone = { "phone": string; // 客户手机号 }; 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_contact"?: boolean; // 是否是常用联系人 "is_live_in"?: boolean; // 是否在居住中 "move_in_date"?: Date; // 入住时间 "status"?: string; // 状态,[enum:HouseOccupantsStatusEnum] "unbound_time"?: Date; // 解绑时间 "residential_relation"?: string; // 居住关系,[enum:HouseOccupantsResidentialRelationEnum] "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type ChangeIsContact = { "id": number; // id "is_contact": boolean; // 是否是常用联系人 }; type Import = { "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; } namespace HouseRegisters { type List = { "house_name"?: string; // 模糊搜索:房屋名称 "type"?: string[]; // 类型,[enum:HouseRegistersTypeEnum] "status"?: string; // 状态,[enum:HouseRegistersStatusEnum] "asset_houses_id"?: number; // 房屋ID "customer_name"?: string; // 客户名称 "project_name"?: string; // 模糊搜索:项目名称 }; type Store = { "asset_houses_id": number; // 房屋ID "type": string; // 类型,[enum:HouseRegistersTypeEnum] "status"?: string; // 状态,[enum:HouseRegistersStatusEnum] "customer_info"?: string[]; // 客户信息 "ownership_info"?: string[]; // 产权信息 "remark"?: string; // 备注 }; type Update = { "id": number; // id "type": string; // 类型,[enum:HouseRegistersTypeEnum] "customer_info"?: string[]; // 客户信息 "ownership_info"?: string[]; // 产权信息 "remark"?: string; // 备注 }; type MoveOut = { "house_occupants_id": number; // 房客id "move_out_date"?: Date; // 搬离时间 "apply_reason"?: string; // 搬离原因 "remark"?: string; // 备注 }; type MoveIn = { "house_occupants_id": number; // 房客id "move_in_date"?: Date; // 搬入时间 "apply_reason"?: string; // 搬入原因 }; type RemoveOwner = { "house_occupants_id": number; // 房客id "remark"?: string; // 备注 }; type ChangeOccupant = { "house_occupants_id": number; // 房客id "type": string; // 类型,[enum:HouseRegistersTypeEnum "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] "status"?: string; // 状态,[enum:HouseOccupantsStatusEnum] "remark"?: string; // 备注 }; 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 }; } } 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 }; type Select = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "keywords"?: string; // 关键词 }; } namespace AssetCarPorts { type List = { "id"?: number; // 车位id "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_parking_places_id"?: number; // 所属车场id,[ref:asset_parking_places] "full_name"?: string; // 模糊搜索:名称 "project_name"?: string; // 项目名称 "parking_place_name"?: string; // 车场名称 "status"?: string; // 状态,[enum:AssetCarPortsStatusEnum] "type"?: string; // 车位类型,[enum:AssetCarPortsTypeEnum] "property_type"?: string; // 产权类型,[enum:AssetCarPortsPropertyTypeEnum] }; type Store = { "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "asset_parking_places_id": number; // 所属车场id,[ref:asset_parking_places] "name": string; // 车位名称 "full_name": string; // 车位全称 "built_area"?: number; // 建筑面积 "status"?: string; // 状态,[enum:AssetCarPortsStatusEnum] "type"?: string; // 车位类型,[enum:AssetCarPortsTypeEnum] "property_type"?: string; // 产权类型,[enum:AssetCarPortsPropertyTypeEnum] "remark"?: string; // 备注 }; type Update = { "id": number; // id "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "asset_parking_places_id": number; // 所属车场id,[ref:asset_parking_places] "name": string; // 车位名称 "full_name": string; // 车位全称 "built_area"?: number; // 建筑面积 "status"?: string; // 状态,[enum:AssetCarPortsStatusEnum] "type"?: string; // 车位类型,[enum:AssetCarPortsTypeEnum] "property_type"?: string; // 产权类型,[enum:AssetCarPortsPropertyTypeEnum] "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_parking_places_id"?: number; // 所属车场id,[ref:asset_parking_places] "keywords"?: string; // 关键词 }; type Import = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; type Export = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_parking_places_id"?: number; // 所属车场id,[ref:asset_parking_places] "full_name"?: string; // 模糊搜索:名称 "current"?: number; // 页码 "download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录 }; } namespace AssetHouses { type List = { "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; // 模糊搜索:名称 "full_name"?: string; // 模糊搜索:全称 "project_name"?: string; // 模糊搜索:项目名称 "building_name"?: string; // 模糊搜索:楼栋名称 "unit_name"?: string; // 模糊搜索:单元名称 "usage"?: string; // 用途,[enum:AssetHousesUsageEnum] }; 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 }; 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; // 关键词 }; type Import = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; type Export = { "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; // 模糊搜索:名称 "full_name"?: string; // 模糊搜索:全称 "current"?: number; // 页码 "download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录 }; } namespace AssetItemCategories { type List = { "name"?: string; // 模糊搜索:名称 "is_enabled"?: boolean; // 是否启用 }; type Tree = { "is_enabled"?: boolean; // 是否启用 }; type Store = { "parent_id"?: number; // 上级分类ID "name": string; // 分类名称 "code": string; // 分类标识 "is_enabled"?: boolean; // 是否启用 "sort"?: number; // 排序 }; type Update = { "id": number; // id "parent_id"?: number; // 上级分类ID "name": string; // 分类名称 "code": string; // 分类标识 "is_enabled"?: boolean; // 是否启用 "sort"?: number; // 排序 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type ToggleEnabled = { "id": number; // id "is_enabled": boolean; // 是否启用 }; type Select = { "keywords"?: string; // 关键词 }; type SelectTree = { "keywords"?: string; // 关键词 "parent_id"?: number; // 父级ID }; } namespace AssetItemDisposals { type List = { "confirm_status"?: string; // 审核状态,[enum:AssetItemDisposalConfirmStatusEnum] "disposal_result"?: string; // 处置结果,[enum:AssetItemDisposalResultEnum] "applicant_id"?: number; // 申请人ID "disposal_employee_id"?: number; // 处置人ID "name"?: string; // 资产名称(明细中搜索) "code"?: string; // 资产编码(明细中搜索) "created_at"?: string[]; // 创建时间范围 }; type Store = { "reason"?: string; // 处置原因 "attachments"?: string[]; // 附件 "items": string[]; // 资产明细 }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "confirm_status": string; // 确认状态,[enum:AssetItemDisposalConfirmStatusEnum] "reject_reason"?: string; // 驳回原因(驳回时填写) }; type Complete = { "id": number; // id "disposal_date"?: Date; // 处置日期 }; } namespace AssetItemInventories { type List = { "asset_item_warehouses_id"?: number; // 盘点仓库 "asset_projects_id"?: number; // 关联项目 "assigned_employee_id"?: number; // 盘点人 "status"?: string; // 状态 "inside_result"?: string; // 库内结果 "outside_result"?: string; // 库外结果 "name"?: string; // 盘点名称 "created_at"?: string[]; // 创建时间 }; type Store = { "asset_item_warehouses_id"?: number; // 盘点仓库 "asset_projects_id"?: number; // 关联项目 "name": string; // 盘点名称 "assigned_employee_id"?: number; // 盘点人 "category_ids": string[]; // 资产分类ID数组 "required_start_date"?: Date; // 要求开始日期 "required_end_date"?: Date; // 要求完成日期 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type Details = { "id": number; // 盘点任务ID "result"?: string; // 盘点结果筛选 "name"?: string; // 资产名称 "code"?: string; // 资产编号 }; type Assign = { "id": number; // id "assigned_employee_id": number; // 盘点人ID }; type Close = { "id": number; // id }; type Export = { "id": number; // id }; } namespace AssetItemInventorySurplus { type List = { "asset_item_inventories_id"?: number; // 模糊搜索:盘点任务id }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace AssetItemMaintenanceRules { type List = { "name"?: string; // 模糊搜索:名称 "status"?: string; // 状态 }; type Store = { "name": string; // 规则名称 "description"?: string; // 规则说明 "cycle_days": number; // 维保时间间隔(天) "advance_days": number; // 提前生成天数 "deadline_days": number; // 完成期限天数 "asset_projects_id": number; // 项目ID "asset_item_ids": string[]; // 关联资产ID列表 }; type Update = { "id": number; // id "name": string; // 规则名称 "description"?: string; // 规则说明 "cycle_days": number; // 维保时间间隔(天) "advance_days": number; // 提前生成天数 "deadline_days": number; // 完成期限天数 "asset_projects_id": number; // 项目ID "asset_item_ids": string[]; // 关联资产ID列表 }; type Show = { "id": number; // id }; type Toggle = { "id": number; // id }; type SoftDelete = { "id": number; // id }; } namespace AssetItemMaintenances { type List = { "type"?: string; // 工单类型 "status"?: string; // 工单状态 "source"?: string; // 来源 "code"?: string; // 资产编码 "name"?: string; // 资产名称 }; type Store = { "type": string; // 工单类型,[enum:AssetItemMaintenanceTypeEnum] "asset_items_id": number; // 资产ID "asset_projects_id": number; // 项目ID "description"?: string; // 工单说明 "deadline"?: Date; // 要求完成日期 "attachments"?: string[]; // 附件 }; type Update = { "id": number; // id "description"?: string; // 工单说明 "deadline"?: Date; // 要求完成日期 "attachments"?: string[]; // 附件 }; type Show = { "id": number; // id }; type Assign = { "id": number; // id "assigned_employee_id": number; // 指派员工ID }; type Close = { "id": number; // id }; } namespace AssetItemMarkings { type List = { "marking_type"?: string; // 标记类型,[enum:AssetItemMarkingTypeEnum] "confirm_status"?: string; // 审核状态,[enum:AssetItemMarkingConfirmStatusEnum] "applicant_id"?: number; // 申请人ID "responsible_id"?: number; // 关联负责人ID "name"?: string; // 资产名称(明细中搜索) "code"?: string; // 资产编码(明细中搜索) "created_at"?: string[]; // 创建时间范围 }; type Store = { "marking_type": string; // 标记类型,[enum:AssetItemMarkingTypeEnum] "responsible_id"?: number; // 关联负责人ID "description"?: string; // 上报说明 "attachments"?: string[]; // 附件 "items": string[]; // 资产明细 }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "confirm_status": string; // 确认状态,[enum:AssetItemMarkingConfirmStatusEnum] "reject_reason"?: string; // 驳回原因(驳回时填写) }; } namespace AssetItemReceives { type List = { "organizations_id"?: number; // 领用部门 "asset_projects_id"?: number; // 关联项目 "applicant_id"?: number; // 领用人 "confirm_status"?: string; // 确认状态 "code"?: string; // 资产编号(明细中搜索) "name"?: string; // 资产名称(明细中搜索) "receive_date"?: string[]; // 领用日期 }; type Store = { "organizations_id": number; // 领用部门 "asset_projects_id"?: number; // 关联项目 "applicant_id": number; // 领用人 "receive_date": Date; // 领用日期 "reason": string; // 领用原因 "items": string[]; // 资产明细 }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "confirm_status": string; // 确认状态,[enum:AssetItemReceiveConfirmStatusEnum] "reject_reason"?: string; // 拒绝原因(拒绝时填写) }; } namespace AssetItemReturns { type List = { "organizations_id"?: number; // 归还部门 "asset_projects_id"?: number; // 关联项目 "applicant_id"?: number; // 归还人 "confirm_status"?: string; // 确认状态 "code"?: string; // 资产编号(明细中搜索) "name"?: string; // 资产名称(明细中搜索) "return_date"?: string[]; // 归还日期 }; type Store = { "organizations_id": number; // 归还部门 "asset_projects_id"?: number; // 关联项目 "applicant_id": number; // 归还人 "return_date": Date; // 归还日期 "reason"?: string; // 归还说明 "confirm_employee_id": number; // 确认人 "items": string[]; // 资产明细 }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "confirm_status": string; // 确认状态,[enum:AssetItemReturnConfirmStatusEnum] "reject_reason"?: string; // 拒绝原因(拒绝时填写) }; } namespace AssetItemTransfers { type List = { "to_warehouse_id"?: number; // 调入仓库ID "batch_no"?: string; // 调拨批次号(模糊搜索) "confirm_status"?: string; // 审核状态,[enum:AssetItemTransferConfirmStatusEnum] "from_warehouse_id"?: number; // 调出仓库ID "applicant_id"?: number; // 申请人ID "transfer_date"?: string[]; // 调拨日期范围 "name"?: string; // 资产名称(明细中搜索) "code"?: string; // 资产编码(明细中搜索) }; type Store = { "from_warehouse_id": number; // 调出仓库ID "to_warehouse_id": number; // 调入仓库ID "receiver_id"?: number; // 接收人ID "transfer_date": Date; // 调拨日期 "reason": string; // 调拨原因 "items": string[]; // 资产明细 }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "confirm_status": string; // 确认状态,[enum:AssetItemTransferConfirmStatusEnum] "reject_reason"?: string; // 驳回原因(驳回时填写) }; } namespace AssetItemWarehouseManagers { type List = { "asset_item_warehouses_id"?: number; // 仓库ID "company_employees_id"?: number; // 员工ID }; type Store = { "asset_item_warehouses_id": number; // 仓库ID "company_employees_id": number; // 员工ID }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Select = { "asset_item_warehouses_id": number; // 仓库ID }; } namespace AssetItemWarehouses { type List = { "name"?: string; // 模糊搜索:名称 "is_enabled"?: boolean; // 是否启用 "asset_projects_id"?: number; // 所属项目id }; type Store = { "name": string; // 仓库名称 "province"?: string; // 省 "city"?: string; // 市 "district"?: string; // 区 "street"?: string; // 街道 "address"?: string; // 详细地址 "is_enabled"?: boolean; // 是否启用 "asset_projects_id"?: number; // 所属项目id "manager_ids"?: string[]; // 管理员ID列表 }; type Update = { "id": number; // id "name": string; // 仓库名称 "province"?: string; // 省 "city"?: string; // 市 "district"?: string; // 区 "street"?: string; // 街道 "address"?: string; // 详细地址 "is_enabled"?: boolean; // 是否启用 "asset_projects_id"?: number; // 所属项目id "manager_ids"?: string[]; // 管理员ID列表 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type ToggleEnabled = { "id": number; // id "is_enabled": boolean; // 是否启用 }; type Select = { "keywords"?: string; // 关键词 "asset_projects_id"?: number; // 所属项目id }; } namespace AssetItems { type List = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 模糊搜索:资产编码 "asset_item_category_level1_id"?: number; // 一级分类id "asset_item_category_level2_id"?: number; // 二级分类id "asset_item_category_level3_id"?: number; // 三级分类id "asset_item_warehouses_id"?: number; // 仓库id "entry_type"?: string; // 入库方式 "status"?: string; // 资产状态 "manage_status"?: string; // 管理状态 "company_employees_id"?: number; // 责任管理人id "asset_projects_id"?: number; // 所属项目id "entry_date"?: string[]; // 入库日期 }; type Store = { "name": string; // 资产名称 "asset_item_category_level1_id": number; // 一级分类id "asset_item_category_level2_id"?: number; // 二级分类id "asset_item_category_level3_id"?: number; // 三级分类id "asset_item_warehouses_id": number; // 存放仓库id "entry_type": string; // 入库方式,[enum:AssetItemsEntryTypeEnum] "entry_date"?: Date; // 入库日期 "purchase_date"?: Date; // 采购日期 "unit_price"?: number; // 单价 "specification"?: string; // 规格型号 "brand"?: string; // 品牌 "warranty_period"?: number; // 保修期限(天) "warranty_end_date"?: Date; // 保修结束日期 "ownership"?: string; // 资产归属 "company_employees_id"?: number; // 责任管理人id "attachments"?: string[]; // 附件 "remark"?: string; // 备注 "asset_projects_id"?: number; // 所属项目id }; type BatchStore = { "entry_type": string; // 入库方式,[enum:AssetItemsEntryTypeEnum] "asset_item_warehouses_id": number; // 存放仓库id "company_employees_id"?: number; // 责任管理人id "entry_date"?: Date; // 入库日期 "purchase_date"?: Date; // 采购日期 "ownership"?: string; // 资产归属 "asset_projects_id"?: number; // 所属项目id "items": string[]; // 入库商品清单 }; type Update = { "id": number; // id "name": string; // 资产名称 "asset_item_category_level1_id": number; // 一级分类id "asset_item_category_level2_id"?: number; // 二级分类id "asset_item_category_level3_id"?: number; // 三级分类id "asset_item_warehouses_id": number; // 存放仓库id "entry_date"?: Date; // 入库日期 "purchase_date"?: Date; // 采购日期 "unit_price"?: number; // 单价 "specification"?: string; // 规格型号 "brand"?: string; // 品牌 "warranty_period"?: number; // 保修期限(天) "warranty_end_date"?: Date; // 保修结束日期 "ownership"?: string; // 资产归属 "company_employees_id"?: number; // 责任管理人id "attachments"?: string[]; // 附件 "remark"?: string; // 备注 "asset_projects_id"?: number; // 所属项目id }; type Show = { "id": number; // id }; type Logs = { "id": number; // 资产id }; type SoftDelete = { "id": number; // id }; type UpdateStatus = { "id": number; // id "status": string; // 资产状态,[enum:AssetItemsStatusEnum] }; type UpdateManageStatus = { "id": number; // id "manage_status": string; // 管理状态,[enum:AssetItemsManageStatusEnum] }; } namespace AssetParkingPlaces { type List = { "id"?: number; // 车场id "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "name"?: string; // 模糊搜索:名称 "type"?: string; // 车场类型,[enum:AssetParkingPlacesTypeEnum] "property_type"?: string; // 产权类型,[enum:AssetParkingPlacesPropertyTypeEnum] "location_type"?: string; // 位置类型,[enum:AssetParkingPlacesLocationTypeEnum] "charge_type"?: string; // 收费类型,[enum:AssetParkingPlacesChargeTypeEnum] "project_name"?: string; // 模糊搜索:所属项目名称 }; type Store = { "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "name": string; // 车场名称 "type"?: string; // 车场类型,[enum:AssetParkingPlacesTypeEnum] "export_numbers"?: number; // 出口数量 "import_numbers"?: number; // 入口数量 "total_spaces"?: number; // 总车位数 "property_type"?: string; // 产权类型,[enum:AssetParkingPlacesPropertyTypeEnum] "location_type"?: string; // 位置类型,[enum:AssetParkingPlacesLocationTypeEnum] "charge_type"?: string; // 收费类型,[enum:AssetParkingPlacesChargeTypeEnum] "remark"?: string; // 备注 }; type Update = { "id": number; // id "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "name": string; // 车场名称 "type"?: string; // 车场类型,[enum:AssetParkingPlacesTypeEnum] "export_numbers"?: number; // 出口数量 "import_numbers"?: number; // 入口数量 "total_spaces"?: number; // 总车位数 "property_type"?: string; // 产权类型,[enum:AssetParkingPlacesPropertyTypeEnum] "location_type"?: string; // 位置类型,[enum:AssetParkingPlacesLocationTypeEnum] "charge_type"?: string; // 收费类型,[enum:AssetParkingPlacesChargeTypeEnum] "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "keywords"?: string; // 关键词 }; } namespace AssetProjectAdmins { type List = { "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "company_employees_id"?: number; // 员工id,[ref:company_employees] "project_name"?: string; // 模糊搜索:名称 "employee_name"?: string; // 模糊搜索:员工名称 }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "company_employees_id": number; // 员工id,[ref:company_employees] "type": string; // 类型,[enum:HouseWorkOrdersTypeEnum] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace AssetProjects { type List = { "id"?: number; // id "name"?: string; // 模糊搜索:名称 "code"?: string; // 项目编码 "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum] "property_brand_name"?: string; // 物业品牌名称 "ownership_type"?: string; // 业权类型,[enum:AssetProjectsOwnershipTypeEnum] "is_owners_committee"?: boolean; // 是否成立业委会 "organization_name"?: string; // 组织名称 "organizations_id"?: number; // 组织id }; type Store = { "name": string; // 项目名称 "alias_name"?: string; // 项目别名 "code"?: 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; // 地址 "longitude"?: string; // 经度 "latitude"?: string; // 纬度 "property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum] "status"?: string; // 状态,[enum:AssetProjectsStatusEnum] "entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum] "charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum] "plot_ratio"?: number; // 容积率 "total_households"?: number; // 总户数 "total_parking_spaces"?: number; // 总车位数 "takeover_households"?: number; // 接管总户数 "takeover_parking_spaces"?: number; // 接管车位数 "contract_building_area"?: number; // 合同建筑面积(㎡) "land_area"?: number; // 占地面积(㎡) "takeover_building_area"?: number; // 接管建筑面积(㎡) "property_area"?: number; // 物业面积(㎡) "green_area"?: number; // 绿化面积(㎡) "takeover_date"?: Date; // 接管日期 "exit_date"?: Date; // 退场日期 "project_phase_number"?: number; // 项目中期数 "ownership_type"?: string; // 业权类型,[enum:AssetProjectsOwnershipTypeEnum] "is_owners_committee"?: boolean; // 是否成立业委会 "owners_committee_number"?: number; // 第几届业委会 "owners_committee_start_date"?: Date; // 业委会开始日期 "owners_committee_end_date"?: Date; // 业委会结束日期 "closure_date"?: Date; // 封园日期 "company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands] }; type Update = { "id": number; // id "name": string; // 项目名称 "alias_name"?: string; // 项目别名 "code"?: 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; // 地址 "longitude"?: string; // 经度 "latitude"?: string; // 纬度 "property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum] "status"?: string; // 状态,[enum:AssetProjectsStatusEnum] "entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum] "charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum] "plot_ratio"?: number; // 容积率 "total_households"?: number; // 总户数 "total_parking_spaces"?: number; // 总车位数 "takeover_households"?: number; // 接管总户数 "takeover_parking_spaces"?: number; // 接管车位数 "contract_building_area"?: number; // 合同建筑面积(㎡) "land_area"?: number; // 占地面积(㎡) "takeover_building_area"?: number; // 接管建筑面积(㎡) "property_area"?: number; // 物业面积(㎡) "green_area"?: number; // 绿化面积(㎡) "takeover_date"?: Date; // 接管日期 "exit_date"?: Date; // 退场日期 "project_phase_number"?: number; // 项目中期数 "ownership_type"?: string; // 业权类型,[enum:AssetProjectsOwnershipTypeEnum] "is_owners_committee"?: boolean; // 是否成立业委会 "owners_committee_number"?: number; // 第几届业委会 "owners_committee_start_date"?: Date; // 业委会开始日期 "owners_committee_end_date"?: Date; // 业委会结束日期 "closure_date"?: Date; // 封园日期 "company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands] }; type ChangePropertyBrand = { "projects_id": number; // 项目id "company_property_brands_id": number; // 物业品牌id,[ref:company_property_brands] }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; type Import = { "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; type Export = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 项目编码 "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum] "property_brand_name"?: string; // 物业品牌名称 "ownership_type"?: string; // 业权类型,[enum:AssetProjectsOwnershipTypeEnum] "is_owners_committee"?: boolean; // 是否成立业委会 "organization_name"?: string; // 组织名称 "current"?: number; // 页码 "download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录 }; } 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 }; type Select = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings] "keywords"?: string; // 关键词 }; type GridSelect = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings] "keywords"?: string; // 关键词 "type"?: number; // 类型:1, 排除已添加的 }; } } namespace Attendance { namespace AttendanceConfigs { type List = { "page"?: number; // - "per_page"?: number; // - }; type Store = { "check_in_range": number; // 打卡范围(米) "require_photo": boolean; // 是否要求拍照打卡 "allow_out_range_checkin"?: boolean; // 是否允许范围外打卡 }; type UpdateConfig = { "id": number; // id "check_in_range": number; // 打卡范围(米) "require_photo": boolean; // 是否要求拍照打卡 "allow_out_range_checkin"?: boolean; // 是否允许范围外打卡 }; type Enable = { "id": number; // id "is_enabled": boolean; // 是否启用: 1:启用 0:禁用 }; } namespace AttendanceEmployeeTracks { type List = { "company_employees_id"?: number; // 员工ID "asset_projects_id"?: number; // 项目ID "start_date"?: Date; // 开始日期 "end_date"?: Date; // 结束日期 }; type Detail = { "company_employees_id": number; // 员工ID "start_date": Date; // 开始日期 "end_date": Date; // 结束日期 "asset_projects_id"?: number; // 项目ID }; type Heatmap = { "company_employees_id": number; // 员工ID "date": Date; // 日期 }; } namespace AttendanceRecords { type List = { "company_employees_id"?: number; // 员工ID "asset_projects_id"?: number; // 项目ID "status"?: string; // 状态 "checkin_type"?: string; // 打卡类型 "checkin_time"?: string[]; // 打卡时间 }; type Show = { "id": number; // 记录ID }; type Export = { "company_employees_id"?: number; // 员工ID "asset_projects_id"?: number; // 项目ID "status"?: string; // 状态 "checkin_type"?: string; // 打卡类型 "checkin_time"?: string[]; // 打卡时间 }; } namespace AttendanceSchedules { type List = { "company_employees_id"?: number; // 员工ID "asset_projects_id"?: number; // 项目ID "schedule_date"?: Date; // 排班日期 "status"?: string; // 状态,[enum:AttendanceSchedulesStatusEnum] "project_name"?: string; // 项目名称 "employee_name"?: string; // - }; type Store = { "company_employees_id": number; // 员工ID "attendance_shifts_id": number; // 班次ID "asset_projects_id": number; // 项目ID "schedule_date": Date; // 排班日期 "remark"?: string; // 备注 }; type BatchStore = { "schedules": string[]; // 排班列表 }; type ShiftList = { "organizations_id": number; // 组织ID "schedule_date": Date; // 排班日期 }; type Update = { "id": number; // id "company_employees_id"?: number; // 员工ID "attendance_shifts_id"?: number; // 班次ID "asset_projects_id"?: number; // 项目ID "schedule_date"?: Date; // 排班日期 "remark"?: string; // 备注 }; type ChangeStatus = { "id": number; // id "status": string; // 状态,[enum:AttendanceSchedulesStatusEnum] }; type Cancel = { "id": number; // id }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace AttendanceShifts { type List = { "name"?: string; // 班次名称 "is_enabled"?: boolean; // 状态 "asset_projects_id"?: number; // 项目ID "project_name"?: string; // 项目名称 }; type Store = { "name": string; // 班次名称 "asset_projects_id": number; // 关联项目IDs "allow_checkin_start": date_format:H:i:s; // 可打卡开始时间 "allow_checkin_end": date_format:H:i:s; // 可打卡结束时间 "is_enabled"?: boolean; // 状态 "remark"?: string; // 备注 "periods": string[]; // 时段列表 }; type Update = { "id": number; // id "name"?: string; // 班次名称 "asset_projects_id"?: number; // 关联项目IDs "allow_checkin_start"?: date_format:H:i:s; // 可打卡开始时间 "allow_checkin_end"?: date_format:H:i:s; // 可打卡结束时间 "is_enabled"?: boolean; // 状态 "remark"?: string; // 备注 "periods"?: string[]; // 时段列表 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 班次名称 "asset_projects_id"?: number; // 项目ID "project_name"?: string; // 项目名称 }; } } namespace Banner { namespace BannerSpaces { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 名称 "remark"?: string; // 备注 "type": string; // 类型,[enum:BannerSpacesTypeEnum] }; type Update = { "id": number; // id "name": string; // 名称 "remark"?: string; // 备注 "type": string; // 类型,[enum:BannerSpacesTypeEnum] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } namespace Banners { type List = { "banner_spaces_id"?: number; // 广告位id,[ref:banner_spaces] "name"?: string; // 模糊搜索:名称 }; type Store = { "banner_spaces_id": number; // 广告位id,[ref:banner_spaces] "name": string; // 名称 "sort"?: number; // 排序:越大越靠前 "type": string; // 类型,[enum:BannersTypeEnum] "source": string[]; // 广告资源 "start_time"?: Date; // 开始时间 "end_time"?: Date; // 结束时间 "redirect_type"?: string; // 跳转类型,[enum:BannersRedirectTypeEnum] "redirect_path"?: string; // 跳转链接 "app_id"?: string; // 小程序app_id }; type Update = { "id": number; // id "banner_spaces_id": number; // 广告位id,[ref:banner_spaces] "name": string; // 名称 "sort"?: number; // 排序:越大越靠前 "type": string; // 类型,[enum:BannersTypeEnum] "source": string[]; // 广告资源 "start_time"?: Date; // 开始时间 "end_time"?: Date; // 结束时间 "redirect_type"?: string; // 跳转类型,[enum:BannersRedirectTypeEnum] "redirect_path"?: string; // 跳转链接 "app_id"?: string; // 小程序app_id }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Bill { namespace BillPayments { type List = { "bills_id"?: number; // 账单id,[ref:bills] "status"?: string; // 状态(如果线上支付直接是已审,线下支付待审),[enum:BillPaymentsStatusEnum] }; type Store = { "bills_id": number; // 账单id,[ref:bills] "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "paid_time"?: Date; // 支付时间 "accept_account_name"?: string; // 收款账号名称 "accept_account_number"?: string; // 收款账号 "accept_serial_number"?: string; // 收款流水号 "pay_certificate"?: string[]; // 支付凭证 "remark"?: string; // 备注 }; type Update = { "id": number; // id "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "paid_time"?: Date; // 支付时间 "accept_account_name"?: string; // 收款账号名称 "accept_account_number"?: string; // 收款账号 "accept_serial_number"?: string; // 收款流水号 "pay_certificate"?: string[]; // 支付凭证 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type Audit = { "id": number; // 支付记录id "status": string; // 审核状态,Approved-通过,Rejected-拒绝 "rejected_reason"?: string; // 拒绝原因 }; type Delete = { "id": number; // id }; } namespace BillRefunds { type List = { "bill_id"?: number; // 账单id }; type Store = { "bill_id": number; // 账单id "refund_amount"?: number; // 退款金额(单位分) "refund_reason"?: string; // 退款原因 "refund_notes"?: string; // 退款备注 }; type Show = { "id": number; // 退款记录id }; type Audit = { "id": number; // 退款记录id "approved": boolean; // 是否通过 "notes"?: string; // 审核备注 }; } namespace Bills { type List = { "phone"?: string; // 模糊搜索:手机号 "type"?: string; // 类型,[enum:BillPaymentsTypeEnum] "flow_type"?: string; // 收支类型,[enum:BillsFlowTypeEnum] "status"?: string; // 账单状态,[enum:BillsStatusEnum] }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseBills { type List = { "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "full_name"?: string; // 模糊搜索:房屋名称 "company_name"?: string; // 模糊搜索:公司名称 "bill_status"?: string[]; // 账单状态,[enum:HouseBillsBillStatusEnum] "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "project_name"?: string; // 模糊搜索:项目名称 "year"?: number; // 账单年份 "month"?: number; // 账单月份 "type"?: string; // 账单类型,[enum:HouseBillsTypeEnum] }; type SummaryBillList = { "full_name"?: string; // 模糊搜索:房屋名称 "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "project_name"?: string; // 模糊搜索:项目名称 "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] }; type Store = { "asset_houses_id": number; // 资产房屋id,[ref:asset_houses] "company_receipt_accounts_id": number; // 公司收款账户id,[ref:company_receipt_accounts] "type": string; // 账单类型,[enum:HouseBillsTypeEnum] "amount": number; // 金额 "discount_amount"?: number; // 优惠金额 "late_fee"?: number; // 滞纳金 "start_date": Date; // 计费开始日期 "end_date": Date; // 计费结束日期 "month": string; // 月份 "late_start_date"?: Date; // 滞纳金起算日期 "collected_late_fee_days"?: number; // 已收滞纳金天数 "remark"?: string; // 备注 }; type Update = { "id": number; // id "company_receipt_accounts_id": number; // 公司收款账户id,[ref:company_receipt_accounts] "type": string; // 账单类型,[enum:HouseBillsTypeEnum] "amount": number; // 金额 "discount_amount"?: number; // 优惠金额 "late_fee"?: number; // 滞纳金 "start_date": Date; // 计费开始日期 "end_date": Date; // 计费结束日期 "month": string; // 月份 "late_start_date"?: Date; // 滞纳金起算日期 "collected_late_fee_days"?: number; // 已收滞纳金天数 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SummaryShow = { "asset_houses_id": number; // 资产房屋id,[ref:asset_houses] }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Import = { "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; type Export = { "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "full_name"?: string; // 模糊搜索:房屋名称 "company_name"?: string; // 模糊搜索:公司名称 "bill_status"?: string[]; // 账单状态,[enum:HouseBillsBillStatusEnum] "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "project_name"?: string; // 模糊搜索:项目名称 "year"?: number; // 账单年份 "month"?: number; // 账单月份 "type"?: string; // 账单类型,[enum:HouseBillsTypeEnum] "current"?: number; // 页码 "download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录 }; } } namespace Collcetion { namespace HouseCollectionRecords { type List = { "collection_tasks_id"?: number; // 房屋崔缴任务id,[ref:house_collection_tasks] "asset_houses_id"?: number; // 房屋id,[ref:asset_houses] "channel"?: string; // 通知渠道,[enum:HouseCollectionTasksChannelEnum] "status"?: string; // 通知状态,[enum:HouseCollectionRecordsStatusEnum] "full_name"?: string; // 房屋名称 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseCollectionTasks { type List = { "task_name"?: string; // 模糊搜索:名称 "status"?: string; // 状态,[enum:HouseCollectionTasksStatusEnum] }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Common { namespace Admins { type List = { "username"?: string; // 模糊搜索:名称 }; type Store = { "username": string; // 用户名 "password": string; // 密码 "roles_id"?: string[]; // 角色 }; type Update = { "id": number; // - "username": string; // - "password"?: string; // - "roles_id"?: string[]; // - }; type Delete = { "id": number; // id }; type Select = { "username"?: string; // 模糊搜索:名称 }; } namespace Auth { type Login = { "username": string; // 用户名 "password": string; // 密码 "captcha": string; // 验证码 "captcha_key": string; // 验证码key }; 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; // 文件名称 }; } namespace ConvenienceServices { type List = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 项目ID "project_name"?: string; // 项目名称 }; type Store = { "asset_projects_id": number; // 项目ID "type": string; // 类型,[enum:ConvenienceServicesTypeEnum] "name": string; // 名称 "content": string[]; // 内容 }; type Update = { "id": number; // id "asset_projects_id": number; // 项目ID "type": string; // 类型,[enum:ConvenienceServicesTypeEnum] "name": string; // 名称 "content": string[]; // 内容 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace Positions { type List = { "name"?: string; // 模糊搜索:名称 "is_use"?: number; // 是否启用,1启用,0禁用 }; type Store = { "name": string; // 岗位名称 "is_use"?: number; // 是否启用,1启用,0禁用 }; type Update = { "id": number; // id "name": string; // 岗位名称 "is_use"?: number; // 是否启用,1启用,0禁用 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } } namespace Company { namespace CompanyApps { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "app_type": string; // 应用类型,[enum:CompanyAppsAppTypeEnum] "module"?: string; // 模块,[enum:CompanyAppsModuleEnum] "app_id": string; // 应用ID:微信AppID/企业微信CorpID "app_secret": string; // 应用密钥 }; type Update = { "id": number; // id "app_type": string; // 应用类型,[enum:CompanyAppsAppTypeEnum] "module"?: string; // 模块,[enum:CompanyAppsModuleEnum] "app_id": string; // 应用ID:微信AppID/企业微信CorpID "app_secret": string; // 应用密钥 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace CompanyEmployees { type List = { "organizations_id"?: number; // 组织机构ID "organization_name"?: string; // 组织机构名称 "name"?: string; // 模糊搜索:名称 "phone"?: string; // 模糊搜索:手机号 "type"?: string; // 员工类型,[enum:CompanyEmployeesTypeEnum] }; type Store = { "name": string; // 名称 "phone": string; // 手机号 "password"?: string; // 密码[hidden] "type": string; // 员工类型,[enum:CompanyEmployeesTypeEnum] "organizations_id": number; // 所属组织id,[ref:organizations] "positions_id"?: number; // 岗位id,[ref:company_positions] "sex"?: string; // 性别,[enum:SexEnum] "roles_id"?: string[]; // 角色 "remark"?: string; // 备注 }; type Update = { "id": number; // id "name": string; // 名称 "phone": string; // 手机号 "password"?: string; // 密码[hidden] "type": string; // 员工类型,[enum:CompanyEmployeesTypeEnum] "organizations_id": number; // 所属组织id,[ref:organizations] "positions_id"?: number; // 岗位id,[ref:company_positions] "sex"?: string; // 性别,[enum:SexEnum] "roles_id"?: string[]; // 角色 "remark"?: string; // 备注 }; type ResetPassword = { "id": number; // id "password": string; // 密码[hidden] }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "organizations_id"?: number; // 所属组织id,[ref:organizations] "keywords"?: string; // 关键词 }; type Import = { "upload_file": mimes:xlsx,xls; // 上传文件 }; type CompletePhone = { "phone": string[]; // 手机号 }; type Export = { "organizations_id"?: number; // 组织机构ID "organization_name"?: string; // 组织机构名称 "name"?: string; // 模糊搜索:名称 "phone"?: string; // 模糊搜索:手机号 "type"?: string; // 员工类型,[enum:CompanyEmployeesTypeEnum] "download_type"?: string; // 下载类型:all-全部,page-当前页 "current"?: number; // 当前页偏移量 }; } namespace CompanyPositions { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 岗位名称 "code"?: string; // 岗位编号 "status"?: number; // 状态 "remark"?: string; // 备注 }; type Update = { "id": number; // id "name": string; // 岗位名称 "code"?: string; // 岗位编号 "status"?: number; // 状态 "remark"?: string; // 备注 }; type BatchStore = { "positions_ids": string[]; // 岗位ID }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } namespace CompanyProjectReceiptAccounts { type List = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "project_name"?: string; // 项目名称 }; type Store = { "projects_id": number; // 所属项目id,[ref:asset_projects] "receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts] "is_default"?: number; // 是否默认收款账号 }; type Update = { "id": number; // id "projects_id": number; // 所属项目id,[ref:asset_projects] "receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts] "is_default"?: number; // 是否默认收款账号 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "projects_id"?: number; // 所属项目id,[ref:asset_projects] }; type ProjectReceiptAccountsSelect = { "projects_id"?: number; // 所属项目id,[ref:asset_projects] }; } namespace CompanyPropertyBrands { type List = { "name"?: string; // 模糊搜索:名称 "company_name"?: string; // 模糊搜索:机构名称 }; type Store = { "name": string; // 品牌名称 "logo"?: string[]; // 品牌logo }; type Update = { "id": number; // id "name": string; // 品牌名称 "logo"?: string[]; // 品牌logo }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "company_name"?: string; // 模糊搜索:机构名称 }; } namespace CompanyReceiptAccounts { type List = { "company_name"?: string; // 模糊搜索:名称 }; type Store = { "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 "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 }; type Select = { "company_name"?: string; // 模糊搜索:名称 }; } namespace CompanySeals { type List = { "company_supplier_name"?: string; // 企业名称 "type"?: string; // 印章类型,[enum:CompanySealsTypeEnum] }; type Store = { "company_suppliers_id": number; // 企业名称 "type": string; // 印章类型,[enum:CompanySealsTypeEnum] "use_date"?: Date; // 启用日期 "company_employees_id": number; // 保管人id,[ref:company_employees] "seal_image"?: string[]; // 印章图片 "is_enabled"?: number; // 是否启用 "remarks"?: string; // 备注 }; type Update = { "id": number; // id "company_suppliers_id": number; // 企业名称 "type": string; // 印章类型,[enum:CompanySealsTypeEnum] "use_date"?: Date; // 启用日期 "seal_image"?: string[]; // 印章图片 "is_enabled"?: number; // 是否启用 "remarks"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type ExchangeHolder = { "id": number; // id "company_employees_id": number; // 保管人id,[ref:company_employees] "exchange_date": Date; // 交换日期 "remark"?: string; // - }; type ExchangeRecord = { "id": number; // 印章id }; type Select = { "company_supplier_name"?: string; // 企业名称 "type"?: string; // 印章类型,[enum:CompanySealsTypeEnum] }; } namespace CompanySupplierGrades { type List = { "company_suppliers_id"?: number; // 供应商id,[ref:company_suppliers] "supplier_name"?: string; // 模糊搜索:名称 "grade"?: string; // 供应商等级,[enum:CompanySuppliersGradeEnum] }; type Store = { "company_suppliers_id": number; // 供应商id,[ref:company_suppliers] "grade": string; // 供应商等级,[enum:CompanySuppliersGradeEnum] "grade_remark"?: string; // 评级备注 "grade_files"?: string[]; // 评级附件 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace CompanySuppliers { type List = { "id"?: number; // id "name"?: string; // 模糊搜索:名称 "counterparty"?: string; // 交易方类型,[enum:CompanySuppliersCounterpartyEnum] "supplier_type"?: string; // 供应商类型,[enum:CompanySuppliersSupplierTypeEnum] "legal_person"?: string; // 法定代表人 "contact_name"?: string; // 联系人姓名 "contact_phone"?: string; // 联系人电话 "tax_number"?: string; // 纳税人识别号 "is_blacklisted"?: boolean; // 是否黑名单 0:否 1:是 }; type Store = { "counterparty": string; // 交易方类型,[enum:CompanySuppliersCounterpartyEnum] "supplier_type": string; // 供应商类型,[enum:CompanySuppliersSupplierTypeEnum] "name": string; // 供应商名称 "province"?: string; // 省份 "city"?: string; // 城市 "area"?: string; // 区县 "street"?: string; // 街道 "address"?: string; // 地址 "legal_person"?: string; // 法定代表人 "registered_capital"?: number; // 注册资本 "business_scope"?: string; // 经营范围 "certificate_type"?: string; // 证件类型,[enum:CompanySuppliersCertificateTypeEnum] "certificate_number"?: string; // 证件号码 "is_blacklisted"?: boolean; // 是否黑名单 0:否 1:是 "reason"?: string; // 拉黑原因 "company_name"?: string; // 公司名称 "tax_number"?: string; // 纳税人识别号 "tax_address"?: string; // 注册地址 "tax_phone"?: string; // 注册电话 "tax_bank_name"?: string; // 开户银行 "tax_bank_account"?: string; // 银行账号 "is_general_taxpayer"?: number; // 是否一般纳税人 "contact_name"?: string; // 联系人姓名 "contact_phone"?: string; // 联系人电话 "contact_email"?: string; // 联系人邮箱 "contact_remark"?: string; // 联系人备注 "bank_accounts"?: string[]; // 银行账号信息 "certificates"?: string[]; // 证件资料 }; type Update = { "id": number; // id "counterparty": string; // 交易方类型,[enum:CompanySuppliersCounterpartyEnum] "supplier_type": string; // 供应商类型,[enum:CompanySuppliersSupplierTypeEnum] "name": string; // 供应商名称 "province"?: string; // 省份 "city"?: string; // 城市 "area"?: string; // 区县 "street"?: string; // 街道 "address"?: string; // 地址 "legal_person"?: string; // 法定代表人 "registered_capital"?: number; // 注册资本 "business_scope"?: string; // 经营范围 "certificate_type"?: string; // 证件类型,[enum:CompanySuppliersCertificateTypeEnum] "certificate_number"?: string; // 证件号码 "is_blacklisted"?: boolean; // 是否黑名单 0:否 1:是 "reason"?: string; // 拉黑原因 "company_name"?: string; // 公司名称 "tax_number"?: string; // 纳税人识别号 "tax_address"?: string; // 注册地址 "tax_phone"?: string; // 注册电话 "tax_bank_name"?: string; // 开户银行 "tax_bank_account"?: string; // 银行账号 "is_general_taxpayer"?: number; // 是否一般纳税人 "contact_name"?: string; // 联系人姓名 "contact_phone"?: string; // 联系人电话 "contact_email"?: string; // 联系人邮箱 "contact_remark"?: string; // 联系人备注 "bank_accounts"?: string[]; // 银行账号信息 "certificates"?: string[]; // 证件资料 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "counterparty"?: string; // 交易方类型,[enum:CompanySuppliersCounterpartyEnum] "supplier_type"?: string; // 供应商类型,[enum:CompanySuppliersSupplierTypeEnum] "legal_person"?: string; // 法定代表人 "contact_name"?: string; // 联系人姓名 "contact_phone"?: string; // 联系人电话 "tax_number"?: string; // 纳税人识别号 "is_blacklisted"?: boolean; // 是否黑名单 0:否 1:是 }; } namespace OrganizationHasProjects { type List = { "organizations_id"?: number; // 组织id,[ref:organizations_id] "asset_projects_id"?: number; // 项目id,[ref:asset_projects_id] "organization_name"?: string; // 模糊搜索:名称 "project_name"?: string; // 模糊搜索:名称 }; type Store = { "organizations_id": number; // 组织id,[ref:organizations_id] "asset_projects_id": number; // 项目id,[ref:asset_projects] }; type BatchStore = { "organizations_id": number; // 组织id,[ref:organizations_id] "asset_projects_ids": string[]; // 项目id,[ref:asset_projects] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace Organizations { type List = { "name"?: string; // 模糊搜索:名称 "parent_id"?: number; // 父级ID }; type TreeList = { "name"?: string; // 模糊搜索:名称 "parent_id"?: number; // 父级ID }; type Store = { "type": string; // 类型,[enum:OrganizationsTypeEnum] "name": string; // 名称 "managers_id"?: number; // 负责人IDid,[ref:company_employees] "manager_phone"?: string; // 负责人电话 "manager_email"?: string; // 负责人邮箱 "status"?: number; // 状态 "sort"?: number; // 排序 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // }; type Update = { "id": number; // id "type": string; // 类型,[enum:OrganizationsTypeEnum] "name": string; // 名称 "managers_id"?: number; // 负责人IDid,[ref:company_employees] "manager_phone"?: string; // 负责人电话 "manager_email"?: string; // 负责人邮箱 "status"?: number; // 状态 "sort"?: number; // 排序 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // 上级 ID }; 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 }; type Select = { "keywords"?: string; // 关键词 }; type SelectTree = { "keywords"?: string; // - "type"?: string; // - "parent_id"?: number; // - }; } } namespace Contract { namespace ContractArchives { type List = { "code"?: string; // 模糊搜索: 编号 "name"?: string; // 模糊搜索:名称 "contracts_id"?: number; // 合同ID "period_type"?: string; // 保管期限类型,[enum:ContractArchivesPeriodTypeEnum] "file_number"?: string; // 案卷编号 "box_number"?: string; // 文件盒编号 "keeper_name"?: string; // 保管人姓名 "keeper_phone"?: string; // 保管人电话 }; type Store = { "code": string; // 归档编号 "name": string; // 归档名称 "contracts_id"?: number; // 合同ID "period_type": string; // 保管期限类型,[enum:ContractArchivesPeriodTypeEnum] "storage_years"?: number; // 保管年限 "confidentiality_level": string; // 保密等级,[enum:ContractArchivesConfidentialityLevelEnum] "file_number"?: string; // 案卷编号 "box_number"?: string; // 文件盒编号 "cabinet_number"?: string; // 文件柜编号 "province"?: string; // 省份 "city"?: string; // 城市 "area"?: string; // 县/区 "street"?: string; // 街道 "address"?: string; // 地址 "archive_date"?: Date; // 归档日期 "archive_year"?: number; // 归档年份 "archive_files"?: string[]; // 归档文件目录 }; type Update = { "id": number; // id "code": string; // 归档编号 "name": string; // 归档名称 "contracts_id"?: number; // 合同ID "period_type": string; // 保管期限类型,[enum:ContractArchivesPeriodTypeEnum] "storage_years"?: number; // 保管年限 "confidentiality_level": string; // 保密等级,[enum:ContractArchivesConfidentialityLevelEnum] "file_number"?: string; // 案卷编号 "box_number"?: string; // 文件盒编号 "cabinet_number"?: string; // 文件柜编号 "province"?: string; // 省份 "city"?: string; // 城市 "area"?: string; // 县/区 "street"?: string; // 街道 "address"?: string; // 地址 "archive_date"?: Date; // 归档日期 "archive_year"?: number; // 归档年份 "archive_files"?: string[]; // 归档文件目录 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type ChangeKeeper = { "id": number; // id "company_employee_id": number; // 员工ID }; type GetChangeKeeperLog = { "id": number; // 归档id }; } namespace ContractBillPayments { type List = { "contracts_id"?: number; // 合同id,[ref:contracts] "contract_bills_id"?: number; // 合同账单id,[ref:contract_bills] "cost_type"?: string; // 费用类型,[enum:ContractBillsCostTypeEnum] "status"?: string; // 状态,[enum:ContractBillPaymentsStatusEnum] "payment_method"?: string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "payment_no"?: string; // 支付发起单号 "accept_account_number"?: string; // 收款账号 "accept_serial_number"?: string; // 收款流水号 }; type Store = { "contract_bills_id": number; // 合同账单id,[ref:contract_bills] "amount": number; // 金额(元) "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "paid_time": Date; // 支付时间 "accept_account_name"?: string; // 收款账号名称 "accept_account_number"?: string; // 收款账号 "accept_serial_number": string; // 收款流水号 "pay_certificate"?: string[]; // 支付凭证 "remark"?: string; // 备注 }; type Update = { "id": number; // id "amount": number; // 金额(元) "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "paid_time": Date; // 支付时间 "accept_account_name"?: string; // 收款账号名称 "accept_account_number"?: string; // 收款账号 "accept_serial_number": string; // 收款流水号 "pay_certificate"?: string[]; // 支付凭证 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "status": string; // 审核状态,Approved-通过,Rejected-拒绝 "rejected_reason"?: string; // 拒绝原因 }; } namespace ContractBills { type List = { "contracts_id"?: number; // 合同id,[ref:contracts] "cost_type"?: string; // 费用类型,[enum:ContractBillsCostTypeEnum] "payment_status"?: string; // 支付状态,[enum:HouseOrdersOrderStatusEnum] "year"?: number; // 年 "month"?: number; // 月份 "contract_name"?: string; // 合同名称 "payee"?: string; // 收款方 "payer"?: string; // 付款方 }; type Store = { "contracts_id": number; // 合同id,[ref:contracts] "cost_type": string; // 费用类型,[enum:ContractBillsCostTypeEnum] "year": number; // 年 "month": number; // 月份 "period_num"?: number; // 期数 "amount": number; // 金额(单位元) "remark"?: string; // 备注 "payee"?: string; // 收款方 "payee_bank"?: string; // 收款方银行 "payee_account"?: string; // 收款方账号 "payer"?: string; // 付款方 "payer_bank"?: string; // 付款方银行 "payer_account"?: string; // 付款方账号 }; type BatchStore = { "contracts_id": number; // 合同id,[ref:contracts] "bills": string[]; // 账单列表 }; type Update = { "id": number; // id "cost_type": string; // 费用类型,[enum:ContractBillsCostTypeEnum] "year": number; // 年 "month": number; // 月份 "period_num"?: number; // 期数 "amount": number; // 金额(单位元) "payee"?: string; // 收款方 "payee_bank"?: string; // 收款方银行 "payee_account"?: string; // 收款方账号 "payer"?: string; // 付款方 "payer_bank"?: string; // 付款方银行 "payer_account"?: string; // 付款方账号 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace ContractSealLogs { type List = { "contracts_id"?: number; // 合同IDid,[ref:contracts] "name"?: string; // 模糊搜索:合同名称 "code"?: string; // 模糊搜索:合同编号 "is_use_seal"?: boolean; // 是否用印 0:否 1:是 }; type Store = { "company_employees_id": number; // 用印人id,[ref:company_employees] "contracts_id": number; // 合同IDid,[ref:contracts] "number_contract_copies": number; // 合同份数 "is_use_seal"?: boolean; // 是否用印 0:否 1:是 "use_seal_time"?: Date; // 用印时间 "is_external_seal_usage"?: number; // 是否外出用印 "seal_ids"?: string[]; // 印章id列表 "remarks"?: string; // 备注 }; type Update = { "id": number; // id "company_employees_id": number; // 用印人id,[ref:company_employees] "contracts_id": number; // 合同IDid,[ref:contracts] "number_contract_copies": number; // 合同份数 "is_use_seal"?: boolean; // 是否用印 0:否 1:是 "use_seal_time"?: Date; // 用印时间 "is_external_seal_usage"?: number; // 是否外出用印 "seal_ids"?: string[]; // 印章id列表 "remarks"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace ContractTemplates { type List = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 模糊搜索:编号 "is_enabled"?: number; // 是否启用 "source"?: string; // 合同模板来源,[enum:ContractTemplatesSourceEnum] "income_expense_type"?: string; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "contract_types_id"?: number; // 合同类型id,[ref:contract_types] "type_name"?: string; // 合同类型名称 }; type Store = { "name": string; // 合同模板名称 "code": string; // 合同模板编号 "source": string; // 合同模板来源,[enum:ContractTemplatesSourceEnum] "income_expense_type": string; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "contract_types_id": number; // 合同类型id,[ref:contract_types] "is_enabled"?: number; // 是否启用 "description"?: string; // 合同模板描述 "attachment"?: string[]; // 合同模板附件 }; type Update = { "id": number; // id "name": string; // 合同模板名称 "code": string; // 合同模板编号 "source": string; // 合同模板来源,[enum:ContractTemplatesSourceEnum] "income_expense_type": string; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "contract_types_id": number; // 合同类型id,[ref:contract_types] "is_enabled"?: number; // 是否启用 "description"?: string; // 合同模板描述 "attachment"?: string[]; // 合同模板附件 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace ContractTypes { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 名称 "is_enabled"?: number; // 是否启用 }; type Update = { "id": number; // id "name": string; // 名称 "is_enabled"?: number; // 是否启用 }; type ChangeStatus = { "id": number; // id "is_enabled"?: number; // 是否启用 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 }; } namespace Contracts { type List = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 模糊搜索:编号 "status"?: string; // 状态,[enum:ContractsStatusEnum] "counterparty"?: string; // 交易方名称 "is_seal"?: boolean; // 是否用印: 0否,1是 "end_time"?: Date; // 到期时间 "contract_types_id"?: number; // 合同类型id,[ref:contract_types] "contract_type_name"?: string; // 合同类型名称 "asset_projects_id"?: number; // 关联项目id,[ref:asset_projects] "project_name"?: string; // 项目名称 "sign_department"?: string; // 签约部门 "contract_liaison"?: string; // 合同对接人 }; type PendingReviewList = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 模糊搜索:编号 }; type Store = { "name": string; // 合同名称 "income_expense_type": string; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "contract_nature": string; // 合同性质,[enum:ContractsContractNatureEnum] "contract_types_id": number; // 合同类型id,[ref:contract_types] "start_time": Date; // 合同开始时间 "end_time": Date; // 合同结束时间 "settlement_mode"?: string; // 结算模式,[enum:ContractsSettlementModeEnum] "total_amount"?: number; // 合同总金额 "is_deposit"?: boolean; // 是否有保证金 "deposit_amount"?: number; // 保证金金额 "sign_subject": string; // 签约主体 "asset_projects_id": number; // 关联项目 "sign_department": string; // 签约部门 "contract_liaison": string; // 合同对接人 "number_contract_copies": number; // 合同份数 "remarks"?: string; // 合同备注 "attachments"?: string[]; // 合同附件 "seal_info"?: string[]; // 签章信息 "peoples"?: string[]; // 签约人员列表 "resources_id"?: number; // 资源id }; type Update = { "id": number; // id "name": string; // 合同名称 "income_expense_type": string; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "contract_nature": string; // 合同性质,[enum:ContractsContractNatureEnum] "contract_types_id": number; // 合同类型id,[ref:contract_types] "start_time": Date; // 合同开始时间 "end_time": Date; // 合同结束时间 "settlement_mode"?: string; // 结算模式,[enum:ContractsSettlementModeEnum] "total_amount"?: number; // 合同总金额 "is_deposit"?: boolean; // 是否有保证金 "deposit_amount"?: number; // 保证金金额 "sign_subject": string; // 签约主体 "asset_projects_id": number; // 关联项目 "sign_department": string; // 签约部门 "contract_liaison": string; // 合同对接人 "number_contract_copies": number; // 合同份数 "remarks"?: string; // 合同备注 "attachments"?: string[]; // 合同附件 "seal_info"?: string[]; // 签章信息 "peoples"?: string[]; // 签约人员列表 "resources_id"?: number; // 资源id }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type ContractCopy = { "id": number; // id }; type Terminated = { "id": number; // 合同id "terminated_reason"?: string; // 终止合同原因 }; type Voided = { "id": number; // id "voided_reason"?: string; // 作废原因 }; type SubmitApproval = { "id": number; // 合同id "approval_templates_id": number; // 审批模板id "remark"?: string; // 备注 "node_approvers"?: string[]; // 各节点审批人员列表 }; } } namespace Customer { namespace CustomerMomentCategories { type List = { "name"?: string; // 模糊搜索:名称 "parent_id"?: number; // 父级ID }; type Store = { "name": string; // 分类名称 "is_use"?: number; // 是否启用:0=禁用,1=启用 "parent_id"?: number; // 父级id,[ref:customer_moment_categories] }; type Update = { "id": number; // id "name": string; // 分类名称 "is_use"?: number; // 是否启用:0=禁用,1=启用 "parent_id"?: number; // }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type SelectTree = { "keywords"?: string; // - "parent_id"?: number; // - }; } namespace CustomerMoments { type List = { "admin_name"?: string; // 模糊搜索:创建人名称 "channel"?: string; // 发送渠道,[enum:CustomerMomentsChannelEnum] "push_time"?: Date; // 推送时间 "push_status"?: string; // 推送状态,[enum:CustomerMomentsPushStatusEnum] "one_moment_categories_id"?: number; // 内容一级分类id,[ref:customer_moment_categories] "two_moment_categories_id"?: number; // 内容二级分类id,[ref:customer_moment_categories] "content"?: string; // 模糊搜索:内容 }; type Store = { "channel": string; // 发送渠道,[enum:CustomerMomentsChannelEnum] "push_type": string; // 推送类型,[enum:CustomerMomentsPushTypeEnum] "scheduled_time"?: Date; // 定时发送时间 "task_end_type": string; // 任务结束类型,[enum:CustomerMomentsTaskEndTypeEnum] "task_days"?: number; // 任务天数 "task_end_time"?: Date; // 任务结束时间 "range_type": string; // 范围类型,[enum:CustomerMomentsRangeTypeEnum] "range_data": string[]; // 范围数据(项目:项目ID,员工:员工ID,部门:部门ID,客户:客户ID) "content": string; // 内容 "content_type": string; // 内容类型,[enum:CustomerMomentsContentTypeEnum] "skip_type"?: string; // 跳转类型,[enum:CustomerMomentsSkipTypeEnum] "mini_program_app_id"?: string; // 小程序APPID "skip_url"?: string; // 跳转链接 "title"?: string; // 跳转标题 "desc"?: string; // 描述 "cover_image"?: string[]; // 封面图 "attachments"?: string[]; // 附件 "one_moment_categories_id": number; // 内容一级分类id,[ref:customer_moment_categories] "two_moment_categories_id": number; // 内容二级分类id,[ref:customer_moment_categories] }; type Update = { "id": number; // id "channel": string; // 发送渠道,[enum:CustomerMomentsChannelEnum] "push_type": string; // 推送类型,[enum:CustomerMomentsPushTypeEnum] "scheduled_time"?: Date; // 定时发送时间 "task_end_type": string; // 任务结束类型,[enum:CustomerMomentsTaskEndTypeEnum] "task_days"?: number; // 任务天数 "task_end_time"?: Date; // 任务结束时间 "range_type": string; // 范围类型,[enum:CustomerMomentsRangeTypeEnum] "range_data": string[]; // 范围数据(项目:项目ID,员工:员工ID,部门:部门ID,客户:客户ID) "content": string; // 内容 "content_type": string; // 内容类型,[enum:CustomerMomentsContentTypeEnum] "skip_type"?: string; // 跳转类型,[enum:CustomerMomentsSkipTypeEnum] "mini_program_app_id"?: string; // 小程序APPID "skip_url"?: string; // 跳转链接 "title"?: string; // 跳转标题 "desc"?: string; // 描述 "cover_image"?: string[]; // 封面图 "attachments"?: string[]; // 附件 "one_moment_categories_id": number; // 内容一级分类id,[ref:customer_moment_categories] "two_moment_categories_id": number; // 内容二级分类id,[ref:customer_moment_categories] }; type Show = { "id": number; // id }; type Send = { "id": number; // id }; } namespace CustomerOpinions { type List = { "type"?: string; // 类型,[enum:CustomerOpinionsTypeEnum] "content"?: string; // 模糊搜索:内容 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Emergency { namespace EmergencyEventBills { type List = { "emergency_events_id"?: number; // 突发事件id,[ref:emergency_events] "cost_type"?: string; // 收支类型,[enum:EmergencyEventBillsCostTypeEnum] "fee_type"?: string; // 费用类型,[enum:EmergencyEventBillsFeeTypeEnum] "fee_name"?: string; // 费用名称 "payment_status"?: string; // 支付状态,[enum:EmergencyEventBillsPaymentStatusEnum] "payment_method"?: string; // 支付方式,[enum:EmergencyEventBillsPaymentMethodEnum] "payee"?: string; // 收款方 "payee_account"?: string; // 收款方账号 "payer"?: string; // 付款方 "payer_account"?: string; // 付款方账号 }; type Store = { "emergency_events_id": number; // 突发事件id,[ref:emergency_events] "cost_type": string; // 收支类型,[enum:EmergencyEventBillsCostTypeEnum] "fee_type": string; // 费用类型,[enum:EmergencyEventBillsFeeTypeEnum] "fee_name": string; // 费用名称 "amount": number; // 金额 "payee": string; // 收款方 "payee_bank": string; // 收款方银行 "payee_account": string; // 收款方账号 "payer": string; // 付款方 "payer_bank": string; // 付款方银行 "payer_account": string; // 付款方账号 }; type Update = { "id": number; // id "cost_type": string; // 收支类型,[enum:EmergencyEventBillsCostTypeEnum] "fee_type": string; // 费用类型,[enum:EmergencyEventBillsFeeTypeEnum] "fee_name": string; // 费用名称 "amount": number; // 金额 "payee": string; // 收款方 "payee_bank": string; // 收款方银行 "payee_account": string; // 收款方账号 "payer": string; // 付款方 "payer_bank": string; // 付款方银行 "payer_account": string; // 付款方账号 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace EmergencyEventCategories { type List = { "name"?: string; // 模糊搜索:名称 "parent_id"?: number; // 父级ID }; type TreeList = { "name"?: string; // 模糊搜索:名称 "parent_id"?: number; // 父级ID }; type Store = { "name": string; // 分类名称 "description"?: string; // 分类描述 "is_enabled"?: number; // 是否启用:0:否,1:是 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // }; type Update = { "id": number; // id "name": string; // 分类名称 "description"?: string; // 分类描述 "is_enabled"?: number; // 是否启用:0:否,1:是 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // }; 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 }; type Select = { "keywords"?: string; // 关键词 }; type SelectTree = { "keywords"?: string; // - "type"?: string; // - "parent_id"?: number; // - }; } 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 }; type Delete = { "id": number; // id }; } namespace EmergencyEventLevels { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 等级名称 "is_enabled"?: number; // 是否启用:0-否,1-是 }; type Update = { "id": number; // id "name": string; // 等级名称 "is_enabled"?: number; // 是否启用:0-否,1-是 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 }; } namespace EmergencyEventTeams { type List = { "name"?: string; // 模糊搜索:名称 "leader_name"?: string; // 队长名称 }; type Store = { "name": string; // 名称 "asset_projects_id": number; // 项目id,[ref:asset_projects] "company_employees_id": number; // 组长员工id,[ref:company_employees] "is_enabled"?: number; // 是否启用:0-否,1-是 "members"?: string[]; // 团队成员 }; type Update = { "id": number; // id "name": string; // 名称 "asset_projects_id": number; // 项目id,[ref:asset_projects] "company_employees_id": number; // 组长员工id,[ref:company_employees] "is_enabled"?: number; // 是否启用:0-否,1-是 "members"?: string[]; // 团队成员 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; 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; // 状态 "audit_status"?: string; // 审核状态 }; type Store = { "name": string; // 事件名称 "status"?: string; // 状态,[enum:EmergencyEventsStatusEnum] "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; // 突发事件已支付赔偿金额 "emergency_event_organizations_id": number; // 突发事件提报组织id,[ref:organizations] }; type Update = { "id": number; // id "name": string; // 事件名称 "status"?: string; // 状态,[enum:EmergencyEventsStatusEnum] "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 Assign = { "id": number; // id "two_emergency_categories_id": number; // 突发事件二级分类id,[ref:emergency_event_categories] "emergency_event_teams_id"?: number; // 突发事件处理团队id,[ref:emergency_event_teams] }; type ApplyClose = { "id": number; // id "handled_result"?: string; // 处理结果 "introspection"?: string; // 反思与总结 }; type Audit = { "id": number; // id "audit_status": string; // 审核状态,[enum:EmergencyEventsAuditStatusEnum] "audit_remark"?: string; // 审核备注 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 "asset_projects_id"?: number; // 项目ID }; } } namespace GoodsReleases { namespace GoodsReleases { type List = { "code"?: string; // 放行码 "apply_name"?: string; // 申请人姓名 "apply_phone"?: string; // 申请人电话 "status"?: string; // 状态 "passed_type"?: string; // 通行类型 "asset_projects_id"?: number; // 所属项目 "asset_houses_id"?: number; // 房屋 }; type Store = { "asset_houses_id": number; // 访问房屋 "apply_name": string; // 申请人姓名 "apply_phone": string; // 申请人电话 "passed_type": string; // 通行类型,[enum:GoodsReleasesPassedTypeEnum] "goods": string[]; // 放行物品信息 "passed_time": Date; // 通行时间 "remark"?: string; // 备注 }; type Update = { "id": number; // id "apply_name"?: string; // 申请人姓名 "apply_phone"?: string; // 申请人电话 "passed_type"?: string; // 通行类型,[enum:GoodsReleasesPassedTypeEnum] "goods"?: string[]; // 放行物品信息 "passed_time"?: Date; // 通行时间 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type ApproveByEmployee = { "id": number; // id "status": string; // 审核状态(Approved/Rejected) "reason"?: string; // 驳回原因 }; type Release = { "id": number; // id }; type ScanRelease = { "code": string; // 放行码 }; } } namespace Grid { namespace Grids { type List = { "name"?: string; // 模糊搜索:网格名称 "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "employee_name"?: string; // 楼栋管家名称 "project_name"?: string; // 项目名称 }; type Store = { "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "grid_mark": string; // 网格标识 "grid_ranges": string[]; // 网格范围 }; type Update = { "id": number; // id "grid_mark": string; // 网格标识 "grid_ranges": string[]; // 网格范围 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type AddManager = { "id": number; // id "company_employees_id": number; // 公司员工id }; type GetGridMark = { "asset_projects_id": number; // - }; } } namespace HouseCharage { namespace HouseChargeHasHouses { type List = { "house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards] }; type Store = { "house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards] "houses_ids": string[]; // 房屋id,[ref:houses] }; type GetChargeStandardHouseIds = { "house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseChargeStandards { type List = { "name"?: string; // 模糊搜索:名称 "project_name"?: string; // 模糊搜索:项目名称 "company_name"?: string; // 模糊搜索:机构名称 "charge_type"?: string; // 收费类型,[enum:HouseBillsTypeEnum] "asset_projects_id"?: number; // 项目id,[ref:asset_projects] }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "name": string; // 收费标准名称 "type": string; // 收费类型,[enum:HouseChargeStandardsTypeEnum] "charge_type": string; // 收费类型,[enum:HouseBillsTypeEnum] "calculation_mode": string; // 计费模式,[enum:HouseChargeStandardsCalculationModeEnum] "calculation_method": string; // 计量方式,[enum:HouseChargeStandardsCalculationMethodEnum] "company_receipt_accounts_id": number; // 收款账户id,[ref:company_receipt_accounts] "price_algorithm": string; // 单价算法,[enum:HouseChargeStandardsPriceAlgorithmEnum] "price"?: number; // 单价 "calculation_period"?: string; // 计费周期,[enum:HouseChargeStandardsCalculationPeriodEnum] "auto_date"?: Date; // 自动生成日期 "is_tiered"?: number; // 是否阶梯收费 "tiered_rates"?: string[]; // 阶梯收费标准 "is_apportionment"?: number; // 是否分摊 "apportionment_method"?: string; // 分摊方式,[enum:HouseChargeStandardsApportionmentMethodEnum] "has_late_fee"?: boolean; // 是否滞纳金 "late_fee_start_days"?: number; // 生成几天后开始收取滞纳金 "late_fee_rate"?: number; // 滞纳金费率(百分比) "late_fee_cap_days"?: number; // 滞纳金封顶天数 "has_minimum_charge"?: number; // 是否保底价 "minimum_charge_amount"?: number; // 保底价金额 "remark"?: string; // 备注 }; type Update = { "id": number; // id "asset_projects_id": number; // 项目id,[ref:asset_projects] "name": string; // 收费标准名称 "type": string; // 收费类型,[enum:HouseChargeStandardsTypeEnum] "charge_type": string; // 收费类型,[enum:HouseBillsTypeEnum] "calculation_mode": string; // 计费模式,[enum:HouseChargeStandardsCalculationModeEnum] "calculation_method": string; // 计量方式,[enum:HouseChargeStandardsCalculationMethodEnum] "company_receipt_accounts_id": number; // 收款账户id,[ref:company_receipt_accounts] "price_algorithm": string; // 单价算法,[enum:HouseChargeStandardsPriceAlgorithmEnum] "price"?: number; // 单价 "calculation_period"?: string; // 计费周期,[enum:HouseChargeStandardsCalculationPeriodEnum] "auto_date"?: Date; // 自动生成日期 "is_tiered"?: number; // 是否阶梯收费 "tiered_rates"?: string[]; // 阶梯收费标准 "is_apportionment"?: number; // 是否分摊 "apportionment_method"?: string; // 分摊方式,[enum:HouseChargeStandardsApportionmentMethodEnum] "has_late_fee"?: boolean; // 是否滞纳金 "late_fee_start_days"?: number; // 生成几天后开始收取滞纳金 "late_fee_rate"?: number; // 滞纳金费率(百分比) "late_fee_cap_days"?: number; // 滞纳金封顶天数 "has_minimum_charge"?: number; // 是否保底价 "minimum_charge_amount"?: number; // 保底价金额 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "project_name"?: string; // 模糊搜索:项目名称 "company_name"?: string; // 模糊搜索:机构名称 "charge_type"?: string[]; // 收费类型,[enum:HouseBillsTypeEnum] "asset_projects_id"?: number; // 项目id,[ref:asset_projects] }; } namespace HouseChargeTaskDetails { type List = { "house_charge_tasks_id"?: number; // 房屋收费任务id,[ref:house_charge_tasks] "full_name"?: string; // 模糊搜索:名称 "status"?: string; // 处理状态,[enum:HouseChargeTaskDetailsStatusEnum] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type CreateHouseBill = { "id": number; // 任务明单id }; } namespace HouseChargeTasks { type List = { "id"?: number; // id 任务id "charge_standard_name"?: string; // 模糊搜索:收费标准名称 "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "status"?: string; // 任务状态,[enum:HouseChargeTasksStatusEnum] "type"?: string; // 类型,[enum:HouseChargeTasksTypeEnum] "project_name"?: string; // 资产项目名称 "company_name"?: string; // 公司名称 "bill_year"?: string; // 月份 "bill_month"?: string; // 月份 }; type Store = { "house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards] "month": string; // 月份 "start_date": Date; // 收费开始日期 "end_date": Date; // 收费截止日期 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type ExecuteTask = { "id": number; // id }; } namespace HouseDoorCards { type List = { "card_number"?: string; // 模糊搜索:卡号 "is_enable"?: boolean; // 是否启用:0-否,1-是 "name"?: string; // 客户姓名 "phone"?: string; // 手机号码 "full_name"?: string; // 房屋名称 }; type Store = { "card_number": string; // 门禁卡编号 "name": string; // 客户姓名 "phone": string; // 手机号码 "process_date": Date; // 办理日期 "is_enable": boolean; // 是否启用:0-否,1-是 "labor_cost": number; // 人工成本费 "asset_houses_id": number; // 房屋id,[ref:asset_houses] }; type Update = { "id": number; // id "card_number": string; // 门禁卡编号 "name": string; // 客户姓名 "phone": string; // 手机号码 "process_date": Date; // 办理日期 "is_enable": number; // 是否启用:0-否,1-是 "labor_cost": number; // 人工成本费 "asset_houses_id": number; // 房屋id,[ref:asset_houses] }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type CreateBill = { "id": number; // 门卡id "amount": number; // 金额(元) "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "company_receipt_accounts_id": number; // 收款账号id,[ref:company_receipt_accounts] "accept_serial_number"?: string; // 收款流水号(线下支付必填) "pay_certificate"?: string[]; // 支付凭证(线下支付必填) "remark"?: string; // 备注 }; type GetBill = { "id": number; // id }; type OfflinePay = { "bills_id": number; // 账单id "amount": number; // 金额(元) "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "paid_time": Date; // 支付时间 "accept_account_name"?: string; // 收款账号名称 "accept_account_number"?: string; // 收款账号 "accept_serial_number": string; // 收款流水号 "pay_certificate"?: string[]; // 支付凭证 "remark"?: string; // 备注 }; } } namespace HouseOrder { namespace HouseOrderPayments { type List = { "house_orders_id"?: number; // 订单ID "payment_no"?: string; // 模糊搜索:支付单号 "transaction_id"?: string; // 模糊搜索:交易号(微信、支付宝的单号 "third_trade_no"?: string; // 第三方交易号(如通联、乐刷) "accept_serial_number"?: string; // 模糊搜索:流水号 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseOrders { type List = { "id"?: number; // id "order_code"?: string; // 模糊搜索:名称 "payment_no"?: string; // 支付编号 "full_name"?: string; // 模糊搜索:房屋名称 "creator"?: string; // 创建人 "creator_phone"?: string; // 创建人电话 "audit_status"?: string; // 审核状态,[enum:HouseOrdersAuditStatusEnum] "auditor"?: string; // 审核人 "auditor_phone"?: string; // 审核人电话 "is_serial_number"?: boolean; // 是否有流水号 "accept_name"?: string; // 收款账户名称 "accept_bank"?: string; // 收款银行名称 "accept_account"?: string; // 收款账户 "accept_serial_number"?: string; // 收款流水号 }; type Store = { "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "total_paid_amount": number; // 支付金额 "paid_time": Date; // 支付时间 "accept_name"?: string; // 收款账户名称 "accept_bank"?: string; // 收款银行名称 "accept_account"?: string; // 收款账户 "accept_serial_number"?: string; // 收款流水号 "bill_ids": string[]; // 账单数组 [{id, amount}] "remark"?: string; // 备注 }; type Update = { "id": number; // 订单ID "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "total_paid_amount": number; // 支付金额 "paid_time": Date; // 支付时间 "accept_name"?: string; // 收款账户名称 "accept_bank"?: string; // 收款银行名称 "accept_account"?: string; // 收款账户 "accept_serial_number"?: string; // 收款流水号 "bill_ids": string[]; // 账单数组 [{id, amount}] "remark"?: string; // 备注 }; type Audit = { "id": number; // id "audit_status": string; // 状态,[enum:HouseOrdersAuditStatusEnum] "auditor_remark"?: string; // 审核备注 "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "paid_time": Date; // 支付时间 "accept_name"?: string; // 收款账户名称 "accept_bank"?: string; // 收款银行名称 "accept_account"?: string; // 收款账户 "accept_serial_number"?: string; // 收款流水号 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Export = { "id"?: number; // id "order_code"?: string; // 模糊搜索:名称 "payment_no"?: string; // 支付编号 "full_name"?: string; // 模糊搜索:房屋名称 "creator"?: string; // 创建人 "creator_phone"?: string; // 创建人电话 "audit_status"?: string; // 审核状态,[enum:HouseOrdersAuditStatusEnum] "auditor"?: string; // 审核人 "auditor_phone"?: string; // 审核人电话 "is_serial_number"?: boolean; // 是否有流水号 "current"?: number; // 页码 "download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录 }; type UpdateSerialNumber = { "id": number; // id "serial_number": string; // 流水号 }; type ImportSerialNumber = { "upload_file": mimes:xlsx,xls; // 上传文件 }; } namespace HousePrepaymentLogs { type List = { "house_prepayments_id"?: number; // 房屋预付缴费id,[ref:house_prepayments] "asset_houses_id"?: number; // 房屋id,[ref:asset_houses] "house_prepayment_payments_id"?: number; // 房屋预付缴费支付记录id,[ref:house_prepayment_payments] "full_name"?: string; // 房屋名称 }; type Deduct = { "asset_houses_id": number; // 房屋id,[ref:asset_houses] "bills_id": string[]; // 账单id,[ref:house_bills] "amount": number; // 扣款金额 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HousePrepaymentPayments { type List = { "house_prepayments_id"?: number; // 房屋预付id,[ref:house_prepayments] "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "full_name"?: string; // 模糊搜索:房屋名称 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HousePrepayments { type List = { "full_name"?: string; // 模糊搜索:房屋名称 "asset_houses_id"?: number; // 房屋id }; type Show = { "asset_houses_id": number; // 房屋id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Meter { namespace HouseMeterHasHouses { type List = { "house_meters_id"?: number; // 房屋仪表id,[ref:house_meters] "name"?: string; // 模糊搜索:名称 "full_name"?: string; // 模糊搜索:房屋全称 }; type StoreOrUpdate = { "house_meters_id": number; // 房屋仪表id,[ref:house_meters] "asset_houses_ids": string[]; // 房屋id,[ref:asset_houses] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Import = { "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; } namespace HouseMeterReadings { type List = { "house_meters_id": number; // 仪表id,[ref:house_meters] "operation_type"?: string; // 操作类型,[enum:HouseMeterReadingsOperationTypeEnum] }; type Store = { "house_meters_id": number; // 仪表id,[ref:house_meters] "operation_type": string; // 操作类型,[enum:HouseMeterReadingsOperationTypeEnum] "current_reading": number; // 本次读数 "reading_time": Date; // 抄表时间 "company_employees_id": number; // 抄表人id,[ref:company_employees] "images"?: string[]; // 图片 "remark"?: string; // 备注 }; type Update = { "id": number; // id "house_meters_id": number; // 仪表id,[ref:house_meters] "operation_type": string; // 操作类型,[enum:HouseMeterReadingsOperationTypeEnum] "previous_reading": number; // 上次读数 "current_reading": number; // 本次读数 "usage_amount": number; // 用量 "loss_amount"?: number; // 损耗 "reading_time": Date; // 抄表时间 "company_employees_id": number; // 抄表人id,[ref:company_employees] "images"?: string[]; // 图片 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseMeterTaskDetails { type List = { "house_meter_task_id"?: number; // 仪表任务id,[ref:house_meter_tasks] "house_meters_id"?: number; // 仪表id,[ref:house_meters] "full_name"?: string; // 房屋全称 "meter_name"?: string; // 仪表名称 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type CreateMeterBill = { "id": number; // 仪表任务明细id }; } namespace HouseMeterTasks { type List = { "name"?: string; // 模糊搜索:名称 "data"?: string[]; // 仪表id }; type Store = { "asset_projects_id": number; // 资产项目id,[ref:asset_projects] "generation_method": string; // 生成方式,[enum:HouseMeterTasksGenerationMethodEnum] "month": string; // 月份 "start_date": Date; // 收费开始日期 "end_date": Date; // 收费截止日期 "data": string[]; // 任务数据(如果是楼栋则是楼栋ID,如果是单元则是单元ID,如果是仪表则是仪表ID) }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type ExecuteMeterTasks = { "id": number; // id }; } namespace HouseMeters { type List = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 模糊搜索:项目名称 "charge_standards_id"?: number; // 房屋收费标准id,[ref:house_charge_standards] "meter_type"?: string; // 仪表类型,[enum:HouseMetersMeterTypeEnum] "usage_type"?: string; // 使用类型,[enum:HouseMetersUsageTypeEnum] "charge_standard_name"?: string; // 模糊搜索:收费标准名称 "asset_houses_id"?: number; // 房屋id,[ref:asset_houses] }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "charge_standards_id"?: number; // 房屋收费标准id,[ref:house_charge_standards] "name": string; // 名称 "meter_type": string; // 仪表类型,[enum:HouseMetersMeterTypeEnum] "usage_type": string; // 使用类型,[enum:HouseMetersUsageTypeEnum] "multiple"?: number; // 倍率 "status"?: number; // 是否启用:0:禁用,1:启用 "initial_value"?: number; // 初始抄表读数 "initial_time"?: Date; // 初始抄表时间 "latest_value"?: number; // 最新抄表读数 "latest_time"?: Date; // 最新抄表时间 "images"?: string[]; // 图片 "remark"?: string; // 备注 }; type Update = { "id": number; // id "asset_projects_id": number; // 项目id,[ref:asset_projects] "charge_standards_id"?: number; // 房屋收费标准id,[ref:house_charge_standards] "name": string; // 名称 "meter_type": string; // 仪表类型,[enum:HouseMetersMeterTypeEnum] "usage_type": string; // 使用类型,[enum:HouseMetersUsageTypeEnum] "multiple"?: number; // 倍率 "status"?: number; // 是否启用:0:禁用,1:启用 "initial_value"?: number; // 初始抄表读数 "initial_time"?: Date; // 初始抄表时间 "latest_value"?: number; // 最新抄表读数 "latest_time"?: Date; // 最新抄表时间 "images"?: string[]; // 图片 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Import = { "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; type Export = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 模糊搜索:项目名称 "charge_standards_id"?: number; // 房屋收费标准id,[ref:house_charge_standards] "meter_type"?: string; // 仪表类型,[enum:HouseMetersMeterTypeEnum] "usage_type"?: string; // 使用类型,[enum:HouseMetersUsageTypeEnum] "charge_standard_name"?: string; // 模糊搜索:收费标准名称 "asset_houses_id"?: number; // 房屋id,[ref:asset_houses] "download_type"?: string; // 下载类型:all-全部,page-当前页 "current"?: number; // 当前页偏移量 }; } } namespace Msg { namespace MsgPropertyAnnouncements { type List = { "id"?: number; // 公告id "title"?: string; // 模糊搜索:标题 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 模糊搜索:项目名称 "is_publish"?: number; // 是否发布 "publish_at"?: string[]; // 发布时间, 格式:[ }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "title": string; // 标题 "content": string; // 内容 "object": string; // 对象,[MsgPropertyAnnouncementsObjectEnum] "publish_type": string; // 发布类型,[MsgPropertyAnnouncementsPublishTypeEnum] "schedule_publish_at"?: Date; // 计划发布时间 "is_publish"?: boolean; // 是否发布 "publish_at"?: Date; // 发布时间 "sort"?: number; // 排序 }; type Update = { "id": number; // id "asset_projects_id": number; // 项目id,[ref:asset_projects] "title": string; // 标题 "content": string; // 内容 "object": string; // 对象,[MsgPropertyAnnouncementsObjectEnum] "publish_type": string; // 发布类型,[MsgPropertyAnnouncementsPublishTypeEnum] "schedule_publish_at"?: Date; // 计划发布时间 "is_publish"?: boolean; // 是否发布 "publish_at"?: Date; // 发布时间 "sort"?: number; // 排序 }; type Show = { "id": number; // id }; type IsPublish = { "id": number; // id "is_publish": boolean; // 是否发布 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Patrol { namespace PatrolLocations { type List = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 位置编码 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 项目名称 }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "name": string; // 名称 "code": string; // 位置编码 "is_enabled"?: number; // 是否启用 "remark"?: string; // 备注 }; type Update = { "id": number; // id "asset_projects_id": number; // 项目id,[ref:asset_projects] "name": string; // 名称 "code": string; // 位置编码 "is_enabled"?: number; // 是否启用 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] }; type PatrolLocationQrCode = { "id": number; // id }; } namespace PatrolRoutes { type List = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 项目名称 "is_enabled"?: number; // 是否启用:0否,1是 "generation_method"?: string; // 生成方式,[enum:PatrolRoutesGenerationMethodEnum] }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "name": string; // 名称 "generation_method": string; // 生成方式,[enum:PatrolRoutesGenerationMethodEnum] "date"?: string[]; // 生成日期 "is_enabled"?: number; // 是否启用:0否,1是 "task_start_time": date_format:H:i; // 任务开始时间 "task_end_time": date_format:H:i; // 任务结束时间 "clock_start_time": date_format:H:i; // 可打卡开始时间(08:00) "clock_end_time": date_format:H:i; // 可打卡结束时间(18:00) "remark"?: string; // 备注 "patrol_location": string[]; // 巡逻地点 }; type Update = { "id": number; // id "asset_projects_id": number; // 项目id,[ref:asset_projects] "name": string; // 名称 "generation_method": string; // 生成方式,[enum:PatrolRoutesGenerationMethodEnum] "date"?: string[]; // 生成日期 "is_enabled"?: number; // 是否启用:0否,1是 "task_start_time": date_format:H:i:s; // 任务开始时间 "task_end_time": date_format:H:i:s; // 任务结束时间 "clock_start_time": date_format:H:i:s; // 可打卡开始时间(08:00) "clock_end_time": date_format:H:i:s; // 可打卡结束时间(18:00) "remark"?: string; // 备注 "patrol_location": string[]; // 巡逻地点 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 项目名称 "is_enabled"?: number; // 是否启用:0否,1是 "generation_method"?: string; // 生成方式,[enum:PatrolRoutesGenerationMethodEnum] }; } namespace PatrolTasks { type List = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 模糊搜索:项目名称 "patrol_route_name"?: string; // 模糊搜索:巡逻路线名称 "date_time"?: string[]; // 开始时间,格式["start_time": "2024-01-01", "end_time": "2024-01-02"] "create_type"?: string; // 创建方式,[enum:PatrolTasksCreateTypeEnum] }; type Store = { "patrol_routes_id": number; // 巡逻路线id,[ref:patrol_routes] "start_time"?: Date; // 任务开始时间 "end_time"?: Date; // 任务结束时间 "level"?: string; // 优先级,[enum:HouseWorkOrdersLevelEnum] "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } 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 }; } } namespace QualityCheck { namespace QualityChecks { type List = { "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "project_name"?: string; // 项目名称 "check_object"?: string; // 模糊搜索:名称 "check_date"?: string[]; // 检查日期 "employee_name"?: string; // 检查人姓名 "employee_phone"?: string; // 检查人手机 }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "check_date": Date; // 检查日期 "check_object": string; // 检查对象 "check_score"?: number; // 检查得分 "check_description"?: string; // 检查描述 "check_images"?: string[]; // 检查图片 "is_rectification"?: boolean; // 是否整改 "rectification_description"?: string; // 整改描述 "rectification_date"?: Date; // 整改限期 "rectification_images"?: string[]; // 整改图片 "house_work_orders_id"?: number; // 工单id,[ref:house_work_orders] }; type Update = { "id": number; // id "asset_projects_id": number; // 项目id,[ref:asset_projects] "check_date": Date; // 检查日期 "check_object": string; // 检查对象 "check_score"?: number; // 检查得分 "check_description"?: string; // 检查描述 "check_images"?: string[]; // 检查图片 "is_rectification"?: boolean; // 是否整改 "rectification_description"?: string; // 整改描述 "rectification_date"?: Date; // 整改限期 "rectification_images"?: string[]; // 整改图片 "house_work_orders_id"?: number; // 工单id,[ref:house_work_orders] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Refund { namespace Refunds { type List = { "type"?: string; // 退款类型,[enum:RefundsTypeEnum] "business_id"?: number; // 业务ID(配合type使用) "refund_status"?: string; // 退款状态,[enum:RefundsStatusEnum] "applicant_name"?: string; // 申请人姓名 "asset_projects_id"?: number; // 项目ID "apply_time"?: string[]; // 申请时间范围 }; type Store = { "type": string; // 退款类型,[enum:RefundsTypeEnum] "business_id"?: number; // 业务ID(根据type对应不同表) "refund_amount": number; // 退款金额(单位元) "company_receipt_accounts_id": number; // 出款账户id "payee_name"?: string; // 收款人姓名 "payee_bank"?: string; // 收款银行 "payee_account"?: string; // 收款账号 "reason"?: string; // 退款原因 "asset_projects_id"?: number; // 项目ID "approval_templates_id": number; // 审批模板ID "node_approvers"?: string[]; // 各节点审批人员列表 }; type Show = { "id": number; // id }; type Complete = { "id": number; // id "serial_number"?: string; // 退款流水号 "refund_time"?: Date; // 退款时间 "voucher"?: string[]; // 退款凭证 }; type Cancel = { "id": number; // id }; } } namespace Renovation { namespace RenovationApplies { type List = { "id"?: number; // id "full_name"?: string; // 模糊搜索:名称 "status"?: string; // 状态,[enum:RenovationAppliesStatusEnum] "construction_status"?: string; // 施工状态,[enum:RenovationAppliesConstructionStatusEnum] "acceptance_status"?: string; // 验收状态,[enum:RenovationAppliesAcceptanceStatusEnum] "owner_name"?: string; // 业主名称 "owner_phone"?: string; // 业主手机号 "agent_name"?: string; // 代理人名称 "agent_phone"?: string; // 代理人手机号 }; type Store = { "asset_houses_id": number; // 所属房屋id,[ref:asset_houses] "type": string; // 装修类型,[enum:RenovationAppliesTypeEnum] "process_type": string; // 办理类型,[enum:RenovationAppliesProcessTypeEnum] "is_deposit"?: number; // 是否有保证金 "deposit_amount"?: number; // 保证金金额 "status"?: string; // 状态,[enum:RenovationAppliesStatusEnum] "owner_name": string; // 业主名称 "owner_phone": string; // 业主手机 "card_type": string; // 证件类型,[enum:HouseOccupantsCardTypeEnum] "owner_id_card": string; // 业主身份证 "id_card_front"?: string[]; // 身份证正面 "id_card_back"?: string[]; // 身份证反面 "property_certificate"?: string[]; // 产权证明 "agent_name"?: string; // 代理人名称 "agent_phone"?: string; // 代理人手机 "agent_card_type"?: string; // 代理人证件类型,[enum:HouseOccupantsCardTypeEnum] "agent_id_card"?: string; // 代理人身份证 "agent_id_card_front"?: string[]; // 代理人身份证正面 "agent_id_card_back"?: string[]; // 代理人身份证反面 "power_attorney"?: string[]; // 代理人授权书 "construction_principal_name"?: string; // 施工负责人名称 "construction_principal_phone"?: string; // 施工负责人手机 "construction_principal_card_type"?: string; // 施工负责人证件类型,[enum:HouseOccupantsCardTypeEnum] "construction_principal_id_card"?: string; // 施工负责人身份证 "construction_principal_id_card_front"?: string[]; // 施工负责人身份证正面 "construction_principal_id_card_back"?: string[]; // 施工负责人身份证反面 "construction_start_date"?: Date; // 施工开始时间 "construction_end_date"?: Date; // 施工结束时间 "renovation_content"?: string; // 装修内容,[enum:RenovationAppliesRenovationContentEnum] "renovation_remark"?: string; // 装修备注 "construction_draw"?: string[]; // 施工图 "construction_commitment_letter"?: string[]; // 施工承诺书 "company_name"?: string; // 装修公司名称 "company_principal_name"?: string; // 装修公司负责人名称 "company_principal_phone"?: string; // 装修公司负责人手机 "company_business_license_num"?: string; // 装修公司营业执照号 "company_business_license"?: string[]; // 装修公司营业执照 "company_asset_certificate"?: string[]; // 装修公司资产证明 "company_power_attorney"?: string[]; // 装修公司装修授权书 "other_attachments"?: string[]; // 其他附件 "major_construction"?: string[]; // 主要施工项 }; type Update = { "id": number; // id "type": string; // 装修类型,[enum:RenovationAppliesTypeEnum] "process_type": string; // 办理类型,[enum:RenovationAppliesProcessTypeEnum] "is_deposit"?: number; // 是否有保证金 "deposit_amount"?: number; // 保证金金额 "status"?: string; // 状态,[enum:RenovationAppliesStatusEnum] "owner_name": string; // 业主名称 "owner_phone": string; // 业主手机 "card_type": string; // 证件类型,[enum:HouseOccupantsCardTypeEnum] "owner_id_card": string; // 业主身份证 "id_card_front"?: string[]; // 身份证正面 "id_card_back"?: string[]; // 身份证反面 "property_certificate"?: string[]; // 产权证明 "agent_name"?: string; // 代理人名称 "agent_phone"?: string; // 代理人手机 "agent_card_type"?: string; // 代理人证件类型,[enum:HouseOccupantsCardTypeEnum] "agent_id_card"?: string; // 代理人身份证 "agent_id_card_front"?: string[]; // 代理人身份证正面 "agent_id_card_back"?: string[]; // 代理人身份证反面 "power_attorney"?: string[]; // 代理人授权书 "construction_principal_name"?: string; // 施工负责人名称 "construction_principal_phone"?: string; // 施工负责人手机 "construction_principal_card_type"?: string; // 施工负责人证件类型,[enum:HouseOccupantsCardTypeEnum] "construction_principal_id_card"?: string; // 施工负责人身份证 "construction_principal_id_card_front"?: string[]; // 施工负责人身份证正面 "construction_principal_id_card_back"?: string[]; // 施工负责人身份证反面 "construction_start_date"?: Date; // 施工开始时间 "construction_end_date"?: Date; // 施工结束时间 "renovation_content"?: string; // 装修内容,[enum:RenovationAppliesRenovationContentEnum] "renovation_remark"?: string; // 装修备注 "construction_draw"?: string[]; // 施工图 "construction_commitment_letter"?: string[]; // 施工承诺书 "company_name"?: string; // 装修公司名称 "company_principal_name"?: string; // 装修公司负责人名称 "company_principal_phone"?: string; // 装修公司负责人手机 "company_business_license_num"?: string; // 装修公司营业执照号 "company_business_license"?: string[]; // 装修公司营业执照 "company_asset_certificate"?: string[]; // 装修公司资产证明 "company_power_attorney"?: string[]; // 装修公司装修授权书 "other_attachments"?: string[]; // 其他附件 "major_construction"?: string[]; // 主要施工项 }; type Audit = { "id": number; // id "status": string; // 状态,[enum:RenovationAppliesStatusEnum] "renovation_inspection_rules_id"?: number; // 装修巡查规则ID "audit_remark"?: string; // 驳回理由 "is_deposit"?: number; // 是否有保证金 "deposit_amount"?: number; // 保证金金额 "receipt_accounts_id"?: integer:required_if:is_deposit,1; // 收款账户 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Bills = { "id": number; // 装修申请id }; } namespace RenovationInspectionRules { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 规则名称 "rule": string[]; // 规则内容 "description": string; // 规则描述 }; type Update = { "id": number; // id "name": string; // 规则名称 "rule": string[]; // 规则内容 "description": string; // 规则描述 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 }; } namespace RenovationWorkers { type List = { "renovation_applies_id"?: number; // 模糊搜索:名称 "worker_name"?: string; // 模糊搜索:工人姓名 "worker_phone"?: string; // 模糊搜索:工人电话 }; type Store = { "renovation_applies_id": number; // 装修申请id,[ref:renovation_applies] "worker_name": string; // 工人姓名 "worker_phone": string; // 工人电话 "card_type": string; // 证件类型,[enum:HouseOccupantsCardTypeEnum] "id_card": string; // 证件号 "card_front"?: string[]; // 证件正面 "card_back"?: string[]; // 证件反面 "valid_from"?: Date; // 证件有效期开始 "valid_to"?: Date; // 证件有效期结束 "worker_photo"?: string[]; // 工人照片 }; type BatchStore = { "renovation_applies_id": number; // 装修申请id,[ref:renovation_applies] "workers": string[]; // 工人列表 }; type Update = { "id": number; // id "worker_name": string; // 工人姓名 "worker_phone": string; // 工人电话 "card_type": string; // 证件类型,[enum:HouseOccupantsCardTypeEnum] "id_card": string; // 证件号 "card_front"?: string[]; // 证件正面 "card_back"?: string[]; // 证件反面 "valid_from"?: Date; // 证件有效期开始 "valid_to"?: Date; // 证件有效期结束 "worker_photo"?: string[]; // 工人照片 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Resource { namespace ResourceOrders { type List = { "id"?: number; // id "code"?: string; // 模糊搜索:订单编号 "resources_id"?: number; // 资源id,[ref:resources] "resource_name"?: string; // 资源名称 "category"?: string; // 资源分类 "status"?: string; // 订单状态 "customer_name"?: string; // 客户姓名 "customer_phone"?: string; // 客户电话 "payment_status"?: string; // 支付状态 "contracts_id"?: number; // 合同id,[ref:contracts] "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "project_name"?: string; // 资产项目名称 "contract_date"?: Date; // 合同日期 "reserve_date"?: Date; // 预约日期(资源) }; type Store = { "resources_id": number; // 资源id,[ref:resources] "resource_sessions": string[]; // 资源场次数组 "customer_name"?: string; // 客户姓名 "customer_phone"?: string; // 客户电话 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace ResourceTypes { type List = { "name"?: string; // 模糊搜索:名称 "category": string; // 类型,[enum:ResourceTypesCategoryEnum] }; type Store = { "category": string; // 类型,[enum:ResourceTypesCategoryEnum] "name": string; // 资源分类名称 "is_enabled"?: number; // 是否启用:0-否 1-是 "sort"?: number; // 排序(数值越大越靠前) }; type Update = { "id": number; // id "category": string; // 类型,[enum:ResourceTypesCategoryEnum] "name": string; // 资源分类名称 "is_enabled"?: number; // 是否启用:0-否 1-是 "sort"?: number; // 排序(数值越大越靠前) }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "category": string; // 类型,[enum:ResourceTypesCategoryEnum] }; } namespace Resources { type List = { "name"?: string; // 模糊搜索:名称 "category"?: string; // 分类,[enum:ResourceTypesCategoryEnum] "is_enabled"?: number; // 是否启用:0-否,1-是 "is_show"?: number; // 是否上架:0-否,1-是 "reservation_status"?: string; // 预约状态,[enum:ResourcesReservationStatusEnum] }; type UsableResourceList = { "contract_start_date": Date; // 合同开始日期 "contract_end_date": Date; // 合同结束日期 }; type Store = { "category": string; // 分类,[enum:ResourceTypesCategoryEnum] "name": string; // 名称 "is_enabled"?: number; // 是否启用:0-否,1-是 "is_show"?: number; // 是否上架:0-否,1-是 "reservation_status"?: string; // 预约状态,[enum:ResourcesReservationStatusEnum] "open_days"?: string[]; // 开放日期[enum:ResourcesOpenDaysEnum] "reservation_rule"?: string; // 预约规则,[enum:ResourcesReservationRuleEnum] "reservation_days"?: number; // 可提前预定天数 (仅场地资源) "cancel_minutes"?: number; // 可退订时间(距开始前x分钟) "cover_image"?: string[]; // 封面图片 "images"?: string[]; // 资源图片 "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings] "asset_units_id"?: number; // 所属单元id,[ref:asset_units] "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "address"?: string; // 详细地址 "sessions"?: string[]; // 场次信息 }; type Update = { "id": number; // id "category": string; // 分类,[enum:ResourceTypesCategoryEnum] "name": string; // 名称 "is_enabled"?: number; // 是否启用:0-否,1-是 "is_show"?: number; // 是否上架:0-否,1-是 "reservation_status"?: string; // 预约状态,[enum:ResourcesReservationStatusEnum] "open_days"?: string[]; // 开放日期[enum:ResourcesOpenDaysEnum] "reservation_rule"?: string; // 预约规则,[enum:ResourcesReservationRuleEnum] "reservation_days"?: number; // 可提前预定天数 (仅场地资源) "cancel_minutes"?: number; // 可退订时间(距开始前x分钟) "cover_image"?: string[]; // 封面图片 "images"?: string[]; // 资源图片 "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings] "asset_units_id"?: number; // 所属单元id,[ref:asset_units] "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "address"?: string; // 详细地址 "sessions"?: string[]; // 场次信息 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "category"?: string; // 分类,[enum:ResourceTypesCategoryEnum] "is_enabled"?: number; // 是否启用:0-否,1-是 "is_show"?: number; // 是否上架:0-否,1-是 "reservation_status"?: string; // 预约状态,[enum:ResourcesReservationStatusEnum] }; } } namespace Statistics { namespace ContractsCount { } namespace HouseBillsCount { type PaidAmountTrend = { "start_date"?: Date; // 开始日期(可选,默认6个月前) "end_date"?: Date; // 结束日期(可选,默认今天) }; type ClearCache = { "type"?: string; // 缓存类型 }; } namespace HouseWorkOrdersCount { type ClearCache = { "type"?: string; // 缓存类型:all-全部,rate-比率统计,overview-概览 }; } namespace IndexCount { type ClearCache = { "type"?: string; // 缓存类型 }; } namespace InformationCount { type ClearCache = { "type"?: string; // 缓存类型:all-全部,summary-数量汇总,house_usage-房屋用途,customer_identity-客户身份 }; } } namespace Survey { namespace QuestionCategories { type List = { "name"?: string; // 搜索关键词 "is_enabled"?: boolean; // 状态过滤 }; type Store = { "name": string; // 分类名称 "description"?: string; // 分类描述 "is_enabled"?: boolean; // 状态 }; type Update = { "id": number; // 分类ID "name"?: string; // 分类名称 "description"?: string; // 分类描述 "is_enabled"?: boolean; // 状态 }; type Show = { "id": number; // - }; type SoftDelete = { "id": number; // - }; type Restore = { "id": number; // - }; type Delete = { "id": number; // - }; type BatchDelete = { "ids": string[]; // 分类ID数组 }; type Select = { "name"?: string; // 搜索关键词 "is_enabled"?: boolean; // 状态过滤 }; } namespace Questions { type List = { "title"?: string; // 搜索关键词 "category_id"?: number; // 分类ID "type"?: string; // 题目类型 "is_enabled"?: boolean; // 状态过滤 }; type Store = { "category_id"?: number; // 分类ID "title": string; // 题目标题 "type": string; // 题目类型:[enum:QuestionsTypeEnum] "content"?: string[]; // 题目内容 "min_score"?: number; // 最小分值 "max_score"?: number; // 最大分值 "placeholder"?: string; // 填空题提示 "max_length"?: number; // 填空题最大长度 "required"?: boolean; // 是否必答 "sort"?: number; // 排序 "is_enabled"?: boolean; // 启用/禁用 }; type Update = { "id": number; // 题目ID "category_id"?: number; // 分类ID "title"?: string; // 题目标题 "type"?: string; // 题目类型:[enum:QuestionsTypeEnum] "content"?: string[]; // 题目内容 "min_score"?: number; // 最小分值 "max_score"?: number; // 最大分值 "placeholder"?: string; // 填空题提示 "max_length"?: number; // 填空题最大长度 "required"?: boolean; // 是否必答 "sort"?: number; // 排序 "is_enabled"?: boolean; // 启用/禁用 }; type Show = { "id": number; // 题目ID }; type SoftDelete = { "id": number; // - }; type Restore = { "id": number; // - }; type Delete = { "id": number; // - }; type Select = { "name"?: string; // 搜索关键词 "is_enabled"?: boolean; // 状态过滤 }; } namespace SurveyReleases { type List = { "surveys_id"?: number; // 问卷ID过滤 "release_type"?: string; // 发布方式过滤 "status"?: boolean; // 状态: 0-未发布,1-已发布 }; type Store = { "surveys_id": number; // 问卷ID "release_type": string; // 发布方式:[enum:SurveyReleasesTypeEnum] "release_scope"?: string[]; // 发布范围 "start_date"?: Date; // 有效日期开始 "end_date"?: Date; // 有效日期结束 "cover_image"?: string[]; // 封面图片 }; type Update = { "id": number; // 发布ID "surveys_id"?: number; // 问卷ID "release_type"?: string; // 发布方式:[enum:SurveyReleasesTypeEnum] "release_scope"?: string[]; // 发布范围 "start_date"?: Date; // 有效日期开始 "end_date"?: Date; // 有效日期结束 "cover_image"?: string[]; // 封面图片 }; type Show = { "id": number; // 发布ID }; type SoftDelete = { "id": number; // 问卷ID }; type Restore = { "id": number; // 问卷ID }; type Delete = { "id": number; // 问卷ID }; type Publish = { "id": number; // 发布ID }; type Schedule = { "id": number; // 发布ID }; type Cancel = { "id": number; // 发布ID }; } namespace SurveyResponses { type List = { "survey_id"?: number; // 问卷ID "release_id"?: number; // 发布ID "customers_id"?: number; // 客户ID "customer_phone"?: string; // 客户电话 "status"?: boolean; // 状态 }; type Show = { "id": number; // 回答ID }; } namespace Surveys { type List = { "name"?: string; // 搜索关键词 "is_enabled"?: boolean; // 状态过滤 }; type Store = { "name": string; // 问卷名称 "description"?: string; // 问卷描述 "questions": string[]; // 题目信息数组 "cover_image"?: string[]; // 封面图片 "is_enabled"?: boolean; // 状态 }; type Update = { "id": number; // 问卷ID "name"?: string; // 问卷名称 "description"?: string; // 问卷描述 "questions"?: string[]; // 题目信息数组 "cover_image"?: string[]; // 封面图片 "is_enabled"?: boolean; // 状态 }; type BatchStatus = { "ids": string[]; // 问卷ID数组 "is_enabled": boolean; // 状态 }; type Statistics = { "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 = { "name"?: string; // 搜索关键词 }; } } namespace Visitor { namespace VisitorApplies { type List = { "status"?: string; // 审核状态,[enum:VisitorAppliesStatusEnum] "visit_start_time"?: Date; // 预计到访时间 "visitor_name"?: string; // 模糊搜索:访客姓名 "visitor_phone"?: string; // 模糊搜索:访客电话 "host_phone"?: string; // 模糊搜索:被访人电话 }; type Show = { "id": number; // 申请id }; type Approve = { "id": number; // 访客申请id }; type Reject = { "id": number; // 访客申请id "remark": string; // 驳回原因 }; type Scan = { "code": string; // 通行码 "scan_type": string; // 扫码类型:进入/离开 }; } } namespace WorkOrder { namespace HouseWorkLogs { type List = { "house_work_orders_id": number; // 工单id,[ref:house_work_orders] }; type Store = { "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-合格 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseWorkOrderPayments { type List = { "name"?: string; // 模糊搜索:名称 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseWorkOrders { type List = { "house_name"?: string; // 模糊搜索:房屋名称 "type"?: string[]; // 工单类型,[enum:HouseWorkOrdersTypeEnum] "level"?: string; // 工单优先级,[enum:HouseWorkOrdersLevelEnum] "status"?: string; // 工单状态,[enum:HouseWorkOrdersStatusEnum] "assign_status"?: string; // 工单分配状态,[enum:HouseWorkOrdersAssignStatusEnum] "reporter_name"?: string; // 模糊搜索:上报人姓名 "reporter_phone"?: string; // 模糊搜索:上报人手机 "is_completed"?: boolean; // 是否完工:0否,1是 "is_evaluated"?: boolean; // 是否评价: 0否,1是 "is_visited"?: boolean; // 是否已访问: 0否,1是 "location"?: string; // 报修位置[enum:HouseWorkOrdersLocationEnum] "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "project_name"?: string; // 模糊搜索:项目名称 "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] }; type Store = { "type": string; // 工单类型,[enum:HouseWorkOrdersTypeEnum] "level"?: string; // 优先级,[enum:HouseWorkOrdersLevelEnum] "complaint_type"?: string; // 投诉类型[enum:HouseWorkOrdersComplaintTypeEnum] "location"?: string; // 报修位置[enum:HouseWorkOrdersLocationEnum] "content": string; // 工单内容 "reporter_name"?: string; // 上报人名称 "reporter_phone"?: string; // 上报人手机 "attachments"?: string[]; // 工单附件 "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "floor"?: string; // 楼层 }; type Update = { "id": number; // id "type": string; // 工单类型,[enum:HouseWorkOrdersTypeEnum] "level"?: string; // 优先级,[enum:HouseWorkOrdersLevelEnum] "content": string; // 工单内容 "reporter_name"?: string; // 上报人名称 "reporter_phone"?: string; // 上报人手机 "contact_phone"?: string; // 联系人电话 "attachments"?: string[]; // 工单附件 "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "floor"?: string; // 楼层 }; type Show = { "id": number; // id }; 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 Visited = { "id": number; // id "visited_remark"?: string; // 访问说明 "visited_attachment"?: string[]; // 访问附件 }; type Closed = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } }