fix: saveContractTemplateValues
| | |
| | | }, |
| | | ], |
| | | 'function-name-case': null, |
| | | 'value-list-comma-newline-after': null, |
| | | 'annotation-no-unknown': [ |
| | | true, |
| | | { |
| | |
| | | |
| | | async function saveCustomerTemplateParam() { |
| | | try { |
| | | console.log('templateEditState: ', templateEditState); |
| | | const templateParamObjectList = convertJsonMapToTemplateParamObjectList( |
| | | templateEditState.jsonMap |
| | | ); |
| | |
| | | recorder: x.recorder, |
| | | userType: x.userType, |
| | | bindProperty: x.bindProperty, |
| | | x: x.left, |
| | | y: x.top, |
| | | pagey: x.pageNum + 1, |
| | | } as API.SaveContractTemplateValuesCommandItem) |
| | | ), |
| | | templateJsonData: JSON.stringify(templateEditState.jsonMap), |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 企业批量签约合同 POST /api/user/enterpriseEmployee/batchEnterpriseSignContract */ |
| | | export async function batchEnterpriseSignContract( |
| | | body: API.BatchEnterpriseSignContractCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.BatchEnterpriseSignContractCommandResult>( |
| | | '/api/user/enterpriseEmployee/batchEnterpriseSignContract', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 编辑灵工信息 POST /api/user/enterpriseEmployee/editEnterpriseEmployee */ |
| | | export async function editEnterpriseEmployee( |
| | | body: API.EditEnterpriseEmployeeCommand, |
| | |
| | | address?: string; |
| | | } |
| | | |
| | | interface BatchEnterpriseSignContractCommand { |
| | | /** 灵工Id */ |
| | | ids?: string[]; |
| | | } |
| | | |
| | | interface BatchEnterpriseSignContractCommandResult { |
| | | /** 签约成功灵工Id */ |
| | | successIds?: string[]; |
| | | /** 签约失败的灵工信息 */ |
| | | errors?: BatchEnterpriseSignContractCommandResultError[]; |
| | | } |
| | | |
| | | interface BatchEnterpriseSignContractCommandResultError { |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 错误消息 */ |
| | | errorMessages?: string; |
| | | } |
| | | |
| | | interface BindWxmpUserInfoCommand { |
| | | /** 访问令牌 */ |
| | | accessToken: string; |
| | |
| | | interface CheckReceiveTaskCommand { |
| | | /** 提交Id */ |
| | | id?: string; |
| | | /** 任务人员Id */ |
| | | taskInfoUserId?: string; |
| | | /** 日期 */ |
| | | date?: string; |
| | | /** 签到时间 */ |
| | | checkInTime?: string; |
| | | /** 签出时间 */ |
| | |
| | | interface ExportTaskSettlementOrderRostersCommand { |
| | | /** 结算订单Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface FriendlyResultBatchEnterpriseSignContractCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: BatchEnterpriseSignContractCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultBoolean { |
| | |
| | | bindProperty?: string; |
| | | /** 是否必填 */ |
| | | required?: boolean; |
| | | /** 坐标X */ |
| | | x?: number; |
| | | /** 坐标Y */ |
| | | y?: number; |
| | | /** 页码 */ |
| | | page?: number; |
| | | } |
| | | |
| | | type GetCurrentLogierMenusQuery = Record<string, any>; |
| | |
| | | bindProperty?: string; |
| | | /** 是否必填 */ |
| | | required?: boolean; |
| | | /** 坐标X */ |
| | | x?: number; |
| | | /** 坐标Y */ |
| | | y?: number; |
| | | /** 页码 */ |
| | | page?: number; |
| | | } |
| | | |
| | | interface SaveDictionaryCategoryCommand { |