| | |
| | | }); |
| | | } |
| | | |
| | | /** 批量签约 POST /api/ElectronSign/BatchSignContract */ |
| | | export async function batchSignContract( |
| | | body: API.BatchSignContractInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.BatchSignContractOutput>('/api/ElectronSign/BatchSignContract', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 批量更新合同参数状态 POST /api/ElectronSign/BatchUpdateContractParamterStatus */ |
| | | export async function batchUpdateContractParamterStatus( |
| | | body: API.BatchUpdateContractParamterStatusInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ElectronSign/BatchUpdateContractParamterStatus', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 创建或更新模板 POST /api/ElectronSign/CreateOrUpdateContractTemplate */ |
| | | export async function createOrUpdateContractTemplate( |
| | | body: API.CreateOrUpdateContractTemplateInput, |
| | |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取合同参数列表 POST /api/ElectronSign/GetContractParamterList */ |
| | | export async function getContractParamterList( |
| | | body: API.GetContractParamterListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetContractParamterListItemPageOutput>( |
| | | '/api/ElectronSign/GetContractParamterList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取合同模板列表 POST /api/ElectronSign/GetContractTemplateList */ |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 保存合同参数 POST /api/ElectronSign/SaveContractParamter */ |
| | | export async function saveContractParamter( |
| | | body: API.SaveContractTemplateParamterInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/ElectronSign/SaveContractParamter', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 发起签约 POST /api/ElectronSign/SendContract */ |
| | | export async function sendContract(body: API.SendContractInput, options?: API.RequestConfig) { |
| | | return request<API.SendContractOutput>('/api/ElectronSign/SendContract', { |