wupengfei
2025-04-30 b3fda48ba53b36f6770f399f58290ed4d95d04a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 确认提交材料上传 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(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetCustomerFileTypeHeadParams,
  options?: API.RequestConfig
) {
  return request<API.GetCustomerUploadApplyFilesOutput[]>(
    '/api/EnterpriseApplyFile/GetCustomerFileTypeHead',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
 
/** 获取月份上传文件详情 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(
  // 叠加生成的Param类型 (非body参数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.GetEnterpriseMonthApplyFileOutputPageOutput>(
    '/api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile',
    {
      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 || {}),
  });
}