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 = { "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; // 是否启用 }; type Select = { "type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum] "asset_projects_id"?: number; // 所属项目id }; } } 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; // 解绑时间 }; 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 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; // 车位名称 "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 "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "asset_parking_places_id": number; // 所属车场id,[ref:asset_parking_places] "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 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; // 上传的Excel文件 }; 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 = { "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 "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 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; // 是否成立业委会 }; 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; // 退场日期 "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; // 项目编码 "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 ChangePropertyBrand = { "projects_id": number; // 项目id "company_property_brands_id": number; // 物业品牌id,[ref:company_property_brands] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } 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 = { "asset_projects_id": number; // 项目ID "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 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; // 审核状态 "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] "asset_projects_id"?: number; // 资产项目id,[ref:asset_projects] "full_name"?: string; // 模糊搜索:房屋名称 "project_name"?: string; // 模糊搜索:项目名称 "bill_status"?: string[]; // 账单状态,[enum:HouseBillsBillStatusEnum] "year"?: number; // 账单年份 "month"?: number; // 账单月份 "type"?: string; // 账单类型,[enum:HouseBillsTypeEnum] "has_refunding"?: boolean; // 是否有退款中:false-无,true-有 }; 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 Delete = { "id": number; // id }; type Export = { "asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses] "full_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 Collection { namespace HouseCollectionRecords { type List = { "collection_tasks_id"?: number; // 房屋催缴任务id,[ref:house_collection_tasks] "asset_houses_id"?: number; // 房屋id,[ref:asset_houses] "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "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 Delete = { "id": number; // id }; } } namespace Common { namespace Auth { type Login = { "phone": 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; // 文件名称 }; type SwitchProject = { "project_id": string; // 项目ID all-查看所有 }; } 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 Company { namespace CompanyEmployees { type List = { "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; // 备注 "roles_id"?: string[]; // 角色ID数组 "employee_roles_id"?: string[]; // 员工端角色ID数组 }; 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; // 备注 "roles_id"?: string[]; // 角色ID数组 "employee_roles_id"?: string[]; // 员工端角色ID数组 }; type ResetPassword = { "id": number; // id "password": string; // 密码[hidden] }; type Show = { "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 Export = { "organizations_id"?: number; // 组织机构ID "organization_name"?: string; // 组织机构名称 "name"?: string; // 模糊搜索:名称 "phone"?: string; // 模糊搜索:手机号 "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 Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } namespace CompanyProjectReceiptAccounts { type List = { "projects_id"?: number; // 所属项目id,[ref:asset_projects] }; 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; // 模糊搜索:名称 }; 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; // 模糊搜索:名称 }; } 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 Delete = { "id": number; // id }; type Select = { "company_name"?: string; // 模糊搜索:名称 }; } namespace EmployeeRoles { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 角色名称 }; type Update = { "id": number; // ID "name": string; // 角色名称 }; type Delete = { "id": number; // ID }; type GetPermissions = { "id": number; // 角色ID }; type SetPermissions = { "id": number; // ID "permissions_ids": string[]; // 权限ID }; } namespace OrganizationProjects { type List = { "organizations_id"?: number; // 组织id,[ref:organizations] "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "organization_name"?: string; // 模糊搜索:组织名称 "project_name"?: string; // 模糊搜索:项目名称 }; type Store = { "organizations_id": number; // 组织id,[ref:organizations] "asset_projects_id": number; // 项目id,[ref:asset_projects] }; type BatchStore = { "organizations_id": number; // 组织id,[ref:organizations] "asset_projects_ids": string[]; // 项目id列表,[ref:asset_projects] }; type Rebind = { "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 = { "organizations_id": number; // 组织id,[ref:organizations] }; } 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; // 排序 "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; // 排序 "parent_id"?: number; // 上级 ID }; type Move = { "id": number; // ID "type": string; // 类型:up 升级,down 降级 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; type SelectTree = { "keywords"?: string; // - "type"?: string; // - "parent_id"?: number; // - }; } } namespace CompanySeal { 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 CompanySupplier { 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 SoftDelete = { "id": number; // id }; type Restore = { "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 SupplierCreditReports { type List = { "company_suppliers_id": number; // 供应商ID "investigation_agency"?: string; // 调查机构 "credit_rating"?: string; // 信用评级 }; type Store = { "company_suppliers_id": number; // 供应商ID "issue_date": Date; // 出具日期 "expiry_date": Date; // 有效期 "investigation_agency": string; // 调查机构 "credit_rating": string; // 信用评级,[enum:CreditRatingEnum] "rating_outlook": string; // 评级展望,[enum:RatingOutlookEnum] "has_execution_info": boolean; // 是否有失信被执行信息 "execution_info"?: required_if:has_execution_info,true; // 执行信息 "has_lawsuit_record": boolean; // 是否有法律诉讼记录 "lawsuit_info"?: required_if:has_lawsuit_record,true; // 诉讼信息 "has_admin_penalty": boolean; // 是否有行政处罚记录 "admin_penalty_info"?: required_if:has_admin_penalty,true; // 处罚信息 "performance_evaluation"?: string; // 履约能力评价 "remark"?: string; // 备注 "files"?: string[]; // 文件 }; type Update = { "id": number; // id "issue_date"?: Date; // 出具日期 "expiry_date"?: Date; // 有效期 "investigation_agency"?: string; // 调查机构 "creator_name"?: string; // 创建人姓名 "creator_phone"?: string; // 创建人电话 "credit_rating"?: string; // 信用评级,[enum:CreditRatingEnum] "rating_outlook"?: string; // 评级展望,[enum:RatingOutlookEnum] "has_execution_info"?: boolean; // 是否有失信被执行信息 "execution_info"?: string; // 执行信息 "has_lawsuit_record"?: boolean; // 是否有法律诉讼记录 "lawsuit_info"?: string; // 诉讼信息 "has_admin_penalty"?: boolean; // 是否有行政处罚记录 "admin_penalty_info"?: string; // 处罚信息 "performance_evaluation"?: string; // 履约能力评价 "remark"?: string; // 备注 "files"?: string[]; // 文件 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace SupplierFieldReports { type List = { "company_suppliers_id": number; // 供应商ID "investigator"?: string; // 调查人 "location"?: string; // 调查地点 }; type Store = { "company_suppliers_id": number; // 供应商ID "investigation_start_date": Date; // 调查起始日期 "investigation_end_date": Date; // 调查结束日期 "location": string; // 调查地点 "investigator": number; // 调查人id "issue_date": Date; // 出具日期 "info_verification": string; // 信息核实,[enum:InfoVerificationEnum] "discrepancy_note"?: required_if:info_verification,Discrepancy,Fake; // 差异说明 "qualification_evaluation": string; // 资质评价,[enum:QualificationEvaluationEnum] "risk_level": string; // 风险等级,[enum:RiskLevelEnum] "cooperation_suggestion": string; // 合作建议,[enum:CooperationSuggestionEnum] "comprehensive_explanation"?: string; // 综合说明 "files"?: string[]; // 文件 }; type Update = { "id": number; // id "investigation_start_date"?: Date; // 调查起始日期 "investigation_end_date"?: Date; // 调查结束日期 "location"?: string; // 调查地点 "investigator"?: number; // 调查人id "creator_name"?: string; // 创建人姓名 "creator_phone"?: string; // 创建人电话 "issue_date"?: Date; // 出具日期 "info_verification"?: string; // 信息核实,[enum:InfoVerificationEnum] "discrepancy_note"?: string; // 差异说明 "qualification_evaluation"?: string; // 资质评价,[enum:QualificationEvaluationEnum] "risk_level"?: string; // 风险等级,[enum:RiskLevelEnum] "cooperation_suggestion"?: string; // 合作建议,[enum:CooperationSuggestionEnum] "comprehensive_explanation"?: string; // 综合说明 "files"?: string[]; // 文件 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Contract { namespace ContractArchiveBorrows { type List = { "contract_archives_id"?: number; // 归档记录ID "contracts_id"?: number; // 合同ID "borrower_name"?: string; // 模糊搜索: 借用人姓名 "borrow_status"?: string; // 借用状态,[enum:ContractArchiveBorrowStatusEnum] "return_status"?: string; // 归还状态,[enum:ContractArchiveReturnStatusEnum] "borrow_date"?: string[]; // 借用日期范围 "is_need_return"?: boolean; // 是否需要归还 }; type Store = { "contract_archives_id": number; // 归档记录ID "borrower_id": number; // 借用人ID "borrow_date": Date; // 借用日期 "expected_return_date"?: Date; // 预计归还日期 "borrow_reason"?: string; // 借用原因 "is_need_return"?: boolean; // 是否需要归还 "files": string[]; // 借用文件列表 "approval_templates_id": number; // 审批模板id "remark"?: string; // 申请备注 "node_approvers"?: string[]; // 各节点审批人员列表 }; type Borrow = { "id": number; // 归档记录ID }; type Show = { "id": number; // id }; type Return = { "id": number; // 借用记录ID "returner_id": number; // 归还人ID "files": string[]; // 归还文件列表 }; type SoftDelete = { "id": number; // id }; } namespace ContractArchiveFiles { type List = { "contract_archives_id"?: number; // 归档记录ID "contracts_id"?: number; // 合同ID "name"?: string; // 模糊搜索: 文件名称 "type"?: string; // 文件类型,[enum:ContractArchivesFileTypeEnum] "status"?: string; // 文件状态,[enum:ContractArchivesFileStatusEnum] }; type Show = { "id": number; // id }; type GetAvailableFiles = { "contract_archives_id": number; // 归档记录ID }; } namespace ContractArchiveReads { type List = { "contract_archives_id"?: number; // 归档记录ID "contracts_id"?: number; // 合同ID "reader_name"?: string; // 模糊搜索: 借阅人姓名 "read_date"?: string[]; // 借阅日期范围 }; type Store = { "contract_archives_id": number; // 归档记录ID "reader_id": number; // 借阅人ID "read_date": Date; // 借阅日期 "start_time"?: Date; // 开始时间 "read_reason"?: string; // 借阅原因 "remark"?: string; // 备注 "files": string[]; // 借阅文件列表 }; type Show = { "id": number; // id }; type EndRead = { "id": number; // 借阅记录ID }; type SoftDelete = { "id": number; // id }; } namespace ContractArchiveTransfers { type List = { "contract_archives_id"?: number; // 归档记录ID "contracts_id"?: number; // 合同ID "old_keeper_name"?: string; // 模糊搜索: 原保管人姓名 "new_keeper_name"?: string; // 模糊搜索: 新保管人姓名 "transfer_date"?: string[]; // 转交日期范围 }; type Store = { "contract_archives_id": number; // 归档记录ID "new_keeper_id": number; // 新保管人ID "new_location"?: string; // 新存放位置 "province"?: string; // 省份 "city"?: string; // 城市 "area"?: string; // 县/区 "street"?: string; // 街道 "address"?: string; // 地址 "file_number"?: string; // 案卷编号 "box_number"?: string; // 文件盒编号 "cabinet_number"?: string; // 文件柜编号 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; } 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; // 保管人电话 "asset_projects_id"?: number; // 资产项目ID "is_sealed"?: boolean; // 是否封存: 0:否,1:是 "seal_date"?: string[]; // 封存日期 "employee_name"?: 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; // 地址 "is_sealed"?: boolean; // 是否封存: 0:否,1:是 "seal_date"?: Date; // 封存日期 "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; // 地址 "is_sealed"?: boolean; // 是否封存: 0:否,1:是 "seal_date"?: Date; // 封存日期 "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 ContractBillObjects { type List = { "contract_bills_id"?: number; // 合同账单id,[ref:contract_bills] "contracts_id"?: number; // 合同id,[ref:contracts] "name"?: string; // 标的名称 "status"?: string; // 标的状态,[enum:ContractBillObjectsStatusEnum] }; type Store = { "contract_bills_id": number; // 合同账单id,[ref:contract_bills] "name": string; // 标的名称 "amount": number; // 标的金额(单位元) "description"?: string; // 标的说明 "status"?: string; // 标的状态,[enum:ContractBillObjectsStatusEnum] "attachments"?: string[]; // 附件 "remark"?: string; // 备注 }; type Update = { "id": number; // id "name": string; // 标的名称 "amount": number; // 标的金额(单位元) "description"?: string; // 标的说明 "status"?: string; // 标的状态,[enum:ContractBillObjectsStatusEnum] "attachments"?: string[]; // 附件 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type CompleteApply = { "id": number; // id "completed_time": Date; // 完成时间 "completed_description": string; // 完成说明 "completed_attachments"?: string[]; // 附件 "cost_type": string; // 增减费用类型,[enum:ContractBillsIncomeExpenseTypeEnum] "cost_amount": number; // 减费用金额(单位元) "approval_templates_id": number; // 审批模板id "remark"?: string; // 申请备注 "node_approvers"?: string[]; // 各节点审批人员列表 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "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_bank_name"?: 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; // 付款方 "company_suppliers_id"?: number; // 供应商id,[ref:company_suppliers] "is_valid"?: boolean; // 是否有效 "audit_status"?: string; // 审核状态,[enum:ContractBillsAuditStatusEnum] }; 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; // 付款方账号 "object_name"?: string; // 标的名称 }; type BatchStore = { "contracts_id": number; // 合同id,[ref:contracts] "bills": string[]; // 账单列表 }; type BatchUpdate = { "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 }; type Export = { "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; // 付款方 "company_suppliers_id"?: number; // 供应商id,[ref:company_suppliers] "is_valid"?: boolean; // 是否有效 "audit_status"?: string; // 审核状态,[enum:ContractBillsAuditStatusEnum] "current"?: number; // 页码 "pageSize"?: number; // 每页条数 "download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录 }; } namespace ContractDisputeRecords { type List = { "contracts_id": number; // 关联合同id }; type Store = { "contracts_id": number; // 关联合同id,[ref:contracts] "reason": string; // 争议原因 "content"?: string; // 处理内容 "attachments"?: string[]; // 附件 }; type Update = { "id": number; // id "reason": string; // 争议原因 "content"?: string; // 处理内容 "attachments"?: string[]; // 附件 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace ContractOthers { type List = { "company_employees_id"?: number; // 申请人 "asset_projects_id"?: number; // 关联项目 "title"?: string; // 用印申请/标题(模糊搜索) "status"?: string; // 审批状态 "is_sealed"?: boolean; // 是否已用印 }; type Store = { "title": string; // 用印申请/标题 "asset_projects_id": number; // 关联项目 "seals": string[]; // 印章快照 "reason": string; // 简要说明 "copies": number; // 份数 "files": string[]; // 附件 "approval_templates_id": number; // 审批模板id "remark"?: string; // 备注 "node_approvers"?: string[]; // 各节点审批人员列表 }; type Update = { "id": number; // id "title"?: string; // 用印申请/标题 "seals"?: string[]; // 印章快照 "reason"?: string; // 简要说明 "copies"?: number; // 份数 "files"?: string[]; // 附件 "approval_templates_id": number; // 审批模板id "remark"?: string; // 备注 "node_approvers"?: string[]; // 各节点审批人员列表 }; type Show = { "id": number; // id }; type Seal = { "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] "status_array"?: 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; // 合同对接人 "company_suppliers_id"?: number; // 供应商id,[ref:company_suppliers] "income_expense_type"?: string; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "income_expense_type_array"?: string[]; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "contract_nature"?: string[]; // 合同性质,[enum:ContractsContractNatureEnum] "parent_id"?: number; // 父级合同id "is_agreement"?: boolean; // 是否为协议:0否,1是 }; type PendingReviewList = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 模糊搜索:编号 "contract_nature"?: string; // 合同性质,[enum:ContractsContractNatureEnum] }; type Store = { "parent_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 Update = { "id": number; // id "parent_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; // 终止合同原因 "approval_templates_id": number; // 审批模板id "node_approvers"?: string[]; // 各节点审批人员列表 }; type Voided = { "id": number; // id "voided_reason"?: string; // 作废原因 }; type SubmitApproval = { "id": number; // 合同id "approval_templates_id": number; // 审批模板id "remark"?: string; // 备注 "node_approvers"?: string[]; // 各节点审批人员列表 }; type Export = { "name"?: string; // 模糊搜索:名称 "code"?: string; // 模糊搜索:编号 "status"?: string; // 状态,[enum:ContractsStatusEnum] "status_array"?: 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; // 合同对接人 "company_suppliers_id"?: number; // 供应商id,[ref:company_suppliers] "income_expense_type"?: string; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "income_expense_type_array"?: string[]; // 收支类型,[enum:ContractTemplatesIncomeExpenseTypeEnum] "parent_id"?: number; // 父级合同id "is_agreement"?: boolean; // 是否为协议:0否,1是 "current"?: number; // 页码 "pageSize"?: number; // 每页条数 "download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录 }; } } namespace Emergency { namespace EmergencyEventBills { type List = { "emergency_events_id"?: number; // - "cost_type"?: string; // - "fee_type"?: string; // - "fee_name"?: string; // - "payment_status"?: string; // - "payment_method"?: string; // - }; type Store = { "emergency_events_id": number; // - "cost_type": string; // - "fee_type": string; // - "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; // - "cost_type": string; // - "fee_type": string; // - "fee_name": string; // - "amount": number; // - "payee": string; // - "payee_bank": string; // - "payee_account": string; // - "payer": string; // - "payer_bank": string; // - "payer_account": string; // - }; } namespace EmergencyEventCategories { type List = { "name"?: string; // - "parent_id"?: number; // - }; type TreeList = { "name"?: string; // - "parent_id"?: number; // - }; type Store = { "name": string; // - "description"?: string; // - "is_enabled"?: number; // - "_lft"?: number; // - "_rgt"?: number; // - "parent_id"?: number; // - }; type Update = { "id": number; // - "name": string; // - "description"?: string; // - "is_enabled"?: number; // - "_lft"?: number; // - "_rgt"?: number; // - "parent_id"?: number; // - }; type Move = { "id": number; // - "type": string; // - }; type SelectTree = { "keywords"?: string; // - "type"?: string; // - "parent_id"?: number; // - }; } namespace EmergencyEventFollows { type List = { "emergency_events_id": number; // - "content"?: string; // - }; type Store = { "emergency_events_id": number; // - "content": string; // - "attachments"?: string[]; // - }; } namespace EmergencyEventLevels { type Store = { "name": string; // - "is_enabled"?: number; // - }; type Update = { "id": number; // - "name": string; // - "is_enabled"?: number; // - }; } namespace EmergencyEventTeams { type List = { "name"?: string; // - "leader_name"?: string; // - }; type Store = { "name": string; // - "asset_projects_id": number; // - "company_employees_id": number; // - "is_enabled"?: number; // - "members"?: string[]; // - }; type Update = { "id": number; // - "name": string; // - "asset_projects_id": number; // - "company_employees_id": number; // - "is_enabled"?: number; // - "members"?: string[]; // - }; type Select = { "name"?: string; // - "leader_name"?: string; // - }; } namespace EmergencyEvents { type List = { "name"?: string; // - "asset_projects_id"?: number; // - "asset_projects_name"?: string; // - "emergency_event_employees_id"?: number; // - "reporter_name"?: string; // - "emergency_time"?: string[]; // - "status"?: string; // - "audit_status"?: string; // - }; type Store = { "name": string; // - "two_emergency_categories_id": number; // - "emergency_event_levels_id": number; // - "asset_projects_id": number; // - "emergency_time": Date; // - "emergency_location": string; // - "emergency_description": string; // - "emergency_cause": string; // - "cause_result": string; // - "emergency_images"?: string[]; // - "emergency_events_id"?: number; // - "related_person"?: string; // - "supplement"?: string; // - "compensation_type"?: string; // - "compensation_rate"?: number; // - "compensation_amount"?: number; // - "compensation_paid_amount"?: number; // - "emergency_event_organizations_id": number; // - }; type Update = { "id": number; // - "name": string; // - "two_emergency_categories_id": number; // - "emergency_event_levels_id": number; // - "emergency_event_levels_name"?: string; // - "asset_projects_id": number; // - "emergency_time": Date; // - "emergency_location": string; // - "emergency_description": string; // - "emergency_cause": string; // - "cause_result": string; // - "emergency_images"?: string[]; // - "emergency_events_id"?: number; // - "related_person"?: string; // - "supplement"?: string; // - "compensation_type"?: string; // - "compensation_rate"?: number; // - "compensation_amount"?: number; // - "compensation_paid_amount"?: number; // - }; type Assign = { "id": number; // - "two_emergency_categories_id": number; // - "emergency_event_teams_id"?: number; // - }; type ApplyClose = { "id": number; // - "handled_result"?: string; // - "introspection"?: string; // - }; type Audit = { "id": number; // - "audit_status": string; // - "audit_remark"?: string; // - }; type Select = { "keywords"?: string; // - "asset_projects_id"?: number; // - }; } } 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; // 房屋 }; 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 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; // 项目名称 }; 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 HouseCharge { 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; // 模糊搜索:项目名称 "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 Delete = { "id": number; // id }; type Select = { "name"?: string; // 模糊搜索:名称 "project_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 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 Delete = { "id": number; // id }; } namespace HouseOrders { type List = { "id"?: number; // id "order_code"?: string; // 模糊搜索:订单编号 "payment_no"?: string; // 支付编号 "asset_projects_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; // 收款流水号 "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 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 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 }; type AlipayQrCode = { "amount": number; // 金额 "discount_amount"?: number; // 优惠金额 "late_fee"?: number; // 滞纳金 "total_payable_amount": number; // 应付金额 "bill_ids": string[]; // 账单id }; type ImportOfflinePayment = { "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 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 Delete = { "id": number; // id }; } namespace HousePrepayments { type List = { "full_name"?: string; // 模糊搜索:房屋名称 }; type Show = { "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 }; type Import = { "upload_file": mimes:xlsx,xls; // 上传文件 }; } 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; // 模糊搜索:名称 "status"?: string; // 任务状态,[enum:HouseChargeTasksStatusEnum] "generation_method"?: string; // 生成方式,[enum:HouseMeterTasksGenerationMethodEnum] "bill_year"?: number; // 年份 "bill_month"?: number; // 月份 }; 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 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; // 最新抄表时间 "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 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; // 是否发布 "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 Delete = { "id": number; // id }; } } namespace Permission { namespace Roles { type List = { "name"?: string; // 模糊搜索:名称 "guard_name"?: string; // 角色类型 }; type Store = { "name": string; // 角色名称 }; type Update = { "id": number; // ID "name": 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[]; // 整改图片 }; 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[]; // 整改图片 }; 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[]; // 申请时间范围 "asset_houses_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 "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 = { "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; // 保证金金额 }; type UpdateDeposit = { "id": number; // 装修申请id "deposit_amount": number; // 押金金额(元) }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "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; // 装修申请id,[ref:renovation_applies] "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 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 IndexCount { } } namespace Survey { namespace QuestionCategories { type List = { "name"?: string; // - "is_enabled"?: boolean; // - }; type Store = { "name": string; // - "description"?: string; // - "is_enabled"?: boolean; // - }; type Update = { "id": number; // - "name"?: string; // - "description"?: string; // - "is_enabled"?: boolean; // - }; type SoftDelete = { "id": number; // 题目分类ID }; type Restore = { "id": number; // 题目分类ID }; type Delete = { "id": number; // 题目分类ID }; type Select = { "name"?: string; // - "is_enabled"?: boolean; // - }; } namespace Questions { type List = { "title"?: string; // - "category_id"?: number; // - "type"?: string; // - "is_enabled"?: boolean; // - }; type Store = { "category_id"?: number; // - "title": string; // - "type": string; // - "content"?: string[]; // - "min_score"?: number; // - "max_score"?: number; // - "placeholder"?: string; // - "max_length"?: number; // - "required"?: boolean; // - "sort"?: number; // - "is_enabled"?: boolean; // - }; type Update = { "id": number; // - "category_id"?: number; // - "title"?: string; // - "type"?: string; // - "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; // 题目ID }; type Restore = { "id": number; // 题目ID }; type Delete = { "id": number; // 题目ID }; type Select = { "title"?: string; // 标题 "is_enabled"?: boolean; // 是否启用 }; } namespace SurveyReleases { type List = { "surveys_id"?: number; // - "release_type"?: string; // - "status"?: boolean; // - }; type Store = { "surveys_id": number; // - "release_type": string; // - "release_scope"?: string[]; // - "start_date"?: Date; // - "end_date"?: Date; // - "cover_image"?: string[]; // - }; type Update = { "id": number; // - "surveys_id"?: number; // - "release_type"?: string; // - "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; // - "release_id"?: number; // - "customers_id"?: number; // - "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; // - "name"?: string; // - "description"?: string; // - "questions"?: string[]; // - "cover_image"?: string[]; // - "is_enabled"?: boolean; // - }; type BatchStatus = { "ids": string[]; // 问卷ID列表 "is_enabled": boolean; // - }; 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; // 模糊搜索:被访人电话 "asset_projects_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] }; } } 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] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseWorkOrderPayments { type List = { "house_work_orders_id"?: number; // 工单id "name"?: string; // 模糊搜索:名称 }; type Show = { "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] }; 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 Delete = { "id": number; // id }; } } }