declare namespace ApiTypes { namespace Archive { namespace HouseOccupants { type List = { "asset_houses_id"?: number; // 资产房屋ID "status"?: string; // 状态,[enum:HouseOccupantsStatusEnum] }; 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; // 是否是常用联系人 }; } namespace HouseRegisters { type List = { "house_name"?: string; // 模糊搜索:房屋名称 "type"?: string; // 类型,[enum:HouseRegistersTypeEnum] "status"?: string; // 状态,[enum:HouseRegistersStatusEnum] "asset_houses_id"?: number; // 房屋ID }; type Store = { "asset_houses_id": number; // 房屋ID "type": string; // 类型,[enum:HouseRegistersTypeEnum] "status"?: string; // 状态,[enum:HouseRegistersStatusEnum] "customer_info"?: string[]; // 客户信息 "ownership_info"?: string[]; // 产权信息 }; type Update = { "id": number; // id "type": string; // 类型,[enum:HouseRegistersTypeEnum] "customer_info"?: string[]; // 客户信息 "ownership_info"?: string[]; // 产权信息 }; type MoveOut = { "house_occupants_id": number; // 房客id "move_out_date"?: Date; // 搬离时间 "apply_reason"?: string; // 搬离原因 }; type MoveIn = { "house_occupants_id": number; // 房客id "move_in_date"?: Date; // 搬入时间 "apply_reason"?: string; // 搬入原因 }; type RemoveOwner = { "house_occupants_id": number; // 房客id }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "status": string; // 状态:Approved 通过、Rejected 拒绝 "reason"?: string; // 拒绝原因 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Asset { namespace AssetBuildings { type List = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "name"?: string; // 模糊搜索:名称 }; type Store = { "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "name": string; // 楼栋名称 "alias_name"?: string; // 楼栋别名 }; type Update = { "id": number; // id "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "name": string; // 楼栋名称 "alias_name"?: string; // 楼栋别名 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "keywords"?: string; // 关键词 }; } namespace 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; // 模糊搜索:名称 }; type Store = { "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings] "asset_units_id": number; // 所属单元id,[ref:asset_units] "name": string; // 房屋名称 "floor"?: number; // 楼层 "built_area"?: number; // 建筑面积 "inside_area"?: number; // 套内面积 "chargeable_area"?: number; // 计费面积 "ownership_type"?: string; // 产权性质,[enum:AssetHousesOwnershipTypeEnum] "ownership_term"?: string; // 产权年限 "orientation"?: string; // 朝向,[enum:AssetHousesOrientationEnum] "usage"?: string; // 用途,[enum:AssetHousesUsageEnum] "status"?: string; // 房屋状态,[enum:AssetHousesStatusEnum] "room"?: number; // 房 "hall"?: number; // 厅 "kitchen"?: number; // 厨 "bathroom"?: number; // 卫 "balcony"?: number; // 阳台 }; type Update = { "id": number; // id "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings] "asset_units_id": number; // 所属单元id,[ref:asset_units] "name": string; // 房屋名称 "floor"?: number; // 楼层 "built_area"?: number; // 建筑面积 "inside_area"?: number; // 套内面积 "chargeable_area"?: number; // 计费面积 "ownership_type"?: string; // 产权性质,[enum:AssetHousesOwnershipTypeEnum] "ownership_term"?: string; // 产权年限 "orientation"?: string; // 朝向,[enum:AssetHousesOrientationEnum] "usage"?: string; // 用途,[enum:AssetHousesUsageEnum] "status"?: string; // 房屋状态,[enum:AssetHousesStatusEnum] "room"?: number; // 房 "hall"?: number; // 厅 "kitchen"?: number; // 厨 "bathroom"?: number; // 卫 "balcony"?: number; // 阳台 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings] "asset_units_id"?: number; // 所属单元id,[ref:asset_units] "keywords"?: string; // 关键词 }; type Import = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件 }; } namespace AssetProjects { type List = { "companies_id"?: number; // 所属机构id,[ref:companies] "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 项目名称 "alias_name"?: string; // 项目别名 "code"?: string; // 项目编码 "companies_id"?: number; // 所属机构id,[ref:companies] "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "province_id"?: number; // 省ID[ref:cities] "city_id"?: number; // 市ID[ref:cities] "area_id"?: number; // 区ID[ref:cities] "street_id"?: number; // 街道ID[ref:cities] "address"?: string; // 地址 "longitude"?: string; // 经度 "latitude"?: string; // 纬度 "property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum] "status"?: string; // 状态,[enum:AssetProjectsStatusEnum] "entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum] "charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum] "takeover_date"?: Date; // 接管日期 "closure_date"?: Date; // 封园日期 }; type Update = { "id": number; // id "name": string; // 项目名称 "alias_name"?: string; // 项目别名 "code"?: string; // 项目编码 "companies_id"?: number; // 所属机构id,[ref:companies] "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "province_id"?: number; // 省ID[ref:cities] "city_id"?: number; // 市ID[ref:cities] "area_id"?: number; // 区ID[ref:cities] "street_id"?: number; // 街道ID[ref:cities] "address"?: string; // 地址 "longitude"?: string; // 经度 "latitude"?: string; // 纬度 "property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum] "status"?: string; // 状态,[enum:AssetProjectsStatusEnum] "entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum] "charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum] "takeover_date"?: Date; // 接管日期 "closure_date"?: Date; // 封园日期 }; type BindCompany = { "projects_id": number; // 项目id "companies_id": number; // 机构id }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } namespace 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; // 关键词 }; } } namespace Banner { namespace BannerSpaces { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 名称 "remark"?: string; // 备注 "type": string; // 类型,[enum:BannerSpacesTypeEnum] }; type Update = { "id": number; // id "name": string; // 名称 "remark"?: string; // 备注 "type": string; // 类型,[enum:BannerSpacesTypeEnum] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } namespace Banners { type List = { "banner_spaces_id"?: number; // 广告位id,[ref:banner_spaces] "name"?: string; // 模糊搜索:名称 }; type Store = { "banner_spaces_id": number; // 广告位id,[ref:banner_spaces] "name": string; // 名称 "sort"?: number; // 排序:越大越靠前 "type": string; // 类型,[enum:BannersTypeEnum] "source": string[]; // 广告资源 "start_time"?: Date; // 开始时间 "end_time"?: Date; // 结束时间 "redirect_type"?: string; // 跳转类型,[enum:BannersRedirectTypeEnum] "redirect_path"?: string; // 跳转链接 "app_id"?: string; // 小程序app_id }; type Update = { "id": number; // id "banner_spaces_id": number; // 广告位id,[ref:banner_spaces] "name": string; // 名称 "sort"?: number; // 排序:越大越靠前 "type": string; // 类型,[enum:BannersTypeEnum] "source": string[]; // 广告资源 "start_time"?: Date; // 开始时间 "end_time"?: Date; // 结束时间 "redirect_type"?: string; // 跳转类型,[enum:BannersRedirectTypeEnum] "redirect_path"?: string; // 跳转链接 "app_id"?: string; // 小程序app_id }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Bill { namespace HouseBills { type List = { "full_name"?: string; // 模糊搜索:房屋名称 "company_name"?: string; // 模糊搜索:公司名称 }; 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 SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Collcetion { namespace HouseCollectionRecords { type List = { "collection_tasks_id"?: number; // 房屋崔缴任务id,[ref:house_collection_tasks] "asset_houses_id"?: number; // 房屋id,[ref:asset_houses] "channel"?: string; // 通知渠道,[enum:HouseCollectionTasksChannelEnum] "status"?: string; // 通知状态,[enum:HouseCollectionRecordsStatusEnum] "full_name"?: string; // 房屋名称 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseCollectionTasks { type List = { "task_name"?: string; // 模糊搜索:名称 "status"?: string; // 状态,[enum:HouseCollectionTasksStatusEnum] }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Common { namespace Admins { type List = { "username"?: string; // 模糊搜索:名称 }; type Store = { "username": string; // 用户名 "password": string; // 密码 "roles_id"?: string[]; // 角色 }; type Update = { "id": number; // id "username": string; // 用户名/手机号 "password"?: string; // 密码,[hidden] "roles_id"?: string[]; // 角色 }; type Delete = { "id": number; // id }; type Select = { "username"?: string; // 模糊搜索:名称 }; } namespace Auth { type Login = { "username": string; // 用户名 "password": string; // 密码 "captcha": string; // 验证码 "captcha_key": string; // 验证码key }; type ChangePassword = { "old_password": string; // 老密码 "new_password": string; // 新密码 "re_new_password": string; // 重复新密码 }; type PreUpload = { "filename": string; // 文件名称 "alc": string; // 访问限制 public-read, private }; type TemporaryUrl = { "filename": string; // 文件名称 }; } } namespace Company { namespace Companies { type List = { "name"?: string; // 模糊搜索:名称 "parent_id"?: number; // 父级ID }; type Store = { "name": string; // 组织名称 "short_name"?: string; // 组织简称 "business_license_number": string; // 营业执照号 "merchant_type"?: string; // 商户类型,[enum:CompaniesMerchantTypeEnum] "contact_name": string; // 联系人姓名 "contact_phone": string; // 联系人手机 "contact_email"?: string; // 联系人邮箱 "contact_address"?: string; // 联系人地址 "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "province_id"?: number; // 省ID[ref:cities] "city_id"?: number; // 市ID[ref:cities] "area_id"?: number; // 区ID[ref:cities] "street_id"?: number; // 街道ID[ref:cities] "address"?: string; // 地址 "business_license_image"?: string[]; // 营业执照图片 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // 上级 ID }; type Update = { "id": number; // id "name": string; // 组织名称 "short_name"?: string; // 组织简称 "business_license_number": string; // 营业执照号 "merchant_type"?: string; // 商户类型,[enum:CompaniesMerchantTypeEnum] "contact_name": string; // 联系人姓名 "contact_phone": string; // 联系人手机 "contact_email"?: string; // 联系人邮箱 "contact_address"?: string; // 联系人地址 "province"?: string; // 省 "city"?: string; // 市 "area"?: string; // 区 "street"?: string; // 街道 "province_id"?: number; // 省ID[ref:cities] "city_id"?: number; // 市ID[ref:cities] "area_id"?: number; // 区ID[ref:cities] "street_id"?: number; // 街道ID[ref:cities] "address"?: string; // 地址 "business_license_image"?: string[]; // 营业执照图片 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // 上级 ID }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "keywords"?: string; // 关键词 }; } namespace CompanyApps { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "companies_id": number; // 机构id,[ref:companies] "app_type": string; // 应用类型,[enum:CompanyAppsAppTypeEnum] "module"?: string; // 模块,[enum:CompanyAppsModuleEnum] "app_id": string; // 应用ID:微信AppID/企业微信CorpID "app_secret": string; // 应用密钥 }; type Update = { "id": number; // id "companies_id": number; // 机构id,[ref:companies] "app_type": string; // 应用类型,[enum:CompanyAppsAppTypeEnum] "module"?: string; // 模块,[enum:CompanyAppsModuleEnum] "app_id": string; // 应用ID:微信AppID/企业微信CorpID "app_secret": string; // 应用密钥 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace CompanyEmployees { type List = { "companies_id"?: number; // 机构ID "organizations_id"?: number; // 组织机构ID "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; // 备注 }; 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; // 备注 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 所属机构id,[ref:companies] "organizations_id"?: number; // 所属组织id,[ref:organizations] "keywords"?: string; // 关键词 }; } namespace CompanyPositions { type List = { "companies_id"?: number; // 机构ID "name"?: string; // 模糊搜索:名称 }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "name": string; // 岗位名称 "code"?: string; // 岗位编号 "status"?: number; // 状态 "remark"?: string; // 备注 }; type Update = { "id": number; // id "companies_id": number; // 所属机构id,[ref:companies] "name": string; // 岗位名称 "code"?: string; // 岗位编号 "status"?: number; // 状态 "remark"?: string; // 备注 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 所属机构id,[ref:companies] "keywords"?: string; // 关键词 }; } namespace CompanyProjectReceiptAccounts { type List = { "companies_id": number; // 所属机构id,[ref:companies] "projects_id": number; // 所属项目id,[ref:asset_projects] }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "projects_id": number; // 所属项目id,[ref:asset_projects] "receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts] }; type Update = { "id": number; // id "companies_id": number; // 所属机构id,[ref:companies] "projects_id": number; // 所属项目id,[ref:asset_projects] "receipt_accounts_id": number; // 机构收款账号id,[ref:company_receipt_accounts] }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 所属机构id,[ref:companies] "projects_id"?: number; // 所属项目id,[ref:asset_projects] }; } namespace CompanyReceiptAccounts { type List = { "name"?: string; // 模糊搜索:名称 "companies_id"?: number; // 所属机构id,[ref:companies] }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "company_name": string; // 企业名称 "company_bank": string; // 企业开户行 "company_account": string; // 企业账户 "pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum] "merchant_id"?: string; // 第三方支付的商户ID "is_default"?: number; // 是否默认收款账号 }; type Update = { "id": number; // id "companies_id": number; // 所属机构id,[ref:companies] "company_name": string; // 企业名称 "company_bank": string; // 企业开户行 "company_account": string; // 企业账户 "pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum] "merchant_id"?: string; // 第三方支付的商户ID "is_default"?: number; // 是否默认收款账号 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace Organizations { type List = { "name"?: string; // 模糊搜索:名称 "companies_id"?: number; // 机构ID[ref:companies] "parent_id"?: number; // 父级ID }; type Store = { "companies_id": number; // 所属机构id,[ref:companies] "type": string; // 类型,[enum:OrganizationsTypeEnum] "name": string; // 名称 "managers_id"?: number; // 负责人IDid,[ref:company_employees] "manager_phone"?: string; // 负责人电话 "manager_email"?: string; // 负责人邮箱 "status"?: number; // 状态 "sort"?: number; // 排序 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // }; type Update = { "id": number; // id "type": string; // 类型,[enum:OrganizationsTypeEnum] "name": string; // 名称 "managers_id"?: number; // 负责人IDid,[ref:company_employees] "manager_phone"?: string; // 负责人电话 "manager_email"?: string; // 负责人邮箱 "status"?: number; // 状态 "sort"?: number; // 排序 "_lft"?: number; // "_rgt"?: number; // "parent_id"?: number; // 上级 ID }; type Move = { "id": number; // ID "type": string; // 类型:up 升级,down 降级 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "companies_id"?: number; // 所属机构id,[ref:companies] "keywords"?: string; // 关键词 }; type SelectTree = { "companies_id"?: number; // 所属机构id,[ref:companies] "keywords"?: string; // - "type"?: string; // - "parent_id"?: number; // - }; } } namespace Grid { namespace Grids { type List = { "name"?: string; // 模糊搜索:名称 "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] }; 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 HouseOrder { namespace HouseOrderPayments { type List = { "house_orders_id": number; // 订单ID "payment_no"?: string; // 模糊搜索:支付单号 "transaction_id"?: string; // 模糊搜索:交易号(微信、支付宝的单号 "third_trade_no"?: string; // 第三方交易号(如通联、乐刷) }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseOrders { type List = { "id"?: number; // id "order_code"?: string; // 模糊搜索:名称 "payment_no"?: string; // 支付编号 "companies_id"?: number; // 机构ID "full_name"?: string; // 模糊搜索:房屋名称 }; type Show = { "id": number; // id }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Permission { namespace SysPermissions { type List = { "parent_id"?: number; // 上级ID "guard_name": string; // }; type Tree = { "parent_id"?: number; // 上级ID "guard_name": string; // }; type Store = { "name": string; // "key"?: string; // "guard_name": string; // "icon"?: string; // 图标 "type": string; // 类型:SysPermissionsTypeEnum "backend_apis"?: string[]; // 后台api "path"?: string; // 路由 "parent_id"?: number; // }; type Update = { "id": number; // ID "name": string; // "key"?: string; // "guard_name": string; // "icon"?: string; // 图标 "type": string; // 类型:SysPermissionsTypeEnum "backend_apis"?: string[]; // 后台api "path"?: string; // 路由 "parent_id"?: number; // }; type Delete = { "id": number; // ID }; type Move = { "id": number; // ID "type": string; // 类型:up 升级,down 降级 }; } namespace SysRoles { type List = { "name"?: string; // 模糊搜索:名称 }; type Store = { "name": string; // 名称 "color"?: string; // 颜色 }; type Update = { "id": number; // ID "name": string; // 名称 "color"?: string; // 颜色 }; type Delete = { "id": number; // ID }; type GetPermissions = { "id": number; // ID }; type SetPermissions = { "id": number; // ID "permissions_ids": string[]; // 权限ID }; } } namespace 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[]; // 附件 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; } namespace HouseWorkOrders { type List = { "title"?: string; // 模糊搜索:名称 "house_name"?: string; // 模糊搜索:房屋名称 "type"?: string; // 工单类型,[enum:HouseWorkOrdersTypeEnum] "level"?: string; // 工单优先级,[enum:HouseWorkOrdersLevelEnum] "status"?: string; // 工单状态,[enum:HouseWorkOrdersStatusEnum] "assign_status"?: string; // 工单分配状态,[enum:HouseWorkOrdersAssignStatusEnum] "reporter_name"?: string; // 模糊搜索:上报人姓名 "reporter_phone"?: string; // 模糊搜索:上报人手机 }; type Store = { "type": string; // 工单类型,[enum:HouseWorkOrdersTypeEnum] "level": string; // 优先级,[enum:HouseWorkOrdersLevelEnum] "title": string; // 工单标题 "content": string; // 工单内容 "reporter_name"?: string; // 上报人名称 "reporter_phone"?: string; // 上报人手机 "attachments"?: string[]; // 工单附件 "asset_houses_id": number; // 资产房屋id,[ref:asset_houses] }; 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] }; 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; // 预计完成时间 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } }