| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询客户详情(甲方企业) GET /api/user/enterprise/getPartyAEnterprise */ |
| | | export async function getPartyAEnterprise( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetPartyAEnterpriseParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPartyAEnterpriseQueryResult>('/api/user/enterprise/getPartyAEnterprise', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询客户管理(甲方客户) POST /api/user/enterprise/getPartyAEnterprises */ |
| | | export async function getPartyAEnterprises( |
| | | body: API.GetPartyAEnterprisesQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.PagedListQueryResultGetPartyAEnterprisesQueryResultItem>( |
| | | '/api/user/enterprise/getPartyAEnterprises', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询供应商管理 POST /api/user/enterprise/getSupplierEnterprises */ |
| | | export async function getSupplierEnterprises( |
| | | body: API.GetSupplierEnterprisesQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.PagedListQueryResultGetSupplierEnterprisesQueryResultItem>( |
| | | '/api/user/enterprise/getSupplierEnterprises', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询供应商选择器数据 GET /api/user/enterprise/getSupplierEnterpriseSelect */ |
| | | export async function getSupplierEnterpriseSelect( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetSupplierEnterpriseSelectParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.SelectOptionGuidGetSupplierEnterpriseSelectQueryOption[]>( |
| | | '/api/user/enterprise/getSupplierEnterpriseSelect', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 保存企业 POST /api/user/enterprise/saveEnterprise */ |
| | | export async function saveEnterprise(body: API.SaveEnterpriseCommand, options?: API.RequestConfig) { |
| | | return request<string>('/api/user/enterprise/saveEnterprise', { |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 添加客户企业(甲方企业) POST /api/user/enterprise/savePartyAEnterprise */ |
| | | export async function savePartyAEnterprise( |
| | | body: API.SavePartyAEnterpriseCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterprise/savePartyAEnterprise', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 设置企业电子签配置 PUT /api/user/enterprise/setEnterpriseElectronSignSetting */ |
| | | export async function setEnterpriseElectronSignSetting( |
| | | body: API.SetEnterpriseElectronSignSettingCommand, |