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 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 Transfer = { "record_id": number; // 审批记录id "to_employee_id": number; // 接收人id,[ref:company_employees] "opinion"?: string; // 转交理由 }; type List = { "companies_id"?: number; // 机构ID "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 = { "companies_id"?: number; // 机构ID "name"?: string; // 模糊搜索:名称 "type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "is_enabled"?: boolean; // 是否启用 "asset_projects_id"?: number; // 所属项目id }; type Store = { "companies_id": number; // 机构ID "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 Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type ToggleEnabled = { "id": number; // id "is_enabled": boolean; // 是否启用 }; type ReplaceApprover = { "from_employee_id": number; // 原审批人ID,[ref:company_employees] "to_employee_id": number; // 新审批人ID,[ref:company_employees] }; } } namespace Archive { namespace HouseOccupants { type List = { "asset_houses_id"?: number; // 资产房屋ID "status"?: string; // 状态,[enum:HouseOccupantsStatusEnum] }; 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; // 解绑时间 }; 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 }; 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 "companies_id"?: number; // 机构id,[ref:companies] "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 = { "companies_id"?: number; // 机构id,[ref:companies] "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] "asset_houses_id"?: number; // 关联房屋ID,[ref:asset_houses] "owner_name"?: string; // 业主姓名 "owner_phone"?: string; // 业主手机号 "remark"?: string; // 备注 }; type Update = { "id": number; // id "companies_id"?: number; // 机构id,[ref:companies] "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] "asset_houses_id"?: number; // 关联房屋ID,[ref:asset_houses] "owner_name"?: string; // 业主姓名 "owner_phone"?: string; // 业主手机号 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 机构id,[ref:companies] "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_parking_places_id"?: number; // 所属车场id,[ref:asset_parking_places] "keywords"?: string; // 关键词 }; } namespace AssetHouses { type List = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings] "asset_units_id"?: number; // 所属单元id,[ref:asset_units] "name"?: string; // 模糊搜索:名称 "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 SelectFullName = { "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 AssetParkingPlaces { type List = { "id"?: number; // 车场id "companies_id"?: number; // 机构id,[ref:companies] "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 = { "companies_id"?: number; // 机构id,[ref:companies] "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 "companies_id"?: number; // 机构id,[ref:companies] "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 = { "companies_id"?: number; // 机构id,[ref:companies] "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; // 模糊搜索:员工名称 "companies_id"?: number; // 公司ID }; 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 "companies_id"?: number; // 所属机构id,[ref:companies] "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; // 是否成立业委会 }; type Store = { "name": string; // 项目名称 "alias_name"?: string; // 项目别名 "code"?: string; // 项目编码 "companies_id"?: number; // 所属机构id,[ref:companies] "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; // 退场日期 "closure_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; // 业委会结束日期 "company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands] }; type Update = { "id": number; // id "name": string; // 项目名称 "alias_name"?: string; // 项目别名 "code"?: string; // 项目编码 "companies_id"?: number; // 所属机构id,[ref:companies] "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; // 退场日期 "closure_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; // 业委会结束日期 "company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands] }; type BindCompany = { "projects_id": number; // 项目id "companies_id": number; // 机构id }; 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; // 关键词 "companies_id"?: number; // 机构id }; type Import = { "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; } 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 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 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] "companies_id"?: number; // 机构ID "project_name"?: string; // 模糊搜索:项目名称 "year"?: number; // 账单年份 "month"?: number; // 账单月份 "type"?: string; // 账单类型,[enum:HouseBillsTypeEnum] }; type SummaryBillList = { "project_name"?: 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] "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "full_name"?: string; // 模糊搜索:房屋名称 "has_overdue"?: boolean; // 是否欠费:true-欠费, false-清欠 }; 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; // id "username": string; // 用户名/手机号 "password"?: string; // 密码,[hidden] "roles_id"?: string[]; // 角色 }; type Delete = { "id": number; // id }; type Select = { "username"?: string; // 模糊搜索:名称 }; } namespace Auth { type Login = { "username": string; // 用户名 "password": string; // 密码 "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禁用 "remark"?: string; // 备注 }; type Update = { "id": number; // id "name": string; // 岗位名称 "is_use"?: number; // 是否启用,1启用,0禁用 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } } namespace Company { namespace Companies { type List = { "name"?: string; // 模糊搜索:名称 "parent_id"?: number; // 父级ID }; type Store = { "name": string; // 组织名称 "short_name"?: string; // 组织简称 "business_license_number": string; // 营业执照号 "merchant_type"?: string; // 商户类型,[enum:CompaniesMerchantTypeEnum] "contact_name": string; // 联系人姓名 "contact_phone": string; // 联系人手机 "contact_email"?: string; // 联系人邮箱 "contact_address"?: string; // 联系人地址 "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "province_id"?: number; // 省ID[ref:cities] "city_id"?: number; // 市ID[ref:cities] "area_id"?: number; // 区ID[ref:cities] "street_id"?: number; // 街道ID[ref:cities] "address"?: string; // 地址 "business_license_image"?: string[]; // 营业执照图片 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // 上级 ID }; type Update = { "id": number; // id "name": string; // 组织名称 "short_name"?: string; // 组织简称 "business_license_number": string; // 营业执照号 "merchant_type"?: string; // 商户类型,[enum:CompaniesMerchantTypeEnum] "contact_name": string; // 联系人姓名 "contact_phone": string; // 联系人手机 "contact_email"?: string; // 联系人邮箱 "contact_address"?: string; // 联系人地址 "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "province_id"?: number; // 省ID[ref:cities] "city_id"?: number; // 市ID[ref:cities] "area_id"?: number; // 区ID[ref:cities] "street_id"?: number; // 街道ID[ref:cities] "address"?: string; // 地址 "business_license_image"?: string[]; // 营业执照图片 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // 上级 ID }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } namespace CompanyApps { type List = { "id"?: number; // id "name"?: string; // 模糊搜索:名称 "companies_id": number; // 机构id,[ref:companies] }; type Store = { "companies_id": number; // 机构id,[ref:companies] "app_type": string; // 应用类型,[enum:CompanyAppsAppTypeEnum] "module"?: string; // 模块,[enum:CompanyAppsModuleEnum] "app_id": string; // 应用ID:微信AppID/企业微信CorpID "app_secret": string; // 应用密钥 }; type Update = { "id": number; // id "companies_id": number; // 机构id,[ref:companies] "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 CompanyConfigs { type List = { "companies_id"?: number; // 机构IDid,[ref:companies] "config_key"?: string; // 模糊搜索:名称 }; type Store = { "companies_id": number; // 机构IDid,[ref:companies] "config_key": string; // 机构配置键,[enum:CompanyConfigsConfigKeyEnum] "config_value": string[]; // 机构配置值 }; type Update = { "id": number; // id "companies_id": number; // 机构IDid,[ref:companies] "config_key": string; // 机构配置键,[enum:CompanyConfigsConfigKeyEnum] "config_value": string[]; // 机构配置值 }; type GetDetail = { "companies_id": number; // 机构IDid,[ref:companies] "config_key": string; // 机构配置键,[enum:CompanyConfigsConfigKeyEnum] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace CompanyEmployees { type List = { "companies_id"?: number; // 机构ID "organizations_id"?: number; // 组织机构ID "organization_name"?: string; // 组织机构名称 "name"?: string; // 模糊搜索:名称 "phone"?: string; // 模糊搜索:手机号 }; type Store = { "name": string; // 名称 "phone": string; // 手机号 "password"?: string; // 密码[hidden] "organizations_id": number; // 所属组织id,[ref:organizations] "positions_id"?: number; // 岗位id,[ref:company_positions] "sex"?: string; // 性别,[enum:SexEnum] "remark"?: string; // 备注 "is_company_admin"?: boolean; // 是否机构管理员 }; type Update = { "id": number; // id "name": string; // 名称 "phone": string; // 手机号 "password"?: string; // 密码[hidden] "organizations_id": number; // 所属组织id,[ref:organizations] "positions_id"?: number; // 岗位id,[ref:company_positions] "sex"?: string; // 性别,[enum:SexEnum] "remark"?: string; // 备注 "is_company_admin"?: boolean; // 是否机构管理员 }; 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 = { "companies_id"?: number; // 所属机构id,[ref:companies] "organizations_id"?: number; // 所属组织id,[ref:organizations] "keywords"?: string; // 关键词 }; type Import = { "upload_file": mimes:xlsx,xls; // 上传文件 }; type Export = { "companies_id"?: number; // 机构ID "organizations_id"?: number; // 组织机构ID "organization_name"?: string; // 组织机构名称 "name"?: string; // 模糊搜索:名称 "phone"?: string; // 模糊搜索:手机号 "download_type"?: string; // 下载类型:all-全部,page-当前页 "current"?: number; // 当前页偏移量 }; } namespace CompanyPermissions { type GetPermissions = { "companies_id": number; // 机构ID }; type SetPermissions = { "companies_id": number; // 机构ID "permissions_ids": string[]; // 菜单权限ID列表 }; } namespace CompanyPositions { type List = { "companies_id"?: number; // 机构ID "name"?: string; // 模糊搜索:名称 }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "name": string; // 岗位名称 "code"?: string; // 岗位编号 "status"?: number; // 状态 "remark"?: string; // 备注 }; type Update = { "id": number; // id "companies_id": number; // 所属机构id,[ref:companies] "name": string; // 岗位名称 "code"?: string; // 岗位编号 "status"?: number; // 状态 "remark"?: string; // 备注 }; type BatchStore = { "companies_id": number; // 所属机构id,[ref:companies] "positions_ids": string[]; // 岗位ID }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 所属机构id,[ref:companies] "keywords"?: string; // 关键词 }; } namespace CompanyProjectReceiptAccounts { type List = { "companies_id"?: number; // 所属机构id,[ref:companies] "projects_id"?: number; // 所属项目id,[ref:asset_projects] }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "projects_id": number; // 所属项目id,[ref:asset_projects] "receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts] "is_default"?: number; // 是否默认收款账号 }; type Update = { "id": number; // id "companies_id": number; // 所属机构id,[ref:companies] "projects_id": number; // 所属项目id,[ref:asset_projects] "receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts] "is_default"?: number; // 是否默认收款账号 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 所属机构id,[ref:companies] "projects_id"?: number; // 所属项目id,[ref:asset_projects] }; } namespace CompanyPropertyBrands { type List = { "companies_id"?: number; // 机构id,[ref:companies "name"?: string; // 模糊搜索:名称 "company_name"?: string; // 模糊搜索:机构名称 }; type Store = { "companies_id": number; // 机构id,[ref:companies] "name": string; // 品牌名称 "logo"?: string[]; // 品牌logo }; type Update = { "id": number; // id "companies_id": number; // 机构id,[ref:companies] "name": string; // 品牌名称 "logo"?: string[]; // 品牌logo }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 机构id,[ref:companies "name"?: string; // 模糊搜索:名称 "company_name"?: string; // 模糊搜索:机构名称 }; } namespace CompanyQuickActions { type List = { "companies_id": number; // 机构IDid,[ref:companies] }; type Store = { "companies_id": number; // 机构IDid,[ref:companies] "name": string; // 名称 "icon": string[]; // 图标 "sort"?: number; // 排序:越小越靠前 }; type BatchStore = { "companies_id": number; // 机构IDid,[ref:companies] }; type Update = { "id": number; // id "companies_id": number; // 机构IDid,[ref:companies] "name": string; // 名称 "icon": string[]; // 图标 "sort"?: number; // 排序:越小越靠前 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace CompanyReceiptAccounts { type List = { "company_name"?: string; // 模糊搜索:名称 "companies_id"?: number; // 所属机构id,[ref:companies] }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "company_name": string; // 企业名称 "company_bank": string; // 企业开户行 "company_account": string; // 企业账户 "pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum] "merchant_id"?: string; // 第三方支付的商户ID "is_default"?: number; // 是否默认收款账号 }; type Update = { "id": number; // id "companies_id": number; // 所属机构id,[ref:companies] "company_name": string; // 企业名称 "company_bank": string; // 企业开户行 "company_account": string; // 企业账户 "pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum] "merchant_id"?: string; // 第三方支付的商户ID "is_default"?: number; // 是否默认收款账号 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "company_name"?: string; // 模糊搜索:名称 "companies_id"?: number; // 所属机构id,[ref:companies] }; } namespace OrganizationProjects { type List = { "companies_id"?: number; // 机构id,[ref:companies] "organizations_id"?: number; // 组织id,[ref:organizations] "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "organization_name"?: string; // 模糊搜索:组织名称 "project_name"?: string; // 模糊搜索:项目名称 }; type Store = { "companies_id": number; // 机构id,[ref:companies] "organizations_id": number; // 组织id,[ref:organizations] "asset_projects_id": number; // 项目id,[ref:asset_projects] }; type BatchStore = { "companies_id": number; // 机构id,[ref:companies] "organizations_id": number; // 组织id,[ref:organizations] "asset_projects_ids": string[]; // 项目id列表,[ref:asset_projects] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type DeleteByOrganization = { "companies_id": number; // 机构id,[ref:companies] "organizations_id": number; // 组织id,[ref:organizations] }; } namespace Organizations { type List = { "name"?: string; // 模糊搜索:名称 "companies_id"?: number; // 机构ID[ref:companies] "parent_id"?: number; // 父级ID "company_name"?: string; // 机构名称 }; type TreeList = { "name"?: string; // 模糊搜索:名称 "companies_id"?: number; // 机构ID[ref:companies] "parent_id"?: number; // 父级ID }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "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 = { "companies_id"?: number; // 所属机构id,[ref:companies] "keywords"?: string; // 关键词 }; type SelectTree = { "companies_id"?: number; // 所属机构id,[ref:companies] "keywords"?: string; // - "type"?: string; // - "parent_id"?: number; // - }; } } 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] "companies_id": number; // 公司id,[ref:companies] }; 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] "companies_id": number; // 公司id,[ref:companies] }; 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 GoodsReleases { namespace GoodsReleases { type List = { "code"?: string; // 放行码 "apply_name"?: string; // 申请人姓名 "apply_phone"?: string; // 申请人电话 "status"?: string; // 状态,[enum:GoodsReleasesStatusEnum] "passed_type"?: string; // 通行类型,[enum:GoodsReleasesPassedTypeEnum] "asset_projects_id"?: number; // 所属项目 "asset_houses_id"?: number; // 房屋 "companies_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] "project_name"?: string; // 项目名称 "companies_id"?: number; // 所属机构id,[ref:companies] "company_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 HouseChargeHasCarPorts { type List = { "house_charge_standards_id": number; // 收费标准id,[ref:house_charge_standards] }; type Store = { "house_charge_standards_id": number; // 收费标准id,[ref:house_charge_standards] "car_ports_ids": string[]; // 车位id数组 }; type GetChargeStandardCarPortIds = { "house_charge_standards_id": number; // 收费标准id,[ref:house_charge_standards] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } 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] "companies_id"?: number; // 机构id,[ref:companies] }; 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"?: number; // 是否滞纳金 "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"?: number; // 是否滞纳金 "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] "companies_id"?: number; // 机构id,[ref:companies] }; } 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 = { "charge_standard_name"?: string; // 模糊搜索:收费标准名称 "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "companies_id"?: number; // 公司id,[ref:companies] "status"?: string; // 任务状态,[enum:HouseChargeTasksStatusEnum] "type"?: string; // 类型,[enum:HouseChargeTasksTypeEnum] "project_name"?: string; // 资产项目名称 "company_name"?: 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 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 HouseOrderRefunds { type List = { "house_orders_id"?: number; // 订单id "refund_status"?: string; // 退款状态 "payment_method"?: string; // 支付方式 "refund_no"?: string; // 退款编号 "apply_employees_id"?: number; // 申请员工id "date_range"?: string[]; // 日期范围 [start_date, end_date] }; type Store = { "house_orders_id": number; // 房屋物业费账单id,[ref:house_orders] "refund_amount": number; // 退款金额(元,前端提交) "refund_reason"?: string; // 退款原因 }; type Update = { "id": number; // id "house_orders_id": number; // 房屋物业费账单id,[ref:house_orders] "refund_amount": number; // 退款金额(元,前端提交) "refund_reason"?: string; // 退款原因 }; type Show = { "id": number; // id }; type Audit = { "id": number; // 退款记录id "approved": boolean; // 是否通过审核 "audit_remark"?: string; // 审核备注 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseOrders { type List = { "id"?: number; // id "order_code"?: string; // 模糊搜索:订单编号 "payment_no"?: string; // 支付编号 "companies_id"?: number; // 机构ID "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; // 收款流水号 "asset_projects_id"?: number; // 项目ID "payment_method"?: string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "payment_methods"?: string[]; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "paid_time"?: 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; // 收款流水号 "fee"?: number; // 手续费 "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; // 收款流水号 "fee"?: number; // 手续费 "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; // 收款流水号 "fee"?: number; // 手续费 }; 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; // 支付编号 "companies_id"?: number; // 机构ID "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 BatchUpdateSerialNumber = { "ids": string[]; // 订单ID数组 "serial_number": string; // 流水号 }; type ImportSerialNumber = { "upload_file": mimes:xlsx,xls; // 上传文件 }; type GetPayCode = { "amount": number; // 金额 "discount_amount"?: number; // 优惠金额 "late_fee"?: number; // 滞纳金 "total_payable_amount": number; // 应付金额 "bill_ids": string[]; // 账单id }; } 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 HousePrepaymentRefunds { type List = { "house_prepayments_id"?: number; // 预缴id "house_prepayment_payments_id"?: number; // 预缴支付id "refund_status"?: string; // 退款状态 "payment_method"?: string; // 支付方式 "refund_no"?: string; // 退款编号 "apply_employees_id"?: number; // 申请员工id "date_range"?: string[]; // 日期范围 [start_date, end_date] }; type Store = { "house_prepayment_payments_id": number; // 房屋预缴支付记录id,[ref:house_prepayment_payments] "refund_amount": number; // 退款金额(元,前端提交) "refund_reason"?: string; // 退款原因 }; type Update = { "id": number; // id "house_prepayments_id": number; // 房屋预缴id,[ref:house_prepayments] "refund_amount": number; // 退款金额(元,前端提交) "refund_reason"?: string; // 退款原因 }; type Show = { "id": number; // id }; type Audit = { "id": number; // 退款记录id "approved": boolean; // 是否通过审核 "audit_remark"?: string; // 审核备注 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HousePrepayments { type List = { "full_name"?: string; // 模糊搜索:房屋名称 "company_name"?: string; // 模糊搜索:机构名称 }; type Show = { "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] "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] "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; // 模糊搜索:名称 }; 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] }; 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; // 最新抄表时间 "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; // 最新抄表时间 "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; // 上传的时候必填文件 }; } } 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; // 是否发布 "object"?: string; // 接收对象,[enum:MsgPropertyAnnouncementsObjectEnum] "publish_at"?: string[]; // 发布时间, 格式:[ }; type Store = { "asset_projects_id": number; // 项目id,[ref:asset_projects] "title": string; // 标题 "content": string; // 内容 "object": string; // 接收对象,[enum: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; // 接收对象,[enum: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 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 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[]; // 申请时间范围 "asset_houses_id"?: number; // 房屋ID "companies_id"?: number; // 机构ID }; 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 "companies_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 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Visitor { namespace VisitorApplies { type List = { "status"?: string; // 审核状态,[enum:VisitorAppliesStatusEnum] "visit_start_time"?: Date; // 预计到访时间 "visitor_name"?: string; // 模糊搜索:访客姓名 "visitor_phone"?: string; // 模糊搜索:访客电话 "host_phone"?: string; // 模糊搜索:被访人电话 "asset_projects_id"?: number; // 项目ID "companies_id"?: number; // 机构ID }; type Show = { "id": number; // 申请id }; type Approve = { "id": number; // 访客申请id }; type Reject = { "id": number; // 访客申请id "remark": string; // 驳回原因 }; type Scan = { "code": string; // 通行码 "scan_type": string; // 扫码类型:进入/离开,[enum:VisitorScanTypeEnum] }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } 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 Store = { "house_work_orders_id": number; // 工单id,[ref:house_work_orders] "amount": number; // 金额(单位分) "actual_amount"?: number; // 实际支付金额(单位分) "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "payment_status"?: string; // 支付状态,[enum:HouseOrdersOrderStatusEnum] "paid_time"?: Date; // 支付时间 "payment_no"?: string; // 支付发起单号 "transaction_id"?: string; // 交易号(微信、支付宝的单号) "third_trade_no"?: string; // 第三方交易号(如通联、乐刷) "bank_type"?: string; // 银行类型 "notify_json"?: string[]; // 回调通知参数 "receipt_account": string[]; // 收款账号信息 "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "asset_units_id"?: number; // 资产单元id,[ref:asset_units] "asset_buildings_id"?: number; // 资产楼栋id,[ref:asset_buildings] "asset_projects_id": number; // 资产项目id,[ref:asset_projects] "companies_id": number; // 公司id,[ref:companies] "customers_id"?: number; // 客户[ref:customers] "phone"?: string; // 手机号 "openid"?: string; // 付款人的openid }; type Update = { "id": number; // id "house_work_orders_id": number; // 工单id,[ref:house_work_orders] "amount": number; // 金额(单位分) "actual_amount"?: number; // 实际支付金额(单位分) "payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum] "payment_status"?: string; // 支付状态,[enum:HouseOrdersOrderStatusEnum] "paid_time"?: Date; // 支付时间 "payment_no"?: string; // 支付发起单号 "transaction_id"?: string; // 交易号(微信、支付宝的单号) "third_trade_no"?: string; // 第三方交易号(如通联、乐刷) "bank_type"?: string; // 银行类型 "notify_json"?: string[]; // 回调通知参数 "receipt_account": string[]; // 收款账号信息 "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "asset_units_id"?: number; // 资产单元id,[ref:asset_units] "asset_buildings_id"?: number; // 资产楼栋id,[ref:asset_buildings] "asset_projects_id": number; // 资产项目id,[ref:asset_projects] "companies_id": number; // 公司id,[ref:companies] "customers_id"?: number; // 客户[ref:customers] "phone"?: string; // 手机号 "openid"?: string; // 付款人的openid }; 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; // 模糊搜索:上报人手机 }; 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] }; 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] }; 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 }; } } }