From e9dda9e6c52cb737267185f5118ded73c0053115 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 06 五月 2025 17:13:41 +0800
Subject: [PATCH] feat: 接口
---
src/services/api/EnterpriseApplyFile.ts | 136 ++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 121 insertions(+), 15 deletions(-)
diff --git a/src/services/api/EnterpriseApplyFile.ts b/src/services/api/EnterpriseApplyFile.ts
index 80fb46d..3013b93 100644
--- a/src/services/api/EnterpriseApplyFile.ts
+++ b/src/services/api/EnterpriseApplyFile.ts
@@ -2,25 +2,44 @@
// @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 || {}),
- }
- );
+/** 纭鎻愪氦鏉愭枡涓婁紶 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 || {}),
+ });
}
-/** 鑾峰彇鏈堜唤涓婁紶鏂囦欢璇︽儏 GET /api/EnterpriseApplyFile/GetCustomerUploadApplyFiles */
-export async function getCustomerUploadApplyFiles(
+/** 瀹㈡埛绔垹闄ゆ寜鏈堜笂浼犲崟涓枃浠� 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 +50,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 +121,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