| | |
| | | maxDeep?: number; |
| | | } |
| | | |
| | | interface APIgetArrangeTaskEnterpriseEmployeeParams { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetCheckReceiveTaskUserSubmitParams { |
| | | /** 提交Id(用于B端客户端) */ |
| | | submitId?: string; |
| | |
| | | interface APIgetStandardOrderParams { |
| | | /** 订单Id */ |
| | | id?: string; |
| | | /** 限制场景(不传则不限制) */ |
| | | scene?: EnumGetStandardOrdersQueryScene; |
| | | } |
| | | |
| | | interface APIgetStandardServiceParams { |
| | |
| | | request?: GetSupplierEnterpriseSelectQuery; |
| | | } |
| | | |
| | | interface APIgetSureStandardOrderParams { |
| | | /** 订单Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetTaskEnterpriseParams { |
| | | /** 企业Id */ |
| | | id?: string; |
| | |
| | | Pass = 30, |
| | | } |
| | | |
| | | enum EnumGetStandardOrdersQueryScene { |
| | | /**预约订单 */ |
| | | Appointment = 10, |
| | | /**支付订单 */ |
| | | enum EnumGetStandardOrdersQueryPartAEnterpriseOrderStatus { |
| | | /**待支付 */ |
| | | Wait = 10, |
| | | /**已支付 */ |
| | | Pay = 20, |
| | | /**结算订单 */ |
| | | Settlement = 30, |
| | | /**已完成 */ |
| | | Completed = 30, |
| | | } |
| | | |
| | | enum EnumGetStandardOrdersQueryScene { |
| | | /**甲方企业订单管理 */ |
| | | PartAEnterpriseOrder = 10, |
| | | /**人资企业订单管理 */ |
| | | SupplierEnterpriseOrder = 100, |
| | | } |
| | | |
| | | enum EnumGetStandardOrdersQuerySupplierEnterpriseOrderStatus { |
| | | /**待收款 */ |
| | | Wait = 10, |
| | | /**已完成 */ |
| | | Completed = 30, |
| | | } |
| | | |
| | | enum EnumInsuranceSupplierAccess { |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetArrangeTaskEnterpriseEmployeeQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetArrangeTaskEnterpriseEmployeeQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetArrangeTaskEnterpriseEmployeesQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetArrangeTaskEnterpriseEmployeesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetArrangeTaskUsersQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetSureStandardOrderQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetSureStandardOrderQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetTaskEnterpriseQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetWaitArrangeTasksQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetWaitArrangeTasksQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetWxmpSettingsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | quickQuery?: string; |
| | | } |
| | | |
| | | interface GetArrangeTaskEnterpriseEmployeeQueryResult { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | realMethod?: EnumUserRealMethod; |
| | | /** 电子合同 */ |
| | | contractUrl?: string; |
| | | /** 协议起始时间 */ |
| | | contractBegin?: string; |
| | | /** 协议终止时间 */ |
| | | contractEnd?: string; |
| | | /** 已安排任务 */ |
| | | taskInfos?: GetWaitArrangeTasksQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetArrangeTaskEnterpriseEmployeesQuery { |
| | | /** 关键字(姓名、身份证号、手机号) */ |
| | | keywords?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetArrangeTaskEnterpriseEmployeesQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetArrangeTaskEnterpriseEmployeesQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetArrangeTaskEnterpriseEmployeesQueryResultItem { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | realMethod?: EnumUserRealMethod; |
| | | /** 已安排 */ |
| | | arrangeTaskCount?: number; |
| | | } |
| | | |
| | | interface GetArrangeTaskUsersQuery { |
| | | /** 任务Id */ |
| | | id?: string; |
| | |
| | | name?: string; |
| | | /** 联系电话 */ |
| | | contactPhoneNumber?: string; |
| | | /** 省市区+详细地址+门牌号 */ |
| | | /** 省份编号 */ |
| | | provinceCode?: string; |
| | | /** 省份 */ |
| | | provinceContent?: string; |
| | | /** 城市编号 */ |
| | | cityCode?: string; |
| | | /** 城市 */ |
| | | cityContent?: string; |
| | | /** 区编号 */ |
| | | areaCode?: string; |
| | | /** 区 */ |
| | | areaContent?: string; |
| | | /** 详细地址 */ |
| | | addressName?: string; |
| | | /** 门牌号 */ |
| | | addressDetail?: string; |
| | | /** 经度 */ |
| | | longitude?: number; |
| | | /** 纬度 */ |
| | | latitude?: number; |
| | | /** 是否默认 */ |
| | | isDefault?: boolean; |
| | | } |
| | |
| | | name?: string; |
| | | /** 联系电话 */ |
| | | contactPhoneNumber?: string; |
| | | /** 省份编号 */ |
| | | provinceCode?: string; |
| | | /** 省份 */ |
| | | provinceContent?: string; |
| | | /** 城市编号 */ |
| | | cityCode?: string; |
| | | /** 城市 */ |
| | | cityContent?: string; |
| | | /** 区编号 */ |
| | | areaCode?: string; |
| | | /** 区 */ |
| | | areaContent?: string; |
| | | /** 详细地址 */ |
| | | addressName?: string; |
| | | /** 门牌号 */ |
| | | addressDetail?: string; |
| | | /** 经度 */ |
| | |
| | | receiveAmount?: number; |
| | | /** 结算金额 */ |
| | | settlementAmount?: number; |
| | | partAEnterpriseOrderStatus?: EnumGetStandardOrdersQueryPartAEnterpriseOrderStatus; |
| | | supplierEnterpriseOrderStatus?: EnumGetStandardOrdersQuerySupplierEnterpriseOrderStatus; |
| | | } |
| | | |
| | | interface GetStandardOrderQueryResultServer { |
| | |
| | | payTimeEnd?: string; |
| | | appointmentStatus?: EnumStandardOrderAppointmentStatus; |
| | | payStatus?: EnumStandardOrderPayStatus; |
| | | partAEnterpriseOrderStatus?: EnumGetStandardOrdersQueryPartAEnterpriseOrderStatus; |
| | | supplierEnterpriseOrderStatus?: EnumGetStandardOrdersQuerySupplierEnterpriseOrderStatus; |
| | | settlementStatus?: EnumStandardOrderSettlementStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | |
| | | serviceCode?: string; |
| | | /** 服务图片 */ |
| | | serviceFile?: string; |
| | | /** 省市区+详细地址+门牌号 */ |
| | | addressDetail?: string; |
| | | /** 服务起始时间 */ |
| | | beginTime?: string; |
| | | /** 服务截止时间 */ |
| | | endTime?: string; |
| | | /** 下单用户Id */ |
| | | createdUserId?: string; |
| | | /** 下单用户 */ |
| | |
| | | supplierEnterpriseId?: string; |
| | | /** 供应商 */ |
| | | supplierEnterpriseName?: string; |
| | | /** 供应商联系电话 */ |
| | | supplierContactPhoneNumber?: string; |
| | | /** 服务人员 */ |
| | | serverNames?: string; |
| | | /** 服务人员联系电话 */ |
| | | serverContactPhoneNumbers?: string; |
| | | payStatus?: EnumStandardOrderPayStatus; |
| | | /** 支付完成时间 */ |
| | | payCompletedTime?: string; |
| | |
| | | settlementTime?: string; |
| | | /** 结算金额 */ |
| | | settlementAmount?: number; |
| | | partAEnterpriseOrderStatus?: EnumGetStandardOrdersQueryPartAEnterpriseOrderStatus; |
| | | supplierEnterpriseOrderStatus?: EnumGetStandardOrdersQuerySupplierEnterpriseOrderStatus; |
| | | } |
| | | |
| | | interface GetStandardServiceCommentsQuery { |
| | |
| | | signStatus?: EnumEnterpriseCooperationSignStatus; |
| | | } |
| | | |
| | | interface GetSureStandardOrderQueryResult { |
| | | /** 订单Id */ |
| | | id?: string; |
| | | /** 验收完成时间 */ |
| | | checkReceiveTime?: string; |
| | | /** 附件 */ |
| | | files?: string[]; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | } |
| | | |
| | | interface GetTaskEnterpriseQueryResult { |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetWaitArrangeTasksQuery { |
| | | /** 灵工Id */ |
| | | enterpriseEmployeeId?: string; |
| | | /** 关键字(任务名、任务单号) */ |
| | | keywords?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetWaitArrangeTasksQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetWaitArrangeTasksQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetWaitArrangeTasksQueryResultItem { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | /** 发单客户Id */ |
| | | enterpriseId?: string; |
| | | /** 发单客户 */ |
| | | enterpriseName?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | } |
| | | |
| | | type GetWxmpSettingsQuery = Record<string, any>; |
| | | |
| | | interface GetWxmpSettingsQueryResult { |
| | |
| | | Refunded = 20, |
| | | } |
| | | |
| | | interface SettlementStandardOrderCommand { |
| | | /** 订单Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SetUserInfoRolesCommand { |
| | | /** 用户Id */ |
| | | userInfoId?: string; |
| | |
| | | interface SureStandardOrderCommand { |
| | | /** 订单Id */ |
| | | id?: string; |
| | | /** 评分 */ |
| | | commentStar?: number; |
| | | /** 评价 */ |
| | | commentContent?: string; |
| | | /** 预约订单完成备注 */ |
| | | appointmentCompletedRemark?: string; |
| | | } |
| | | |
| | | interface SureTaskSettlementCommand { |