Commit 35682efb9cb09328ade799b8d2a8ccc55f2947f3
1 parent
386b073c
feat: update 订单搜索条件顺序调整
Showing
3 changed files
with
1007 additions
and
27 deletions
src/pages/Order/constant.ts
... | ... | @@ -429,14 +429,14 @@ export const MAIN_ORDER_COLUMNS = [ |
429 | 429 | hideInTable: true, |
430 | 430 | }, |
431 | 431 | { |
432 | - title: '销售代表', | |
433 | - dataIndex: 'salesCode', | |
432 | + title: '收货人', | |
433 | + dataIndex: 'customerName', | |
434 | 434 | valueType: 'text', |
435 | 435 | hideInTable: true, |
436 | 436 | }, |
437 | 437 | { |
438 | - title: '收货人', | |
439 | - dataIndex: 'customerName', | |
438 | + title: '销售代表', | |
439 | + dataIndex: 'salesCode', | |
440 | 440 | valueType: 'text', |
441 | 441 | hideInTable: true, |
442 | 442 | }, | ... | ... |
src/services/definition.ts
... | ... | @@ -83,6 +83,112 @@ export interface AdminAuthUserVO { |
83 | 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 | + | |
86 | 192 | export interface AdminDeptQueryVO { |
87 | 193 | /** @format int32 */ |
88 | 194 | current?: number; |
... | ... | @@ -1822,7 +1928,7 @@ export interface QueryClientDto { |
1822 | 1928 | current?: number; |
1823 | 1929 | /** @format int32 */ |
1824 | 1930 | end?: number; |
1825 | - hasScheme?: string; | |
1931 | + hasScheme?: boolean; | |
1826 | 1932 | level?: string; |
1827 | 1933 | namelike?: string; |
1828 | 1934 | /** @format int32 */ |
... | ... | @@ -1835,6 +1941,27 @@ export interface QueryClientDto { |
1835 | 1941 | tradeStatus?: string; |
1836 | 1942 | } |
1837 | 1943 | |
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 | + | |
1838 | 1965 | export interface QueryCustomerInformationDto { |
1839 | 1966 | /** |
1840 | 1967 | * @description |
... | ... | @@ -2604,6 +2731,36 @@ export interface ApiOrderConfirmReceiveRequest { |
2604 | 2731 | subOrderIds?: Array<number>; |
2605 | 2732 | } |
2606 | 2733 | |
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 | + | |
2607 | 2764 | export interface TsgFile { |
2608 | 2765 | absolute?: boolean; |
2609 | 2766 | absoluteFile?: TsgFile; | ... | ... |
src/services/request.ts
... | ... | @@ -6,6 +6,7 @@ import { request as requester } from 'umi'; |
6 | 6 | import type { |
7 | 7 | AdminAuthRoleVO, |
8 | 8 | AdminAuthUserVO, |
9 | + AdminClientDto, | |
9 | 10 | AdminDeptQueryVO, |
10 | 11 | AdminDeptVO, |
11 | 12 | AdminJobQueryVO, |
... | ... | @@ -34,6 +35,7 @@ import type { |
34 | 35 | CancelInvoiceAndBankStatementDto, |
35 | 36 | CancelSendOrderDto, |
36 | 37 | CaptchaMessageVO, |
38 | + ClientCommunicationInfo, | |
37 | 39 | CommonAuditRequest, |
38 | 40 | CustomFieldRes, |
39 | 41 | CustomerCustomerListReq, |
... | ... | @@ -56,7 +58,6 @@ import type { |
56 | 58 | MaterialUnitListRes, |
57 | 59 | MeasureUnitListRes, |
58 | 60 | MessageQueryDTO, |
59 | - ModelAndView, | |
60 | 61 | OrderAddVO, |
61 | 62 | OrderAuditLogQueryVO, |
62 | 63 | OrderBaseInfoQueryVO, |
... | ... | @@ -81,6 +82,7 @@ import type { |
81 | 82 | QueryAnnexDto, |
82 | 83 | QueryBankStatementDto, |
83 | 84 | QueryClientDto, |
85 | + QueryCommunicationInfoDto, | |
84 | 86 | QueryCustomerInformationDto, |
85 | 87 | QueryHistoryRecordDto, |
86 | 88 | QueryInvoiceDetailDto, |
... | ... | @@ -125,6 +127,631 @@ import type { |
125 | 127 | UserNowMoneyCheckRequest, |
126 | 128 | } from './definition'; |
127 | 129 | |
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 | + | |
128 | 755 | /** @description request parameter type for postAdminClientQueryClientPage */ |
129 | 756 | export interface PostAdminClientQueryClientPageOption { |
130 | 757 | /** |
... | ... | @@ -196,6 +823,80 @@ export const postAdminClientQueryClientPage = /* #__PURE__ */ (() => { |
196 | 823 | return request; |
197 | 824 | })(); |
198 | 825 | |
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 | + | |
199 | 900 | /** @description request parameter type for postApiLocalStorageUpload */ |
200 | 901 | export interface PostApiLocalStorageUploadOption { |
201 | 902 | /** |
... | ... | @@ -2463,7 +3164,9 @@ export interface GetErrorResponse { |
2463 | 3164 | * @description |
2464 | 3165 | * OK |
2465 | 3166 | */ |
2466 | - 200: ModelAndView; | |
3167 | + 200: { | |
3168 | + [propertyName: string]: any; | |
3169 | + }; | |
2467 | 3170 | /** |
2468 | 3171 | * @description |
2469 | 3172 | * Unauthorized |
... | ... | @@ -2484,9 +3187,9 @@ export interface GetErrorResponse { |
2484 | 3187 | export type GetErrorResponseSuccess = GetErrorResponse[200]; |
2485 | 3188 | /** |
2486 | 3189 | * @description |
2487 | - * errorHtml | |
3190 | + * error | |
2488 | 3191 | * @tags basic-error-controller |
2489 | - * @produces text/html | |
3192 | + * @produces * | |
2490 | 3193 | */ |
2491 | 3194 | export const getError = /* #__PURE__ */ (() => { |
2492 | 3195 | const method = 'get'; |
... | ... | @@ -2510,7 +3213,9 @@ export interface PutErrorResponse { |
2510 | 3213 | * @description |
2511 | 3214 | * OK |
2512 | 3215 | */ |
2513 | - 200: ModelAndView; | |
3216 | + 200: { | |
3217 | + [propertyName: string]: any; | |
3218 | + }; | |
2514 | 3219 | /** |
2515 | 3220 | * @description |
2516 | 3221 | * Created |
... | ... | @@ -2536,9 +3241,9 @@ export interface PutErrorResponse { |
2536 | 3241 | export type PutErrorResponseSuccess = PutErrorResponse[200]; |
2537 | 3242 | /** |
2538 | 3243 | * @description |
2539 | - * errorHtml | |
3244 | + * error | |
2540 | 3245 | * @tags basic-error-controller |
2541 | - * @produces text/html | |
3246 | + * @produces * | |
2542 | 3247 | * @consumes application/json |
2543 | 3248 | */ |
2544 | 3249 | export const putError = /* #__PURE__ */ (() => { |
... | ... | @@ -2563,7 +3268,9 @@ export interface PostErrorResponse { |
2563 | 3268 | * @description |
2564 | 3269 | * OK |
2565 | 3270 | */ |
2566 | - 200: ModelAndView; | |
3271 | + 200: { | |
3272 | + [propertyName: string]: any; | |
3273 | + }; | |
2567 | 3274 | /** |
2568 | 3275 | * @description |
2569 | 3276 | * Created |
... | ... | @@ -2589,9 +3296,9 @@ export interface PostErrorResponse { |
2589 | 3296 | export type PostErrorResponseSuccess = PostErrorResponse[200]; |
2590 | 3297 | /** |
2591 | 3298 | * @description |
2592 | - * errorHtml | |
3299 | + * error | |
2593 | 3300 | * @tags basic-error-controller |
2594 | - * @produces text/html | |
3301 | + * @produces * | |
2595 | 3302 | * @consumes application/json |
2596 | 3303 | */ |
2597 | 3304 | export const postError = /* #__PURE__ */ (() => { |
... | ... | @@ -2616,7 +3323,9 @@ export interface DeleteErrorResponse { |
2616 | 3323 | * @description |
2617 | 3324 | * OK |
2618 | 3325 | */ |
2619 | - 200: ModelAndView; | |
3326 | + 200: { | |
3327 | + [propertyName: string]: any; | |
3328 | + }; | |
2620 | 3329 | /** |
2621 | 3330 | * @description |
2622 | 3331 | * No Content |
... | ... | @@ -2637,9 +3346,9 @@ export interface DeleteErrorResponse { |
2637 | 3346 | export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; |
2638 | 3347 | /** |
2639 | 3348 | * @description |
2640 | - * errorHtml | |
3349 | + * error | |
2641 | 3350 | * @tags basic-error-controller |
2642 | - * @produces text/html | |
3351 | + * @produces * | |
2643 | 3352 | */ |
2644 | 3353 | export const deleteError = /* #__PURE__ */ (() => { |
2645 | 3354 | const method = 'delete'; |
... | ... | @@ -2663,7 +3372,9 @@ export interface OptionsErrorResponse { |
2663 | 3372 | * @description |
2664 | 3373 | * OK |
2665 | 3374 | */ |
2666 | - 200: ModelAndView; | |
3375 | + 200: { | |
3376 | + [propertyName: string]: any; | |
3377 | + }; | |
2667 | 3378 | /** |
2668 | 3379 | * @description |
2669 | 3380 | * No Content |
... | ... | @@ -2684,9 +3395,9 @@ export interface OptionsErrorResponse { |
2684 | 3395 | export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; |
2685 | 3396 | /** |
2686 | 3397 | * @description |
2687 | - * errorHtml | |
3398 | + * error | |
2688 | 3399 | * @tags basic-error-controller |
2689 | - * @produces text/html | |
3400 | + * @produces * | |
2690 | 3401 | * @consumes application/json |
2691 | 3402 | */ |
2692 | 3403 | export const optionsError = /* #__PURE__ */ (() => { |
... | ... | @@ -2711,7 +3422,9 @@ export interface HeadErrorResponse { |
2711 | 3422 | * @description |
2712 | 3423 | * OK |
2713 | 3424 | */ |
2714 | - 200: ModelAndView; | |
3425 | + 200: { | |
3426 | + [propertyName: string]: any; | |
3427 | + }; | |
2715 | 3428 | /** |
2716 | 3429 | * @description |
2717 | 3430 | * No Content |
... | ... | @@ -2732,9 +3445,9 @@ export interface HeadErrorResponse { |
2732 | 3445 | export type HeadErrorResponseSuccess = HeadErrorResponse[200]; |
2733 | 3446 | /** |
2734 | 3447 | * @description |
2735 | - * errorHtml | |
3448 | + * error | |
2736 | 3449 | * @tags basic-error-controller |
2737 | - * @produces text/html | |
3450 | + * @produces * | |
2738 | 3451 | * @consumes application/json |
2739 | 3452 | */ |
2740 | 3453 | export const headError = /* #__PURE__ */ (() => { |
... | ... | @@ -2759,7 +3472,9 @@ export interface PatchErrorResponse { |
2759 | 3472 | * @description |
2760 | 3473 | * OK |
2761 | 3474 | */ |
2762 | - 200: ModelAndView; | |
3475 | + 200: { | |
3476 | + [propertyName: string]: any; | |
3477 | + }; | |
2763 | 3478 | /** |
2764 | 3479 | * @description |
2765 | 3480 | * No Content |
... | ... | @@ -2780,9 +3495,9 @@ export interface PatchErrorResponse { |
2780 | 3495 | export type PatchErrorResponseSuccess = PatchErrorResponse[200]; |
2781 | 3496 | /** |
2782 | 3497 | * @description |
2783 | - * errorHtml | |
3498 | + * error | |
2784 | 3499 | * @tags basic-error-controller |
2785 | - * @produces text/html | |
3500 | + * @produces * | |
2786 | 3501 | * @consumes application/json |
2787 | 3502 | */ |
2788 | 3503 | export const patchError = /* #__PURE__ */ (() => { |
... | ... | @@ -10866,6 +11581,114 @@ export const postServiceBankStatementQueryBankStatement = |
10866 | 11581 | return request; |
10867 | 11582 | })(); |
10868 | 11583 | |
11584 | +/** @description response type for postServiceConstClientLevels */ | |
11585 | +export interface PostServiceConstClientLevelsResponse { | |
11586 | + /** | |
11587 | + * @description | |
11588 | + * OK | |
11589 | + */ | |
11590 | + 200: ServerResult; | |
11591 | + /** | |
11592 | + * @description | |
11593 | + * Created | |
11594 | + */ | |
11595 | + 201: any; | |
11596 | + /** | |
11597 | + * @description | |
11598 | + * Unauthorized | |
11599 | + */ | |
11600 | + 401: any; | |
11601 | + /** | |
11602 | + * @description | |
11603 | + * Forbidden | |
11604 | + */ | |
11605 | + 403: any; | |
11606 | + /** | |
11607 | + * @description | |
11608 | + * Not Found | |
11609 | + */ | |
11610 | + 404: any; | |
11611 | +} | |
11612 | + | |
11613 | +export type PostServiceConstClientLevelsResponseSuccess = | |
11614 | + PostServiceConstClientLevelsResponse[200]; | |
11615 | +/** | |
11616 | + * @description | |
11617 | + * 客户等级 | |
11618 | + * @tags front-const-controller | |
11619 | + * @produces * | |
11620 | + * @consumes application/json | |
11621 | + */ | |
11622 | +export const postServiceConstClientLevels = /* #__PURE__ */ (() => { | |
11623 | + const method = 'post'; | |
11624 | + const url = '/service/const/clientLevels'; | |
11625 | + function request(): Promise<PostServiceConstClientLevelsResponseSuccess> { | |
11626 | + return requester(request.url, { | |
11627 | + method: request.method, | |
11628 | + }) as unknown as Promise<PostServiceConstClientLevelsResponseSuccess>; | |
11629 | + } | |
11630 | + | |
11631 | + /** http method */ | |
11632 | + request.method = method; | |
11633 | + /** request url */ | |
11634 | + request.url = url; | |
11635 | + return request; | |
11636 | +})(); | |
11637 | + | |
11638 | +/** @description response type for postServiceConstTradeStatus */ | |
11639 | +export interface PostServiceConstTradeStatusResponse { | |
11640 | + /** | |
11641 | + * @description | |
11642 | + * OK | |
11643 | + */ | |
11644 | + 200: ServerResult; | |
11645 | + /** | |
11646 | + * @description | |
11647 | + * Created | |
11648 | + */ | |
11649 | + 201: any; | |
11650 | + /** | |
11651 | + * @description | |
11652 | + * Unauthorized | |
11653 | + */ | |
11654 | + 401: any; | |
11655 | + /** | |
11656 | + * @description | |
11657 | + * Forbidden | |
11658 | + */ | |
11659 | + 403: any; | |
11660 | + /** | |
11661 | + * @description | |
11662 | + * Not Found | |
11663 | + */ | |
11664 | + 404: any; | |
11665 | +} | |
11666 | + | |
11667 | +export type PostServiceConstTradeStatusResponseSuccess = | |
11668 | + PostServiceConstTradeStatusResponse[200]; | |
11669 | +/** | |
11670 | + * @description | |
11671 | + * 跟进状态 | |
11672 | + * @tags front-const-controller | |
11673 | + * @produces * | |
11674 | + * @consumes application/json | |
11675 | + */ | |
11676 | +export const postServiceConstTradeStatus = /* #__PURE__ */ (() => { | |
11677 | + const method = 'post'; | |
11678 | + const url = '/service/const/tradeStatus'; | |
11679 | + function request(): Promise<PostServiceConstTradeStatusResponseSuccess> { | |
11680 | + return requester(request.url, { | |
11681 | + method: request.method, | |
11682 | + }) as unknown as Promise<PostServiceConstTradeStatusResponseSuccess>; | |
11683 | + } | |
11684 | + | |
11685 | + /** http method */ | |
11686 | + request.method = method; | |
11687 | + /** request url */ | |
11688 | + request.url = url; | |
11689 | + return request; | |
11690 | +})(); | |
11691 | + | |
10869 | 11692 | /** @description request parameter type for postServiceInvoiceAddInvoice */ |
10870 | 11693 | export interface PostServiceInvoiceAddInvoiceOption { |
10871 | 11694 | /** | ... | ... |