declare namespace ApiTypes { namespace Archive { namespace HouseOccupants { type List = { "asset_houses_id"?: number; // 资产房屋ID "status"?: string; // 状态,[enum:HouseOccupantsStatusEnum] }; type Show = { "id": number; // id }; } namespace HouseRegisters { type List = { "house_name"?: string; // 模糊搜索:房屋名称 "type"?: string; // 类型,[enum:HouseRegistersTypeEnum] "status"?: string; // 状态,[enum:HouseRegistersStatusEnum] }; type Store = { "asset_houses_id": number; // 房屋ID "type": string; // 类型,[enum:HouseRegistersTypeEnum] "status"?: string; // 状态,[enum:HouseRegistersStatusEnum] "house_status"?: string; // 房屋状态,[enum:HouseRegistersHouseStatusEnum] "usage_plan"?: string; // 使用计划,[enum:HouseRegistersUsagePlanEnum] "customer_type"?: string; // 客户类型,[enum:HouseRegistersCustomerTypeEnum] "customer_info"?: string[]; // 客户信息 "ownership_info"?: string[]; // 产权信息 }; type Update = { "id": number; // id "type": string; // 类型,[enum:HouseRegistersTypeEnum] "status"?: string; // 状态,[enum:HouseRegistersStatusEnum] "house_status"?: string; // 房屋状态,[enum:HouseRegistersHouseStatusEnum] "usage_plan"?: string; // 使用计划,[enum:HouseRegistersUsagePlanEnum] "customer_type"?: string; // 客户类型,[enum:HouseRegistersCustomerTypeEnum] "customer_info"?: string[]; // 客户信息 "ownership_info"?: string[]; // 产权信息 }; type Show = { "id": number; // id }; type Audit = { "id": number; // id "status": string; // 状态:Approved 通过、Rejected 拒绝 "reason"?: string; // 拒绝原因 }; type SoftDelete = { "id": number; // id }; type Restore = { "id": number; // id }; type Delete = { "id": number; // id }; } } namespace Asset { namespace AssetBuildings { type List = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "name"?: string; // 模糊搜索:名称 }; type Store = { "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "name": string; // 楼栋名称 "alias_name"?: string; // 楼栋别名 }; type Update = { "id": number; // id "asset_projects_id": number; // 所属项目id,[ref:asset_projects] "name": string; // 楼栋名称 "alias_name"?: string; // 楼栋别名 }; type Show = { "id": number; // id }; type Delete = { "id": number; // id }; type Select = { "asset_projects_id"?: number; // 所属项目id,[ref:asset_projects] "keywords"?: string; // 关键词 }; } namespace 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; // 关键词 }; } 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; // 关键词 }; } } 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 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; // 密码 }; 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 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 }; } 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 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 }; } } }