From b3fda48ba53b36f6770f399f58290ed4d95d04a6 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 30 四月 2025 09:19:52 +0800
Subject: [PATCH] feat: 接口

---
 src/services/api/EnterpriseApplyFile.ts |  118 +++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 103 insertions(+), 15 deletions(-)

diff --git a/src/services/api/EnterpriseApplyFile.ts b/src/services/api/EnterpriseApplyFile.ts
index 80fb46d..bc7de20 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,18 @@
     }
   );
 }
+
+/** 涓婁紶鏉愭枡璇︽儏-缂栬緫-涓婁紶鏂囦欢 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