pay-admin/src/gen/ApiTypes.d.ts

1615 lines
60 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

declare namespace ApiTypes {
namespace Activity {
namespace Activities {
type List = {
"title"?: string; // 模糊搜索:名称
"status"?: string; // 状态,[enum:ActivitiesStatusEnum]
"publish_status"?: string; // 发布状态,[enum:ActivitiesPublishStatusEnum]
};
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 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; // 是否是常用联系人
};
type Import = {
"upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件
};
}
namespace HouseRegisters {
type List = {
"house_name"?: string; // 模糊搜索:房屋名称
"type"?: string; // 类型,[enum:HouseRegistersTypeEnum]
"status"?: string; // 状态,[enum:HouseRegistersStatusEnum]
"asset_houses_id"?: number; // 房屋ID
};
type Store = {
"asset_houses_id": number; // 房屋ID
"type": string; // 类型,[enum:HouseRegistersTypeEnum]
"status"?: string; // 状态,[enum:HouseRegistersStatusEnum]
"customer_info"?: string[]; // 客户信息
"ownership_info"?: string[]; // 产权信息
};
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 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]
};
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; // 模糊搜索:名称
"full_name"?: string; // 模糊搜索:全称
"project_name"?: string; // 模糊搜索:项目名称
"building_name"?: string; // 模糊搜索:楼栋名称
"unit_name"?: string; // 模糊搜索:单元名称
"usage"?: string; // 用途,[enum:AssetHousesUsageEnum]
};
type Store = {
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
"asset_units_id": number; // 所属单元id,[ref:asset_units]
"name": string; // 房屋名称
"floor"?: number; // 楼层
"built_area"?: number; // 建筑面积
"inside_area"?: number; // 套内面积
"chargeable_area"?: number; // 计费面积
"ownership_type"?: string; // 产权性质,[enum:AssetHousesOwnershipTypeEnum]
"ownership_term"?: string; // 产权年限
"orientation"?: string; // 朝向,[enum:AssetHousesOrientationEnum]
"usage"?: string; // 用途,[enum:AssetHousesUsageEnum]
"status"?: string; // 房屋状态,[enum:AssetHousesStatusEnum]
"room"?: number; // 房
"hall"?: number; // 厅
"kitchen"?: number; // 厨
"bathroom"?: number; // 卫
"balcony"?: number; // 阳台
};
type Update = {
"id": number; // id
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
"asset_units_id": number; // 所属单元id,[ref:asset_units]
"name": string; // 房屋名称
"floor"?: number; // 楼层
"built_area"?: number; // 建筑面积
"inside_area"?: number; // 套内面积
"chargeable_area"?: number; // 计费面积
"ownership_type"?: string; // 产权性质,[enum:AssetHousesOwnershipTypeEnum]
"ownership_term"?: string; // 产权年限
"orientation"?: string; // 朝向,[enum:AssetHousesOrientationEnum]
"usage"?: string; // 用途,[enum:AssetHousesUsageEnum]
"status"?: string; // 房屋状态,[enum:AssetHousesStatusEnum]
"room"?: number; // 房
"hall"?: number; // 厅
"kitchen"?: number; // 厨
"bathroom"?: number; // 卫
"balcony"?: number; // 阳台
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
"asset_units_id"?: number; // 所属单元id,[ref:asset_units]
"keywords"?: string; // 关键词
};
type Import = {
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
"upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件
};
type Export = {
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
"asset_units_id"?: number; // 所属单元id,[ref:asset_units]
"name"?: string; // 模糊搜索:名称
"full_name"?: string; // 模糊搜索:全称
"current"?: number; // 页码
"download_type": string; // 下载类型page 当前页(含查询条件)query 所有页(含查询条件)all所有记录
};
}
namespace 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; // 封园日期
"company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands]
};
type Update = {
"id": number; // id
"name": string; // 项目名称
"alias_name"?: string; // 项目别名
"code"?: string; // 项目编码
"companies_id"?: number; // 所属机构id,[ref:companies]
"province"?: string; // 省
"city"?: string; // 市
"area"?: string; // 区
"street"?: string; // 街道
"province_id"?: number; // 省ID[ref:cities]
"city_id"?: number; // 市ID[ref:cities]
"area_id"?: number; // 区ID[ref:cities]
"street_id"?: number; // 街道ID[ref:cities]
"address"?: string; // 地址
"longitude"?: string; // 经度
"latitude"?: string; // 纬度
"property_type"?: string; // 物业类型,[enum:AssetProjectsPropertyTypeEnum]
"status"?: string; // 状态,[enum:AssetProjectsStatusEnum]
"entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum]
"charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum]
"takeover_date"?: Date; // 接管日期
"closure_date"?: Date; // 封园日期
"company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands]
};
type BindCompany = {
"projects_id": number; // 项目id
"companies_id": number; // 机构id
};
type ChangePropertyBrand = {
"projects_id": number; // 项目id
"company_property_brands_id": number; // 物业品牌id,[ref:company_property_brands]
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"keywords"?: string; // 关键词
"companies_id"?: number; // 机构id
};
}
namespace AssetUnits {
type List = {
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
"name"?: string; // 模糊搜索:名称
};
type Store = {
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
"name": string; // 单元名称
"alias_name"?: string; // 单元别名
"building_structure"?: string; // 建筑结构,[enum:AssetUnitsBuildingStructureEnum]
"building_type"?: string; // 建筑类型,[enum:AssetUnitsBuildingTypeEnum]
"elevator_count"?: number; // 电梯数量
"units_per_building"?: number; // 单元户数
"highest_floor"?: number; // 最高楼层
};
type Update = {
"id": number; // id
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id": number; // 所属楼栋id,[ref:asset_buildings]
"name": string; // 单元名称
"alias_name"?: string; // 单元别名
"building_structure"?: string; // 建筑结构,[enum:AssetUnitsBuildingStructureEnum]
"building_type"?: string; // 建筑类型,[enum:AssetUnitsBuildingTypeEnum]
"elevator_count"?: number; // 电梯数量
"units_per_building"?: number; // 单元户数
"highest_floor"?: number; // 最高楼层
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
"keywords"?: string; // 关键词
};
type GridSelect = {
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
"asset_buildings_id"?: number; // 所属楼栋id,[ref:asset_buildings]
"keywords"?: string; // 关键词
"type"?: number; // 类型:1, 排除已添加的
};
}
}
namespace Banner {
namespace BannerSpaces {
type List = {
"name"?: string; // 模糊搜索:名称
};
type Store = {
"name": string; // 名称
"remark"?: string; // 备注
"type": string; // 类型,[enum:BannerSpacesTypeEnum]
};
type Update = {
"id": number; // id
"name": string; // 名称
"remark"?: string; // 备注
"type": string; // 类型,[enum:BannerSpacesTypeEnum]
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"keywords"?: string; // 关键词
};
}
namespace Banners {
type List = {
"banner_spaces_id"?: number; // 广告位id,[ref:banner_spaces]
"name"?: string; // 模糊搜索:名称
};
type Store = {
"banner_spaces_id": number; // 广告位id,[ref:banner_spaces]
"name": string; // 名称
"sort"?: number; // 排序:越大越靠前
"type": string; // 类型,[enum:BannersTypeEnum]
"source": string[]; // 广告资源
"start_time"?: Date; // 开始时间
"end_time"?: Date; // 结束时间
"redirect_type"?: string; // 跳转类型,[enum:BannersRedirectTypeEnum]
"redirect_path"?: string; // 跳转链接
"app_id"?: string; // 小程序app_id
};
type Update = {
"id": number; // id
"banner_spaces_id": number; // 广告位id,[ref:banner_spaces]
"name": string; // 名称
"sort"?: number; // 排序:越大越靠前
"type": string; // 类型,[enum:BannersTypeEnum]
"source": string[]; // 广告资源
"start_time"?: Date; // 开始时间
"end_time"?: Date; // 结束时间
"redirect_type"?: string; // 跳转类型,[enum:BannersRedirectTypeEnum]
"redirect_path"?: string; // 跳转链接
"app_id"?: string; // 小程序app_id
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
namespace Bill {
namespace HouseBills {
type List = {
"asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses]
"full_name"?: string; // 模糊搜索:房屋名称
"company_name"?: string; // 模糊搜索:公司名称
"bill_status"?: string; // 账单状态,[enum:HouseBillsBillStatusEnum]
};
type SummaryBillList = {
"full_name"?: string; // 模糊搜索:房屋名称
"asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses]
};
type Store = {
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
"company_receipt_accounts_id": number; // 公司收款账户id,[ref:company_receipt_accounts]
"type": string; // 账单类型,[enum:HouseBillsTypeEnum]
"amount": number; // 金额
"discount_amount"?: number; // 优惠金额
"late_fee"?: number; // 滞纳金
"start_date": Date; // 计费开始日期
"end_date": Date; // 计费结束日期
"month": string; // 月份
"late_start_date"?: Date; // 滞纳金起算日期
"collected_late_fee_days"?: number; // 已收滞纳金天数
"remark"?: string; // 备注
};
type Update = {
"id": number; // id
"company_receipt_accounts_id": number; // 公司收款账户id,[ref:company_receipt_accounts]
"type": string; // 账单类型,[enum:HouseBillsTypeEnum]
"amount": number; // 金额
"discount_amount"?: number; // 优惠金额
"late_fee"?: number; // 滞纳金
"start_date": Date; // 计费开始日期
"end_date": Date; // 计费结束日期
"month": string; // 月份
"late_start_date"?: Date; // 滞纳金起算日期
"collected_late_fee_days"?: number; // 已收滞纳金天数
"remark"?: string; // 备注
};
type Show = {
"id": number; // id
};
type SummaryShow = {
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Import = {
"upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件
};
}
}
namespace Collcetion {
namespace HouseCollectionRecords {
type List = {
"collection_tasks_id"?: number; // 房屋崔缴任务id,[ref:house_collection_tasks]
"asset_houses_id"?: number; // 房屋id,[ref:asset_houses]
"channel"?: string; // 通知渠道,[enum:HouseCollectionTasksChannelEnum]
"status"?: string; // 通知状态,[enum:HouseCollectionRecordsStatusEnum]
"full_name"?: string; // 房屋名称
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
namespace HouseCollectionTasks {
type List = {
"task_name"?: string; // 模糊搜索:名称
"status"?: string; // 状态,[enum:HouseCollectionTasksStatusEnum]
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
namespace Common {
namespace Admins {
type List = {
"username"?: string; // 模糊搜索:名称
};
type Store = {
"username": string; // 用户名
"password": string; // 密码
"roles_id"?: string[]; // 角色
};
type Update = {
"id": number; // id
"username": string; // 用户名/手机号
"password"?: string; // 密码,[hidden]
"roles_id"?: string[]; // 角色
};
type Delete = {
"id": number; // id
};
type Select = {
"username"?: string; // 模糊搜索:名称
};
}
namespace Auth {
type Login = {
"username": string; // 用户名
"password": string; // 密码
"captcha": string; // 验证码
"captcha_key": string; // 验证码key
};
type ChangePassword = {
"old_password": string; // 老密码
"new_password": string; // 新密码
"re_new_password": string; // 重复新密码
};
type PreUpload = {
"filename": string; // 文件名称
"alc": string; // 访问限制 public-read, private
};
type TemporaryUrl = {
"filename": string; // 文件名称
};
}
namespace ConvenienceServices {
type List = {
"name"?: string; // 模糊搜索:名称
"asset_projects_id"?: number; // 项目ID
"project_name"?: string; // 项目名称
};
type Store = {
"asset_projects_id": number; // 项目ID
"type": string; // 类型,[enum:ConvenienceServicesTypeEnum]
"name": string; // 名称
"content": string[]; // 内容
};
type Update = {
"id": number; // id
"asset_projects_id": number; // 项目ID
"type": string; // 类型,[enum:ConvenienceServicesTypeEnum]
"name": string; // 名称
"content": string[]; // 内容
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
namespace 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
"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; // 备注
};
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; // 关键词
};
type Import = {
"upload_file": mimes:xlsx,xls; // 上传文件
};
}
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 CompanyPropertyBrands {
type List = {
"companies_id"?: number; // 机构id,[ref:companies
"name"?: string; // 模糊搜索:名称
"company_name"?: string; // 模糊搜索:机构名称
};
type Store = {
"companies_id": number; // 机构id,[ref:companies]
"name": string; // 品牌名称
"logo"?: string[]; // 品牌logo
};
type Update = {
"id": number; // id
"companies_id": number; // 机构id,[ref:companies]
"name": string; // 品牌名称
"logo"?: string[]; // 品牌logo
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"companies_id"?: number; // 机构id,[ref:companies
"name"?: string; // 模糊搜索:名称
"company_name"?: string; // 模糊搜索:机构名称
};
}
namespace CompanyReceiptAccounts {
type List = {
"company_name"?: string; // 模糊搜索:名称
"companies_id"?: number; // 所属机构id,[ref:companies]
};
type Store = {
"companies_id": number; // 所属机构id,[ref:companies]
"company_name": string; // 企业名称
"company_bank": string; // 企业开户行
"company_account": string; // 企业账户
"pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum]
"merchant_id"?: string; // 第三方支付的商户ID
"is_default"?: number; // 是否默认收款账号
};
type Update = {
"id": number; // id
"companies_id": number; // 所属机构id,[ref:companies]
"company_name": string; // 企业名称
"company_bank": string; // 企业开户行
"company_account": string; // 企业账户
"pay_channel": string; // 收款渠道,[enum:CompanyReceiptAccountsPayChannelEnum]
"merchant_id"?: string; // 第三方支付的商户ID
"is_default"?: number; // 是否默认收款账号
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"company_name"?: string; // 模糊搜索:名称
"companies_id"?: number; // 所属机构id,[ref:companies]
};
}
namespace Organizations {
type List = {
"name"?: string; // 模糊搜索:名称
"companies_id"?: number; // 机构ID[ref:companies]
"parent_id"?: number; // 父级ID
"company_name"?: string; // 机构名称
};
type TreeList = {
"name"?: string; // 模糊搜索:名称
"companies_id"?: number; // 机构ID[ref:companies]
"parent_id"?: number; // 父级ID
};
type Store = {
"companies_id": number; // 所属机构id,[ref:companies]
"type": string; // 类型,[enum:OrganizationsTypeEnum]
"name": string; // 名称
"managers_id"?: number; // 负责人IDid,[ref:company_employees]
"manager_phone"?: string; // 负责人电话
"manager_email"?: string; // 负责人邮箱
"status"?: number; // 状态
"sort"?: number; // 排序
"_lft"?: number; //
"_rgt"?: number; //
"parent_id"?: number; //
};
type Update = {
"id": number; // id
"type": string; // 类型,[enum:OrganizationsTypeEnum]
"name": string; // 名称
"managers_id"?: number; // 负责人IDid,[ref:company_employees]
"manager_phone"?: string; // 负责人电话
"manager_email"?: string; // 负责人邮箱
"status"?: number; // 状态
"sort"?: number; // 排序
"_lft"?: number; //
"_rgt"?: number; //
"parent_id"?: number; // 上级 ID
};
type Move = {
"id": number; // ID
"type": string; // 类型up 升级down 降级
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"companies_id"?: number; // 所属机构id,[ref:companies]
"keywords"?: string; // 关键词
};
type SelectTree = {
"companies_id"?: number; // 所属机构id,[ref:companies]
"keywords"?: string; // -
"type"?: string; // -
"parent_id"?: number; // -
};
}
}
namespace Customer {
namespace CustomerMomentCategories {
type List = {
"name"?: string; // 模糊搜索:名称
"parent_id"?: number; // 父级ID
};
type Store = {
"name": string; // 分类名称
"is_use"?: number; // 是否启用:0=禁用,1=启用
"parent_id"?: number; // 父级id,[ref:customer_moment_categories]
};
type Update = {
"id": number; // id
"name": string; // 分类名称
"is_use"?: number; // 是否启用:0=禁用,1=启用
"parent_id"?: number; //
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type SelectTree = {
"keywords"?: string; // -
"parent_id"?: number; // -
};
}
namespace CustomerMoments {
type List = {
"admin_name"?: string; // 模糊搜索:创建人名称
"channel"?: string; // 发送渠道,[enum:CustomerMomentsChannelEnum]
"push_time"?: Date; // 推送时间
"push_status"?: string; // 推送状态,[enum:CustomerMomentsPushStatusEnum]
"one_moment_categories_id"?: number; // 内容一级分类id,[ref:customer_moment_categories]
"two_moment_categories_id"?: number; // 内容二级分类id,[ref:customer_moment_categories]
"content"?: string; // 模糊搜索:内容
};
type Store = {
"channel": string; // 发送渠道,[enum:CustomerMomentsChannelEnum]
"push_type": string; // 推送类型,[enum:CustomerMomentsPushTypeEnum]
"scheduled_time"?: Date; // 定时发送时间
"task_end_type": string; // 任务结束类型,[enum:CustomerMomentsTaskEndTypeEnum]
"task_days"?: number; // 任务天数
"task_end_time"?: Date; // 任务结束时间
"range_type": string; // 范围类型,[enum:CustomerMomentsRangeTypeEnum]
"range_data": string[]; // 范围数据(项目项目ID,员工员工ID,部门部门ID,客户客户ID)
"content": string; // 内容
"content_type": string; // 内容类型,[enum:CustomerMomentsContentTypeEnum]
"skip_type"?: string; // 跳转类型,[enum:CustomerMomentsSkipTypeEnum]
"mini_program_app_id"?: string; // 小程序APPID
"skip_url"?: string; // 跳转链接
"title"?: string; // 跳转标题
"desc"?: string; // 描述
"cover_image"?: string[]; // 封面图
"attachments"?: string[]; // 附件
"one_moment_categories_id": number; // 内容一级分类id,[ref:customer_moment_categories]
"two_moment_categories_id": number; // 内容二级分类id,[ref:customer_moment_categories]
"companies_id": number; // 公司id,[ref:companies]
};
type Update = {
"id": number; // id
"channel": string; // 发送渠道,[enum:CustomerMomentsChannelEnum]
"push_type": string; // 推送类型,[enum:CustomerMomentsPushTypeEnum]
"scheduled_time"?: Date; // 定时发送时间
"task_end_type": string; // 任务结束类型,[enum:CustomerMomentsTaskEndTypeEnum]
"task_days"?: number; // 任务天数
"task_end_time"?: Date; // 任务结束时间
"range_type": string; // 范围类型,[enum:CustomerMomentsRangeTypeEnum]
"range_data": string[]; // 范围数据(项目项目ID,员工员工ID,部门部门ID,客户客户ID)
"content": string; // 内容
"content_type": string; // 内容类型,[enum:CustomerMomentsContentTypeEnum]
"skip_type"?: string; // 跳转类型,[enum:CustomerMomentsSkipTypeEnum]
"mini_program_app_id"?: string; // 小程序APPID
"skip_url"?: string; // 跳转链接
"title"?: string; // 跳转标题
"desc"?: string; // 描述
"cover_image"?: string[]; // 封面图
"attachments"?: string[]; // 附件
"one_moment_categories_id": number; // 内容一级分类id,[ref:customer_moment_categories]
"two_moment_categories_id": number; // 内容二级分类id,[ref:customer_moment_categories]
"companies_id": number; // 公司id,[ref:companies]
};
type Show = {
"id": number; // id
};
type Send = {
"id": number; // id
};
}
namespace CustomerOpinions {
type List = {
"type"?: string; // 类型,[enum:CustomerOpinionsTypeEnum]
"content"?: string; // 模糊搜索:内容
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
namespace 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 HouseCharage {
namespace HouseChargeHasHouses {
type List = {
"house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards]
};
type Store = {
"house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards]
"houses_ids": string[]; // 房屋id,[ref:houses]
};
type GetChargeStandardHouseIds = {
"house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards]
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
namespace HouseChargeStandards {
type List = {
"name"?: string; // 模糊搜索:名称
"project_name"?: string; // 模糊搜索:项目名称
"company_name"?: string; // 模糊搜索:机构名称
"charge_type"?: string; // 收费类型,[enum:HouseBillsTypeEnum]
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
"companies_id"?: number; // 机构id,[ref:companies]
};
type Store = {
"asset_projects_id": number; // 项目id,[ref:asset_projects]
"name": string; // 收费标准名称
"type": string; // 收费类型,[enum:HouseChargeStandardsTypeEnum]
"charge_type": string; // 收费类型,[enum:HouseBillsTypeEnum]
"calculation_mode": string; // 计费模式,[enum:HouseChargeStandardsCalculationModeEnum]
"calculation_method": string; // 计量方式,[enum:HouseChargeStandardsCalculationMethodEnum]
"company_receipt_accounts_id": number; // 收款账户id,[ref:company_receipt_accounts]
"price_algorithm": string; // 单价算法,[enum:HouseChargeStandardsPriceAlgorithmEnum]
"price"?: number; // 单价
"calculation_period"?: string; // 计费周期,[enum:HouseChargeStandardsCalculationPeriodEnum]
"auto_date"?: Date; // 自动生成日期
"is_tiered"?: number; // 是否阶梯收费
"tiered_rates"?: string[]; // 阶梯收费标准
"is_apportionment"?: number; // 是否分摊
"apportionment_method"?: string; // 分摊方式,[enum:HouseChargeStandardsApportionmentMethodEnum]
"has_late_fee"?: number; // 是否滞纳金
"late_fee_start_days"?: number; // 生成几天后开始收取滞纳金
"late_fee_rate"?: number; // 滞纳金费率(百分比)
"late_fee_cap_days"?: number; // 滞纳金封顶天数
"has_minimum_charge"?: number; // 是否保底价
"minimum_charge_amount"?: number; // 保底价金额
"remark"?: string; // 备注
};
type Update = {
"id": number; // id
"asset_projects_id": number; // 项目id,[ref:asset_projects]
"name": string; // 收费标准名称
"type": string; // 收费类型,[enum:HouseChargeStandardsTypeEnum]
"charge_type": string; // 收费类型,[enum:HouseBillsTypeEnum]
"calculation_mode": string; // 计费模式,[enum:HouseChargeStandardsCalculationModeEnum]
"calculation_method": string; // 计量方式,[enum:HouseChargeStandardsCalculationMethodEnum]
"company_receipt_accounts_id": number; // 收款账户id,[ref:company_receipt_accounts]
"price_algorithm": string; // 单价算法,[enum:HouseChargeStandardsPriceAlgorithmEnum]
"price"?: number; // 单价
"calculation_period"?: string; // 计费周期,[enum:HouseChargeStandardsCalculationPeriodEnum]
"auto_date"?: Date; // 自动生成日期
"is_tiered"?: number; // 是否阶梯收费
"tiered_rates"?: string[]; // 阶梯收费标准
"is_apportionment"?: number; // 是否分摊
"apportionment_method"?: string; // 分摊方式,[enum:HouseChargeStandardsApportionmentMethodEnum]
"has_late_fee"?: number; // 是否滞纳金
"late_fee_start_days"?: number; // 生成几天后开始收取滞纳金
"late_fee_rate"?: number; // 滞纳金费率(百分比)
"late_fee_cap_days"?: number; // 滞纳金封顶天数
"has_minimum_charge"?: number; // 是否保底价
"minimum_charge_amount"?: number; // 保底价金额
"remark"?: string; // 备注
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
type Select = {
"name"?: string; // 模糊搜索:名称
"project_name"?: string; // 模糊搜索:项目名称
"company_name"?: string; // 模糊搜索:机构名称
"charge_type"?: string; // 收费类型,[enum:HouseBillsTypeEnum]
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
"companies_id"?: number; // 机构id,[ref:companies]
};
}
namespace HouseChargeTaskDetails {
type List = {
"house_charge_tasks_id"?: number; // 房屋收费任务id,[ref:house_charge_tasks]
"full_name"?: string; // 模糊搜索:名称
"status"?: string; // 处理状态,[enum:HouseChargeTaskDetailsStatusEnum]
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
namespace HouseChargeTasks {
type List = {
"charge_standard_name"?: string; // 模糊搜索:收费标准名称
"asset_projects_id"?: number; // 资产项目id,[ref:asset_projects]
"companies_id"?: number; // 公司id,[ref:companies]
"status"?: string; // 任务状态,[enum:HouseChargeTasksStatusEnum]
"type"?: string; // 类型,[enum:HouseChargeTasksTypeEnum]
"project_name"?: string; // 资产项目名称
"company_name"?: string; // 公司名称
};
type Store = {
"house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards]
"month": string; // 月份
"start_date": Date; // 收费开始日期
"end_date": Date; // 收费截止日期
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
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 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
};
}
namespace HouseMeterReadings {
type List = {
"name"?: string; // 模糊搜索:名称
};
type Store = {
"house_meters_id": number; // 仪表id,[ref:house_meters]
"operation_type": string; // 操作类型,[enum:HouseMeterReadingsOperationTypeEnum]
"current_reading": number; // 本次读数
"reading_time": Date; // 抄表时间
"company_employees_id": number; // 抄表人id,[ref:company_employees]
"remark": string; // 备注
};
type Update = {
"id": number; // id
"house_meters_id": number; // 仪表id,[ref:house_meters]
"operation_type": string; // 操作类型,[enum:HouseMeterReadingsOperationTypeEnum]
"previous_reading": number; // 上次读数
"current_reading": number; // 本次读数
"usage_amount": number; // 用量
"loss_amount"?: number; // 损耗
"reading_time": Date; // 抄表时间
"company_employees_id": number; // 抄表人id,[ref:company_employees]
"remark": string; // 备注
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
namespace HouseMeterTaskDetails {
type List = {
"house_meter_task_id"?: number; // 仪表任务id,[ref:house_meter_tasks]
"full_name"?: string; // 房屋全称
"meter_name"?: string; // 仪表名称
};
type Show = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
namespace HouseMeterTasks {
type List = {
"name"?: string; // 模糊搜索:名称
};
type Store = {
"asset_projects_id": number; // 资产项目id,[ref:asset_projects]
"generation_method": string; // 生成方式,[enum:HouseMeterTasksGenerationMethodEnum]
"month": string; // 月份
"start_date": Date; // 收费开始日期
"end_date": Date; // 收费截止日期
"data": string[]; // 任务数据(如果是楼栋则是楼栋ID,如果是单元则是单元ID,如果是仪表则是仪表ID)
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
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]
};
type Store = {
"asset_projects_id": number; // 项目id,[ref:asset_projects]
"charge_standards_id"?: number; // 房屋收费标准id,[ref:house_charge_standards]
"name": string; // 名称
"meter_type": string; // 仪表类型,[enum:HouseMetersMeterTypeEnum]
"usage_type": string; // 使用类型,[enum:HouseMetersUsageTypeEnum]
"multiple"?: number; // 倍率
"status"?: number; // 是否启用:0:禁用,1:启用
"initial_value"?: number; // 初始抄表读数
"initial_time"?: Date; // 初始抄表时间
"latest_value"?: number; // 最新抄表读数
"latest_time"?: Date; // 最新抄表时间
"remark"?: string; // 备注
};
type Update = {
"id": number; // id
"asset_projects_id": number; // 项目id,[ref:asset_projects]
"charge_standards_id"?: number; // 房屋收费标准id,[ref:house_charge_standards]
"name": string; // 名称
"meter_type": string; // 仪表类型,[enum:HouseMetersMeterTypeEnum]
"usage_type": string; // 使用类型,[enum:HouseMetersUsageTypeEnum]
"multiple"?: number; // 倍率
"status"?: number; // 是否启用:0:禁用,1:启用
"initial_value"?: number; // 初始抄表读数
"initial_time"?: Date; // 初始抄表时间
"latest_value"?: number; // 最新抄表读数
"latest_time"?: Date; // 最新抄表时间
"remark"?: string; // 备注
};
type Show = {
"id": number; // id
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
namespace Msg {
namespace MsgPropertyAnnouncements {
type List = {
"title"?: string; // 模糊搜索:标题
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
"project_name"?: string; // 模糊搜索:项目名称
"is_publish"?: number; // 是否发布
};
type Store = {
"asset_projects_id": number; // 项目id,[ref:asset_projects]
"title": string; // 标题
"content": string; // 内容
"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; // 内容
"publish_type": string; // 发布类型,[MsgPropertyAnnouncementsPublishTypeEnum]
"schedule_publish_at"?: Date; // 计划发布时间
"is_publish"?: boolean; // 是否发布
"publish_at"?: Date; // 发布时间
"sort"?: number; // 排序
};
type Show = {
"id": number; // id
};
type IsPublish = {
"id": number; // id
"is_publish": boolean; // 是否发布
};
type SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
namespace Permission {
namespace SysPermissions {
type List = {
"parent_id"?: number; // 上级ID
"guard_name": string; //
};
type Tree = {
"parent_id"?: number; // 上级ID
"guard_name": string; //
};
type Store = {
"name": string; //
"key"?: string; //
"guard_name": string; //
"icon"?: string; // 图标
"type": string; // 类型:SysPermissionsTypeEnum
"backend_apis"?: string[]; // 后台api
"path"?: string; // 路由
"parent_id"?: number; //
};
type Update = {
"id": number; // ID
"name": string; //
"key"?: string; //
"guard_name": string; //
"icon"?: string; // 图标
"type": string; // 类型:SysPermissionsTypeEnum
"backend_apis"?: string[]; // 后台api
"path"?: string; // 路由
"parent_id"?: number; //
};
type Delete = {
"id": number; // ID
};
type Move = {
"id": number; // ID
"type": string; // 类型up 升级down 降级
};
}
namespace SysRoles {
type List = {
"name"?: string; // 模糊搜索:名称
};
type Store = {
"name": string; // 名称
"color"?: string; // 颜色
};
type Update = {
"id": number; // ID
"name": string; // 名称
"color"?: string; // 颜色
};
type Delete = {
"id": number; // ID
};
type GetPermissions = {
"id": number; // ID
};
type SetPermissions = {
"id": number; // ID
"permissions_ids": string[]; // 权限ID
};
}
}
namespace 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]
"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 SoftDelete = {
"id": number; // id
};
type Restore = {
"id": number; // id
};
type Delete = {
"id": number; // id
};
}
}
}