From 9b8c27edd8942f84da68c36d9292e14e5f93cc14 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 15 五月 2025 14:06:14 +0800 Subject: [PATCH] Merge branch 'dev-3.4.5' of http://120.26.58.240:8888/r/12333GovernmentWeb into dev-3.4.5 --- src/services/api/EnterpriseApplyFile.ts | 151 +++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 136 insertions(+), 15 deletions(-) diff --git a/src/services/api/EnterpriseApplyFile.ts b/src/services/api/EnterpriseApplyFile.ts index 80fb46d..90bd80f 100644 --- a/src/services/api/EnterpriseApplyFile.ts +++ b/src/services/api/EnterpriseApplyFile.ts @@ -2,25 +2,59 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 鏌ヨ璇ュ鎴烽渶瑕佷笂浼犳枃浠剁被鍨嬬被鍒� GET /api/EnterpriseApplyFile/GetCustomerFileTypeHead */ -export async function getCustomerFileTypeHead(options?: API.RequestConfig) { - return request<API.IndustrialParkFileTypeDto[]>( - '/api/EnterpriseApplyFile/GetCustomerFileTypeHead', - { - method: 'GET', - ...(options || {}), - } - ); +/** 鎵归噺寮曠敤浼佷笟璧勬枡 GET /api/EnterpriseApplyFile/BatchQuoteEnterpriseApplyFile */ +export async function batchQuoteEnterpriseApplyFile( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIbatchQuoteEnterpriseApplyFileParams, + options?: API.RequestConfig +) { + return request<number>('/api/EnterpriseApplyFile/BatchQuoteEnterpriseApplyFile', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); } -/** 鑾峰彇鏈堜唤涓婁紶鏂囦欢璇︽儏 GET /api/EnterpriseApplyFile/GetCustomerUploadApplyFiles */ -export async function getCustomerUploadApplyFiles( +/** 纭鎻愪氦鏉愭枡涓婁紶 POST /api/EnterpriseApplyFile/CustomerUploadMonthApplyFile */ +export async function customerUploadMonthApplyFile( + body: API.CustomerUploadMonthApplyFileInput, + options?: API.RequestConfig +) { + return request<number>('/api/EnterpriseApplyFile/CustomerUploadMonthApplyFile', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 瀹㈡埛绔垹闄ゆ寜鏈堜笂浼犲崟涓枃浠� DELETE /api/EnterpriseApplyFile/DeleteMonthApplySingleFile */ +export async function deleteMonthApplySingleFile( + body: API.DeleteMonthApplySingleFileInput, + options?: API.RequestConfig +) { + return request<number>('/api/EnterpriseApplyFile/DeleteMonthApplySingleFile', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ璇ュ鎴烽渶瑕佷笂浼犳枃浠剁被鍨嬬被鍒� GET /api/EnterpriseApplyFile/GetCustomerFileTypeHead */ +export async function getCustomerFileTypeHead( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetCustomerUploadApplyFilesParams, + params: API.APIgetCustomerFileTypeHeadParams, options?: API.RequestConfig ) { return request<API.GetCustomerUploadApplyFilesOutput[]>( - '/api/EnterpriseApplyFile/GetCustomerUploadApplyFiles', + '/api/EnterpriseApplyFile/GetCustomerFileTypeHead', { method: 'GET', params: { @@ -31,12 +65,66 @@ ); } -/** 鎸夋湀浠芥煡璇紒涓氫笂浼犵殑鏂囦欢鍒楄〃 POST /api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile */ +/** 鑾峰彇鏈堜唤涓婁紶鏂囦欢璇︽儏 POST /api/EnterpriseApplyFile/GetCustomerUploadApplyFiles */ +export async function getCustomerUploadApplyFiles( + body: API.GetCustomerUploadApplyFilesInput, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadApplyFilesOutput[]>( + '/api/EnterpriseApplyFile/GetCustomerUploadApplyFiles', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鑾峰彇鏈堜唤涓婁紶鏂囦欢鎸夌被鍨嬫煡璇㈡枃浠跺垪琛� POST /api/EnterpriseApplyFile/GetCustomerUploadApplyFilesByType */ +export async function getCustomerUploadApplyFilesByType( + body: API.GetCustomerUploadApplyFilesByTypeInput, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadApplyFilesByTypeOutput[]>( + '/api/EnterpriseApplyFile/GetCustomerUploadApplyFilesByType', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鏍规嵁鏈堜唤鏌ヨ鏄惁瀛樺湪鎻愪氦璁板綍 GET /api/EnterpriseApplyFile/GetCustomerUploadFileRecord */ +export async function getCustomerUploadFileRecord( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetCustomerUploadFileRecordParams, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadFileRecordOutput>( + '/api/EnterpriseApplyFile/GetCustomerUploadFileRecord', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + +/** 鎸夋湀浠芥煡璇紒涓氫笂浼犳潗鏂欏垪琛� POST /api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile */ export async function getEnterpriseApplyUploadFile( body: API.PageInput, options?: API.RequestConfig ) { - return request<API.GetEnterpriseApplyUploadFileOutputPageOutput>( + return request<API.GetEnterpriseMonthApplyFileOutputPageOutput>( '/api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile', { method: 'POST', @@ -48,3 +136,36 @@ } ); } + +/** 鑾峰彇鍥尯姹囨�绘潗鏂欑被鍨� POST /api/EnterpriseApplyFile/GetParkCollectFileTypeList */ +export async function getParkCollectFileTypeList( + body: API.GetParkCollectFileTypeListInput, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadApplyFilesOutput[]>( + '/api/EnterpriseApplyFile/GetParkCollectFileTypeList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 涓婁紶鏉愭枡璇︽儏-缂栬緫-涓婁紶鏂囦欢 POST /api/EnterpriseApplyFile/UploadMonthApplySingleFiles */ +export async function uploadMonthApplySingleFiles( + body: API.UploadMonthApplySingleFilesInput, + options?: API.RequestConfig +) { + return request<number>('/api/EnterpriseApplyFile/UploadMonthApplySingleFiles', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} -- Gitblit v1.9.1