Commit 1a3bab695b4bd0d97890541de526985640bd6098

Authored by 曾国涛
2 parents 70ada0e3 4465b4f3

Merge remote-tracking branch 'origin/master'

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 &#39;umi&#39;; @@ -6,7 +6,6 @@ import { request as requester } from &#39;umi&#39;;
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,
@@ -58,6 +56,7 @@ import type { @@ -58,6 +56,7 @@ import type {
58 MaterialUnitListRes, 56 MaterialUnitListRes,
59 MeasureUnitListRes, 57 MeasureUnitListRes,
60 MessageQueryDTO, 58 MessageQueryDTO,
  59 + ModelAndView,
61 OrderAddVO, 60 OrderAddVO,
62 OrderAuditLogQueryVO, 61 OrderAuditLogQueryVO,
63 OrderBaseInfoQueryVO, 62 OrderBaseInfoQueryVO,
@@ -82,7 +81,6 @@ import type { @@ -82,7 +81,6 @@ import type {
82 QueryAnnexDto, 81 QueryAnnexDto,
83 QueryBankStatementDto, 82 QueryBankStatementDto,
84 QueryClientDto, 83 QueryClientDto,
85 - QueryCommunicationInfoDto,  
86 QueryCustomerInformationDto, 84 QueryCustomerInformationDto,
87 QueryHistoryRecordDto, 85 QueryHistoryRecordDto,
88 QueryInvoiceDetailDto, 86 QueryInvoiceDetailDto,
@@ -127,631 +125,6 @@ import type { @@ -127,631 +125,6 @@ import type {
127 UserNowMoneyCheckRequest, 125 UserNowMoneyCheckRequest,
128 } from './definition'; 126 } from './definition';
129 127
130 -/** @description request parameter type for postAdminClientAddAdminClient */  
131 -export interface PostAdminClientAddAdminClientOption {  
132 - /**  
133 - * @description  
134 - * dto  
135 - */  
136 - body: {  
137 - /**  
138 - @description  
139 - dto */  
140 - dto: AdminClientDto;  
141 - };  
142 -}  
143 -  
144 -/** @description response type for postAdminClientAddAdminClient */  
145 -export interface PostAdminClientAddAdminClientResponse {  
146 - /**  
147 - * @description  
148 - * OK  
149 - */  
150 - 200: ServerResult;  
151 - /**  
152 - * @description  
153 - * Created  
154 - */  
155 - 201: any;  
156 - /**  
157 - * @description  
158 - * Unauthorized  
159 - */  
160 - 401: any;  
161 - /**  
162 - * @description  
163 - * Forbidden  
164 - */  
165 - 403: any;  
166 - /**  
167 - * @description  
168 - * Not Found  
169 - */  
170 - 404: any;  
171 -}  
172 -  
173 -export type PostAdminClientAddAdminClientResponseSuccess =  
174 - PostAdminClientAddAdminClientResponse[200];  
175 -/**  
176 - * @description  
177 - * 添加客户  
178 - * @tags 客户管理  
179 - * @produces *  
180 - * @consumes application/json  
181 - */  
182 -export const postAdminClientAddAdminClient = /* #__PURE__ */ (() => {  
183 - const method = 'post';  
184 - const url = '/admin/client/addAdminClient';  
185 - function request(  
186 - option: PostAdminClientAddAdminClientOption,  
187 - ): Promise<PostAdminClientAddAdminClientResponseSuccess> {  
188 - return requester(request.url, {  
189 - method: request.method,  
190 - ...option,  
191 - }) as unknown as Promise<PostAdminClientAddAdminClientResponseSuccess>;  
192 - }  
193 -  
194 - /** http method */  
195 - request.method = method;  
196 - /** request url */  
197 - request.url = url;  
198 - return request;  
199 -})();  
200 -  
201 -/** @description request parameter type for postAdminClientAddClientComunicationInfo */  
202 -export interface PostAdminClientAddClientComunicationInfoOption {  
203 - /**  
204 - * @description  
205 - * dto  
206 - */  
207 - body: {  
208 - /**  
209 - @description  
210 - dto */  
211 - dto: QueryCommunicationInfoDto;  
212 - };  
213 -}  
214 -  
215 -/** @description response type for postAdminClientAddClientComunicationInfo */  
216 -export interface PostAdminClientAddClientComunicationInfoResponse {  
217 - /**  
218 - * @description  
219 - * OK  
220 - */  
221 - 200: ServerResult;  
222 - /**  
223 - * @description  
224 - * Created  
225 - */  
226 - 201: any;  
227 - /**  
228 - * @description  
229 - * Unauthorized  
230 - */  
231 - 401: any;  
232 - /**  
233 - * @description  
234 - * Forbidden  
235 - */  
236 - 403: any;  
237 - /**  
238 - * @description  
239 - * Not Found  
240 - */  
241 - 404: any;  
242 -}  
243 -  
244 -export type PostAdminClientAddClientComunicationInfoResponseSuccess =  
245 - PostAdminClientAddClientComunicationInfoResponse[200];  
246 -/**  
247 - * @description  
248 - * 添加跟进信息  
249 - * @tags 客户管理  
250 - * @produces *  
251 - * @consumes application/json  
252 - */  
253 -export const postAdminClientAddClientComunicationInfo = /* #__PURE__ */ (() => {  
254 - const method = 'post';  
255 - const url = '/admin/client/addClientComunicationInfo';  
256 - function request(  
257 - option: PostAdminClientAddClientComunicationInfoOption,  
258 - ): Promise<PostAdminClientAddClientComunicationInfoResponseSuccess> {  
259 - return requester(request.url, {  
260 - method: request.method,  
261 - ...option,  
262 - }) as unknown as Promise<PostAdminClientAddClientComunicationInfoResponseSuccess>;  
263 - }  
264 -  
265 - /** http method */  
266 - request.method = method;  
267 - /** request url */  
268 - request.url = url;  
269 - return request;  
270 -})();  
271 -  
272 -/** @description request parameter type for postAdminClientAddOrModifyClientComunicationInfo */  
273 -export interface PostAdminClientAddOrModifyClientComunicationInfoOption {  
274 - /**  
275 - * @description  
276 - * dto  
277 - */  
278 - body: {  
279 - /**  
280 - @description  
281 - dto */  
282 - dto: ClientCommunicationInfo;  
283 - };  
284 -}  
285 -  
286 -/** @description response type for postAdminClientAddOrModifyClientComunicationInfo */  
287 -export interface PostAdminClientAddOrModifyClientComunicationInfoResponse {  
288 - /**  
289 - * @description  
290 - * OK  
291 - */  
292 - 200: ServerResult;  
293 - /**  
294 - * @description  
295 - * Created  
296 - */  
297 - 201: any;  
298 - /**  
299 - * @description  
300 - * Unauthorized  
301 - */  
302 - 401: any;  
303 - /**  
304 - * @description  
305 - * Forbidden  
306 - */  
307 - 403: any;  
308 - /**  
309 - * @description  
310 - * Not Found  
311 - */  
312 - 404: any;  
313 -}  
314 -  
315 -export type PostAdminClientAddOrModifyClientComunicationInfoResponseSuccess =  
316 - PostAdminClientAddOrModifyClientComunicationInfoResponse[200];  
317 -/**  
318 - * @description  
319 - * 修改跟进信息  
320 - * @tags 客户管理  
321 - * @produces *  
322 - * @consumes application/json  
323 - */  
324 -export const postAdminClientAddOrModifyClientComunicationInfo =  
325 - /* #__PURE__ */ (() => {  
326 - const method = 'post';  
327 - const url = '/admin/client/addOrModifyClientComunicationInfo';  
328 - function request(  
329 - option: PostAdminClientAddOrModifyClientComunicationInfoOption,  
330 - ): Promise<PostAdminClientAddOrModifyClientComunicationInfoResponseSuccess> {  
331 - return requester(request.url, {  
332 - method: request.method,  
333 - ...option,  
334 - }) as unknown as Promise<PostAdminClientAddOrModifyClientComunicationInfoResponseSuccess>;  
335 - }  
336 -  
337 - /** http method */  
338 - request.method = method;  
339 - /** request url */  
340 - request.url = url;  
341 - return request;  
342 - })();  
343 -  
344 -/** @description response type for postAdminClientDownloadImportTemplate */  
345 -export interface PostAdminClientDownloadImportTemplateResponse {  
346 - /**  
347 - * @description  
348 - * OK  
349 - */  
350 - 200: any;  
351 - /**  
352 - * @description  
353 - * Created  
354 - */  
355 - 201: any;  
356 - /**  
357 - * @description  
358 - * Unauthorized  
359 - */  
360 - 401: any;  
361 - /**  
362 - * @description  
363 - * Forbidden  
364 - */  
365 - 403: any;  
366 - /**  
367 - * @description  
368 - * Not Found  
369 - */  
370 - 404: any;  
371 -}  
372 -  
373 -export type PostAdminClientDownloadImportTemplateResponseSuccess =  
374 - PostAdminClientDownloadImportTemplateResponse[200];  
375 -/**  
376 - * @description  
377 - * 下载导入模板  
378 - * @tags 客户管理  
379 - * @produces *  
380 - * @consumes application/json  
381 - */  
382 -export const postAdminClientDownloadImportTemplate = /* #__PURE__ */ (() => {  
383 - const method = 'post';  
384 - const url = '/admin/client/downloadImportTemplate';  
385 - function request(): Promise<PostAdminClientDownloadImportTemplateResponseSuccess> {  
386 - return requester(request.url, {  
387 - method: request.method,  
388 - }) as unknown as Promise<PostAdminClientDownloadImportTemplateResponseSuccess>;  
389 - }  
390 -  
391 - /** http method */  
392 - request.method = method;  
393 - /** request url */  
394 - request.url = url;  
395 - return request;  
396 -})();  
397 -  
398 -/** @description request parameter type for postAdminClientExportClients */  
399 -export interface PostAdminClientExportClientsOption {  
400 - /**  
401 - * @description  
402 - * dto  
403 - */  
404 - body: {  
405 - /**  
406 - @description  
407 - dto */  
408 - dto: QueryClientDto;  
409 - };  
410 -}  
411 -  
412 -/** @description response type for postAdminClientExportClients */  
413 -export interface PostAdminClientExportClientsResponse {  
414 - /**  
415 - * @description  
416 - * OK  
417 - */  
418 - 200: any;  
419 - /**  
420 - * @description  
421 - * Created  
422 - */  
423 - 201: any;  
424 - /**  
425 - * @description  
426 - * Unauthorized  
427 - */  
428 - 401: any;  
429 - /**  
430 - * @description  
431 - * Forbidden  
432 - */  
433 - 403: any;  
434 - /**  
435 - * @description  
436 - * Not Found  
437 - */  
438 - 404: any;  
439 -}  
440 -  
441 -export type PostAdminClientExportClientsResponseSuccess =  
442 - PostAdminClientExportClientsResponse[200];  
443 -/**  
444 - * @description  
445 - * 导出客户信息  
446 - * @tags 客户管理  
447 - * @produces *  
448 - * @consumes application/json  
449 - */  
450 -export const postAdminClientExportClients = /* #__PURE__ */ (() => {  
451 - const method = 'post';  
452 - const url = '/admin/client/exportClients';  
453 - function request(  
454 - option: PostAdminClientExportClientsOption,  
455 - ): Promise<PostAdminClientExportClientsResponseSuccess> {  
456 - return requester(request.url, {  
457 - method: request.method,  
458 - ...option,  
459 - }) as unknown as Promise<PostAdminClientExportClientsResponseSuccess>;  
460 - }  
461 -  
462 - /** http method */  
463 - request.method = method;  
464 - /** request url */  
465 - request.url = url;  
466 - return request;  
467 -})();  
468 -  
469 -/** @description request parameter type for postAdminClientImportClient */  
470 -export interface PostAdminClientImportClientOption {  
471 - /**  
472 - * @description  
473 - * file  
474 - */  
475 - formData: {  
476 - /**  
477 - @description  
478 - file */  
479 - file: File;  
480 - };  
481 -}  
482 -  
483 -/** @description response type for postAdminClientImportClient */  
484 -export interface PostAdminClientImportClientResponse {  
485 - /**  
486 - * @description  
487 - * OK  
488 - */  
489 - 200: ServerResult;  
490 - /**  
491 - * @description  
492 - * Created  
493 - */  
494 - 201: any;  
495 - /**  
496 - * @description  
497 - * Unauthorized  
498 - */  
499 - 401: any;  
500 - /**  
501 - * @description  
502 - * Forbidden  
503 - */  
504 - 403: any;  
505 - /**  
506 - * @description  
507 - * Not Found  
508 - */  
509 - 404: any;  
510 -}  
511 -  
512 -export type PostAdminClientImportClientResponseSuccess =  
513 - PostAdminClientImportClientResponse[200];  
514 -/**  
515 - * @description  
516 - * 导入客户  
517 - * @tags 客户管理  
518 - * @produces *  
519 - * @consumes multipart/form-data  
520 - */  
521 -export const postAdminClientImportClient = /* #__PURE__ */ (() => {  
522 - const method = 'post';  
523 - const url = '/admin/client/importClient';  
524 - function request(  
525 - option: PostAdminClientImportClientOption,  
526 - ): Promise<PostAdminClientImportClientResponseSuccess> {  
527 - return requester(request.url, {  
528 - method: request.method,  
529 - ...option,  
530 - }) as unknown as Promise<PostAdminClientImportClientResponseSuccess>;  
531 - }  
532 -  
533 - /** http method */  
534 - request.method = method;  
535 - /** request url */  
536 - request.url = url;  
537 - return request;  
538 -})();  
539 -  
540 -/** @description request parameter type for postAdminClientModifyClientComunicationInfo */  
541 -export interface PostAdminClientModifyClientComunicationInfoOption {  
542 - /**  
543 - * @description  
544 - * dto  
545 - */  
546 - body: {  
547 - /**  
548 - @description  
549 - dto */  
550 - dto: QueryCommunicationInfoDto;  
551 - };  
552 -}  
553 -  
554 -/** @description response type for postAdminClientModifyClientComunicationInfo */  
555 -export interface PostAdminClientModifyClientComunicationInfoResponse {  
556 - /**  
557 - * @description  
558 - * OK  
559 - */  
560 - 200: ServerResult;  
561 - /**  
562 - * @description  
563 - * Created  
564 - */  
565 - 201: any;  
566 - /**  
567 - * @description  
568 - * Unauthorized  
569 - */  
570 - 401: any;  
571 - /**  
572 - * @description  
573 - * Forbidden  
574 - */  
575 - 403: any;  
576 - /**  
577 - * @description  
578 - * Not Found  
579 - */  
580 - 404: any;  
581 -}  
582 -  
583 -export type PostAdminClientModifyClientComunicationInfoResponseSuccess =  
584 - PostAdminClientModifyClientComunicationInfoResponse[200];  
585 -/**  
586 - * @description  
587 - * 修改跟进信息  
588 - * @tags 客户管理  
589 - * @produces *  
590 - * @consumes application/json  
591 - */  
592 -export const postAdminClientModifyClientComunicationInfo =  
593 - /* #__PURE__ */ (() => {  
594 - const method = 'post';  
595 - const url = '/admin/client/modifyClientComunicationInfo';  
596 - function request(  
597 - option: PostAdminClientModifyClientComunicationInfoOption,  
598 - ): Promise<PostAdminClientModifyClientComunicationInfoResponseSuccess> {  
599 - return requester(request.url, {  
600 - method: request.method,  
601 - ...option,  
602 - }) as unknown as Promise<PostAdminClientModifyClientComunicationInfoResponseSuccess>;  
603 - }  
604 -  
605 - /** http method */  
606 - request.method = method;  
607 - /** request url */  
608 - request.url = url;  
609 - return request;  
610 - })();  
611 -  
612 -/** @description request parameter type for postAdminClientModifyClientInfo */  
613 -export interface PostAdminClientModifyClientInfoOption {  
614 - /**  
615 - * @description  
616 - * dto  
617 - */  
618 - body: {  
619 - /**  
620 - @description  
621 - dto */  
622 - dto: AdminClientDto;  
623 - };  
624 -}  
625 -  
626 -/** @description response type for postAdminClientModifyClientInfo */  
627 -export interface PostAdminClientModifyClientInfoResponse {  
628 - /**  
629 - * @description  
630 - * OK  
631 - */  
632 - 200: ServerResult;  
633 - /**  
634 - * @description  
635 - * Created  
636 - */  
637 - 201: any;  
638 - /**  
639 - * @description  
640 - * Unauthorized  
641 - */  
642 - 401: any;  
643 - /**  
644 - * @description  
645 - * Forbidden  
646 - */  
647 - 403: any;  
648 - /**  
649 - * @description  
650 - * Not Found  
651 - */  
652 - 404: any;  
653 -}  
654 -  
655 -export type PostAdminClientModifyClientInfoResponseSuccess =  
656 - PostAdminClientModifyClientInfoResponse[200];  
657 -/**  
658 - * @description  
659 - * 修改跟进信息  
660 - * @tags 客户管理  
661 - * @produces *  
662 - * @consumes application/json  
663 - */  
664 -export const postAdminClientModifyClientInfo = /* #__PURE__ */ (() => {  
665 - const method = 'post';  
666 - const url = '/admin/client/modifyClientInfo';  
667 - function request(  
668 - option: PostAdminClientModifyClientInfoOption,  
669 - ): Promise<PostAdminClientModifyClientInfoResponseSuccess> {  
670 - return requester(request.url, {  
671 - method: request.method,  
672 - ...option,  
673 - }) as unknown as Promise<PostAdminClientModifyClientInfoResponseSuccess>;  
674 - }  
675 -  
676 - /** http method */  
677 - request.method = method;  
678 - /** request url */  
679 - request.url = url;  
680 - return request;  
681 -})();  
682 -  
683 -/** @description request parameter type for postAdminClientQueryClientComunicationInfo */  
684 -export interface PostAdminClientQueryClientComunicationInfoOption {  
685 - /**  
686 - * @description  
687 - * dto  
688 - */  
689 - body: {  
690 - /**  
691 - @description  
692 - dto */  
693 - dto: QueryCommunicationInfoDto;  
694 - };  
695 -}  
696 -  
697 -/** @description response type for postAdminClientQueryClientComunicationInfo */  
698 -export interface PostAdminClientQueryClientComunicationInfoResponse {  
699 - /**  
700 - * @description  
701 - * OK  
702 - */  
703 - 200: ServerResult;  
704 - /**  
705 - * @description  
706 - * Created  
707 - */  
708 - 201: any;  
709 - /**  
710 - * @description  
711 - * Unauthorized  
712 - */  
713 - 401: any;  
714 - /**  
715 - * @description  
716 - * Forbidden  
717 - */  
718 - 403: any;  
719 - /**  
720 - * @description  
721 - * Not Found  
722 - */  
723 - 404: any;  
724 -}  
725 -  
726 -export type PostAdminClientQueryClientComunicationInfoResponseSuccess =  
727 - PostAdminClientQueryClientComunicationInfoResponse[200];  
728 -/**  
729 - * @description  
730 - * 获取跟进信息  
731 - * @tags 客户管理  
732 - * @produces *  
733 - * @consumes application/json  
734 - */  
735 -export const postAdminClientQueryClientComunicationInfo =  
736 - /* #__PURE__ */ (() => {  
737 - const method = 'post';  
738 - const url = '/admin/client/queryClientComunicationInfo';  
739 - function request(  
740 - option: PostAdminClientQueryClientComunicationInfoOption,  
741 - ): Promise<PostAdminClientQueryClientComunicationInfoResponseSuccess> {  
742 - return requester(request.url, {  
743 - method: request.method,  
744 - ...option,  
745 - }) as unknown as Promise<PostAdminClientQueryClientComunicationInfoResponseSuccess>;  
746 - }  
747 -  
748 - /** http method */  
749 - request.method = method;  
750 - /** request url */  
751 - request.url = url;  
752 - return request;  
753 - })();  
754 -  
755 /** @description request parameter type for postAdminClientQueryClientPage */ 128 /** @description request parameter type for postAdminClientQueryClientPage */
756 export interface PostAdminClientQueryClientPageOption { 129 export interface PostAdminClientQueryClientPageOption {
757 /** 130 /**
@@ -823,80 +196,6 @@ export const postAdminClientQueryClientPage = /* #__PURE__ */ (() =&gt; { @@ -823,80 +196,6 @@ export const postAdminClientQueryClientPage = /* #__PURE__ */ (() =&gt; {
823 return request; 196 return request;
824 })(); 197 })();
825 198
826 -/** @description request parameter type for postAdminClientRemoveClientComunicationInfo */  
827 -export interface PostAdminClientRemoveClientComunicationInfoOption {  
828 - /**  
829 - * @description  
830 - * id  
831 - * @format int64  
832 - */  
833 - query?: {  
834 - /**  
835 - @description  
836 - id  
837 - @format int64 */  
838 - id?: number;  
839 - };  
840 -}  
841 -  
842 -/** @description response type for postAdminClientRemoveClientComunicationInfo */  
843 -export interface PostAdminClientRemoveClientComunicationInfoResponse {  
844 - /**  
845 - * @description  
846 - * OK  
847 - */  
848 - 200: ServerResult;  
849 - /**  
850 - * @description  
851 - * Created  
852 - */  
853 - 201: any;  
854 - /**  
855 - * @description  
856 - * Unauthorized  
857 - */  
858 - 401: any;  
859 - /**  
860 - * @description  
861 - * Forbidden  
862 - */  
863 - 403: any;  
864 - /**  
865 - * @description  
866 - * Not Found  
867 - */  
868 - 404: any;  
869 -}  
870 -  
871 -export type PostAdminClientRemoveClientComunicationInfoResponseSuccess =  
872 - PostAdminClientRemoveClientComunicationInfoResponse[200];  
873 -/**  
874 - * @description  
875 - * 删除跟进信息  
876 - * @tags 客户管理  
877 - * @produces *  
878 - * @consumes application/json  
879 - */  
880 -export const postAdminClientRemoveClientComunicationInfo =  
881 - /* #__PURE__ */ (() => {  
882 - const method = 'post';  
883 - const url = '/admin/client/removeClientComunicationInfo';  
884 - function request(  
885 - option?: PostAdminClientRemoveClientComunicationInfoOption,  
886 - ): Promise<PostAdminClientRemoveClientComunicationInfoResponseSuccess> {  
887 - return requester(request.url, {  
888 - method: request.method,  
889 - ...option,  
890 - }) as unknown as Promise<PostAdminClientRemoveClientComunicationInfoResponseSuccess>;  
891 - }  
892 -  
893 - /** http method */  
894 - request.method = method;  
895 - /** request url */  
896 - request.url = url;  
897 - return request;  
898 - })();  
899 -  
900 /** @description request parameter type for postApiLocalStorageUpload */ 199 /** @description request parameter type for postApiLocalStorageUpload */
901 export interface PostApiLocalStorageUploadOption { 200 export interface PostApiLocalStorageUploadOption {
902 /** 201 /**
@@ -3092,9 +2391,7 @@ export interface GetErrorResponse { @@ -3092,9 +2391,7 @@ export interface GetErrorResponse {
3092 * @description 2391 * @description
3093 * OK 2392 * OK
3094 */ 2393 */
3095 - 200: {  
3096 - [propertyName: string]: any;  
3097 - }; 2394 + 200: ModelAndView;
3098 /** 2395 /**
3099 * @description 2396 * @description
3100 * Unauthorized 2397 * Unauthorized
@@ -3115,9 +2412,9 @@ export interface GetErrorResponse { @@ -3115,9 +2412,9 @@ export interface GetErrorResponse {
3115 export type GetErrorResponseSuccess = GetErrorResponse[200]; 2412 export type GetErrorResponseSuccess = GetErrorResponse[200];
3116 /** 2413 /**
3117 * @description 2414 * @description
3118 - * error 2415 + * errorHtml
3119 * @tags basic-error-controller 2416 * @tags basic-error-controller
3120 - * @produces * 2417 + * @produces text/html
3121 */ 2418 */
3122 export const getError = /* #__PURE__ */ (() => { 2419 export const getError = /* #__PURE__ */ (() => {
3123 const method = 'get'; 2420 const method = 'get';
@@ -3141,9 +2438,7 @@ export interface PutErrorResponse { @@ -3141,9 +2438,7 @@ export interface PutErrorResponse {
3141 * @description 2438 * @description
3142 * OK 2439 * OK
3143 */ 2440 */
3144 - 200: {  
3145 - [propertyName: string]: any;  
3146 - }; 2441 + 200: ModelAndView;
3147 /** 2442 /**
3148 * @description 2443 * @description
3149 * Created 2444 * Created
@@ -3169,9 +2464,9 @@ export interface PutErrorResponse { @@ -3169,9 +2464,9 @@ export interface PutErrorResponse {
3169 export type PutErrorResponseSuccess = PutErrorResponse[200]; 2464 export type PutErrorResponseSuccess = PutErrorResponse[200];
3170 /** 2465 /**
3171 * @description 2466 * @description
3172 - * error 2467 + * errorHtml
3173 * @tags basic-error-controller 2468 * @tags basic-error-controller
3174 - * @produces * 2469 + * @produces text/html
3175 * @consumes application/json 2470 * @consumes application/json
3176 */ 2471 */
3177 export const putError = /* #__PURE__ */ (() => { 2472 export const putError = /* #__PURE__ */ (() => {
@@ -3196,9 +2491,7 @@ export interface PostErrorResponse { @@ -3196,9 +2491,7 @@ export interface PostErrorResponse {
3196 * @description 2491 * @description
3197 * OK 2492 * OK
3198 */ 2493 */
3199 - 200: {  
3200 - [propertyName: string]: any;  
3201 - }; 2494 + 200: ModelAndView;
3202 /** 2495 /**
3203 * @description 2496 * @description
3204 * Created 2497 * Created
@@ -3224,9 +2517,9 @@ export interface PostErrorResponse { @@ -3224,9 +2517,9 @@ export interface PostErrorResponse {
3224 export type PostErrorResponseSuccess = PostErrorResponse[200]; 2517 export type PostErrorResponseSuccess = PostErrorResponse[200];
3225 /** 2518 /**
3226 * @description 2519 * @description
3227 - * error 2520 + * errorHtml
3228 * @tags basic-error-controller 2521 * @tags basic-error-controller
3229 - * @produces * 2522 + * @produces text/html
3230 * @consumes application/json 2523 * @consumes application/json
3231 */ 2524 */
3232 export const postError = /* #__PURE__ */ (() => { 2525 export const postError = /* #__PURE__ */ (() => {
@@ -3251,9 +2544,7 @@ export interface DeleteErrorResponse { @@ -3251,9 +2544,7 @@ export interface DeleteErrorResponse {
3251 * @description 2544 * @description
3252 * OK 2545 * OK
3253 */ 2546 */
3254 - 200: {  
3255 - [propertyName: string]: any;  
3256 - }; 2547 + 200: ModelAndView;
3257 /** 2548 /**
3258 * @description 2549 * @description
3259 * No Content 2550 * No Content
@@ -3274,9 +2565,9 @@ export interface DeleteErrorResponse { @@ -3274,9 +2565,9 @@ export interface DeleteErrorResponse {
3274 export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; 2565 export type DeleteErrorResponseSuccess = DeleteErrorResponse[200];
3275 /** 2566 /**
3276 * @description 2567 * @description
3277 - * error 2568 + * errorHtml
3278 * @tags basic-error-controller 2569 * @tags basic-error-controller
3279 - * @produces * 2570 + * @produces text/html
3280 */ 2571 */
3281 export const deleteError = /* #__PURE__ */ (() => { 2572 export const deleteError = /* #__PURE__ */ (() => {
3282 const method = 'delete'; 2573 const method = 'delete';
@@ -3300,9 +2591,7 @@ export interface OptionsErrorResponse { @@ -3300,9 +2591,7 @@ export interface OptionsErrorResponse {
3300 * @description 2591 * @description
3301 * OK 2592 * OK
3302 */ 2593 */
3303 - 200: {  
3304 - [propertyName: string]: any;  
3305 - }; 2594 + 200: ModelAndView;
3306 /** 2595 /**
3307 * @description 2596 * @description
3308 * No Content 2597 * No Content
@@ -3323,9 +2612,9 @@ export interface OptionsErrorResponse { @@ -3323,9 +2612,9 @@ export interface OptionsErrorResponse {
3323 export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; 2612 export type OptionsErrorResponseSuccess = OptionsErrorResponse[200];
3324 /** 2613 /**
3325 * @description 2614 * @description
3326 - * error 2615 + * errorHtml
3327 * @tags basic-error-controller 2616 * @tags basic-error-controller
3328 - * @produces * 2617 + * @produces text/html
3329 * @consumes application/json 2618 * @consumes application/json
3330 */ 2619 */
3331 export const optionsError = /* #__PURE__ */ (() => { 2620 export const optionsError = /* #__PURE__ */ (() => {
@@ -3350,9 +2639,7 @@ export interface HeadErrorResponse { @@ -3350,9 +2639,7 @@ export interface HeadErrorResponse {
3350 * @description 2639 * @description
3351 * OK 2640 * OK
3352 */ 2641 */
3353 - 200: {  
3354 - [propertyName: string]: any;  
3355 - }; 2642 + 200: ModelAndView;
3356 /** 2643 /**
3357 * @description 2644 * @description
3358 * No Content 2645 * No Content
@@ -3373,9 +2660,9 @@ export interface HeadErrorResponse { @@ -3373,9 +2660,9 @@ export interface HeadErrorResponse {
3373 export type HeadErrorResponseSuccess = HeadErrorResponse[200]; 2660 export type HeadErrorResponseSuccess = HeadErrorResponse[200];
3374 /** 2661 /**
3375 * @description 2662 * @description
3376 - * error 2663 + * errorHtml
3377 * @tags basic-error-controller 2664 * @tags basic-error-controller
3378 - * @produces * 2665 + * @produces text/html
3379 * @consumes application/json 2666 * @consumes application/json
3380 */ 2667 */
3381 export const headError = /* #__PURE__ */ (() => { 2668 export const headError = /* #__PURE__ */ (() => {
@@ -3400,9 +2687,7 @@ export interface PatchErrorResponse { @@ -3400,9 +2687,7 @@ export interface PatchErrorResponse {
3400 * @description 2687 * @description
3401 * OK 2688 * OK
3402 */ 2689 */
3403 - 200: {  
3404 - [propertyName: string]: any;  
3405 - }; 2690 + 200: ModelAndView;
3406 /** 2691 /**
3407 * @description 2692 * @description
3408 * No Content 2693 * No Content
@@ -3423,9 +2708,9 @@ export interface PatchErrorResponse { @@ -3423,9 +2708,9 @@ export interface PatchErrorResponse {
3423 export type PatchErrorResponseSuccess = PatchErrorResponse[200]; 2708 export type PatchErrorResponseSuccess = PatchErrorResponse[200];
3424 /** 2709 /**
3425 * @description 2710 * @description
3426 - * error 2711 + * errorHtml
3427 * @tags basic-error-controller 2712 * @tags basic-error-controller
3428 - * @produces * 2713 + * @produces text/html
3429 * @consumes application/json 2714 * @consumes application/json
3430 */ 2715 */
3431 export const patchError = /* #__PURE__ */ (() => { 2716 export const patchError = /* #__PURE__ */ (() => {
@@ -11437,114 +10722,6 @@ export const postServiceBankStatementQueryBankStatement = @@ -11437,114 +10722,6 @@ export const postServiceBankStatementQueryBankStatement =
11437 return request; 10722 return request;
11438 })(); 10723 })();
11439 10724
11440 -/** @description response type for postServiceConstClientLevels */  
11441 -export interface PostServiceConstClientLevelsResponse {  
11442 - /**  
11443 - * @description  
11444 - * OK  
11445 - */  
11446 - 200: ServerResult;  
11447 - /**  
11448 - * @description  
11449 - * Created  
11450 - */  
11451 - 201: any;  
11452 - /**  
11453 - * @description  
11454 - * Unauthorized  
11455 - */  
11456 - 401: any;  
11457 - /**  
11458 - * @description  
11459 - * Forbidden  
11460 - */  
11461 - 403: any;  
11462 - /**  
11463 - * @description  
11464 - * Not Found  
11465 - */  
11466 - 404: any;  
11467 -}  
11468 -  
11469 -export type PostServiceConstClientLevelsResponseSuccess =  
11470 - PostServiceConstClientLevelsResponse[200];  
11471 -/**  
11472 - * @description  
11473 - * 客户等级  
11474 - * @tags front-const-controller  
11475 - * @produces *  
11476 - * @consumes application/json  
11477 - */  
11478 -export const postServiceConstClientLevels = /* #__PURE__ */ (() => {  
11479 - const method = 'post';  
11480 - const url = '/service/const/clientLevels';  
11481 - function request(): Promise<PostServiceConstClientLevelsResponseSuccess> {  
11482 - return requester(request.url, {  
11483 - method: request.method,  
11484 - }) as unknown as Promise<PostServiceConstClientLevelsResponseSuccess>;  
11485 - }  
11486 -  
11487 - /** http method */  
11488 - request.method = method;  
11489 - /** request url */  
11490 - request.url = url;  
11491 - return request;  
11492 -})();  
11493 -  
11494 -/** @description response type for postServiceConstTradeStatus */  
11495 -export interface PostServiceConstTradeStatusResponse {  
11496 - /**  
11497 - * @description  
11498 - * OK  
11499 - */  
11500 - 200: ServerResult;  
11501 - /**  
11502 - * @description  
11503 - * Created  
11504 - */  
11505 - 201: any;  
11506 - /**  
11507 - * @description  
11508 - * Unauthorized  
11509 - */  
11510 - 401: any;  
11511 - /**  
11512 - * @description  
11513 - * Forbidden  
11514 - */  
11515 - 403: any;  
11516 - /**  
11517 - * @description  
11518 - * Not Found  
11519 - */  
11520 - 404: any;  
11521 -}  
11522 -  
11523 -export type PostServiceConstTradeStatusResponseSuccess =  
11524 - PostServiceConstTradeStatusResponse[200];  
11525 -/**  
11526 - * @description  
11527 - * 跟进状态  
11528 - * @tags front-const-controller  
11529 - * @produces *  
11530 - * @consumes application/json  
11531 - */  
11532 -export const postServiceConstTradeStatus = /* #__PURE__ */ (() => {  
11533 - const method = 'post';  
11534 - const url = '/service/const/tradeStatus';  
11535 - function request(): Promise<PostServiceConstTradeStatusResponseSuccess> {  
11536 - return requester(request.url, {  
11537 - method: request.method,  
11538 - }) as unknown as Promise<PostServiceConstTradeStatusResponseSuccess>;  
11539 - }  
11540 -  
11541 - /** http method */  
11542 - request.method = method;  
11543 - /** request url */  
11544 - request.url = url;  
11545 - return request;  
11546 -})();  
11547 -  
11548 /** @description request parameter type for postServiceInvoiceAddInvoice */ 10725 /** @description request parameter type for postServiceInvoiceAddInvoice */
11549 export interface PostServiceInvoiceAddInvoiceOption { 10726 export interface PostServiceInvoiceAddInvoiceOption {
11550 /** 10727 /**