This commit is contained in:
parent
8232c3b7d9
commit
b38bc643bf
609
src/gen/ApiTypes.d.ts
vendored
609
src/gen/ApiTypes.d.ts
vendored
@ -6,6 +6,7 @@ declare namespace ApiTypes {
|
|||||||
"status"?: string; // 状态,[enum:ActivitiesStatusEnum]
|
"status"?: string; // 状态,[enum:ActivitiesStatusEnum]
|
||||||
"publish_status"?: string; // 发布状态,[enum:ActivitiesPublishStatusEnum]
|
"publish_status"?: string; // 发布状态,[enum:ActivitiesPublishStatusEnum]
|
||||||
"asset_projects_id"?: number; // 项目ID,[ref:asset_projects]
|
"asset_projects_id"?: number; // 项目ID,[ref:asset_projects]
|
||||||
|
"project_name"?: string; // 项目名称
|
||||||
};
|
};
|
||||||
type Store = {
|
type Store = {
|
||||||
"title": string; // 活动标题
|
"title": string; // 活动标题
|
||||||
@ -62,6 +63,97 @@ declare namespace ApiTypes {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
namespace Approval {
|
||||||
|
namespace ApprovalInstances {
|
||||||
|
type PendingList = {
|
||||||
|
"type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum]
|
||||||
|
"applicant_name"?: string; // 申请人姓名
|
||||||
|
"asset_projects_id"?: number; // 所属项目id
|
||||||
|
"status"?: string; // 状态,[enum:ApprovalRecordsStatusEnum]
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // 审批实例id
|
||||||
|
};
|
||||||
|
type Approve = {
|
||||||
|
"record_id": number; // 审批记录id
|
||||||
|
"status": string; // 审批结果,[enum:ApprovalRecordsStatusEnum]
|
||||||
|
"opinion"?: string; // 审批意见
|
||||||
|
};
|
||||||
|
type Cancel = {
|
||||||
|
"id": number; // 审批实例id
|
||||||
|
};
|
||||||
|
type Transfer = {
|
||||||
|
"record_id": number; // 审批记录id
|
||||||
|
"to_employee_id": number; // 接收人id,[ref:company_employees]
|
||||||
|
"opinion"?: string; // 转交理由
|
||||||
|
};
|
||||||
|
type List = {
|
||||||
|
"companies_id"?: number; // 机构ID
|
||||||
|
"type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum]
|
||||||
|
"status"?: string; // 状态,[enum:ApprovalInstancesStatusEnum]
|
||||||
|
"applicant_name"?: string; // 申请人姓名
|
||||||
|
"asset_projects_id"?: number; // 所属项目id
|
||||||
|
};
|
||||||
|
type ProcessedList = {
|
||||||
|
"type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum]
|
||||||
|
"status"?: string; // 审批结果,[enum:ApprovalRecordsStatusEnum]
|
||||||
|
"asset_projects_id"?: number; // 所属项目id
|
||||||
|
};
|
||||||
|
type CcList = {
|
||||||
|
"type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum]
|
||||||
|
"asset_projects_id"?: number; // 所属项目id
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace ApprovalTemplates {
|
||||||
|
type List = {
|
||||||
|
"companies_id"?: number; // 机构ID
|
||||||
|
"name"?: string; // 模糊搜索:名称
|
||||||
|
"type"?: string; // 业务类型,[enum:ApprovalTemplatesTypeEnum]
|
||||||
|
"is_enabled"?: boolean; // 是否启用
|
||||||
|
"asset_projects_id"?: number; // 所属项目id
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"companies_id": number; // 机构ID
|
||||||
|
"name": string; // 模板名称
|
||||||
|
"code": string; // 模板编码
|
||||||
|
"type": string; // 业务类型,[enum:ApprovalTemplatesTypeEnum]
|
||||||
|
"description"?: string; // 模板描述
|
||||||
|
"is_enabled"?: boolean; // 是否启用
|
||||||
|
"asset_projects_id"?: number; // 所属项目id
|
||||||
|
"nodes": string[]; // 审批节点列表
|
||||||
|
};
|
||||||
|
type Update = {
|
||||||
|
"id": number; // id
|
||||||
|
"name": string; // 模板名称
|
||||||
|
"code": string; // 模板编码
|
||||||
|
"type": string; // 业务类型,[enum:ApprovalTemplatesTypeEnum]
|
||||||
|
"description"?: string; // 模板描述
|
||||||
|
"is_enabled"?: boolean; // 是否启用
|
||||||
|
"asset_projects_id"?: number; // 所属项目id
|
||||||
|
"nodes": string[]; // 审批节点列表
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type SoftDelete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Restore = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type ToggleEnabled = {
|
||||||
|
"id": number; // id
|
||||||
|
"is_enabled": boolean; // 是否启用
|
||||||
|
};
|
||||||
|
type ReplaceApprover = {
|
||||||
|
"from_employee_id": number; // 原审批人ID,[ref:company_employees]
|
||||||
|
"to_employee_id": number; // 新审批人ID,[ref:company_employees]
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
namespace Archive {
|
namespace Archive {
|
||||||
namespace HouseOccupants {
|
namespace HouseOccupants {
|
||||||
type List = {
|
type List = {
|
||||||
@ -215,6 +307,69 @@ declare namespace ApiTypes {
|
|||||||
"keywords"?: string; // 关键词
|
"keywords"?: string; // 关键词
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
namespace AssetCarPorts {
|
||||||
|
type List = {
|
||||||
|
"id"?: number; // 车位id
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
||||||
|
"asset_parking_places_id"?: number; // 所属车场id,[ref:asset_parking_places]
|
||||||
|
"full_name"?: string; // 模糊搜索:名称
|
||||||
|
"project_name"?: string; // 项目名称
|
||||||
|
"parking_place_name"?: string; // 车场名称
|
||||||
|
"status"?: string; // 状态,[enum:AssetCarPortsStatusEnum]
|
||||||
|
"type"?: string; // 车位类型,[enum:AssetCarPortsTypeEnum]
|
||||||
|
"property_type"?: string; // 产权类型,[enum:AssetCarPortsPropertyTypeEnum]
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
||||||
|
"asset_parking_places_id": number; // 所属车场id,[ref:asset_parking_places]
|
||||||
|
"name": string; // 车位名称
|
||||||
|
"full_name": string; // 车位全称
|
||||||
|
"built_area": number; // 建筑面积
|
||||||
|
"status"?: string; // 状态,[enum:AssetCarPortsStatusEnum]
|
||||||
|
"type"?: string; // 车位类型,[enum:AssetCarPortsTypeEnum]
|
||||||
|
"property_type"?: string; // 产权类型,[enum:AssetCarPortsPropertyTypeEnum]
|
||||||
|
"asset_houses_id"?: number; // 关联房屋ID,[ref:asset_houses]
|
||||||
|
"owner_name"?: string; // 业主姓名
|
||||||
|
"owner_phone"?: string; // 业主手机号
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Update = {
|
||||||
|
"id": number; // id
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
||||||
|
"asset_parking_places_id": number; // 所属车场id,[ref:asset_parking_places]
|
||||||
|
"name": string; // 车位名称
|
||||||
|
"full_name": string; // 车位全称
|
||||||
|
"built_area": number; // 建筑面积
|
||||||
|
"status"?: string; // 状态,[enum:AssetCarPortsStatusEnum]
|
||||||
|
"type"?: string; // 车位类型,[enum:AssetCarPortsTypeEnum]
|
||||||
|
"property_type"?: string; // 产权类型,[enum:AssetCarPortsPropertyTypeEnum]
|
||||||
|
"asset_houses_id"?: number; // 关联房屋ID,[ref:asset_houses]
|
||||||
|
"owner_name"?: string; // 业主姓名
|
||||||
|
"owner_phone"?: string; // 业主手机号
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type SoftDelete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Restore = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Select = {
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
||||||
|
"asset_parking_places_id"?: number; // 所属车场id,[ref:asset_parking_places]
|
||||||
|
"keywords"?: string; // 关键词
|
||||||
|
};
|
||||||
|
}
|
||||||
namespace AssetHouses {
|
namespace AssetHouses {
|
||||||
type List = {
|
type List = {
|
||||||
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
||||||
@ -280,6 +435,12 @@ declare namespace ApiTypes {
|
|||||||
"asset_units_id"?: number; // 所属单元id,[ref:asset_units]
|
"asset_units_id"?: number; // 所属单元id,[ref:asset_units]
|
||||||
"keywords"?: string; // 关键词
|
"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 = {
|
type Import = {
|
||||||
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
||||||
"upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件
|
"upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件
|
||||||
@ -294,10 +455,97 @@ declare namespace ApiTypes {
|
|||||||
"download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录
|
"download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
namespace AssetParkingPlaces {
|
||||||
|
type List = {
|
||||||
|
"id"?: number; // 车场id
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
||||||
|
"name"?: string; // 模糊搜索:名称
|
||||||
|
"type"?: string; // 车场类型,[enum:AssetParkingPlacesTypeEnum]
|
||||||
|
"property_type"?: string; // 产权类型,[enum:AssetParkingPlacesPropertyTypeEnum]
|
||||||
|
"location_type"?: string; // 位置类型,[enum:AssetParkingPlacesLocationTypeEnum]
|
||||||
|
"charge_type"?: string; // 收费类型,[enum:AssetParkingPlacesChargeTypeEnum]
|
||||||
|
"project_name"?: string; // 模糊搜索:所属项目名称
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
||||||
|
"name": string; // 车场名称
|
||||||
|
"type"?: string; // 车场类型,[enum:AssetParkingPlacesTypeEnum]
|
||||||
|
"export_numbers"?: number; // 出口数量
|
||||||
|
"import_numbers"?: number; // 入口数量
|
||||||
|
"total_spaces"?: number; // 总车位数
|
||||||
|
"property_type"?: string; // 产权类型,[enum:AssetParkingPlacesPropertyTypeEnum]
|
||||||
|
"location_type"?: string; // 位置类型,[enum:AssetParkingPlacesLocationTypeEnum]
|
||||||
|
"charge_type"?: string; // 收费类型,[enum:AssetParkingPlacesChargeTypeEnum]
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Update = {
|
||||||
|
"id": number; // id
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id": number; // 所属项目id,[ref:asset_projects]
|
||||||
|
"name": string; // 车场名称
|
||||||
|
"type"?: string; // 车场类型,[enum:AssetParkingPlacesTypeEnum]
|
||||||
|
"export_numbers"?: number; // 出口数量
|
||||||
|
"import_numbers"?: number; // 入口数量
|
||||||
|
"total_spaces"?: number; // 总车位数
|
||||||
|
"property_type"?: string; // 产权类型,[enum:AssetParkingPlacesPropertyTypeEnum]
|
||||||
|
"location_type"?: string; // 位置类型,[enum:AssetParkingPlacesLocationTypeEnum]
|
||||||
|
"charge_type"?: string; // 收费类型,[enum:AssetParkingPlacesChargeTypeEnum]
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type SoftDelete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Restore = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Select = {
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"asset_projects_id"?: number; // 所属项目id,[ref:asset_projects]
|
||||||
|
"keywords"?: string; // 关键词
|
||||||
|
};
|
||||||
|
}
|
||||||
|
namespace AssetProjectAdmins {
|
||||||
|
type List = {
|
||||||
|
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
||||||
|
"company_employees_id"?: number; // 员工id,[ref:company_employees]
|
||||||
|
"project_name"?: string; // 模糊搜索:名称
|
||||||
|
"employee_name"?: string; // 模糊搜索:员工名称
|
||||||
|
"companies_id"?: number; // 公司ID
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"asset_projects_id": number; // 项目id,[ref:asset_projects]
|
||||||
|
"company_employees_id": number; // 员工id,[ref:company_employees]
|
||||||
|
"type": string; // 类型,[enum:HouseWorkOrdersTypeEnum]
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
}
|
||||||
namespace AssetProjects {
|
namespace AssetProjects {
|
||||||
type List = {
|
type List = {
|
||||||
|
"id"?: number; // id
|
||||||
"companies_id"?: number; // 所属机构id,[ref:companies]
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
||||||
"name"?: string; // 模糊搜索:名称
|
"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 = {
|
type Store = {
|
||||||
"name": string; // 项目名称
|
"name": string; // 项目名称
|
||||||
@ -319,8 +567,25 @@ declare namespace ApiTypes {
|
|||||||
"status"?: string; // 状态,[enum:AssetProjectsStatusEnum]
|
"status"?: string; // 状态,[enum:AssetProjectsStatusEnum]
|
||||||
"entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum]
|
"entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum]
|
||||||
"charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum]
|
"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; // 接管日期
|
"takeover_date"?: Date; // 接管日期
|
||||||
|
"exit_date"?: Date; // 退场日期
|
||||||
"closure_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]
|
"company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands]
|
||||||
};
|
};
|
||||||
type Update = {
|
type Update = {
|
||||||
@ -344,8 +609,25 @@ declare namespace ApiTypes {
|
|||||||
"status"?: string; // 状态,[enum:AssetProjectsStatusEnum]
|
"status"?: string; // 状态,[enum:AssetProjectsStatusEnum]
|
||||||
"entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum]
|
"entrust_type"?: string; // 委托类型,[enum:AssetProjectsEntrustTypeEnum]
|
||||||
"charge"?: string; // 收费方式,[enum:AssetProjectsChargeEnum]
|
"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; // 接管日期
|
"takeover_date"?: Date; // 接管日期
|
||||||
|
"exit_date"?: Date; // 退场日期
|
||||||
"closure_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]
|
"company_property_brands_id"?: number; // 物业品牌id,[ref:company_property_brands]
|
||||||
};
|
};
|
||||||
type BindCompany = {
|
type BindCompany = {
|
||||||
@ -495,10 +777,21 @@ declare namespace ApiTypes {
|
|||||||
"full_name"?: string; // 模糊搜索:房屋名称
|
"full_name"?: string; // 模糊搜索:房屋名称
|
||||||
"company_name"?: string; // 模糊搜索:公司名称
|
"company_name"?: string; // 模糊搜索:公司名称
|
||||||
"bill_status"?: string[]; // 账单状态,[enum:HouseBillsBillStatusEnum]
|
"bill_status"?: string[]; // 账单状态,[enum:HouseBillsBillStatusEnum]
|
||||||
|
"asset_projects_id"?: number; // 资产项目id,[ref:asset_projects]
|
||||||
|
"companies_id"?: number; // 机构ID
|
||||||
|
"project_name"?: string; // 模糊搜索:项目名称
|
||||||
|
"year"?: number; // 账单年份
|
||||||
|
"month"?: number; // 账单月份
|
||||||
|
"type"?: string; // 账单类型,[enum:HouseBillsTypeEnum]
|
||||||
};
|
};
|
||||||
type SummaryBillList = {
|
type SummaryBillList = {
|
||||||
"full_name"?: string; // 模糊搜索:房屋名称
|
"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]
|
"asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses]
|
||||||
|
"full_name"?: string; // 模糊搜索:房屋名称
|
||||||
|
"has_overdue"?: boolean; // 是否欠费:true-欠费, false-清欠
|
||||||
};
|
};
|
||||||
type Store = {
|
type Store = {
|
||||||
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
|
"asset_houses_id": number; // 资产房屋id,[ref:asset_houses]
|
||||||
@ -546,6 +839,19 @@ declare namespace ApiTypes {
|
|||||||
type Import = {
|
type Import = {
|
||||||
"upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件
|
"upload_file"?: mimes:xlsx,xls; // 上传的时候必填文件
|
||||||
};
|
};
|
||||||
|
type Export = {
|
||||||
|
"asset_houses_id"?: number; // 资产房屋id,[ref:asset_houses]
|
||||||
|
"full_name"?: string; // 模糊搜索:房屋名称
|
||||||
|
"company_name"?: string; // 模糊搜索:公司名称
|
||||||
|
"bill_status"?: string[]; // 账单状态,[enum:HouseBillsBillStatusEnum]
|
||||||
|
"asset_projects_id"?: number; // 资产项目id,[ref:asset_projects]
|
||||||
|
"project_name"?: string; // 模糊搜索:项目名称
|
||||||
|
"year"?: number; // 账单年份
|
||||||
|
"month"?: number; // 账单月份
|
||||||
|
"type"?: string; // 账单类型,[enum:HouseBillsTypeEnum]
|
||||||
|
"current"?: number; // 页码
|
||||||
|
"download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
namespace Collcetion {
|
namespace Collcetion {
|
||||||
@ -832,6 +1138,10 @@ declare namespace ApiTypes {
|
|||||||
"remark"?: string; // 备注
|
"remark"?: string; // 备注
|
||||||
"is_company_admin"?: boolean; // 是否机构管理员
|
"is_company_admin"?: boolean; // 是否机构管理员
|
||||||
};
|
};
|
||||||
|
type ResetPassword = {
|
||||||
|
"id": number; // id
|
||||||
|
"password": string; // 密码[hidden]
|
||||||
|
};
|
||||||
type Show = {
|
type Show = {
|
||||||
"id": number; // id
|
"id": number; // id
|
||||||
};
|
};
|
||||||
@ -852,6 +1162,15 @@ declare namespace ApiTypes {
|
|||||||
type Import = {
|
type Import = {
|
||||||
"upload_file": mimes:xlsx,xls; // 上传文件
|
"upload_file": mimes:xlsx,xls; // 上传文件
|
||||||
};
|
};
|
||||||
|
type Export = {
|
||||||
|
"companies_id"?: number; // 机构ID
|
||||||
|
"organizations_id"?: number; // 组织机构ID
|
||||||
|
"organization_name"?: string; // 组织机构名称
|
||||||
|
"name"?: string; // 模糊搜索:名称
|
||||||
|
"phone"?: string; // 模糊搜索:手机号
|
||||||
|
"download_type"?: string; // 下载类型:all-全部,page-当前页
|
||||||
|
"current"?: number; // 当前页偏移量
|
||||||
|
};
|
||||||
}
|
}
|
||||||
namespace CompanyPermissions {
|
namespace CompanyPermissions {
|
||||||
type GetPermissions = {
|
type GetPermissions = {
|
||||||
@ -957,7 +1276,7 @@ declare namespace ApiTypes {
|
|||||||
}
|
}
|
||||||
namespace CompanyQuickActions {
|
namespace CompanyQuickActions {
|
||||||
type List = {
|
type List = {
|
||||||
"name"?: string; // 模糊搜索:名称
|
"companies_id": number; // 机构IDid,[ref:companies]
|
||||||
};
|
};
|
||||||
type Store = {
|
type Store = {
|
||||||
"companies_id": number; // 机构IDid,[ref:companies]
|
"companies_id": number; // 机构IDid,[ref:companies]
|
||||||
@ -1023,6 +1342,35 @@ declare namespace ApiTypes {
|
|||||||
"companies_id"?: number; // 所属机构id,[ref:companies]
|
"companies_id"?: number; // 所属机构id,[ref:companies]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
namespace OrganizationProjects {
|
||||||
|
type List = {
|
||||||
|
"companies_id"?: number; // 机构id,[ref:companies]
|
||||||
|
"organizations_id"?: number; // 组织id,[ref:organizations]
|
||||||
|
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
||||||
|
"organization_name"?: string; // 模糊搜索:组织名称
|
||||||
|
"project_name"?: string; // 模糊搜索:项目名称
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"companies_id": number; // 机构id,[ref:companies]
|
||||||
|
"organizations_id": number; // 组织id,[ref:organizations]
|
||||||
|
"asset_projects_id": number; // 项目id,[ref:asset_projects]
|
||||||
|
};
|
||||||
|
type BatchStore = {
|
||||||
|
"companies_id": number; // 机构id,[ref:companies]
|
||||||
|
"organizations_id": number; // 组织id,[ref:organizations]
|
||||||
|
"asset_projects_ids": string[]; // 项目id列表,[ref:asset_projects]
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type DeleteByOrganization = {
|
||||||
|
"companies_id": number; // 机构id,[ref:companies]
|
||||||
|
"organizations_id": number; // 组织id,[ref:organizations]
|
||||||
|
};
|
||||||
|
}
|
||||||
namespace Organizations {
|
namespace Organizations {
|
||||||
type List = {
|
type List = {
|
||||||
"name"?: string; // 模糊搜索:名称
|
"name"?: string; // 模糊搜索:名称
|
||||||
@ -1198,6 +1546,61 @@ declare namespace ApiTypes {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
namespace GoodsReleases {
|
||||||
|
namespace GoodsReleases {
|
||||||
|
type List = {
|
||||||
|
"code"?: string; // 放行码
|
||||||
|
"apply_name"?: string; // 申请人姓名
|
||||||
|
"apply_phone"?: string; // 申请人电话
|
||||||
|
"status"?: string; // 状态,[enum:GoodsReleasesStatusEnum]
|
||||||
|
"passed_type"?: string; // 通行类型,[enum:GoodsReleasesPassedTypeEnum]
|
||||||
|
"asset_projects_id"?: number; // 所属项目
|
||||||
|
"asset_houses_id"?: number; // 房屋
|
||||||
|
"companies_id"?: number; // 所属机构
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"asset_houses_id": number; // 访问房屋
|
||||||
|
"apply_name": string; // 申请人姓名
|
||||||
|
"apply_phone": string; // 申请人电话
|
||||||
|
"passed_type": string; // 通行类型,[enum:GoodsReleasesPassedTypeEnum]
|
||||||
|
"goods": string[]; // 放行物品信息
|
||||||
|
"passed_time": Date; // 通行时间
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Update = {
|
||||||
|
"id": number; // id
|
||||||
|
"apply_name"?: string; // 申请人姓名
|
||||||
|
"apply_phone"?: string; // 申请人电话
|
||||||
|
"passed_type"?: string; // 通行类型,[enum:GoodsReleasesPassedTypeEnum]
|
||||||
|
"goods"?: string[]; // 放行物品信息
|
||||||
|
"passed_time"?: Date; // 通行时间
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type SoftDelete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Restore = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type ApproveByEmployee = {
|
||||||
|
"id": number; // id
|
||||||
|
"status": string; // 审核状态(Approved/Rejected)
|
||||||
|
"reason"?: string; // 驳回原因
|
||||||
|
};
|
||||||
|
type Release = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type ScanRelease = {
|
||||||
|
"code": string; // 放行码
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
namespace Grids {
|
namespace Grids {
|
||||||
type List = {
|
type List = {
|
||||||
@ -1233,6 +1636,24 @@ declare namespace ApiTypes {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
namespace HouseCharage {
|
namespace HouseCharage {
|
||||||
|
namespace HouseChargeHasCarPorts {
|
||||||
|
type List = {
|
||||||
|
"house_charge_standards_id": number; // 收费标准id,[ref:house_charge_standards]
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"house_charge_standards_id": number; // 收费标准id,[ref:house_charge_standards]
|
||||||
|
"car_ports_ids": string[]; // 车位id数组
|
||||||
|
};
|
||||||
|
type GetChargeStandardCarPortIds = {
|
||||||
|
"house_charge_standards_id": number; // 收费标准id,[ref:house_charge_standards]
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
}
|
||||||
namespace HouseChargeHasHouses {
|
namespace HouseChargeHasHouses {
|
||||||
type List = {
|
type List = {
|
||||||
"house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards]
|
"house_charge_standards_id": number; // 房屋收费标准id,[ref:house_charge_standards]
|
||||||
@ -1386,6 +1807,7 @@ declare namespace ApiTypes {
|
|||||||
"payment_no"?: string; // 模糊搜索:支付单号
|
"payment_no"?: string; // 模糊搜索:支付单号
|
||||||
"transaction_id"?: string; // 模糊搜索:交易号(微信、支付宝的单号
|
"transaction_id"?: string; // 模糊搜索:交易号(微信、支付宝的单号
|
||||||
"third_trade_no"?: string; // 第三方交易号(如通联、乐刷)
|
"third_trade_no"?: string; // 第三方交易号(如通联、乐刷)
|
||||||
|
"accept_serial_number"?: string; // 模糊搜索:流水号
|
||||||
};
|
};
|
||||||
type Show = {
|
type Show = {
|
||||||
"id": number; // id
|
"id": number; // id
|
||||||
@ -1435,10 +1857,61 @@ declare namespace ApiTypes {
|
|||||||
namespace HouseOrders {
|
namespace HouseOrders {
|
||||||
type List = {
|
type List = {
|
||||||
"id"?: number; // id
|
"id"?: number; // id
|
||||||
"order_code"?: string; // 模糊搜索:名称
|
"order_code"?: string; // 模糊搜索:订单编号
|
||||||
"payment_no"?: string; // 支付编号
|
"payment_no"?: string; // 支付编号
|
||||||
"companies_id"?: number; // 机构ID
|
"companies_id"?: number; // 机构ID
|
||||||
"full_name"?: string; // 模糊搜索:房屋名称
|
"full_name"?: string; // 模糊搜索:房屋名称
|
||||||
|
"creator"?: string; // 创建人
|
||||||
|
"creator_phone"?: string; // 创建人电话
|
||||||
|
"audit_status"?: string; // 审核状态,[enum:HouseOrdersAuditStatusEnum]
|
||||||
|
"auditor"?: string; // 审核人
|
||||||
|
"auditor_phone"?: string; // 审核人电话
|
||||||
|
"is_serial_number"?: boolean; // 是否有流水号
|
||||||
|
"accept_name"?: string; // 收款账户名称
|
||||||
|
"accept_bank"?: string; // 收款银行名称
|
||||||
|
"accept_account"?: string; // 收款账户
|
||||||
|
"accept_serial_number"?: string; // 收款流水号
|
||||||
|
"asset_projects_id"?: number; // 项目ID
|
||||||
|
"payment_method"?: string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum]
|
||||||
|
"payment_methods"?: string[]; // 支付方式,[enum:HouseOrdersPaymentMethodEnum]
|
||||||
|
"paid_time"?: string[]; // 支付时间范围
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum]
|
||||||
|
"total_paid_amount": number; // 支付金额
|
||||||
|
"paid_time": Date; // 支付时间
|
||||||
|
"accept_name"?: string; // 收款账户名称
|
||||||
|
"accept_bank"?: string; // 收款银行名称
|
||||||
|
"accept_account"?: string; // 收款账户
|
||||||
|
"accept_serial_number"?: string; // 收款流水号
|
||||||
|
"fee"?: number; // 手续费
|
||||||
|
"bill_ids": string[]; // 账单数组 [{id, amount}]
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Update = {
|
||||||
|
"id": number; // 订单ID
|
||||||
|
"payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum]
|
||||||
|
"total_paid_amount": number; // 支付金额
|
||||||
|
"paid_time": Date; // 支付时间
|
||||||
|
"accept_name"?: string; // 收款账户名称
|
||||||
|
"accept_bank"?: string; // 收款银行名称
|
||||||
|
"accept_account"?: string; // 收款账户
|
||||||
|
"accept_serial_number"?: string; // 收款流水号
|
||||||
|
"fee"?: number; // 手续费
|
||||||
|
"bill_ids": string[]; // 账单数组 [{id, amount}]
|
||||||
|
"remark"?: string; // 备注
|
||||||
|
};
|
||||||
|
type Audit = {
|
||||||
|
"id": number; // id
|
||||||
|
"audit_status": string; // 状态,[enum:HouseOrdersAuditStatusEnum]
|
||||||
|
"auditor_remark"?: string; // 审核备注
|
||||||
|
"payment_method": string; // 支付方式,[enum:HouseOrdersPaymentMethodEnum]
|
||||||
|
"paid_time": Date; // 支付时间
|
||||||
|
"accept_name"?: string; // 收款账户名称
|
||||||
|
"accept_bank"?: string; // 收款银行名称
|
||||||
|
"accept_account"?: string; // 收款账户
|
||||||
|
"accept_serial_number"?: string; // 收款流水号
|
||||||
|
"fee"?: number; // 手续费
|
||||||
};
|
};
|
||||||
type Show = {
|
type Show = {
|
||||||
"id": number; // id
|
"id": number; // id
|
||||||
@ -1452,6 +1925,39 @@ declare namespace ApiTypes {
|
|||||||
type Delete = {
|
type Delete = {
|
||||||
"id": number; // id
|
"id": number; // id
|
||||||
};
|
};
|
||||||
|
type Export = {
|
||||||
|
"id"?: number; // id
|
||||||
|
"order_code"?: string; // 模糊搜索:名称
|
||||||
|
"payment_no"?: string; // 支付编号
|
||||||
|
"companies_id"?: number; // 机构ID
|
||||||
|
"full_name"?: string; // 模糊搜索:房屋名称
|
||||||
|
"creator"?: string; // 创建人
|
||||||
|
"creator_phone"?: string; // 创建人电话
|
||||||
|
"audit_status"?: string; // 审核状态,[enum:HouseOrdersAuditStatusEnum]
|
||||||
|
"auditor"?: string; // 审核人
|
||||||
|
"auditor_phone"?: string; // 审核人电话
|
||||||
|
"is_serial_number"?: boolean; // 是否有流水号
|
||||||
|
"current"?: number; // 页码
|
||||||
|
"download_type": string; // 下载类型:page 当前页(含查询条件),query 所有页(含查询条件),all所有记录
|
||||||
|
};
|
||||||
|
type UpdateSerialNumber = {
|
||||||
|
"id": number; // id
|
||||||
|
"serial_number": string; // 流水号
|
||||||
|
};
|
||||||
|
type BatchUpdateSerialNumber = {
|
||||||
|
"ids": string[]; // 订单ID数组
|
||||||
|
"serial_number": string; // 流水号
|
||||||
|
};
|
||||||
|
type ImportSerialNumber = {
|
||||||
|
"upload_file": mimes:xlsx,xls; // 上传文件
|
||||||
|
};
|
||||||
|
type GetPayCode = {
|
||||||
|
"amount": number; // 金额
|
||||||
|
"discount_amount"?: number; // 优惠金额
|
||||||
|
"late_fee"?: number; // 滞纳金
|
||||||
|
"total_payable_amount": number; // 应付金额
|
||||||
|
"bill_ids": string[]; // 账单id
|
||||||
|
};
|
||||||
}
|
}
|
||||||
namespace HousePrepaymentLogs {
|
namespace HousePrepaymentLogs {
|
||||||
type List = {
|
type List = {
|
||||||
@ -1704,15 +2210,19 @@ declare namespace ApiTypes {
|
|||||||
namespace Msg {
|
namespace Msg {
|
||||||
namespace MsgPropertyAnnouncements {
|
namespace MsgPropertyAnnouncements {
|
||||||
type List = {
|
type List = {
|
||||||
|
"id"?: number; // 公告id
|
||||||
"title"?: string; // 模糊搜索:标题
|
"title"?: string; // 模糊搜索:标题
|
||||||
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
"asset_projects_id"?: number; // 项目id,[ref:asset_projects]
|
||||||
"project_name"?: string; // 模糊搜索:项目名称
|
"project_name"?: string; // 模糊搜索:项目名称
|
||||||
"is_publish"?: number; // 是否发布
|
"is_publish"?: number; // 是否发布
|
||||||
|
"object"?: string; // 接收对象,[enum:MsgPropertyAnnouncementsObjectEnum]
|
||||||
|
"publish_at"?: string[]; // 发布时间, 格式:[
|
||||||
};
|
};
|
||||||
type Store = {
|
type Store = {
|
||||||
"asset_projects_id": number; // 项目id,[ref:asset_projects]
|
"asset_projects_id": number; // 项目id,[ref:asset_projects]
|
||||||
"title": string; // 标题
|
"title": string; // 标题
|
||||||
"content": string; // 内容
|
"content": string; // 内容
|
||||||
|
"object": string; // 接收对象,[enum:MsgPropertyAnnouncementsObjectEnum]
|
||||||
"publish_type": string; // 发布类型,[MsgPropertyAnnouncementsPublishTypeEnum]
|
"publish_type": string; // 发布类型,[MsgPropertyAnnouncementsPublishTypeEnum]
|
||||||
"schedule_publish_at"?: Date; // 计划发布时间
|
"schedule_publish_at"?: Date; // 计划发布时间
|
||||||
"is_publish"?: boolean; // 是否发布
|
"is_publish"?: boolean; // 是否发布
|
||||||
@ -1724,6 +2234,7 @@ declare namespace ApiTypes {
|
|||||||
"asset_projects_id": number; // 项目id,[ref:asset_projects]
|
"asset_projects_id": number; // 项目id,[ref:asset_projects]
|
||||||
"title": string; // 标题
|
"title": string; // 标题
|
||||||
"content": string; // 内容
|
"content": string; // 内容
|
||||||
|
"object": string; // 接收对象,[enum:MsgPropertyAnnouncementsObjectEnum]
|
||||||
"publish_type": string; // 发布类型,[MsgPropertyAnnouncementsPublishTypeEnum]
|
"publish_type": string; // 发布类型,[MsgPropertyAnnouncementsPublishTypeEnum]
|
||||||
"schedule_publish_at"?: Date; // 计划发布时间
|
"schedule_publish_at"?: Date; // 计划发布时间
|
||||||
"is_publish"?: boolean; // 是否发布
|
"is_publish"?: boolean; // 是否发布
|
||||||
@ -1812,6 +2323,91 @@ declare namespace ApiTypes {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
namespace Refund {
|
||||||
|
namespace Refunds {
|
||||||
|
type List = {
|
||||||
|
"type"?: string; // 退款类型,[enum:RefundsTypeEnum]
|
||||||
|
"business_id"?: number; // 业务ID(配合type使用)
|
||||||
|
"refund_status"?: string; // 退款状态,[enum:RefundsStatusEnum]
|
||||||
|
"applicant_name"?: string; // 申请人姓名
|
||||||
|
"asset_projects_id"?: number; // 项目ID
|
||||||
|
"apply_time"?: string[]; // 申请时间范围
|
||||||
|
"asset_houses_id"?: number; // 房屋ID
|
||||||
|
"companies_id"?: number; // 机构ID
|
||||||
|
};
|
||||||
|
type Store = {
|
||||||
|
"type": string; // 退款类型,[enum:RefundsTypeEnum]
|
||||||
|
"business_id"?: number; // 业务ID(根据type对应不同表)
|
||||||
|
"refund_amount": number; // 退款金额(单位元)
|
||||||
|
"company_receipt_accounts_id": number; // 出款账户id
|
||||||
|
"payee_name"?: string; // 收款人姓名
|
||||||
|
"payee_bank"?: string; // 收款银行
|
||||||
|
"payee_account"?: string; // 收款账号
|
||||||
|
"reason"?: string; // 退款原因
|
||||||
|
"asset_projects_id"?: number; // 项目ID
|
||||||
|
"companies_id": number; // 机构ID
|
||||||
|
"approval_templates_id"?: number; // 审批模板ID
|
||||||
|
"node_approvers"?: string[]; // 各节点审批人员列表
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Complete = {
|
||||||
|
"id": number; // id
|
||||||
|
"serial_number"?: string; // 退款流水号
|
||||||
|
"refund_time"?: Date; // 退款时间
|
||||||
|
"voucher"?: string[]; // 退款凭证
|
||||||
|
};
|
||||||
|
type Cancel = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type SoftDelete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Restore = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
namespace Visitor {
|
||||||
|
namespace VisitorApplies {
|
||||||
|
type List = {
|
||||||
|
"status"?: string; // 审核状态,[enum:VisitorAppliesStatusEnum]
|
||||||
|
"visit_start_time"?: Date; // 预计到访时间
|
||||||
|
"visitor_name"?: string; // 模糊搜索:访客姓名
|
||||||
|
"visitor_phone"?: string; // 模糊搜索:访客电话
|
||||||
|
"host_phone"?: string; // 模糊搜索:被访人电话
|
||||||
|
"asset_projects_id"?: number; // 项目ID
|
||||||
|
"companies_id"?: number; // 机构ID
|
||||||
|
};
|
||||||
|
type Show = {
|
||||||
|
"id": number; // 申请id
|
||||||
|
};
|
||||||
|
type Approve = {
|
||||||
|
"id": number; // 访客申请id
|
||||||
|
};
|
||||||
|
type Reject = {
|
||||||
|
"id": number; // 访客申请id
|
||||||
|
"remark": string; // 驳回原因
|
||||||
|
};
|
||||||
|
type Scan = {
|
||||||
|
"code": string; // 通行码
|
||||||
|
"scan_type": string; // 扫码类型:进入/离开,[enum:VisitorScanTypeEnum]
|
||||||
|
};
|
||||||
|
type SoftDelete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Restore = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
type Delete = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
namespace WorkOrder {
|
namespace WorkOrder {
|
||||||
namespace HouseWorkLogs {
|
namespace HouseWorkLogs {
|
||||||
type List = {
|
type List = {
|
||||||
@ -1822,6 +2418,10 @@ declare namespace ApiTypes {
|
|||||||
"status": string; // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
"status": string; // 工单状态,[enum:HouseWorkOrdersStatusEnum]
|
||||||
"description"?: string; // 进度描述
|
"description"?: string; // 进度描述
|
||||||
"attachments"?: string[]; // 附件
|
"attachments"?: string[]; // 附件
|
||||||
|
"is_fee"?: boolean; // 是否产生费用
|
||||||
|
"amount"?: number; // 金额(单位元)
|
||||||
|
"company_project_receipt_accounts_id"?: number; // 收款账户id,[ref:company_project_receipt_accounts]
|
||||||
|
"is_passed"?: boolean; // 装修验收:0-不合格,1-合格
|
||||||
};
|
};
|
||||||
type Show = {
|
type Show = {
|
||||||
"id": number; // id
|
"id": number; // id
|
||||||
@ -1941,6 +2541,9 @@ declare namespace ApiTypes {
|
|||||||
"visited_remark"?: string; // 访问说明
|
"visited_remark"?: string; // 访问说明
|
||||||
"visited_attachment"?: string[]; // 访问附件
|
"visited_attachment"?: string[]; // 访问附件
|
||||||
};
|
};
|
||||||
|
type Closed = {
|
||||||
|
"id": number; // id
|
||||||
|
};
|
||||||
type SoftDelete = {
|
type SoftDelete = {
|
||||||
"id": number; // id
|
"id": number; // id
|
||||||
};
|
};
|
||||||
|
|||||||
300
src/gen/Apis.ts
300
src/gen/Apis.ts
@ -41,6 +41,69 @@ export const Apis = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Approval: {
|
||||||
|
ApprovalInstances: {
|
||||||
|
PendingList(data?: ApiTypes.Approval.ApprovalInstances.PendingList): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/pending_list', { data });
|
||||||
|
},
|
||||||
|
PendingCount(): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/pending_count', {});
|
||||||
|
},
|
||||||
|
MyApplyList(): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/my_apply_list', {});
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Approval.ApprovalInstances.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/show', { data });
|
||||||
|
},
|
||||||
|
Approve(data: ApiTypes.Approval.ApprovalInstances.Approve): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/approve', { data });
|
||||||
|
},
|
||||||
|
Cancel(data: ApiTypes.Approval.ApprovalInstances.Cancel): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/cancel', { data });
|
||||||
|
},
|
||||||
|
Transfer(data: ApiTypes.Approval.ApprovalInstances.Transfer): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/transfer', { data });
|
||||||
|
},
|
||||||
|
List(data?: ApiTypes.Approval.ApprovalInstances.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/list', { data });
|
||||||
|
},
|
||||||
|
ProcessedList(data?: ApiTypes.Approval.ApprovalInstances.ProcessedList): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/processed_list', { data });
|
||||||
|
},
|
||||||
|
CcList(data?: ApiTypes.Approval.ApprovalInstances.CcList): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_instances/cc_list', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
ApprovalTemplates: {
|
||||||
|
List(data?: ApiTypes.Approval.ApprovalTemplates.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.Approval.ApprovalTemplates.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/store', { data });
|
||||||
|
},
|
||||||
|
Update(data: ApiTypes.Approval.ApprovalTemplates.Update): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/update', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Approval.ApprovalTemplates.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/show', { data });
|
||||||
|
},
|
||||||
|
SoftDelete(data: ApiTypes.Approval.ApprovalTemplates.SoftDelete): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/soft_delete', { data });
|
||||||
|
},
|
||||||
|
Restore(data: ApiTypes.Approval.ApprovalTemplates.Restore): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/restore', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.Approval.ApprovalTemplates.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/delete', { data });
|
||||||
|
},
|
||||||
|
ToggleEnabled(data: ApiTypes.Approval.ApprovalTemplates.ToggleEnabled): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/toggle_enabled', { data });
|
||||||
|
},
|
||||||
|
ReplaceApprover(data: ApiTypes.Approval.ApprovalTemplates.ReplaceApprover): Promise<MyResponseType> {
|
||||||
|
return request('admin/approval/approval_templates/replace_approver', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
Archive: {
|
Archive: {
|
||||||
HouseOccupants: {
|
HouseOccupants: {
|
||||||
List(data?: ApiTypes.Archive.HouseOccupants.List): Promise<MyResponseType> {
|
List(data?: ApiTypes.Archive.HouseOccupants.List): Promise<MyResponseType> {
|
||||||
@ -131,6 +194,32 @@ export const Apis = {
|
|||||||
return request('admin/asset/asset_buildings/select', { data });
|
return request('admin/asset/asset_buildings/select', { data });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
AssetCarPorts: {
|
||||||
|
List(data?: ApiTypes.Asset.AssetCarPorts.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.Asset.AssetCarPorts.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/store', { data });
|
||||||
|
},
|
||||||
|
Update(data: ApiTypes.Asset.AssetCarPorts.Update): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/update', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Asset.AssetCarPorts.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/show', { data });
|
||||||
|
},
|
||||||
|
SoftDelete(data: ApiTypes.Asset.AssetCarPorts.SoftDelete): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/soft_delete', { data });
|
||||||
|
},
|
||||||
|
Restore(data: ApiTypes.Asset.AssetCarPorts.Restore): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/restore', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.Asset.AssetCarPorts.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/delete', { data });
|
||||||
|
},
|
||||||
|
Select(data?: ApiTypes.Asset.AssetCarPorts.Select): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_car_ports/select', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
AssetHouses: {
|
AssetHouses: {
|
||||||
List(data?: ApiTypes.Asset.AssetHouses.List): Promise<MyResponseType> {
|
List(data?: ApiTypes.Asset.AssetHouses.List): Promise<MyResponseType> {
|
||||||
return request('admin/asset/asset_houses/list', { data });
|
return request('admin/asset/asset_houses/list', { data });
|
||||||
@ -150,6 +239,9 @@ export const Apis = {
|
|||||||
Select(data?: ApiTypes.Asset.AssetHouses.Select): Promise<MyResponseType> {
|
Select(data?: ApiTypes.Asset.AssetHouses.Select): Promise<MyResponseType> {
|
||||||
return request('admin/asset/asset_houses/select', { data });
|
return request('admin/asset/asset_houses/select', { data });
|
||||||
},
|
},
|
||||||
|
SelectFullName(data?: ApiTypes.Asset.AssetHouses.SelectFullName): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_houses/select_full_name', { data });
|
||||||
|
},
|
||||||
Import(data?: ApiTypes.Asset.AssetHouses.Import): Promise<MyResponseType> {
|
Import(data?: ApiTypes.Asset.AssetHouses.Import): Promise<MyResponseType> {
|
||||||
return request('admin/asset/asset_houses/import', { data });
|
return request('admin/asset/asset_houses/import', { data });
|
||||||
},
|
},
|
||||||
@ -160,6 +252,46 @@ export const Apis = {
|
|||||||
return request('admin/asset/asset_houses/export', { responseType: 'blob',data });
|
return request('admin/asset/asset_houses/export', { responseType: 'blob',data });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
AssetParkingPlaces: {
|
||||||
|
List(data?: ApiTypes.Asset.AssetParkingPlaces.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.Asset.AssetParkingPlaces.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/store', { data });
|
||||||
|
},
|
||||||
|
Update(data: ApiTypes.Asset.AssetParkingPlaces.Update): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/update', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Asset.AssetParkingPlaces.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/show', { data });
|
||||||
|
},
|
||||||
|
SoftDelete(data: ApiTypes.Asset.AssetParkingPlaces.SoftDelete): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/soft_delete', { data });
|
||||||
|
},
|
||||||
|
Restore(data: ApiTypes.Asset.AssetParkingPlaces.Restore): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/restore', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.Asset.AssetParkingPlaces.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/delete', { data });
|
||||||
|
},
|
||||||
|
Select(data?: ApiTypes.Asset.AssetParkingPlaces.Select): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_parking_places/select', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
AssetProjectAdmins: {
|
||||||
|
List(data?: ApiTypes.Asset.AssetProjectAdmins.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_project_admins/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.Asset.AssetProjectAdmins.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_project_admins/store', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Asset.AssetProjectAdmins.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_project_admins/show', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.Asset.AssetProjectAdmins.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/asset/asset_project_admins/delete', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
AssetProjects: {
|
AssetProjects: {
|
||||||
List(data?: ApiTypes.Asset.AssetProjects.List): Promise<MyResponseType> {
|
List(data?: ApiTypes.Asset.AssetProjects.List): Promise<MyResponseType> {
|
||||||
return request('admin/asset/asset_projects/list', { data });
|
return request('admin/asset/asset_projects/list', { data });
|
||||||
@ -296,6 +428,9 @@ export const Apis = {
|
|||||||
DownloadTemplate(): Promise<MyResponseType> {
|
DownloadTemplate(): Promise<MyResponseType> {
|
||||||
return request('admin/bill/house_bills/download_template', {responseType: 'blob',});
|
return request('admin/bill/house_bills/download_template', {responseType: 'blob',});
|
||||||
},
|
},
|
||||||
|
Export(data: ApiTypes.Bill.HouseBills.Export): Promise<MyResponseType> {
|
||||||
|
return request('admin/bill/house_bills/export', { responseType: 'blob',data });
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Collcetion: {
|
Collcetion: {
|
||||||
@ -481,6 +616,9 @@ export const Apis = {
|
|||||||
Update(data: ApiTypes.Company.CompanyEmployees.Update): Promise<MyResponseType> {
|
Update(data: ApiTypes.Company.CompanyEmployees.Update): Promise<MyResponseType> {
|
||||||
return request('admin/company/company_employees/update', { data });
|
return request('admin/company/company_employees/update', { data });
|
||||||
},
|
},
|
||||||
|
ResetPassword(data: ApiTypes.Company.CompanyEmployees.ResetPassword): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/company_employees/reset_password', { data });
|
||||||
|
},
|
||||||
Show(data: ApiTypes.Company.CompanyEmployees.Show): Promise<MyResponseType> {
|
Show(data: ApiTypes.Company.CompanyEmployees.Show): Promise<MyResponseType> {
|
||||||
return request('admin/company/company_employees/show', { data });
|
return request('admin/company/company_employees/show', { data });
|
||||||
},
|
},
|
||||||
@ -502,6 +640,9 @@ export const Apis = {
|
|||||||
DownloadTemplate(): Promise<MyResponseType> {
|
DownloadTemplate(): Promise<MyResponseType> {
|
||||||
return request('admin/company/company_employees/download_template', {responseType: 'blob',});
|
return request('admin/company/company_employees/download_template', {responseType: 'blob',});
|
||||||
},
|
},
|
||||||
|
Export(data?: ApiTypes.Company.CompanyEmployees.Export): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/company_employees/export', { responseType: 'blob',data });
|
||||||
|
},
|
||||||
},
|
},
|
||||||
CompanyPermissions: {
|
CompanyPermissions: {
|
||||||
GetPermissions(data: ApiTypes.Company.CompanyPermissions.GetPermissions): Promise<MyResponseType> {
|
GetPermissions(data: ApiTypes.Company.CompanyPermissions.GetPermissions): Promise<MyResponseType> {
|
||||||
@ -578,7 +719,7 @@ export const Apis = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
CompanyQuickActions: {
|
CompanyQuickActions: {
|
||||||
List(data?: ApiTypes.Company.CompanyQuickActions.List): Promise<MyResponseType> {
|
List(data: ApiTypes.Company.CompanyQuickActions.List): Promise<MyResponseType> {
|
||||||
return request('admin/company/company_quick_actions/list', { data });
|
return request('admin/company/company_quick_actions/list', { data });
|
||||||
},
|
},
|
||||||
Store(data: ApiTypes.Company.CompanyQuickActions.Store): Promise<MyResponseType> {
|
Store(data: ApiTypes.Company.CompanyQuickActions.Store): Promise<MyResponseType> {
|
||||||
@ -623,6 +764,26 @@ export const Apis = {
|
|||||||
return request('admin/company/company_receipt_accounts/select', { data });
|
return request('admin/company/company_receipt_accounts/select', { data });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
OrganizationProjects: {
|
||||||
|
List(data?: ApiTypes.Company.OrganizationProjects.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/organization_projects/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.Company.OrganizationProjects.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/organization_projects/store', { data });
|
||||||
|
},
|
||||||
|
BatchStore(data: ApiTypes.Company.OrganizationProjects.BatchStore): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/organization_projects/batch_store', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Company.OrganizationProjects.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/organization_projects/show', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.Company.OrganizationProjects.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/organization_projects/delete', { data });
|
||||||
|
},
|
||||||
|
DeleteByOrganization(data: ApiTypes.Company.OrganizationProjects.DeleteByOrganization): Promise<MyResponseType> {
|
||||||
|
return request('admin/company/organization_projects/delete_by_organization', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
Organizations: {
|
Organizations: {
|
||||||
List(data?: ApiTypes.Company.Organizations.List): Promise<MyResponseType> {
|
List(data?: ApiTypes.Company.Organizations.List): Promise<MyResponseType> {
|
||||||
return request('admin/company/organizations/list', { data });
|
return request('admin/company/organizations/list', { data });
|
||||||
@ -715,6 +876,40 @@ export const Apis = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
GoodsReleases: {
|
||||||
|
GoodsReleases: {
|
||||||
|
List(data?: ApiTypes.GoodsReleases.GoodsReleases.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.GoodsReleases.GoodsReleases.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/store', { data });
|
||||||
|
},
|
||||||
|
Update(data: ApiTypes.GoodsReleases.GoodsReleases.Update): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/update', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.GoodsReleases.GoodsReleases.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/show', { data });
|
||||||
|
},
|
||||||
|
SoftDelete(data: ApiTypes.GoodsReleases.GoodsReleases.SoftDelete): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/soft_delete', { data });
|
||||||
|
},
|
||||||
|
Restore(data: ApiTypes.GoodsReleases.GoodsReleases.Restore): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/restore', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.GoodsReleases.GoodsReleases.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/delete', { data });
|
||||||
|
},
|
||||||
|
ApproveByEmployee(data: ApiTypes.GoodsReleases.GoodsReleases.ApproveByEmployee): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/approve_by_employee', { data });
|
||||||
|
},
|
||||||
|
Release(data: ApiTypes.GoodsReleases.GoodsReleases.Release): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/release', { data });
|
||||||
|
},
|
||||||
|
ScanRelease(data: ApiTypes.GoodsReleases.GoodsReleases.ScanRelease): Promise<MyResponseType> {
|
||||||
|
return request('admin/goods_releases/goods_releases/scan_release', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
Grid: {
|
Grid: {
|
||||||
Grids: {
|
Grids: {
|
||||||
List(data?: ApiTypes.Grid.Grids.List): Promise<MyResponseType> {
|
List(data?: ApiTypes.Grid.Grids.List): Promise<MyResponseType> {
|
||||||
@ -741,6 +936,23 @@ export const Apis = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
HouseCharage: {
|
HouseCharage: {
|
||||||
|
HouseChargeHasCarPorts: {
|
||||||
|
List(data: ApiTypes.HouseCharage.HouseChargeHasCarPorts.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_charage/house_charge_has_car_ports/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.HouseCharage.HouseChargeHasCarPorts.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_charage/house_charge_has_car_ports/store', { data });
|
||||||
|
},
|
||||||
|
GetChargeStandardCarPortIds(data: ApiTypes.HouseCharage.HouseChargeHasCarPorts.GetChargeStandardCarPortIds): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_charage/house_charge_has_car_ports/get_charge_standard_car_port_ids', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.HouseCharage.HouseChargeHasCarPorts.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_charage/house_charge_has_car_ports/show', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.HouseCharage.HouseChargeHasCarPorts.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_charage/house_charge_has_car_ports/delete', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
HouseChargeHasHouses: {
|
HouseChargeHasHouses: {
|
||||||
List(data: ApiTypes.HouseCharage.HouseChargeHasHouses.List): Promise<MyResponseType> {
|
List(data: ApiTypes.HouseCharage.HouseChargeHasHouses.List): Promise<MyResponseType> {
|
||||||
return request('admin/house_charage/house_charge_has_houses/list', { data });
|
return request('admin/house_charage/house_charge_has_houses/list', { data });
|
||||||
@ -864,6 +1076,15 @@ export const Apis = {
|
|||||||
List(data?: ApiTypes.HouseOrder.HouseOrders.List): Promise<MyResponseType> {
|
List(data?: ApiTypes.HouseOrder.HouseOrders.List): Promise<MyResponseType> {
|
||||||
return request('admin/house_order/house_orders/list', { data });
|
return request('admin/house_order/house_orders/list', { data });
|
||||||
},
|
},
|
||||||
|
Store(data: ApiTypes.HouseOrder.HouseOrders.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/store', { data });
|
||||||
|
},
|
||||||
|
Update(data: ApiTypes.HouseOrder.HouseOrders.Update): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/update', { data });
|
||||||
|
},
|
||||||
|
Audit(data: ApiTypes.HouseOrder.HouseOrders.Audit): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/audit', { data });
|
||||||
|
},
|
||||||
Show(data: ApiTypes.HouseOrder.HouseOrders.Show): Promise<MyResponseType> {
|
Show(data: ApiTypes.HouseOrder.HouseOrders.Show): Promise<MyResponseType> {
|
||||||
return request('admin/house_order/house_orders/show', { data });
|
return request('admin/house_order/house_orders/show', { data });
|
||||||
},
|
},
|
||||||
@ -876,6 +1097,24 @@ export const Apis = {
|
|||||||
Delete(data: ApiTypes.HouseOrder.HouseOrders.Delete): Promise<MyResponseType> {
|
Delete(data: ApiTypes.HouseOrder.HouseOrders.Delete): Promise<MyResponseType> {
|
||||||
return request('admin/house_order/house_orders/delete', { data });
|
return request('admin/house_order/house_orders/delete', { data });
|
||||||
},
|
},
|
||||||
|
Export(data: ApiTypes.HouseOrder.HouseOrders.Export): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/export', { responseType: 'blob',data });
|
||||||
|
},
|
||||||
|
UpdateSerialNumber(data: ApiTypes.HouseOrder.HouseOrders.UpdateSerialNumber): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/update_serial_number', { data });
|
||||||
|
},
|
||||||
|
BatchUpdateSerialNumber(data: ApiTypes.HouseOrder.HouseOrders.BatchUpdateSerialNumber): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/batch_update_serial_number', { data });
|
||||||
|
},
|
||||||
|
ImportSerialNumber(data: ApiTypes.HouseOrder.HouseOrders.ImportSerialNumber): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/import_serial_number', { data });
|
||||||
|
},
|
||||||
|
DownloadSerialNumberTemplate(): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/download_serial_number_template', {responseType: 'blob',});
|
||||||
|
},
|
||||||
|
GetPayCode(data: ApiTypes.HouseOrder.HouseOrders.GetPayCode): Promise<MyResponseType> {
|
||||||
|
return request('admin/house_order/house_orders/get_pay_code', { data });
|
||||||
|
},
|
||||||
},
|
},
|
||||||
HousePrepaymentLogs: {
|
HousePrepaymentLogs: {
|
||||||
List(data?: ApiTypes.HouseOrder.HousePrepaymentLogs.List): Promise<MyResponseType> {
|
List(data?: ApiTypes.HouseOrder.HousePrepaymentLogs.List): Promise<MyResponseType> {
|
||||||
@ -1133,6 +1372,62 @@ export const Apis = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Refund: {
|
||||||
|
Refunds: {
|
||||||
|
List(data?: ApiTypes.Refund.Refunds.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/list', { data });
|
||||||
|
},
|
||||||
|
Store(data: ApiTypes.Refund.Refunds.Store): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/store', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Refund.Refunds.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/show', { data });
|
||||||
|
},
|
||||||
|
Complete(data: ApiTypes.Refund.Refunds.Complete): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/complete', { data });
|
||||||
|
},
|
||||||
|
Cancel(data: ApiTypes.Refund.Refunds.Cancel): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/cancel', { data });
|
||||||
|
},
|
||||||
|
SoftDelete(data: ApiTypes.Refund.Refunds.SoftDelete): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/soft_delete', { data });
|
||||||
|
},
|
||||||
|
Restore(data: ApiTypes.Refund.Refunds.Restore): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/restore', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.Refund.Refunds.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/refund/refunds/delete', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Visitor: {
|
||||||
|
VisitorApplies: {
|
||||||
|
List(data?: ApiTypes.Visitor.VisitorApplies.List): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/list', { data });
|
||||||
|
},
|
||||||
|
Show(data: ApiTypes.Visitor.VisitorApplies.Show): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/show', { data });
|
||||||
|
},
|
||||||
|
Approve(data: ApiTypes.Visitor.VisitorApplies.Approve): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/approve', { data });
|
||||||
|
},
|
||||||
|
Reject(data: ApiTypes.Visitor.VisitorApplies.Reject): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/reject', { data });
|
||||||
|
},
|
||||||
|
Scan(data: ApiTypes.Visitor.VisitorApplies.Scan): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/scan', { data });
|
||||||
|
},
|
||||||
|
SoftDelete(data: ApiTypes.Visitor.VisitorApplies.SoftDelete): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/soft_delete', { data });
|
||||||
|
},
|
||||||
|
Restore(data: ApiTypes.Visitor.VisitorApplies.Restore): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/restore', { data });
|
||||||
|
},
|
||||||
|
Delete(data: ApiTypes.Visitor.VisitorApplies.Delete): Promise<MyResponseType> {
|
||||||
|
return request('admin/visitor/visitor_applies/delete', { data });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
WorkOrder: {
|
WorkOrder: {
|
||||||
HouseWorkLogs: {
|
HouseWorkLogs: {
|
||||||
List(data: ApiTypes.WorkOrder.HouseWorkLogs.List): Promise<MyResponseType> {
|
List(data: ApiTypes.WorkOrder.HouseWorkLogs.List): Promise<MyResponseType> {
|
||||||
@ -1190,6 +1485,9 @@ export const Apis = {
|
|||||||
Visited(data: ApiTypes.WorkOrder.HouseWorkOrders.Visited): Promise<MyResponseType> {
|
Visited(data: ApiTypes.WorkOrder.HouseWorkOrders.Visited): Promise<MyResponseType> {
|
||||||
return request('admin/work_order/house_work_orders/visited', { data });
|
return request('admin/work_order/house_work_orders/visited', { data });
|
||||||
},
|
},
|
||||||
|
Closed(data: ApiTypes.WorkOrder.HouseWorkOrders.Closed): Promise<MyResponseType> {
|
||||||
|
return request('admin/work_order/house_work_orders/closed', { data });
|
||||||
|
},
|
||||||
SoftDelete(data: ApiTypes.WorkOrder.HouseWorkOrders.SoftDelete): Promise<MyResponseType> {
|
SoftDelete(data: ApiTypes.WorkOrder.HouseWorkOrders.SoftDelete): Promise<MyResponseType> {
|
||||||
return request('admin/work_order/house_work_orders/soft_delete', { data });
|
return request('admin/work_order/house_work_orders/soft_delete', { data });
|
||||||
},
|
},
|
||||||
|
|||||||
206
src/gen/Enums.ts
206
src/gen/Enums.ts
@ -26,6 +26,69 @@ export const ActivityEnrollsStatusEnum= {
|
|||||||
'Cancelled': {"text":"取消","color":"#ff9800","value":"Cancelled"},
|
'Cancelled': {"text":"取消","color":"#ff9800","value":"Cancelled"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 审批实例状态枚举
|
||||||
|
export const ApprovalInstancesStatusEnum= {
|
||||||
|
'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"},
|
||||||
|
'Approved': {"text":"已通过","color":"#4caf50","value":"Approved"},
|
||||||
|
'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"},
|
||||||
|
'Cancelled': {"text":"已取消","color":"#9e9e9e","value":"Cancelled"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 审批记录状态枚举
|
||||||
|
export const ApprovalRecordsStatusEnum= {
|
||||||
|
'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"},
|
||||||
|
'Approved': {"text":"同意","color":"#4caf50","value":"Approved"},
|
||||||
|
'Rejected': {"text":"拒绝","color":"#f44336","value":"Rejected"},
|
||||||
|
'Transferred': {"text":"转交","color":"#9c27b0","value":"Transferred"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 审批方式枚举
|
||||||
|
export const ApprovalTemplateNodesApproveTypeEnum= {
|
||||||
|
'And': {"text":"会签","color":"#4caf50","value":"And"},
|
||||||
|
'Or': {"text":"或签","color":"#ff9800","value":"Or"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 审批节点类型枚举
|
||||||
|
export const ApprovalTemplateNodesNodeTypeEnum= {
|
||||||
|
'Approver': {"text":"审批人","color":"#2196f3","value":"Approver"},
|
||||||
|
'CC': {"text":"抄送人","color":"#9e9e9e","value":"CC"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 审批业务类型枚举
|
||||||
|
export const ApprovalTemplatesTypeEnum= {
|
||||||
|
'Contract': {"text":"合同","color":"#2196f3","value":"Contract"},
|
||||||
|
'Finance': {"text":"财务","color":"#4caf50","value":"Finance"},
|
||||||
|
'Refund': {"text":"退款","color":"#f44336","value":"Refund"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 车位产权类型
|
||||||
|
export const AssetCarPortsPropertyTypeEnum= {
|
||||||
|
'Ownership': {"text":"产权车位","color":"#1e90ff","value":"Ownership"},
|
||||||
|
'CivilDefense': {"text":"人防车位","color":"#32cd32","value":"CivilDefense"},
|
||||||
|
'Public': {"text":"公共车位","color":"#ff8c00","value":"Public"},
|
||||||
|
'Temporary': {"text":"临时车位","color":"#ba55d3","value":"Temporary"},
|
||||||
|
'Other': {"text":"其他","color":"#a9a9a9","value":"Other"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 车位状态
|
||||||
|
export const AssetCarPortsStatusEnum= {
|
||||||
|
'Unsold': {"text":"未售","color":"#6b7280","value":"Unsold"},
|
||||||
|
'Sold': {"text":"已售","color":"#10b981","value":"Sold"},
|
||||||
|
'Rented': {"text":"已租","color":"#3b82f6","value":"Rented"},
|
||||||
|
'Unrented': {"text":"未租","color":"#f59e0b","value":"Unrented"},
|
||||||
|
'Other': {"text":"其他","color":"#9ca3af","value":"Other"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 车位类型
|
||||||
|
export const AssetCarPortsTypeEnum= {
|
||||||
|
'Standard': {"text":"标准车位","color":"#1e90ff","value":"Standard"},
|
||||||
|
'Mini': {"text":"微型车位","color":"#32cd32","value":"Mini"},
|
||||||
|
'Accessible': {"text":"无障碍车位","color":"#ff8c00","value":"Accessible"},
|
||||||
|
'Tandem': {"text":"子母车位","color":"#ba55d3","value":"Tandem"},
|
||||||
|
'Mechanical': {"text":"机械车位","color":"#20b2aa","value":"Mechanical"},
|
||||||
|
'Other': {"text":"其他","color":"#a9a9a9","value":"Other"},
|
||||||
|
};
|
||||||
|
|
||||||
// AssetHousesOrientationEnum
|
// AssetHousesOrientationEnum
|
||||||
export const AssetHousesOrientationEnum= {
|
export const AssetHousesOrientationEnum= {
|
||||||
'East': {"text":"东","color":"#007bff","value":"East"},
|
'East': {"text":"东","color":"#007bff","value":"East"},
|
||||||
@ -81,6 +144,34 @@ export const AssetHousesUsageEnum= {
|
|||||||
'PropertyRoom': {"text":"物业用房","color":"#dc3545","value":"PropertyRoom"},
|
'PropertyRoom': {"text":"物业用房","color":"#dc3545","value":"PropertyRoom"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 车场收费类型
|
||||||
|
export const AssetParkingPlacesChargeTypeEnum= {
|
||||||
|
'Free': {"text":"免费","color":"#32cd32","value":"Free"},
|
||||||
|
'TemporaryCharge': {"text":"临停收费","color":"#1e90ff","value":"TemporaryCharge"},
|
||||||
|
'MonthlyCharge': {"text":"月卡收费","color":"#ff8c00","value":"MonthlyCharge"},
|
||||||
|
'MixedCharge': {"text":"混合收费","color":"#ba55d3","value":"MixedCharge"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 车场位置类型
|
||||||
|
export const AssetParkingPlacesLocationTypeEnum= {
|
||||||
|
'GroundParking': {"text":"地面车场","color":"#ffa500","value":"GroundParking"},
|
||||||
|
'UndergroundParking': {"text":"地下车场","color":"#4682b4","value":"UndergroundParking"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 车场产权类型
|
||||||
|
export const AssetParkingPlacesPropertyTypeEnum= {
|
||||||
|
'DispersedOwnership': {"text":"分散产权","color":"#ff7f50","value":"DispersedOwnership"},
|
||||||
|
'SingleOwnership': {"text":"单一产权","color":"#1e90ff","value":"SingleOwnership"},
|
||||||
|
'SharedOwnership': {"text":"共有产权","color":"#32cd32","value":"SharedOwnership"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 车场类型
|
||||||
|
export const AssetParkingPlacesTypeEnum= {
|
||||||
|
'ResidentialSupporting': {"text":"住宅配套车场","color":"#ff8c00","value":"ResidentialSupporting"},
|
||||||
|
'Commercial': {"text":"商业车场","color":"#1e90ff","value":"Commercial"},
|
||||||
|
'Mixed': {"text":"混合车场","color":"#32cd32","value":"Mixed"},
|
||||||
|
};
|
||||||
|
|
||||||
// AssetProjectsChargeEnum
|
// AssetProjectsChargeEnum
|
||||||
export const AssetProjectsChargeEnum= {
|
export const AssetProjectsChargeEnum= {
|
||||||
'Contract': {"text":"包干制","color":"#007bff","value":"Contract"},
|
'Contract': {"text":"包干制","color":"#007bff","value":"Contract"},
|
||||||
@ -94,6 +185,12 @@ export const AssetProjectsEntrustTypeEnum= {
|
|||||||
'GovernmentFullEntrust': {"text":"政府类全委","color":"#ffc107","value":"GovernmentFullEntrust"},
|
'GovernmentFullEntrust': {"text":"政府类全委","color":"#ffc107","value":"GovernmentFullEntrust"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 业权类型
|
||||||
|
export const AssetProjectsOwnershipTypeEnum= {
|
||||||
|
'SingleOwnership': {"text":"单业权","color":"#00cc66","value":"SingleOwnership"},
|
||||||
|
'MultipleOwnership': {"text":"多业权","color":"#0099ff","value":"MultipleOwnership"},
|
||||||
|
};
|
||||||
|
|
||||||
// AssetProjectsPropertyTypeEnum
|
// AssetProjectsPropertyTypeEnum
|
||||||
export const AssetProjectsPropertyTypeEnum= {
|
export const AssetProjectsPropertyTypeEnum= {
|
||||||
'Residence': {"text":"住宅","color":"#ff0000","value":"Residence"},
|
'Residence': {"text":"住宅","color":"#ff0000","value":"Residence"},
|
||||||
@ -154,7 +251,7 @@ export const BannersTypeEnum= {
|
|||||||
|
|
||||||
// 缓存类型
|
// 缓存类型
|
||||||
export const CacheTypeEnum= {
|
export const CacheTypeEnum= {
|
||||||
'MobilePhoneVerificationCode': {"text":"手机验证码","color":"#c639cc","value":"MobilePhoneVerificationCode"},
|
'MobilePhoneVerificationCode': {"text":"手机验证码","color":"#3f0fe5","value":"MobilePhoneVerificationCode"},
|
||||||
};
|
};
|
||||||
|
|
||||||
// CompaniesMerchantTypeEnum
|
// CompaniesMerchantTypeEnum
|
||||||
@ -284,6 +381,29 @@ export const CustomerOpinionsTypeEnum= {
|
|||||||
'FeatureSuggestion': {"text":"新功能建议","color":"#00bfff","value":"FeatureSuggestion"},
|
'FeatureSuggestion': {"text":"新功能建议","color":"#00bfff","value":"FeatureSuggestion"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 物品放行审核状态
|
||||||
|
export const GoodsReleasesAuditStatusEnum= {
|
||||||
|
'Pending': {"text":"待审核","color":"#faad14","value":"Pending"},
|
||||||
|
'Approved': {"text":"已通过","color":"#52c41a","value":"Approved"},
|
||||||
|
'Rejected': {"text":"已退回","color":"#ff4d4f","value":"Rejected"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 物品放行通行类型
|
||||||
|
export const GoodsReleasesPassedTypeEnum= {
|
||||||
|
'Moving': {"text":"搬家","color":"#1890ff","value":"Moving"},
|
||||||
|
'Delivery': {"text":"出货","color":"#52c41a","value":"Delivery"},
|
||||||
|
'Other': {"text":"其他","color":"#faad14","value":"Other"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 物品放行状态
|
||||||
|
export const GoodsReleasesStatusEnum= {
|
||||||
|
'Pending': {"text":"待审核","color":"#faad14","value":"Pending"},
|
||||||
|
'OwnerApproved': {"text":"业主已审","color":"#1890ff","value":"OwnerApproved"},
|
||||||
|
'Approved': {"text":"已通过","color":"#52c41a","value":"Approved"},
|
||||||
|
'Rejected': {"text":"已退回","color":"#ff4d4f","value":"Rejected"},
|
||||||
|
'Released': {"text":"已放行","color":"#722ed1","value":"Released"},
|
||||||
|
};
|
||||||
|
|
||||||
// 账单状态枚举
|
// 账单状态枚举
|
||||||
export const HouseBillsBillStatusEnum= {
|
export const HouseBillsBillStatusEnum= {
|
||||||
'PendingPayment': {"text":"待支付","color":"#facc15","value":"PendingPayment"},
|
'PendingPayment': {"text":"待支付","color":"#facc15","value":"PendingPayment"},
|
||||||
@ -301,6 +421,7 @@ export const HouseBillsTypeEnum= {
|
|||||||
'ElectricityFee': {"text":"电费","color":"#f59e0b","value":"ElectricityFee"},
|
'ElectricityFee': {"text":"电费","color":"#f59e0b","value":"ElectricityFee"},
|
||||||
'SharedWaterFee': {"text":"公摊水费","color":"#8b5cf6","value":"SharedWaterFee"},
|
'SharedWaterFee': {"text":"公摊水费","color":"#8b5cf6","value":"SharedWaterFee"},
|
||||||
'SharedElectricityFee': {"text":"公摊电费","color":"#ec4899","value":"SharedElectricityFee"},
|
'SharedElectricityFee': {"text":"公摊电费","color":"#ec4899","value":"SharedElectricityFee"},
|
||||||
|
'CarPortFee': {"text":"车位费","color":"#f59e0b","value":"CarPortFee"},
|
||||||
};
|
};
|
||||||
|
|
||||||
// HouseChargeStandardsApportionmentMethodEnum
|
// HouseChargeStandardsApportionmentMethodEnum
|
||||||
@ -351,6 +472,7 @@ export const HouseChargeStandardsStatusEnum= {
|
|||||||
export const HouseChargeStandardsTypeEnum= {
|
export const HouseChargeStandardsTypeEnum= {
|
||||||
'House': {"text":"房屋","color":"#3b82f6","value":"House"},
|
'House': {"text":"房屋","color":"#3b82f6","value":"House"},
|
||||||
'Meter': {"text":"仪表","color":"#10b981","value":"Meter"},
|
'Meter': {"text":"仪表","color":"#10b981","value":"Meter"},
|
||||||
|
'CarPort': {"text":"车位","color":"#f59e0b","value":"CarPort"},
|
||||||
};
|
};
|
||||||
|
|
||||||
// HouseChargeTaskDetailsStatusEnum
|
// HouseChargeTaskDetailsStatusEnum
|
||||||
@ -360,6 +482,12 @@ export const HouseChargeTaskDetailsStatusEnum= {
|
|||||||
'Failed': {"text":"失败","color":"#ef4444","value":"Failed"},
|
'Failed': {"text":"失败","color":"#ef4444","value":"Failed"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// HouseChargeTaskDetailsTargetTypeEnum
|
||||||
|
export const HouseChargeTaskDetailsTargetTypeEnum= {
|
||||||
|
'House': {"text":"房屋","color":"#3b82f6","value":"House"},
|
||||||
|
'CarPort': {"text":"车位","color":"#f59e0b","value":"CarPort"},
|
||||||
|
};
|
||||||
|
|
||||||
// HouseChargeTasksStatusEnum
|
// HouseChargeTasksStatusEnum
|
||||||
export const HouseChargeTasksStatusEnum= {
|
export const HouseChargeTasksStatusEnum= {
|
||||||
'Pending': {"text":"待执行","color":"#f59e0b","value":"Pending"},
|
'Pending': {"text":"待执行","color":"#f59e0b","value":"Pending"},
|
||||||
@ -486,6 +614,13 @@ export const HouseOrderRefundsRefundStatusEnum= {
|
|||||||
'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"},
|
'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 订单审核状态枚举
|
||||||
|
export const HouseOrdersAuditStatusEnum= {
|
||||||
|
'Pending': {"text":"待审核","color":"#f59e0b","value":"Pending"},
|
||||||
|
'Approved': {"text":"已通过","color":"#10b981","value":"Approved"},
|
||||||
|
'Rejected': {"text":"已驳回","color":"#ef4444","value":"Rejected"},
|
||||||
|
};
|
||||||
|
|
||||||
// 订单状态枚举
|
// 订单状态枚举
|
||||||
export const HouseOrdersOrderStatusEnum= {
|
export const HouseOrdersOrderStatusEnum= {
|
||||||
'Pending': {"text":"待支付","color":"#facc15","value":"Pending"},
|
'Pending': {"text":"待支付","color":"#facc15","value":"Pending"},
|
||||||
@ -551,6 +686,7 @@ export const HouseRegistersTypeEnum= {
|
|||||||
'MoveIn': {"text":"搬入登记","color":"#ffc53d","value":"MoveIn"},
|
'MoveIn': {"text":"搬入登记","color":"#ffc53d","value":"MoveIn"},
|
||||||
'UpdateInfo': {"text":"修改信息","color":"#722ed1","value":"UpdateInfo"},
|
'UpdateInfo': {"text":"修改信息","color":"#722ed1","value":"UpdateInfo"},
|
||||||
'UpdatePhone': {"text":"修改电话","color":"#13c2c2","value":"UpdatePhone"},
|
'UpdatePhone': {"text":"修改电话","color":"#13c2c2","value":"UpdatePhone"},
|
||||||
|
'GoodsRelease': {"text":"物品放行","color":"#a0d911","value":"GoodsRelease"},
|
||||||
};
|
};
|
||||||
|
|
||||||
// HouseRegistersUsagePlanEnum
|
// HouseRegistersUsagePlanEnum
|
||||||
@ -622,6 +758,12 @@ export const HouseWorkOrdersTypeEnum= {
|
|||||||
'Complaint': {"text":"投诉","color":"#aa00ff","value":"Complaint"},
|
'Complaint': {"text":"投诉","color":"#aa00ff","value":"Complaint"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 公告接收对象
|
||||||
|
export const MsgPropertyAnnouncementsObjectEnum= {
|
||||||
|
'Customer': {"text":"客户","color":"#3b82f6","value":"Customer"},
|
||||||
|
'Employee': {"text":"员工","color":"#10b981","value":"Employee"},
|
||||||
|
};
|
||||||
|
|
||||||
// MsgPropertyAnnouncementsPublishTypeEnum
|
// MsgPropertyAnnouncementsPublishTypeEnum
|
||||||
export const MsgPropertyAnnouncementsPublishTypeEnum= {
|
export const MsgPropertyAnnouncementsPublishTypeEnum= {
|
||||||
'Manual': {"text":"手动","color":"#4caf50","value":"Manual"},
|
'Manual': {"text":"手动","color":"#4caf50","value":"Manual"},
|
||||||
@ -636,6 +778,30 @@ export const OrganizationsTypeEnum= {
|
|||||||
'Department': {"text":"部门","color":"#dc3545","value":"Department"},
|
'Department': {"text":"部门","color":"#dc3545","value":"Department"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 退款状态枚举
|
||||||
|
export const RefundsStatusEnum= {
|
||||||
|
'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"},
|
||||||
|
'Reviewing': {"text":"审核中","color":"#2196f3","value":"Reviewing"},
|
||||||
|
'Approved': {"text":"已审批","color":"#9c27b0","value":"Approved"},
|
||||||
|
'Processing': {"text":"退款中","color":"#00bcd4","value":"Processing"},
|
||||||
|
'Completed': {"text":"已退款","color":"#4caf50","value":"Completed"},
|
||||||
|
'PartialRefund': {"text":"部分退款","color":"#8bc34a","value":"PartialRefund"},
|
||||||
|
'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"},
|
||||||
|
'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"},
|
||||||
|
'Cancelled': {"text":"已取消","color":"#9e9e9e","value":"Cancelled"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 退款类型枚举
|
||||||
|
export const RefundsTypeEnum= {
|
||||||
|
'HouseBill': {"text":"物业费退款","color":"#2196f3","value":"HouseBill"},
|
||||||
|
'Bill': {"text":"账单退款","color":"#4caf50","value":"Bill"},
|
||||||
|
'ContractBill': {"text":"合同退款","color":"#ff9800","value":"ContractBill"},
|
||||||
|
'RenovationApply': {"text":"退保证金","color":"#86aac3ff","value":"RenovationApply"},
|
||||||
|
'HouseDoorCard': {"text":"门禁退款","color":"#9c27b0","value":"HouseDoorCard"},
|
||||||
|
'HouseWorkOrder': {"text":"工单退款","color":"#00bcd4","value":"HouseWorkOrder"},
|
||||||
|
'Other': {"text":"其他退款","color":"#607d8b","value":"Other"},
|
||||||
|
};
|
||||||
|
|
||||||
// 性别
|
// 性别
|
||||||
export const SexEnum= {
|
export const SexEnum= {
|
||||||
'Male': {"text":"男","color":"#0000ff","value":"Male"},
|
'Male': {"text":"男","color":"#0000ff","value":"Male"},
|
||||||
@ -656,6 +822,44 @@ export const SysPermissionsTypeEnum= {
|
|||||||
'Button': {"text":"按钮","color":"#97224f","value":"Button"},
|
'Button': {"text":"按钮","color":"#97224f","value":"Button"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 来访事由
|
||||||
|
export const VisitReasonEnum= {
|
||||||
|
'Visit': {"text":"拜访","color":"#2196f3","value":"Visit"},
|
||||||
|
'Business': {"text":"商务","color":"#3f51b5","value":"Business"},
|
||||||
|
'Interview': {"text":"面试","color":"#9c27b0","value":"Interview"},
|
||||||
|
'Private': {"text":"私人","color":"#e91e63","value":"Private"},
|
||||||
|
'Express': {"text":"快递","color":"#00bcd4","value":"Express"},
|
||||||
|
'Renovation': {"text":"装修","color":"#ff5722","value":"Renovation"},
|
||||||
|
'Other': {"text":"其他","color":"#607d8b","value":"Other"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 访客申请状态
|
||||||
|
export const VisitorAppliesStatusEnum= {
|
||||||
|
'Pending': {"text":"审核中","color":"#ff9800","value":"Pending"},
|
||||||
|
'Approved': {"text":"已通过","color":"#4caf50","value":"Approved"},
|
||||||
|
'Rejected': {"text":"已驳回","color":"#f44336","value":"Rejected"},
|
||||||
|
'Expired': {"text":"已失效","color":"#9e9e9e","value":"Expired"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 访客申请类型
|
||||||
|
export const VisitorApplyTypeEnum= {
|
||||||
|
'invite': {"text":"业主邀请","color":"#2196f3","value":"invite"},
|
||||||
|
'register': {"text":"访客登记","color":"#ff9800","value":"register"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 通行码状态
|
||||||
|
export const VisitorCodeStatusEnum= {
|
||||||
|
'unused': {"text":"未使用","color":"#2196f3","value":"unused"},
|
||||||
|
'used': {"text":"已使用","color":"#4caf50","value":"used"},
|
||||||
|
'expired': {"text":"已过期","color":"#f44336","value":"expired"},
|
||||||
|
};
|
||||||
|
|
||||||
|
// 访客扫码类型
|
||||||
|
export const VisitorScanTypeEnum= {
|
||||||
|
'enter': {"text":"进入","color":"#4caf50","value":"enter"},
|
||||||
|
'exit': {"text":"离开","color":"#f44336","value":"exit"},
|
||||||
|
};
|
||||||
|
|
||||||
// WechatAuthsPlatformEnum
|
// WechatAuthsPlatformEnum
|
||||||
export const WechatAuthsPlatformEnum= {
|
export const WechatAuthsPlatformEnum= {
|
||||||
'MiniProgram': {"text":"微信小程序","color":"#3b82f6","value":"MiniProgram"},
|
'MiniProgram': {"text":"微信小程序","color":"#3b82f6","value":"MiniProgram"},
|
||||||
|
|||||||
@ -3,7 +3,6 @@ import {
|
|||||||
MyColumns,
|
MyColumns,
|
||||||
MyPageContainer,
|
MyPageContainer,
|
||||||
MyProTableProps,
|
MyProTableProps,
|
||||||
usePageTabs,
|
|
||||||
} from '@/common';
|
} from '@/common';
|
||||||
import { Apis } from '@/gen/Apis';
|
import { Apis } from '@/gen/Apis';
|
||||||
import {
|
import {
|
||||||
@ -12,7 +11,6 @@ import {
|
|||||||
ActivitiesStatusEnum,
|
ActivitiesStatusEnum,
|
||||||
} from '@/gen/Enums';
|
} from '@/gen/Enums';
|
||||||
import { ProTable } from '@ant-design/pro-components';
|
import { ProTable } from '@ant-design/pro-components';
|
||||||
import { useNavigate } from '@umijs/max';
|
|
||||||
import { Space } from 'antd';
|
import { Space } from 'antd';
|
||||||
import ActivityCreate from './modals/ActivityCreate';
|
import ActivityCreate from './modals/ActivityCreate';
|
||||||
import ActivityShow from './modals/ActivityShow';
|
import ActivityShow from './modals/ActivityShow';
|
||||||
@ -20,14 +18,6 @@ import ActivityUpdate from './modals/ActivityUpdate';
|
|||||||
import EnrollsList from './modals/EnrollsList';
|
import EnrollsList from './modals/EnrollsList';
|
||||||
|
|
||||||
export default function Index({ title = '项目活动' }) {
|
export default function Index({ title = '项目活动' }) {
|
||||||
const navigate = useNavigate();
|
|
||||||
|
|
||||||
// 注册当前页面为标签页
|
|
||||||
usePageTabs({
|
|
||||||
tabKey: 'activity',
|
|
||||||
tabLabel: title,
|
|
||||||
});
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MyPageContainer
|
<MyPageContainer
|
||||||
title={title}
|
title={title}
|
||||||
|
|||||||
@ -46,6 +46,12 @@ export default function Create(props: MyBetaModalFormProps) {
|
|||||||
.catch(() => false)
|
.catch(() => false)
|
||||||
}
|
}
|
||||||
columns={[
|
columns={[
|
||||||
|
Selects?.Companies({
|
||||||
|
key: 'companies_id',
|
||||||
|
title: '选择机构',
|
||||||
|
colProps: { span: 24 },
|
||||||
|
required: true,
|
||||||
|
}),
|
||||||
...(props?.item?.id
|
...(props?.item?.id
|
||||||
? []
|
? []
|
||||||
: [
|
: [
|
||||||
|
|||||||
@ -28,22 +28,31 @@ export default function Update(props: MyBetaModalFormProps) {
|
|||||||
form={form}
|
form={form}
|
||||||
onOpenChange={(open: any) => {
|
onOpenChange={(open: any) => {
|
||||||
if (open && props.item) {
|
if (open && props.item) {
|
||||||
form.setFieldsValue(props.item);
|
form.setFieldsValue({
|
||||||
form.setFieldValue('project_ids', props.item?.project_ids[0]);
|
...props.item,
|
||||||
form.setFieldValue('activity_time', [
|
activity_time: [
|
||||||
props.item?.start_time,
|
props.item?.start_time || '',
|
||||||
props.item?.end_time,
|
props.item?.end_time || '',
|
||||||
]);
|
],
|
||||||
form.setFieldValue('content', props.item?.content);
|
project_ids: props?.item?.activity_projects?.map(
|
||||||
|
(res: any) => res?.asset_projects_id,
|
||||||
|
),
|
||||||
|
});
|
||||||
|
// form.setFieldValue('project_ids', props.item?.project_ids[0]);
|
||||||
|
// form.setFieldValue('activity_time', [
|
||||||
|
// props.item?.start_time || '',
|
||||||
|
// props.item?.end_time || '',
|
||||||
|
// ]);
|
||||||
|
// form.setFieldValue('content', props.item?.content);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
onFinish={async (values) =>
|
onFinish={async (values) =>
|
||||||
Apis.Activity.Activities.Update({
|
Apis.Activity.Activities.Update({
|
||||||
...values,
|
...values,
|
||||||
id: props.item?.id ?? 0,
|
id: props.item?.id ?? 0,
|
||||||
project_ids: values?.project_ids
|
// project_ids: values?.project_ids
|
||||||
? [values?.project_ids]
|
// ? [values?.project_ids]
|
||||||
: [props.item?.id],
|
// : [props.item?.id],
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
props.reload?.();
|
props.reload?.();
|
||||||
@ -53,17 +62,35 @@ export default function Update(props: MyBetaModalFormProps) {
|
|||||||
.catch(() => false)
|
.catch(() => false)
|
||||||
}
|
}
|
||||||
columns={[
|
columns={[
|
||||||
|
Selects?.Companies({
|
||||||
|
key: 'companies_id',
|
||||||
|
title: '选择机构',
|
||||||
|
colProps: { span: 24 },
|
||||||
|
required: true,
|
||||||
|
}),
|
||||||
Selects?.AssetProjects({
|
Selects?.AssetProjects({
|
||||||
key: 'project_ids',
|
key: 'project_ids',
|
||||||
title: '关联项目',
|
title: '关联项目',
|
||||||
colProps: { span: 24 },
|
colProps: { span: 24 },
|
||||||
required: true,
|
formItemProps: { ...rulesHelper.array },
|
||||||
fieldProps: {
|
fieldProps: {
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
|
mode: 'multiple',
|
||||||
fieldNames: {
|
fieldNames: {
|
||||||
label: 'label',
|
label: 'label',
|
||||||
value: 'value',
|
value: 'value',
|
||||||
},
|
},
|
||||||
|
labelRender: (res: any) => {
|
||||||
|
if (res?.label) {
|
||||||
|
return res?.label;
|
||||||
|
} else {
|
||||||
|
return props?.item?.activity_projects?.map((i: any) => {
|
||||||
|
if (res?.value === i?.asset_projects_id) {
|
||||||
|
return i?.asset_project?.name;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
|
|||||||
@ -26,7 +26,7 @@ export default function Index({ title = '小程序页面配置' }) {
|
|||||||
const [formValues, setFormValues] = useState<FormData>({
|
const [formValues, setFormValues] = useState<FormData>({
|
||||||
logo: [],
|
logo: [],
|
||||||
color: '#1890ff',
|
color: '#1890ff',
|
||||||
pageColor: `linear-gradient(180deg,rgba(208, 229, 255, 0.44) 0%,rgba(255, 255, 255, 0) 100%),linear-gradient(146deg,#d3d7ff 0%,rgba(255, 255, 255, 0) 37%),linear-gradient(194deg,#dffff3 0%,#f8f8f8 30%)`,
|
pageColor: `linear-gradient(180deg,rgba(255, 255, 255, 0.44) 0%,rgba(255, 255, 255, 0) 100%),linear-gradient(146deg,#d3d7ff 0%,rgba(255, 255, 255, 0) 37%),linear-gradient(194deg,#dffff3 0%,#f8f8f8 30%)`,
|
||||||
});
|
});
|
||||||
const [GET_DEFAULT_COLOR, SET_DEFAULT_COLOR] = useState([
|
const [GET_DEFAULT_COLOR, SET_DEFAULT_COLOR] = useState([
|
||||||
{
|
{
|
||||||
@ -79,7 +79,7 @@ export default function Index({ title = '小程序页面配置' }) {
|
|||||||
let cssEndColor =
|
let cssEndColor =
|
||||||
res?.data?.config_value?.pageColorValue?.[1] || '#dffff3';
|
res?.data?.config_value?.pageColorValue?.[1] || '#dffff3';
|
||||||
setShowData(res?.data);
|
setShowData(res?.data);
|
||||||
let newCss = `linear-gradient(180deg,rgba(208, 229, 255, 0.44) 0%,rgba(255, 255, 255, 0) 100%),linear-gradient(146deg, ${cssStrColor} 0%, rgba(255, 255, 255, 0) 37%),linear-gradient(194deg, ${cssEndColor} 0%, #f8f8f8 30%)`;
|
let newCss = `linear-gradient(180deg,rgba(255, 255, 255, 0.44) 0%,rgba(255, 255, 255, 0) 100%),linear-gradient(146deg, ${cssStrColor} 0%, rgba(255, 255, 255, 0) 37%),linear-gradient(194deg, ${cssEndColor} 0%, #f8f8f8 30%)`;
|
||||||
setFormValues({
|
setFormValues({
|
||||||
...res?.data?.config_value,
|
...res?.data?.config_value,
|
||||||
pageColor: newCss,
|
pageColor: newCss,
|
||||||
@ -148,7 +148,7 @@ export default function Index({ title = '小程序页面配置' }) {
|
|||||||
];
|
];
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
onFinish={async (values: any) => {
|
onFinish={async () => {
|
||||||
// onSave(values);
|
// onSave(values);
|
||||||
}}
|
}}
|
||||||
columns={[
|
columns={[
|
||||||
@ -219,7 +219,7 @@ export default function Index({ title = '小程序页面配置' }) {
|
|||||||
let cssEndColor = value?.colors
|
let cssEndColor = value?.colors
|
||||||
? value?.colors?.[1]?.color?.metaColor
|
? value?.colors?.[1]?.color?.metaColor
|
||||||
: value;
|
: value;
|
||||||
let newCss = `linear-gradient(180deg,rgba(208, 229, 255, 0.44) 0%,rgba(255, 255, 255, 0) 100%),linear-gradient(146deg, rgba(${cssStrColor?.r}, ${cssStrColor?.g}, ${cssStrColor?.b},${cssStrColor?.a}) 0%, rgba(255, 255, 255, 0) 37%),linear-gradient(194deg, rgba(${cssEndColor?.r}, ${cssEndColor?.g}, ${cssEndColor?.b},${cssEndColor?.a}) 0%, #f8f8f8 30%)`;
|
let newCss = `linear-gradient(180deg,rgba(255, 255, 255, 0.44) 0%,rgba(255, 255, 255, 0) 100%),linear-gradient(146deg, rgba(${cssStrColor?.r}, ${cssStrColor?.g}, ${cssStrColor?.b},${cssStrColor?.a}) 0%, rgba(255, 255, 255, 0) 37%),linear-gradient(194deg, rgba(${cssEndColor?.r}, ${cssEndColor?.g}, ${cssEndColor?.b},${cssEndColor?.a}) 0%, #f8f8f8 30%)`;
|
||||||
setFormValues({
|
setFormValues({
|
||||||
...formValues,
|
...formValues,
|
||||||
pageColor: newCss,
|
pageColor: newCss,
|
||||||
|
|||||||
@ -24,15 +24,24 @@ export default function WorkOrderAssign(
|
|||||||
trigger={<MyButtons.Edit title={`派发`} />}
|
trigger={<MyButtons.Edit title={`派发`} />}
|
||||||
key={new Date().getTime()}
|
key={new Date().getTime()}
|
||||||
form={form}
|
form={form}
|
||||||
request={async () => {
|
onOpenChange={(open: any) => {
|
||||||
const res = await Apis.WorkOrder.HouseWorkOrders.Show({
|
if (open && props.item) {
|
||||||
id: props.item.id,
|
form.setFieldsValue({
|
||||||
});
|
title: props?.item?.title,
|
||||||
return {
|
content: props?.item?.content,
|
||||||
title: res.data.title,
|
assign_employee_id: props?.item?.assign_employee_id,
|
||||||
assign_employee_id: res.data.assign_employee_id,
|
});
|
||||||
};
|
}
|
||||||
}}
|
}}
|
||||||
|
// request={async () => {
|
||||||
|
// const res = await Apis.WorkOrder.HouseWorkOrders.Show({
|
||||||
|
// id: props.item.id,
|
||||||
|
// });
|
||||||
|
// return {
|
||||||
|
// title: res.data.title,
|
||||||
|
// assign_employee_id: res.data.assign_employee_id,
|
||||||
|
// };
|
||||||
|
// }}
|
||||||
onFinish={async (values) =>
|
onFinish={async (values) =>
|
||||||
Apis.WorkOrder.HouseWorkOrders.Assign({
|
Apis.WorkOrder.HouseWorkOrders.Assign({
|
||||||
...values,
|
...values,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user