Commit 386b073c49b2c32ca338e3b2671969771a61acb9
Merge branch 'master' of http://39.108.227.113:8001/zhusen/canrd-erp-front
Showing
4 changed files
with
25 additions
and
969 deletions
src/pages/Order/constant.ts
1 | -import { postServiceOrderQueryCustomerInformation } from '@/services'; | 1 | +import { |
2 | + postOrderErpOrderZoNingSelectSaleUserHasZoning, | ||
3 | + postServiceOrderQueryCustomerInformation, | ||
4 | +} from '@/services'; | ||
2 | import { enumToProTableEnumValue } from '@/utils'; | 5 | import { enumToProTableEnumValue } from '@/utils'; |
3 | import { getReceivingCompanyOptions, isSupplier } from '@/utils/order'; | 6 | import { getReceivingCompanyOptions, isSupplier } from '@/utils/order'; |
4 | export const COMFIR_RECEIPT_IMAGES_NUMBER = 3; | 7 | export const COMFIR_RECEIPT_IMAGES_NUMBER = 3; |
@@ -592,6 +595,25 @@ export const MAIN_ORDER_COLUMNS = [ | @@ -592,6 +595,25 @@ export const MAIN_ORDER_COLUMNS = [ | ||
592 | valueEnum: enumToProTableEnumValue(PRODUCT_BELONG_DEPARTMENT_OPTIONS), | 595 | valueEnum: enumToProTableEnumValue(PRODUCT_BELONG_DEPARTMENT_OPTIONS), |
593 | }, | 596 | }, |
594 | { | 597 | { |
598 | + title: '所属大区', | ||
599 | + dataIndex: 'orderZoning', | ||
600 | + valueType: 'select', | ||
601 | + hideInTable: true, | ||
602 | + request: async () => { | ||
603 | + const res = await postOrderErpOrderZoNingSelectSaleUserHasZoning({ | ||
604 | + data: JSON.parse(localStorage.getItem('userInfo')).id, | ||
605 | + }); | ||
606 | + let sel = []; | ||
607 | + res.data.forEach((item) => { | ||
608 | + sel.push({ | ||
609 | + label: item.zoning, | ||
610 | + value: item.id, | ||
611 | + }); | ||
612 | + }); | ||
613 | + return sel; | ||
614 | + }, | ||
615 | + }, | ||
616 | + { | ||
595 | title: '创建日期', | 617 | title: '创建日期', |
596 | dataIndex: 'createTime', | 618 | dataIndex: 'createTime', |
597 | valueType: 'dateTimeRange', | 619 | valueType: 'dateTimeRange', |
src/pages/ZoNing/components/table.tsx
@@ -110,6 +110,7 @@ export default () => { | @@ -110,6 +110,7 @@ export default () => { | ||
110 | key: 'state', | 110 | key: 'state', |
111 | dataIndex: 'orderUserShowList', | 111 | dataIndex: 'orderUserShowList', |
112 | valueType: 'select', | 112 | valueType: 'select', |
113 | + ellipsis: true, | ||
113 | width: 200, | 114 | width: 200, |
114 | }, | 115 | }, |
115 | { | 116 | { |
src/services/definition.ts
@@ -83,112 +83,6 @@ export interface AdminAuthUserVO { | @@ -83,112 +83,6 @@ export interface AdminAuthUserVO { | ||
83 | userId?: number; | 83 | userId?: number; |
84 | } | 84 | } |
85 | 85 | ||
86 | -export interface AdminClientDto { | ||
87 | - /** | ||
88 | - * @description | ||
89 | - * 市 | ||
90 | - */ | ||
91 | - city?: string; | ||
92 | - /** | ||
93 | - * @description | ||
94 | - * 单位地址 | ||
95 | - */ | ||
96 | - companyAddress?: string; | ||
97 | - companyId?: string; | ||
98 | - /** | ||
99 | - * @description | ||
100 | - * 单位名称 | ||
101 | - */ | ||
102 | - companyName?: string; | ||
103 | - contacts?: string; | ||
104 | - createBy?: string; | ||
105 | - /** @format date-time */ | ||
106 | - createTime?: string; | ||
107 | - /** | ||
108 | - * @description | ||
109 | - * 区 | ||
110 | - */ | ||
111 | - district?: string; | ||
112 | - /** @format int32 */ | ||
113 | - enableFlag?: number; | ||
114 | - /** | ||
115 | - * @description | ||
116 | - * 是否已报方案 | ||
117 | - */ | ||
118 | - hasScheme?: boolean; | ||
119 | - hasSchemeText?: string; | ||
120 | - /** @format int64 */ | ||
121 | - id?: number; | ||
122 | - /** @format date-time */ | ||
123 | - latestCommunicationTime?: string; | ||
124 | - /** | ||
125 | - * @description | ||
126 | - * 客户等级 | ||
127 | - */ | ||
128 | - level?: string; | ||
129 | - /** | ||
130 | - * @description | ||
131 | - * 客户等级 | ||
132 | - */ | ||
133 | - levelText?: string; | ||
134 | - modifyBy?: string; | ||
135 | - /** @format date-time */ | ||
136 | - modifyTime?: string; | ||
137 | - /** | ||
138 | - * @description | ||
139 | - * 名称 | ||
140 | - */ | ||
141 | - name?: string; | ||
142 | - /** | ||
143 | - * @description | ||
144 | - * 备注 | ||
145 | - */ | ||
146 | - notes?: string; | ||
147 | - /** | ||
148 | - * @description | ||
149 | - * 电话号码 | ||
150 | - */ | ||
151 | - phoneNumber?: string; | ||
152 | - /** | ||
153 | - * @description | ||
154 | - * 省 | ||
155 | - */ | ||
156 | - province?: string; | ||
157 | - /** | ||
158 | - * @description | ||
159 | - * 报价时间 | ||
160 | - * @format date-time | ||
161 | - */ | ||
162 | - quoteDatetime?: string; | ||
163 | - /** | ||
164 | - * @description | ||
165 | - * 推荐人 | ||
166 | - */ | ||
167 | - referrers?: string; | ||
168 | - /** | ||
169 | - * @description | ||
170 | - * 需求 | ||
171 | - */ | ||
172 | - requirements?: string; | ||
173 | - /** | ||
174 | - * @description | ||
175 | - * 来源 | ||
176 | - */ | ||
177 | - source?: string; | ||
178 | - /** | ||
179 | - * @description | ||
180 | - * 跟进状态 | ||
181 | - */ | ||
182 | - tradeStatus?: string; | ||
183 | - /** | ||
184 | - * @description | ||
185 | - * 跟进状态 | ||
186 | - */ | ||
187 | - tradeStatusText?: string; | ||
188 | - /** @format int32 */ | ||
189 | - version?: number; | ||
190 | -} | ||
191 | - | ||
192 | export interface AdminDeptQueryVO { | 86 | export interface AdminDeptQueryVO { |
193 | /** @format int32 */ | 87 | /** @format int32 */ |
194 | current?: number; | 88 | current?: number; |
@@ -1928,7 +1822,7 @@ export interface QueryClientDto { | @@ -1928,7 +1822,7 @@ export interface QueryClientDto { | ||
1928 | current?: number; | 1822 | current?: number; |
1929 | /** @format int32 */ | 1823 | /** @format int32 */ |
1930 | end?: number; | 1824 | end?: number; |
1931 | - hasScheme?: boolean; | 1825 | + hasScheme?: string; |
1932 | level?: string; | 1826 | level?: string; |
1933 | namelike?: string; | 1827 | namelike?: string; |
1934 | /** @format int32 */ | 1828 | /** @format int32 */ |
@@ -1941,27 +1835,6 @@ export interface QueryClientDto { | @@ -1941,27 +1835,6 @@ export interface QueryClientDto { | ||
1941 | tradeStatus?: string; | 1835 | tradeStatus?: string; |
1942 | } | 1836 | } |
1943 | 1837 | ||
1944 | -export interface QueryCommunicationInfoDto { | ||
1945 | - /** @format int64 */ | ||
1946 | - clientId?: number; | ||
1947 | - content?: string; | ||
1948 | - /** @format int32 */ | ||
1949 | - current?: number; | ||
1950 | - /** @format date-time */ | ||
1951 | - datetime?: string; | ||
1952 | - /** @format int32 */ | ||
1953 | - end?: number; | ||
1954 | - /** @format int64 */ | ||
1955 | - id?: number; | ||
1956 | - /** @format int32 */ | ||
1957 | - pageSize?: number; | ||
1958 | - /** @format int32 */ | ||
1959 | - start?: number; | ||
1960 | - /** @format int32 */ | ||
1961 | - total?: number; | ||
1962 | - way?: string; | ||
1963 | -} | ||
1964 | - | ||
1965 | export interface QueryCustomerInformationDto { | 1838 | export interface QueryCustomerInformationDto { |
1966 | /** | 1839 | /** |
1967 | * @description | 1840 | * @description |
@@ -2731,36 +2604,6 @@ export interface ApiOrderConfirmReceiveRequest { | @@ -2731,36 +2604,6 @@ export interface ApiOrderConfirmReceiveRequest { | ||
2731 | subOrderIds?: Array<number>; | 2604 | subOrderIds?: Array<number>; |
2732 | } | 2605 | } |
2733 | 2606 | ||
2734 | -export interface ClientCommunicationInfo { | ||
2735 | - /** @format int64 */ | ||
2736 | - clientId?: number; | ||
2737 | - /** | ||
2738 | - * @description | ||
2739 | - * 内容 | ||
2740 | - */ | ||
2741 | - content?: string; | ||
2742 | - createByName?: string; | ||
2743 | - /** @format date-time */ | ||
2744 | - createTime?: string; | ||
2745 | - /** | ||
2746 | - * @description | ||
2747 | - * 跟进时间 | ||
2748 | - * @format date-time | ||
2749 | - */ | ||
2750 | - datetime?: string; | ||
2751 | - /** @format int64 */ | ||
2752 | - id?: number; | ||
2753 | - logicDelete?: boolean; | ||
2754 | - updateByName?: string; | ||
2755 | - /** @format date-time */ | ||
2756 | - updateTime?: string; | ||
2757 | - /** | ||
2758 | - * @description | ||
2759 | - * 方式 | ||
2760 | - */ | ||
2761 | - way?: string; | ||
2762 | -} | ||
2763 | - | ||
2764 | export interface TsgFile { | 2607 | export interface TsgFile { |
2765 | absolute?: boolean; | 2608 | absolute?: boolean; |
2766 | absoluteFile?: TsgFile; | 2609 | absoluteFile?: TsgFile; |
src/services/request.ts
@@ -6,7 +6,6 @@ import { request as requester } from 'umi'; | @@ -6,7 +6,6 @@ import { request as requester } from 'umi'; | ||
6 | import type { | 6 | import type { |
7 | AdminAuthRoleVO, | 7 | AdminAuthRoleVO, |
8 | AdminAuthUserVO, | 8 | AdminAuthUserVO, |
9 | - AdminClientDto, | ||
10 | AdminDeptQueryVO, | 9 | AdminDeptQueryVO, |
11 | AdminDeptVO, | 10 | AdminDeptVO, |
12 | AdminJobQueryVO, | 11 | AdminJobQueryVO, |
@@ -35,7 +34,6 @@ import type { | @@ -35,7 +34,6 @@ import type { | ||
35 | CancelInvoiceAndBankStatementDto, | 34 | CancelInvoiceAndBankStatementDto, |
36 | CancelSendOrderDto, | 35 | CancelSendOrderDto, |
37 | CaptchaMessageVO, | 36 | CaptchaMessageVO, |
38 | - ClientCommunicationInfo, | ||
39 | CommonAuditRequest, | 37 | CommonAuditRequest, |
40 | CustomFieldRes, | 38 | CustomFieldRes, |
41 | CustomerCustomerListReq, | 39 | CustomerCustomerListReq, |
@@ -83,7 +81,6 @@ import type { | @@ -83,7 +81,6 @@ import type { | ||
83 | QueryAnnexDto, | 81 | QueryAnnexDto, |
84 | QueryBankStatementDto, | 82 | QueryBankStatementDto, |
85 | QueryClientDto, | 83 | QueryClientDto, |
86 | - QueryCommunicationInfoDto, | ||
87 | QueryCustomerInformationDto, | 84 | QueryCustomerInformationDto, |
88 | QueryHistoryRecordDto, | 85 | QueryHistoryRecordDto, |
89 | QueryInvoiceDetailDto, | 86 | QueryInvoiceDetailDto, |
@@ -128,631 +125,6 @@ import type { | @@ -128,631 +125,6 @@ import type { | ||
128 | UserNowMoneyCheckRequest, | 125 | UserNowMoneyCheckRequest, |
129 | } from './definition'; | 126 | } from './definition'; |
130 | 127 | ||
131 | -/** @description request parameter type for postAdminClientAddAdminClient */ | ||
132 | -export interface PostAdminClientAddAdminClientOption { | ||
133 | - /** | ||
134 | - * @description | ||
135 | - * dto | ||
136 | - */ | ||
137 | - body: { | ||
138 | - /** | ||
139 | - @description | ||
140 | - dto */ | ||
141 | - dto: AdminClientDto; | ||
142 | - }; | ||
143 | -} | ||
144 | - | ||
145 | -/** @description response type for postAdminClientAddAdminClient */ | ||
146 | -export interface PostAdminClientAddAdminClientResponse { | ||
147 | - /** | ||
148 | - * @description | ||
149 | - * OK | ||
150 | - */ | ||
151 | - 200: ServerResult; | ||
152 | - /** | ||
153 | - * @description | ||
154 | - * Created | ||
155 | - */ | ||
156 | - 201: any; | ||
157 | - /** | ||
158 | - * @description | ||
159 | - * Unauthorized | ||
160 | - */ | ||
161 | - 401: any; | ||
162 | - /** | ||
163 | - * @description | ||
164 | - * Forbidden | ||
165 | - */ | ||
166 | - 403: any; | ||
167 | - /** | ||
168 | - * @description | ||
169 | - * Not Found | ||
170 | - */ | ||
171 | - 404: any; | ||
172 | -} | ||
173 | - | ||
174 | -export type PostAdminClientAddAdminClientResponseSuccess = | ||
175 | - PostAdminClientAddAdminClientResponse[200]; | ||
176 | -/** | ||
177 | - * @description | ||
178 | - * 添加客户 | ||
179 | - * @tags 客户管理 | ||
180 | - * @produces * | ||
181 | - * @consumes application/json | ||
182 | - */ | ||
183 | -export const postAdminClientAddAdminClient = /* #__PURE__ */ (() => { | ||
184 | - const method = 'post'; | ||
185 | - const url = '/admin/client/addAdminClient'; | ||
186 | - function request( | ||
187 | - option: PostAdminClientAddAdminClientOption, | ||
188 | - ): Promise<PostAdminClientAddAdminClientResponseSuccess> { | ||
189 | - return requester(request.url, { | ||
190 | - method: request.method, | ||
191 | - ...option, | ||
192 | - }) as unknown as Promise<PostAdminClientAddAdminClientResponseSuccess>; | ||
193 | - } | ||
194 | - | ||
195 | - /** http method */ | ||
196 | - request.method = method; | ||
197 | - /** request url */ | ||
198 | - request.url = url; | ||
199 | - return request; | ||
200 | -})(); | ||
201 | - | ||
202 | -/** @description request parameter type for postAdminClientAddClientComunicationInfo */ | ||
203 | -export interface PostAdminClientAddClientComunicationInfoOption { | ||
204 | - /** | ||
205 | - * @description | ||
206 | - * dto | ||
207 | - */ | ||
208 | - body: { | ||
209 | - /** | ||
210 | - @description | ||
211 | - dto */ | ||
212 | - dto: QueryCommunicationInfoDto; | ||
213 | - }; | ||
214 | -} | ||
215 | - | ||
216 | -/** @description response type for postAdminClientAddClientComunicationInfo */ | ||
217 | -export interface PostAdminClientAddClientComunicationInfoResponse { | ||
218 | - /** | ||
219 | - * @description | ||
220 | - * OK | ||
221 | - */ | ||
222 | - 200: ServerResult; | ||
223 | - /** | ||
224 | - * @description | ||
225 | - * Created | ||
226 | - */ | ||
227 | - 201: any; | ||
228 | - /** | ||
229 | - * @description | ||
230 | - * Unauthorized | ||
231 | - */ | ||
232 | - 401: any; | ||
233 | - /** | ||
234 | - * @description | ||
235 | - * Forbidden | ||
236 | - */ | ||
237 | - 403: any; | ||
238 | - /** | ||
239 | - * @description | ||
240 | - * Not Found | ||
241 | - */ | ||
242 | - 404: any; | ||
243 | -} | ||
244 | - | ||
245 | -export type PostAdminClientAddClientComunicationInfoResponseSuccess = | ||
246 | - PostAdminClientAddClientComunicationInfoResponse[200]; | ||
247 | -/** | ||
248 | - * @description | ||
249 | - * 添加跟进信息 | ||
250 | - * @tags 客户管理 | ||
251 | - * @produces * | ||
252 | - * @consumes application/json | ||
253 | - */ | ||
254 | -export const postAdminClientAddClientComunicationInfo = /* #__PURE__ */ (() => { | ||
255 | - const method = 'post'; | ||
256 | - const url = '/admin/client/addClientComunicationInfo'; | ||
257 | - function request( | ||
258 | - option: PostAdminClientAddClientComunicationInfoOption, | ||
259 | - ): Promise<PostAdminClientAddClientComunicationInfoResponseSuccess> { | ||
260 | - return requester(request.url, { | ||
261 | - method: request.method, | ||
262 | - ...option, | ||
263 | - }) as unknown as Promise<PostAdminClientAddClientComunicationInfoResponseSuccess>; | ||
264 | - } | ||
265 | - | ||
266 | - /** http method */ | ||
267 | - request.method = method; | ||
268 | - /** request url */ | ||
269 | - request.url = url; | ||
270 | - return request; | ||
271 | -})(); | ||
272 | - | ||
273 | -/** @description request parameter type for postAdminClientAddOrModifyClientComunicationInfo */ | ||
274 | -export interface PostAdminClientAddOrModifyClientComunicationInfoOption { | ||
275 | - /** | ||
276 | - * @description | ||
277 | - * dto | ||
278 | - */ | ||
279 | - body: { | ||
280 | - /** | ||
281 | - @description | ||
282 | - dto */ | ||
283 | - dto: ClientCommunicationInfo; | ||
284 | - }; | ||
285 | -} | ||
286 | - | ||
287 | -/** @description response type for postAdminClientAddOrModifyClientComunicationInfo */ | ||
288 | -export interface PostAdminClientAddOrModifyClientComunicationInfoResponse { | ||
289 | - /** | ||
290 | - * @description | ||
291 | - * OK | ||
292 | - */ | ||
293 | - 200: ServerResult; | ||
294 | - /** | ||
295 | - * @description | ||
296 | - * Created | ||
297 | - */ | ||
298 | - 201: any; | ||
299 | - /** | ||
300 | - * @description | ||
301 | - * Unauthorized | ||
302 | - */ | ||
303 | - 401: any; | ||
304 | - /** | ||
305 | - * @description | ||
306 | - * Forbidden | ||
307 | - */ | ||
308 | - 403: any; | ||
309 | - /** | ||
310 | - * @description | ||
311 | - * Not Found | ||
312 | - */ | ||
313 | - 404: any; | ||
314 | -} | ||
315 | - | ||
316 | -export type PostAdminClientAddOrModifyClientComunicationInfoResponseSuccess = | ||
317 | - PostAdminClientAddOrModifyClientComunicationInfoResponse[200]; | ||
318 | -/** | ||
319 | - * @description | ||
320 | - * 修改跟进信息 | ||
321 | - * @tags 客户管理 | ||
322 | - * @produces * | ||
323 | - * @consumes application/json | ||
324 | - */ | ||
325 | -export const postAdminClientAddOrModifyClientComunicationInfo = | ||
326 | - /* #__PURE__ */ (() => { | ||
327 | - const method = 'post'; | ||
328 | - const url = '/admin/client/addOrModifyClientComunicationInfo'; | ||
329 | - function request( | ||
330 | - option: PostAdminClientAddOrModifyClientComunicationInfoOption, | ||
331 | - ): Promise<PostAdminClientAddOrModifyClientComunicationInfoResponseSuccess> { | ||
332 | - return requester(request.url, { | ||
333 | - method: request.method, | ||
334 | - ...option, | ||
335 | - }) as unknown as Promise<PostAdminClientAddOrModifyClientComunicationInfoResponseSuccess>; | ||
336 | - } | ||
337 | - | ||
338 | - /** http method */ | ||
339 | - request.method = method; | ||
340 | - /** request url */ | ||
341 | - request.url = url; | ||
342 | - return request; | ||
343 | - })(); | ||
344 | - | ||
345 | -/** @description response type for postAdminClientDownloadImportTemplate */ | ||
346 | -export interface PostAdminClientDownloadImportTemplateResponse { | ||
347 | - /** | ||
348 | - * @description | ||
349 | - * OK | ||
350 | - */ | ||
351 | - 200: any; | ||
352 | - /** | ||
353 | - * @description | ||
354 | - * Created | ||
355 | - */ | ||
356 | - 201: any; | ||
357 | - /** | ||
358 | - * @description | ||
359 | - * Unauthorized | ||
360 | - */ | ||
361 | - 401: any; | ||
362 | - /** | ||
363 | - * @description | ||
364 | - * Forbidden | ||
365 | - */ | ||
366 | - 403: any; | ||
367 | - /** | ||
368 | - * @description | ||
369 | - * Not Found | ||
370 | - */ | ||
371 | - 404: any; | ||
372 | -} | ||
373 | - | ||
374 | -export type PostAdminClientDownloadImportTemplateResponseSuccess = | ||
375 | - PostAdminClientDownloadImportTemplateResponse[200]; | ||
376 | -/** | ||
377 | - * @description | ||
378 | - * 下载导入模板 | ||
379 | - * @tags 客户管理 | ||
380 | - * @produces * | ||
381 | - * @consumes application/json | ||
382 | - */ | ||
383 | -export const postAdminClientDownloadImportTemplate = /* #__PURE__ */ (() => { | ||
384 | - const method = 'post'; | ||
385 | - const url = '/admin/client/downloadImportTemplate'; | ||
386 | - function request(): Promise<PostAdminClientDownloadImportTemplateResponseSuccess> { | ||
387 | - return requester(request.url, { | ||
388 | - method: request.method, | ||
389 | - }) as unknown as Promise<PostAdminClientDownloadImportTemplateResponseSuccess>; | ||
390 | - } | ||
391 | - | ||
392 | - /** http method */ | ||
393 | - request.method = method; | ||
394 | - /** request url */ | ||
395 | - request.url = url; | ||
396 | - return request; | ||
397 | -})(); | ||
398 | - | ||
399 | -/** @description request parameter type for postAdminClientExportClients */ | ||
400 | -export interface PostAdminClientExportClientsOption { | ||
401 | - /** | ||
402 | - * @description | ||
403 | - * dto | ||
404 | - */ | ||
405 | - body: { | ||
406 | - /** | ||
407 | - @description | ||
408 | - dto */ | ||
409 | - dto: QueryClientDto; | ||
410 | - }; | ||
411 | -} | ||
412 | - | ||
413 | -/** @description response type for postAdminClientExportClients */ | ||
414 | -export interface PostAdminClientExportClientsResponse { | ||
415 | - /** | ||
416 | - * @description | ||
417 | - * OK | ||
418 | - */ | ||
419 | - 200: any; | ||
420 | - /** | ||
421 | - * @description | ||
422 | - * Created | ||
423 | - */ | ||
424 | - 201: any; | ||
425 | - /** | ||
426 | - * @description | ||
427 | - * Unauthorized | ||
428 | - */ | ||
429 | - 401: any; | ||
430 | - /** | ||
431 | - * @description | ||
432 | - * Forbidden | ||
433 | - */ | ||
434 | - 403: any; | ||
435 | - /** | ||
436 | - * @description | ||
437 | - * Not Found | ||
438 | - */ | ||
439 | - 404: any; | ||
440 | -} | ||
441 | - | ||
442 | -export type PostAdminClientExportClientsResponseSuccess = | ||
443 | - PostAdminClientExportClientsResponse[200]; | ||
444 | -/** | ||
445 | - * @description | ||
446 | - * 导出客户信息 | ||
447 | - * @tags 客户管理 | ||
448 | - * @produces * | ||
449 | - * @consumes application/json | ||
450 | - */ | ||
451 | -export const postAdminClientExportClients = /* #__PURE__ */ (() => { | ||
452 | - const method = 'post'; | ||
453 | - const url = '/admin/client/exportClients'; | ||
454 | - function request( | ||
455 | - option: PostAdminClientExportClientsOption, | ||
456 | - ): Promise<PostAdminClientExportClientsResponseSuccess> { | ||
457 | - return requester(request.url, { | ||
458 | - method: request.method, | ||
459 | - ...option, | ||
460 | - }) as unknown as Promise<PostAdminClientExportClientsResponseSuccess>; | ||
461 | - } | ||
462 | - | ||
463 | - /** http method */ | ||
464 | - request.method = method; | ||
465 | - /** request url */ | ||
466 | - request.url = url; | ||
467 | - return request; | ||
468 | -})(); | ||
469 | - | ||
470 | -/** @description request parameter type for postAdminClientImportClient */ | ||
471 | -export interface PostAdminClientImportClientOption { | ||
472 | - /** | ||
473 | - * @description | ||
474 | - * file | ||
475 | - */ | ||
476 | - formData: { | ||
477 | - /** | ||
478 | - @description | ||
479 | - file */ | ||
480 | - file: File; | ||
481 | - }; | ||
482 | -} | ||
483 | - | ||
484 | -/** @description response type for postAdminClientImportClient */ | ||
485 | -export interface PostAdminClientImportClientResponse { | ||
486 | - /** | ||
487 | - * @description | ||
488 | - * OK | ||
489 | - */ | ||
490 | - 200: ServerResult; | ||
491 | - /** | ||
492 | - * @description | ||
493 | - * Created | ||
494 | - */ | ||
495 | - 201: any; | ||
496 | - /** | ||
497 | - * @description | ||
498 | - * Unauthorized | ||
499 | - */ | ||
500 | - 401: any; | ||
501 | - /** | ||
502 | - * @description | ||
503 | - * Forbidden | ||
504 | - */ | ||
505 | - 403: any; | ||
506 | - /** | ||
507 | - * @description | ||
508 | - * Not Found | ||
509 | - */ | ||
510 | - 404: any; | ||
511 | -} | ||
512 | - | ||
513 | -export type PostAdminClientImportClientResponseSuccess = | ||
514 | - PostAdminClientImportClientResponse[200]; | ||
515 | -/** | ||
516 | - * @description | ||
517 | - * 导入客户 | ||
518 | - * @tags 客户管理 | ||
519 | - * @produces * | ||
520 | - * @consumes multipart/form-data | ||
521 | - */ | ||
522 | -export const postAdminClientImportClient = /* #__PURE__ */ (() => { | ||
523 | - const method = 'post'; | ||
524 | - const url = '/admin/client/importClient'; | ||
525 | - function request( | ||
526 | - option: PostAdminClientImportClientOption, | ||
527 | - ): Promise<PostAdminClientImportClientResponseSuccess> { | ||
528 | - return requester(request.url, { | ||
529 | - method: request.method, | ||
530 | - ...option, | ||
531 | - }) as unknown as Promise<PostAdminClientImportClientResponseSuccess>; | ||
532 | - } | ||
533 | - | ||
534 | - /** http method */ | ||
535 | - request.method = method; | ||
536 | - /** request url */ | ||
537 | - request.url = url; | ||
538 | - return request; | ||
539 | -})(); | ||
540 | - | ||
541 | -/** @description request parameter type for postAdminClientModifyClientComunicationInfo */ | ||
542 | -export interface PostAdminClientModifyClientComunicationInfoOption { | ||
543 | - /** | ||
544 | - * @description | ||
545 | - * dto | ||
546 | - */ | ||
547 | - body: { | ||
548 | - /** | ||
549 | - @description | ||
550 | - dto */ | ||
551 | - dto: QueryCommunicationInfoDto; | ||
552 | - }; | ||
553 | -} | ||
554 | - | ||
555 | -/** @description response type for postAdminClientModifyClientComunicationInfo */ | ||
556 | -export interface PostAdminClientModifyClientComunicationInfoResponse { | ||
557 | - /** | ||
558 | - * @description | ||
559 | - * OK | ||
560 | - */ | ||
561 | - 200: ServerResult; | ||
562 | - /** | ||
563 | - * @description | ||
564 | - * Created | ||
565 | - */ | ||
566 | - 201: any; | ||
567 | - /** | ||
568 | - * @description | ||
569 | - * Unauthorized | ||
570 | - */ | ||
571 | - 401: any; | ||
572 | - /** | ||
573 | - * @description | ||
574 | - * Forbidden | ||
575 | - */ | ||
576 | - 403: any; | ||
577 | - /** | ||
578 | - * @description | ||
579 | - * Not Found | ||
580 | - */ | ||
581 | - 404: any; | ||
582 | -} | ||
583 | - | ||
584 | -export type PostAdminClientModifyClientComunicationInfoResponseSuccess = | ||
585 | - PostAdminClientModifyClientComunicationInfoResponse[200]; | ||
586 | -/** | ||
587 | - * @description | ||
588 | - * 修改跟进信息 | ||
589 | - * @tags 客户管理 | ||
590 | - * @produces * | ||
591 | - * @consumes application/json | ||
592 | - */ | ||
593 | -export const postAdminClientModifyClientComunicationInfo = | ||
594 | - /* #__PURE__ */ (() => { | ||
595 | - const method = 'post'; | ||
596 | - const url = '/admin/client/modifyClientComunicationInfo'; | ||
597 | - function request( | ||
598 | - option: PostAdminClientModifyClientComunicationInfoOption, | ||
599 | - ): Promise<PostAdminClientModifyClientComunicationInfoResponseSuccess> { | ||
600 | - return requester(request.url, { | ||
601 | - method: request.method, | ||
602 | - ...option, | ||
603 | - }) as unknown as Promise<PostAdminClientModifyClientComunicationInfoResponseSuccess>; | ||
604 | - } | ||
605 | - | ||
606 | - /** http method */ | ||
607 | - request.method = method; | ||
608 | - /** request url */ | ||
609 | - request.url = url; | ||
610 | - return request; | ||
611 | - })(); | ||
612 | - | ||
613 | -/** @description request parameter type for postAdminClientModifyClientInfo */ | ||
614 | -export interface PostAdminClientModifyClientInfoOption { | ||
615 | - /** | ||
616 | - * @description | ||
617 | - * dto | ||
618 | - */ | ||
619 | - body: { | ||
620 | - /** | ||
621 | - @description | ||
622 | - dto */ | ||
623 | - dto: AdminClientDto; | ||
624 | - }; | ||
625 | -} | ||
626 | - | ||
627 | -/** @description response type for postAdminClientModifyClientInfo */ | ||
628 | -export interface PostAdminClientModifyClientInfoResponse { | ||
629 | - /** | ||
630 | - * @description | ||
631 | - * OK | ||
632 | - */ | ||
633 | - 200: ServerResult; | ||
634 | - /** | ||
635 | - * @description | ||
636 | - * Created | ||
637 | - */ | ||
638 | - 201: any; | ||
639 | - /** | ||
640 | - * @description | ||
641 | - * Unauthorized | ||
642 | - */ | ||
643 | - 401: any; | ||
644 | - /** | ||
645 | - * @description | ||
646 | - * Forbidden | ||
647 | - */ | ||
648 | - 403: any; | ||
649 | - /** | ||
650 | - * @description | ||
651 | - * Not Found | ||
652 | - */ | ||
653 | - 404: any; | ||
654 | -} | ||
655 | - | ||
656 | -export type PostAdminClientModifyClientInfoResponseSuccess = | ||
657 | - PostAdminClientModifyClientInfoResponse[200]; | ||
658 | -/** | ||
659 | - * @description | ||
660 | - * 修改跟进信息 | ||
661 | - * @tags 客户管理 | ||
662 | - * @produces * | ||
663 | - * @consumes application/json | ||
664 | - */ | ||
665 | -export const postAdminClientModifyClientInfo = /* #__PURE__ */ (() => { | ||
666 | - const method = 'post'; | ||
667 | - const url = '/admin/client/modifyClientInfo'; | ||
668 | - function request( | ||
669 | - option: PostAdminClientModifyClientInfoOption, | ||
670 | - ): Promise<PostAdminClientModifyClientInfoResponseSuccess> { | ||
671 | - return requester(request.url, { | ||
672 | - method: request.method, | ||
673 | - ...option, | ||
674 | - }) as unknown as Promise<PostAdminClientModifyClientInfoResponseSuccess>; | ||
675 | - } | ||
676 | - | ||
677 | - /** http method */ | ||
678 | - request.method = method; | ||
679 | - /** request url */ | ||
680 | - request.url = url; | ||
681 | - return request; | ||
682 | -})(); | ||
683 | - | ||
684 | -/** @description request parameter type for postAdminClientQueryClientComunicationInfo */ | ||
685 | -export interface PostAdminClientQueryClientComunicationInfoOption { | ||
686 | - /** | ||
687 | - * @description | ||
688 | - * dto | ||
689 | - */ | ||
690 | - body: { | ||
691 | - /** | ||
692 | - @description | ||
693 | - dto */ | ||
694 | - dto: QueryCommunicationInfoDto; | ||
695 | - }; | ||
696 | -} | ||
697 | - | ||
698 | -/** @description response type for postAdminClientQueryClientComunicationInfo */ | ||
699 | -export interface PostAdminClientQueryClientComunicationInfoResponse { | ||
700 | - /** | ||
701 | - * @description | ||
702 | - * OK | ||
703 | - */ | ||
704 | - 200: ServerResult; | ||
705 | - /** | ||
706 | - * @description | ||
707 | - * Created | ||
708 | - */ | ||
709 | - 201: any; | ||
710 | - /** | ||
711 | - * @description | ||
712 | - * Unauthorized | ||
713 | - */ | ||
714 | - 401: any; | ||
715 | - /** | ||
716 | - * @description | ||
717 | - * Forbidden | ||
718 | - */ | ||
719 | - 403: any; | ||
720 | - /** | ||
721 | - * @description | ||
722 | - * Not Found | ||
723 | - */ | ||
724 | - 404: any; | ||
725 | -} | ||
726 | - | ||
727 | -export type PostAdminClientQueryClientComunicationInfoResponseSuccess = | ||
728 | - PostAdminClientQueryClientComunicationInfoResponse[200]; | ||
729 | -/** | ||
730 | - * @description | ||
731 | - * 获取跟进信息 | ||
732 | - * @tags 客户管理 | ||
733 | - * @produces * | ||
734 | - * @consumes application/json | ||
735 | - */ | ||
736 | -export const postAdminClientQueryClientComunicationInfo = | ||
737 | - /* #__PURE__ */ (() => { | ||
738 | - const method = 'post'; | ||
739 | - const url = '/admin/client/queryClientComunicationInfo'; | ||
740 | - function request( | ||
741 | - option: PostAdminClientQueryClientComunicationInfoOption, | ||
742 | - ): Promise<PostAdminClientQueryClientComunicationInfoResponseSuccess> { | ||
743 | - return requester(request.url, { | ||
744 | - method: request.method, | ||
745 | - ...option, | ||
746 | - }) as unknown as Promise<PostAdminClientQueryClientComunicationInfoResponseSuccess>; | ||
747 | - } | ||
748 | - | ||
749 | - /** http method */ | ||
750 | - request.method = method; | ||
751 | - /** request url */ | ||
752 | - request.url = url; | ||
753 | - return request; | ||
754 | - })(); | ||
755 | - | ||
756 | /** @description request parameter type for postAdminClientQueryClientPage */ | 128 | /** @description request parameter type for postAdminClientQueryClientPage */ |
757 | export interface PostAdminClientQueryClientPageOption { | 129 | export interface PostAdminClientQueryClientPageOption { |
758 | /** | 130 | /** |
@@ -824,80 +196,6 @@ export const postAdminClientQueryClientPage = /* #__PURE__ */ (() => { | @@ -824,80 +196,6 @@ export const postAdminClientQueryClientPage = /* #__PURE__ */ (() => { | ||
824 | return request; | 196 | return request; |
825 | })(); | 197 | })(); |
826 | 198 | ||
827 | -/** @description request parameter type for postAdminClientRemoveClientComunicationInfo */ | ||
828 | -export interface PostAdminClientRemoveClientComunicationInfoOption { | ||
829 | - /** | ||
830 | - * @description | ||
831 | - * id | ||
832 | - * @format int64 | ||
833 | - */ | ||
834 | - query?: { | ||
835 | - /** | ||
836 | - @description | ||
837 | - id | ||
838 | - @format int64 */ | ||
839 | - id?: number; | ||
840 | - }; | ||
841 | -} | ||
842 | - | ||
843 | -/** @description response type for postAdminClientRemoveClientComunicationInfo */ | ||
844 | -export interface PostAdminClientRemoveClientComunicationInfoResponse { | ||
845 | - /** | ||
846 | - * @description | ||
847 | - * OK | ||
848 | - */ | ||
849 | - 200: ServerResult; | ||
850 | - /** | ||
851 | - * @description | ||
852 | - * Created | ||
853 | - */ | ||
854 | - 201: any; | ||
855 | - /** | ||
856 | - * @description | ||
857 | - * Unauthorized | ||
858 | - */ | ||
859 | - 401: any; | ||
860 | - /** | ||
861 | - * @description | ||
862 | - * Forbidden | ||
863 | - */ | ||
864 | - 403: any; | ||
865 | - /** | ||
866 | - * @description | ||
867 | - * Not Found | ||
868 | - */ | ||
869 | - 404: any; | ||
870 | -} | ||
871 | - | ||
872 | -export type PostAdminClientRemoveClientComunicationInfoResponseSuccess = | ||
873 | - PostAdminClientRemoveClientComunicationInfoResponse[200]; | ||
874 | -/** | ||
875 | - * @description | ||
876 | - * 删除跟进信息 | ||
877 | - * @tags 客户管理 | ||
878 | - * @produces * | ||
879 | - * @consumes application/json | ||
880 | - */ | ||
881 | -export const postAdminClientRemoveClientComunicationInfo = | ||
882 | - /* #__PURE__ */ (() => { | ||
883 | - const method = 'post'; | ||
884 | - const url = '/admin/client/removeClientComunicationInfo'; | ||
885 | - function request( | ||
886 | - option?: PostAdminClientRemoveClientComunicationInfoOption, | ||
887 | - ): Promise<PostAdminClientRemoveClientComunicationInfoResponseSuccess> { | ||
888 | - return requester(request.url, { | ||
889 | - method: request.method, | ||
890 | - ...option, | ||
891 | - }) as unknown as Promise<PostAdminClientRemoveClientComunicationInfoResponseSuccess>; | ||
892 | - } | ||
893 | - | ||
894 | - /** http method */ | ||
895 | - request.method = method; | ||
896 | - /** request url */ | ||
897 | - request.url = url; | ||
898 | - return request; | ||
899 | - })(); | ||
900 | - | ||
901 | /** @description request parameter type for postApiLocalStorageUpload */ | 199 | /** @description request parameter type for postApiLocalStorageUpload */ |
902 | export interface PostApiLocalStorageUploadOption { | 200 | export interface PostApiLocalStorageUploadOption { |
903 | /** | 201 | /** |
@@ -11568,114 +10866,6 @@ export const postServiceBankStatementQueryBankStatement = | @@ -11568,114 +10866,6 @@ export const postServiceBankStatementQueryBankStatement = | ||
11568 | return request; | 10866 | return request; |
11569 | })(); | 10867 | })(); |
11570 | 10868 | ||
11571 | -/** @description response type for postServiceConstClientLevels */ | ||
11572 | -export interface PostServiceConstClientLevelsResponse { | ||
11573 | - /** | ||
11574 | - * @description | ||
11575 | - * OK | ||
11576 | - */ | ||
11577 | - 200: ServerResult; | ||
11578 | - /** | ||
11579 | - * @description | ||
11580 | - * Created | ||
11581 | - */ | ||
11582 | - 201: any; | ||
11583 | - /** | ||
11584 | - * @description | ||
11585 | - * Unauthorized | ||
11586 | - */ | ||
11587 | - 401: any; | ||
11588 | - /** | ||
11589 | - * @description | ||
11590 | - * Forbidden | ||
11591 | - */ | ||
11592 | - 403: any; | ||
11593 | - /** | ||
11594 | - * @description | ||
11595 | - * Not Found | ||
11596 | - */ | ||
11597 | - 404: any; | ||
11598 | -} | ||
11599 | - | ||
11600 | -export type PostServiceConstClientLevelsResponseSuccess = | ||
11601 | - PostServiceConstClientLevelsResponse[200]; | ||
11602 | -/** | ||
11603 | - * @description | ||
11604 | - * 客户等级 | ||
11605 | - * @tags front-const-controller | ||
11606 | - * @produces * | ||
11607 | - * @consumes application/json | ||
11608 | - */ | ||
11609 | -export const postServiceConstClientLevels = /* #__PURE__ */ (() => { | ||
11610 | - const method = 'post'; | ||
11611 | - const url = '/service/const/clientLevels'; | ||
11612 | - function request(): Promise<PostServiceConstClientLevelsResponseSuccess> { | ||
11613 | - return requester(request.url, { | ||
11614 | - method: request.method, | ||
11615 | - }) as unknown as Promise<PostServiceConstClientLevelsResponseSuccess>; | ||
11616 | - } | ||
11617 | - | ||
11618 | - /** http method */ | ||
11619 | - request.method = method; | ||
11620 | - /** request url */ | ||
11621 | - request.url = url; | ||
11622 | - return request; | ||
11623 | -})(); | ||
11624 | - | ||
11625 | -/** @description response type for postServiceConstTradeStatus */ | ||
11626 | -export interface PostServiceConstTradeStatusResponse { | ||
11627 | - /** | ||
11628 | - * @description | ||
11629 | - * OK | ||
11630 | - */ | ||
11631 | - 200: ServerResult; | ||
11632 | - /** | ||
11633 | - * @description | ||
11634 | - * Created | ||
11635 | - */ | ||
11636 | - 201: any; | ||
11637 | - /** | ||
11638 | - * @description | ||
11639 | - * Unauthorized | ||
11640 | - */ | ||
11641 | - 401: any; | ||
11642 | - /** | ||
11643 | - * @description | ||
11644 | - * Forbidden | ||
11645 | - */ | ||
11646 | - 403: any; | ||
11647 | - /** | ||
11648 | - * @description | ||
11649 | - * Not Found | ||
11650 | - */ | ||
11651 | - 404: any; | ||
11652 | -} | ||
11653 | - | ||
11654 | -export type PostServiceConstTradeStatusResponseSuccess = | ||
11655 | - PostServiceConstTradeStatusResponse[200]; | ||
11656 | -/** | ||
11657 | - * @description | ||
11658 | - * 跟进状态 | ||
11659 | - * @tags front-const-controller | ||
11660 | - * @produces * | ||
11661 | - * @consumes application/json | ||
11662 | - */ | ||
11663 | -export const postServiceConstTradeStatus = /* #__PURE__ */ (() => { | ||
11664 | - const method = 'post'; | ||
11665 | - const url = '/service/const/tradeStatus'; | ||
11666 | - function request(): Promise<PostServiceConstTradeStatusResponseSuccess> { | ||
11667 | - return requester(request.url, { | ||
11668 | - method: request.method, | ||
11669 | - }) as unknown as Promise<PostServiceConstTradeStatusResponseSuccess>; | ||
11670 | - } | ||
11671 | - | ||
11672 | - /** http method */ | ||
11673 | - request.method = method; | ||
11674 | - /** request url */ | ||
11675 | - request.url = url; | ||
11676 | - return request; | ||
11677 | -})(); | ||
11678 | - | ||
11679 | /** @description request parameter type for postServiceInvoiceAddInvoice */ | 10869 | /** @description request parameter type for postServiceInvoiceAddInvoice */ |
11680 | export interface PostServiceInvoiceAddInvoiceOption { | 10870 | export interface PostServiceInvoiceAddInvoiceOption { |
11681 | /** | 10871 | /** |