Commit 2159dc50fba877d663fecfb8c0428df0efd8485e
1 parent
1eedc1b2
feat: 回访登记
Showing
4 changed files
with
782 additions
and
2 deletions
src/pages/Order/components/FeedbackRegistrationModal.tsx
0 → 100644
1 | +import { postServiceOrderFeedbackRegistration } from '@/services/request'; | ||
2 | +import { Input, Modal } from 'antd'; | ||
3 | +import { useState } from 'react'; | ||
4 | + | ||
5 | +// import { cloneDeep } from 'lodash'; | ||
6 | +export default ({ subOrders, onClose }) => { | ||
7 | + const [isModalOpen] = useState(true); | ||
8 | + const { TextArea } = Input; | ||
9 | + const [textValue, setTextValue] = useState(''); | ||
10 | + | ||
11 | + const handleOk = async () => { | ||
12 | + console.log(textValue); // 处理输入的文本 | ||
13 | + console.log(subOrders, '5656subOrders'); | ||
14 | + let res = await postServiceOrderFeedbackRegistration({ | ||
15 | + data: { | ||
16 | + id: subOrders[0].id, | ||
17 | + feedbackRegistrationContent: textValue, | ||
18 | + }, | ||
19 | + }); | ||
20 | + console.log(res, '5656res'); | ||
21 | + onClose(); | ||
22 | + // setIsModalOpen(false); | ||
23 | + // onClose(); | ||
24 | + }; | ||
25 | + const handleCancel = () => { | ||
26 | + onClose(); | ||
27 | + // setIsModalOpen(false); | ||
28 | + // onClose(); | ||
29 | + }; | ||
30 | + const handleChange = (e) => { | ||
31 | + setTextValue(e.target.value); | ||
32 | + }; | ||
33 | + return ( | ||
34 | + <> | ||
35 | + {/* <ModalForm<{ | ||
36 | + filePaths: any; | ||
37 | + }> | ||
38 | + width={500} | ||
39 | + open | ||
40 | + title="回访登记" | ||
41 | + form={form} | ||
42 | + autoFocusFirstInput | ||
43 | + modalProps={{ | ||
44 | + okText: '提交', | ||
45 | + cancelText: '取消', | ||
46 | + destroyOnClose: true, | ||
47 | + onCancel: () => { | ||
48 | + setVisible(false); | ||
49 | + }, | ||
50 | + }} | ||
51 | + onFinish={async () => { | ||
52 | + onClose(); | ||
53 | + }} | ||
54 | + onOpenChange={setVisible} | ||
55 | + > | ||
56 | + <TextArea rows={6} placeholder="请输入" /> | ||
57 | + </ModalForm> */} | ||
58 | + <Modal | ||
59 | + title="回访登记" | ||
60 | + open={isModalOpen} | ||
61 | + onOk={handleOk} | ||
62 | + onCancel={handleCancel} | ||
63 | + > | ||
64 | + <TextArea | ||
65 | + rows={6} | ||
66 | + placeholder="请输入" | ||
67 | + onChange={handleChange} | ||
68 | + value={textValue} | ||
69 | + /> | ||
70 | + </Modal> | ||
71 | + </> | ||
72 | + ); | ||
73 | +}; |
src/pages/Order/index.tsx
@@ -87,6 +87,7 @@ import CheckModal from './components/CheckModal'; | @@ -87,6 +87,7 @@ import CheckModal from './components/CheckModal'; | ||
87 | import ConfirmReceiptModal from './components/ConfirmReceiptModal'; | 87 | import ConfirmReceiptModal from './components/ConfirmReceiptModal'; |
88 | import DeliverInfoDrawer from './components/DeliverInfoDrawer'; | 88 | import DeliverInfoDrawer from './components/DeliverInfoDrawer'; |
89 | import DeliverModal from './components/DeliverModal'; | 89 | import DeliverModal from './components/DeliverModal'; |
90 | +import FeedbackRegistrationModal from './components/FeedbackRegistrationModal'; | ||
90 | import FinancialDrawer from './components/FinancialDrawer'; | 91 | import FinancialDrawer from './components/FinancialDrawer'; |
91 | import FinancialEditDrawer from './components/FinancialEditDrawer'; | 92 | import FinancialEditDrawer from './components/FinancialEditDrawer'; |
92 | import FinancialMergeDrawer from './components/FinancialMergeDrawer'; | 93 | import FinancialMergeDrawer from './components/FinancialMergeDrawer'; |
@@ -139,6 +140,10 @@ const OrderPage = () => { | @@ -139,6 +140,10 @@ const OrderPage = () => { | ||
139 | useState<boolean>(false); | 140 | useState<boolean>(false); |
140 | const [uploadPayBillModalVisible, setUploadPayBillModalVisible] = | 141 | const [uploadPayBillModalVisible, setUploadPayBillModalVisible] = |
141 | useState<boolean>(false); | 142 | useState<boolean>(false); |
143 | + const [ | ||
144 | + feedbackRegistrationModalVisible, | ||
145 | + setFeedbackRegistrationModalVisible, | ||
146 | + ] = useState<boolean>(false); | ||
142 | const [modifiedDiffModalVisible, setModifiedDiffModalVisible] = | 147 | const [modifiedDiffModalVisible, setModifiedDiffModalVisible] = |
143 | useState<boolean>(false); | 148 | useState<boolean>(false); |
144 | const [financialReceiptsModalVisible, setFinancialReceiptsModalVisible] = | 149 | const [financialReceiptsModalVisible, setFinancialReceiptsModalVisible] = |
@@ -683,7 +688,7 @@ const OrderPage = () => { | @@ -683,7 +688,7 @@ const OrderPage = () => { | ||
683 | * @param optRecord | 688 | * @param optRecord |
684 | */ | 689 | */ |
685 | function getOrderStatusTag(optRecord: any): import('react').ReactNode { | 690 | function getOrderStatusTag(optRecord: any): import('react').ReactNode { |
686 | - console.log(optRecord); | 691 | + console.log(optRecord, '5656optRecord'); |
687 | 692 | ||
688 | const orderStatus = optRecord.orderStatus; | 693 | const orderStatus = optRecord.orderStatus; |
689 | const paymentMethod = optRecord.paymentMethod; | 694 | const paymentMethod = optRecord.paymentMethod; |
@@ -2074,6 +2079,20 @@ const OrderPage = () => { | @@ -2074,6 +2079,20 @@ const OrderPage = () => { | ||
2074 | ) : ( | 2079 | ) : ( |
2075 | '' | 2080 | '' |
2076 | )} | 2081 | )} |
2082 | + {optRecord.paths?.includes('feedbackRegistration') ? ( | ||
2083 | + <Button | ||
2084 | + className="p-0" | ||
2085 | + type="link" | ||
2086 | + onClick={() => { | ||
2087 | + createOptObject(optRecord.id, record.id); | ||
2088 | + setFeedbackRegistrationModalVisible(true); | ||
2089 | + }} | ||
2090 | + > | ||
2091 | + 回访登记 | ||
2092 | + </Button> | ||
2093 | + ) : ( | ||
2094 | + '' | ||
2095 | + )} | ||
2077 | 2096 | ||
2078 | {optRecord.paths?.includes('confirmInvoice') ? ( | 2097 | {optRecord.paths?.includes('confirmInvoice') ? ( |
2079 | <ButtonConfirm | 2098 | <ButtonConfirm |
@@ -2295,6 +2314,31 @@ const OrderPage = () => { | @@ -2295,6 +2314,31 @@ const OrderPage = () => { | ||
2295 | ) : ( | 2314 | ) : ( |
2296 | '' | 2315 | '' |
2297 | )} | 2316 | )} |
2317 | + | ||
2318 | + {isAdmin() || isSales() ? ( | ||
2319 | + <Flex title={optRecord.notes} className="pt-2"> | ||
2320 | + <div className="flex items-center"> | ||
2321 | + <div className="flex items-center max-w-[500px]"> | ||
2322 | + <div className="max-w-md overflow-hidden whitespace-no-wrap overflow-ellipsis"> | ||
2323 | + <Tooltip | ||
2324 | + title={optRecord.feedbackRegistrationContent} | ||
2325 | + placement="topLeft" | ||
2326 | + > | ||
2327 | + <span className="text-[#8C8C8C] mr-3"> | ||
2328 | + 产品回访登记: | ||
2329 | + {optRecord.feedbackRegistrationContent === undefined || | ||
2330 | + optRecord.feedbackRegistrationContent === null | ||
2331 | + ? '暂无' | ||
2332 | + : optRecord.feedbackRegistrationContent} | ||
2333 | + </span> | ||
2334 | + </Tooltip> | ||
2335 | + </div> | ||
2336 | + </div> | ||
2337 | + </div> | ||
2338 | + </Flex> | ||
2339 | + ) : ( | ||
2340 | + '' | ||
2341 | + )} | ||
2298 | </> | 2342 | </> |
2299 | ); | 2343 | ); |
2300 | }; | 2344 | }; |
@@ -5110,6 +5154,24 @@ const OrderPage = () => { | @@ -5110,6 +5154,24 @@ const OrderPage = () => { | ||
5110 | }} | 5154 | }} |
5111 | /> | 5155 | /> |
5112 | )} | 5156 | )} |
5157 | + {feedbackRegistrationModalVisible && ( | ||
5158 | + <FeedbackRegistrationModal | ||
5159 | + setVisible={(val: boolean) => { | ||
5160 | + setFeedbackRegistrationModalVisible(val); | ||
5161 | + if (!val) { | ||
5162 | + clearOptObject(); | ||
5163 | + } | ||
5164 | + }} | ||
5165 | + subOrders={buildSubOrders()} | ||
5166 | + mainOrder={buildMainOrder()} | ||
5167 | + onClose={() => { | ||
5168 | + setFeedbackRegistrationModalVisible(false); | ||
5169 | + clearOptObject(); | ||
5170 | + refreshTable(); | ||
5171 | + }} | ||
5172 | + /> | ||
5173 | + )} | ||
5174 | + | ||
5113 | {invoicingDrawerFormVisible && ( | 5175 | {invoicingDrawerFormVisible && ( |
5114 | <InvoicingDrawerForm | 5176 | <InvoicingDrawerForm |
5115 | dataList={ | 5177 | dataList={ |
src/services/definition.ts
@@ -3172,6 +3172,45 @@ export interface QueryUseOldInvoicingDto { | @@ -3172,6 +3172,45 @@ export interface QueryUseOldInvoicingDto { | ||
3172 | total?: number; | 3172 | total?: number; |
3173 | } | 3173 | } |
3174 | 3174 | ||
3175 | +export interface QueryWarningOrderWhiteListDto { | ||
3176 | + createByName?: string; | ||
3177 | + /** @format date-time */ | ||
3178 | + createTimeGe?: string; | ||
3179 | + /** @format date-time */ | ||
3180 | + createTimeLe?: string; | ||
3181 | + /** @format int32 */ | ||
3182 | + current?: number; | ||
3183 | + /** @format int32 */ | ||
3184 | + end?: number; | ||
3185 | + /** @format int64 */ | ||
3186 | + orderId?: number; | ||
3187 | + /** @format int32 */ | ||
3188 | + pageSize?: number; | ||
3189 | + /** @format int32 */ | ||
3190 | + start?: number; | ||
3191 | + /** @format int32 */ | ||
3192 | + total?: number; | ||
3193 | +} | ||
3194 | + | ||
3195 | +export interface QueryWarningUserWhiteListDto { | ||
3196 | + createByName?: string; | ||
3197 | + /** @format date-time */ | ||
3198 | + createTimeGe?: string; | ||
3199 | + /** @format date-time */ | ||
3200 | + createTimeLe?: string; | ||
3201 | + /** @format int32 */ | ||
3202 | + current?: number; | ||
3203 | + /** @format int32 */ | ||
3204 | + end?: number; | ||
3205 | + /** @format int32 */ | ||
3206 | + pageSize?: number; | ||
3207 | + /** @format int32 */ | ||
3208 | + start?: number; | ||
3209 | + /** @format int32 */ | ||
3210 | + total?: number; | ||
3211 | + userNameLike?: string; | ||
3212 | +} | ||
3213 | + | ||
3175 | export interface QueryWriteOffRecordDto { | 3214 | export interface QueryWriteOffRecordDto { |
3176 | /** @format int64 */ | 3215 | /** @format int64 */ |
3177 | id?: number; | 3216 | id?: number; |
@@ -3623,6 +3662,7 @@ export interface SubOrder { | @@ -3623,6 +3662,7 @@ export interface SubOrder { | ||
3623 | deadline?: string; | 3662 | deadline?: string; |
3624 | ext?: string; | 3663 | ext?: string; |
3625 | extendField?: string; | 3664 | extendField?: string; |
3665 | + feedbackRegistrationContent?: string; | ||
3626 | /** @format date-time */ | 3666 | /** @format date-time */ |
3627 | financialReceiptIssuanceTime?: string; | 3667 | financialReceiptIssuanceTime?: string; |
3628 | fullPaymentStatus?: string; | 3668 | fullPaymentStatus?: string; |
@@ -3634,6 +3674,9 @@ export interface SubOrder { | @@ -3634,6 +3674,9 @@ export interface SubOrder { | ||
3634 | id?: number; | 3674 | id?: number; |
3635 | image?: string; | 3675 | image?: string; |
3636 | invoiceApplyUsername?: string; | 3676 | invoiceApplyUsername?: string; |
3677 | + invoiceConfirmStatus?: string; | ||
3678 | + /** @format date-time */ | ||
3679 | + invoiceConfirmStatusDatetime?: string; | ||
3637 | invoiceInformation?: string; | 3680 | invoiceInformation?: string; |
3638 | /** @format int64 */ | 3681 | /** @format int64 */ |
3639 | invoiceRecordId?: number; | 3682 | invoiceRecordId?: number; |
@@ -3702,6 +3745,8 @@ export interface SubOrder { | @@ -3702,6 +3745,8 @@ export interface SubOrder { | ||
3702 | reissueNotes?: string; | 3745 | reissueNotes?: string; |
3703 | serialNumber?: string; | 3746 | serialNumber?: string; |
3704 | shippingWarehouse?: string; | 3747 | shippingWarehouse?: string; |
3748 | + /** @format date-time */ | ||
3749 | + statusDatetime?: string; | ||
3705 | /** @format int64 */ | 3750 | /** @format int64 */ |
3706 | subOrderPayment?: number; | 3751 | subOrderPayment?: number; |
3707 | supplierName?: string; | 3752 | supplierName?: string; |
@@ -4037,6 +4082,34 @@ export interface View { | @@ -4037,6 +4082,34 @@ export interface View { | ||
4037 | contentType?: string; | 4082 | contentType?: string; |
4038 | } | 4083 | } |
4039 | 4084 | ||
4085 | +export interface WarningOrderWhiteListDto { | ||
4086 | + createByName?: string; | ||
4087 | + /** @format date-time */ | ||
4088 | + createTime?: string; | ||
4089 | + logicDelete?: boolean; | ||
4090 | + /** @format int64 */ | ||
4091 | + orderId?: number; | ||
4092 | + paths?: Array<string>; | ||
4093 | + salesCode?: string; | ||
4094 | + updateByName?: string; | ||
4095 | + /** @format date-time */ | ||
4096 | + updateTime?: string; | ||
4097 | +} | ||
4098 | + | ||
4099 | +export interface WarningUserWhiteListDto { | ||
4100 | + createByName?: string; | ||
4101 | + /** @format date-time */ | ||
4102 | + createTime?: string; | ||
4103 | + /** @format int64 */ | ||
4104 | + id?: number; | ||
4105 | + logicDelete?: boolean; | ||
4106 | + paths?: Array<string>; | ||
4107 | + updateByName?: string; | ||
4108 | + /** @format date-time */ | ||
4109 | + updateTime?: string; | ||
4110 | + userName?: string; | ||
4111 | +} | ||
4112 | + | ||
4040 | /** | 4113 | /** |
4041 | * @description | 4114 | * @description |
4042 | * 确认收货请求 | 4115 | * 确认收货请求 |
@@ -4641,6 +4714,20 @@ export interface UserAddressSaveRequest { | @@ -4641,6 +4714,20 @@ export interface UserAddressSaveRequest { | ||
4641 | institutionContactName?: string; | 4714 | institutionContactName?: string; |
4642 | } | 4715 | } |
4643 | 4716 | ||
4717 | +export interface FeedbackRegistrationDTO { | ||
4718 | + /** | ||
4719 | + * @description | ||
4720 | + * 回访登记内容 | ||
4721 | + */ | ||
4722 | + feedbackRegistrationContent?: string; | ||
4723 | + /** | ||
4724 | + * @description | ||
4725 | + * 子订单id | ||
4726 | + * @format int64 | ||
4727 | + */ | ||
4728 | + id?: number; | ||
4729 | +} | ||
4730 | + | ||
4644 | export interface UploadPaymentReceiptDTO { | 4731 | export interface UploadPaymentReceiptDTO { |
4645 | /** | 4732 | /** |
4646 | * @description | 4733 | * @description |
src/services/request.ts
@@ -52,6 +52,7 @@ import type { | @@ -52,6 +52,7 @@ import type { | ||
52 | DistrictDo, | 52 | DistrictDo, |
53 | DistrictSearchDo, | 53 | DistrictSearchDo, |
54 | Dto, | 54 | Dto, |
55 | + FeedbackRegistrationDTO, | ||
55 | InventoryMaterialStockReq, | 56 | InventoryMaterialStockReq, |
56 | InvoiceDto, | 57 | InvoiceDto, |
57 | InvoiceRecordDTO, | 58 | InvoiceRecordDTO, |
@@ -100,6 +101,8 @@ import type { | @@ -100,6 +101,8 @@ import type { | ||
100 | QueryProcureReturnBillDto, | 101 | QueryProcureReturnBillDto, |
101 | QueryReportFormsDto, | 102 | QueryReportFormsDto, |
102 | QueryUseOldInvoicingDto, | 103 | QueryUseOldInvoicingDto, |
104 | + QueryWarningOrderWhiteListDto, | ||
105 | + QueryWarningUserWhiteListDto, | ||
103 | QueryWriteOffRecordDto, | 106 | QueryWriteOffRecordDto, |
104 | ReissueInvoiceDto, | 107 | ReissueInvoiceDto, |
105 | ResearchGroupAddRequest, | 108 | ResearchGroupAddRequest, |
@@ -139,6 +142,8 @@ import type { | @@ -139,6 +142,8 @@ import type { | ||
139 | UserDetailRequest, | 142 | UserDetailRequest, |
140 | UserListRequest, | 143 | UserListRequest, |
141 | UserNowMoneyCheckRequest, | 144 | UserNowMoneyCheckRequest, |
145 | + WarningOrderWhiteListDto, | ||
146 | + WarningUserWhiteListDto, | ||
142 | } from './definition'; | 147 | } from './definition'; |
143 | 148 | ||
144 | /** @description request parameter type for postAdminClientAddAdminClient */ | 149 | /** @description request parameter type for postAdminClientAddAdminClient */ |
@@ -15902,6 +15907,148 @@ export const postServiceOrderAddOrder = /* #__PURE__ */ (() => { | @@ -15902,6 +15907,148 @@ export const postServiceOrderAddOrder = /* #__PURE__ */ (() => { | ||
15902 | return request; | 15907 | return request; |
15903 | })(); | 15908 | })(); |
15904 | 15909 | ||
15910 | +/** @description request parameter type for postServiceOrderAddWarningOrderWhiteList */ | ||
15911 | +export interface PostServiceOrderAddWarningOrderWhiteListOption { | ||
15912 | + /** | ||
15913 | + * @description | ||
15914 | + * dto | ||
15915 | + */ | ||
15916 | + body: { | ||
15917 | + /** | ||
15918 | + @description | ||
15919 | + dto */ | ||
15920 | + dto: WarningOrderWhiteListDto; | ||
15921 | + }; | ||
15922 | +} | ||
15923 | + | ||
15924 | +/** @description response type for postServiceOrderAddWarningOrderWhiteList */ | ||
15925 | +export interface PostServiceOrderAddWarningOrderWhiteListResponse { | ||
15926 | + /** | ||
15927 | + * @description | ||
15928 | + * OK | ||
15929 | + */ | ||
15930 | + 200: ServerResult; | ||
15931 | + /** | ||
15932 | + * @description | ||
15933 | + * Created | ||
15934 | + */ | ||
15935 | + 201: any; | ||
15936 | + /** | ||
15937 | + * @description | ||
15938 | + * Unauthorized | ||
15939 | + */ | ||
15940 | + 401: any; | ||
15941 | + /** | ||
15942 | + * @description | ||
15943 | + * Forbidden | ||
15944 | + */ | ||
15945 | + 403: any; | ||
15946 | + /** | ||
15947 | + * @description | ||
15948 | + * Not Found | ||
15949 | + */ | ||
15950 | + 404: any; | ||
15951 | +} | ||
15952 | + | ||
15953 | +export type PostServiceOrderAddWarningOrderWhiteListResponseSuccess = | ||
15954 | + PostServiceOrderAddWarningOrderWhiteListResponse[200]; | ||
15955 | +/** | ||
15956 | + * @description | ||
15957 | + * 新增订单预警白名单 | ||
15958 | + * @tags 内部订单 | ||
15959 | + * @produces * | ||
15960 | + * @consumes application/json | ||
15961 | + */ | ||
15962 | +export const postServiceOrderAddWarningOrderWhiteList = /* #__PURE__ */ (() => { | ||
15963 | + const method = 'post'; | ||
15964 | + const url = '/service/order/addWarningOrderWhiteList'; | ||
15965 | + function request( | ||
15966 | + option: PostServiceOrderAddWarningOrderWhiteListOption, | ||
15967 | + ): Promise<PostServiceOrderAddWarningOrderWhiteListResponseSuccess> { | ||
15968 | + return requester(request.url, { | ||
15969 | + method: request.method, | ||
15970 | + ...option, | ||
15971 | + }) as unknown as Promise<PostServiceOrderAddWarningOrderWhiteListResponseSuccess>; | ||
15972 | + } | ||
15973 | + | ||
15974 | + /** http method */ | ||
15975 | + request.method = method; | ||
15976 | + /** request url */ | ||
15977 | + request.url = url; | ||
15978 | + return request; | ||
15979 | +})(); | ||
15980 | + | ||
15981 | +/** @description request parameter type for postServiceOrderAddWarningUserWhiteList */ | ||
15982 | +export interface PostServiceOrderAddWarningUserWhiteListOption { | ||
15983 | + /** | ||
15984 | + * @description | ||
15985 | + * dto | ||
15986 | + */ | ||
15987 | + body: { | ||
15988 | + /** | ||
15989 | + @description | ||
15990 | + dto */ | ||
15991 | + dto: WarningUserWhiteListDto; | ||
15992 | + }; | ||
15993 | +} | ||
15994 | + | ||
15995 | +/** @description response type for postServiceOrderAddWarningUserWhiteList */ | ||
15996 | +export interface PostServiceOrderAddWarningUserWhiteListResponse { | ||
15997 | + /** | ||
15998 | + * @description | ||
15999 | + * OK | ||
16000 | + */ | ||
16001 | + 200: ServerResult; | ||
16002 | + /** | ||
16003 | + * @description | ||
16004 | + * Created | ||
16005 | + */ | ||
16006 | + 201: any; | ||
16007 | + /** | ||
16008 | + * @description | ||
16009 | + * Unauthorized | ||
16010 | + */ | ||
16011 | + 401: any; | ||
16012 | + /** | ||
16013 | + * @description | ||
16014 | + * Forbidden | ||
16015 | + */ | ||
16016 | + 403: any; | ||
16017 | + /** | ||
16018 | + * @description | ||
16019 | + * Not Found | ||
16020 | + */ | ||
16021 | + 404: any; | ||
16022 | +} | ||
16023 | + | ||
16024 | +export type PostServiceOrderAddWarningUserWhiteListResponseSuccess = | ||
16025 | + PostServiceOrderAddWarningUserWhiteListResponse[200]; | ||
16026 | +/** | ||
16027 | + * @description | ||
16028 | + * 新增账号预警白名单 | ||
16029 | + * @tags 内部订单 | ||
16030 | + * @produces * | ||
16031 | + * @consumes application/json | ||
16032 | + */ | ||
16033 | +export const postServiceOrderAddWarningUserWhiteList = /* #__PURE__ */ (() => { | ||
16034 | + const method = 'post'; | ||
16035 | + const url = '/service/order/addWarningUserWhiteList'; | ||
16036 | + function request( | ||
16037 | + option: PostServiceOrderAddWarningUserWhiteListOption, | ||
16038 | + ): Promise<PostServiceOrderAddWarningUserWhiteListResponseSuccess> { | ||
16039 | + return requester(request.url, { | ||
16040 | + method: request.method, | ||
16041 | + ...option, | ||
16042 | + }) as unknown as Promise<PostServiceOrderAddWarningUserWhiteListResponseSuccess>; | ||
16043 | + } | ||
16044 | + | ||
16045 | + /** http method */ | ||
16046 | + request.method = method; | ||
16047 | + /** request url */ | ||
16048 | + request.url = url; | ||
16049 | + return request; | ||
16050 | +})(); | ||
16051 | + | ||
15905 | /** @description request parameter type for postServiceOrderAfterSalesCheck */ | 16052 | /** @description request parameter type for postServiceOrderAfterSalesCheck */ |
15906 | export interface PostServiceOrderAfterSalesCheckOption { | 16053 | export interface PostServiceOrderAfterSalesCheckOption { |
15907 | /** | 16054 | /** |
@@ -16477,7 +16624,7 @@ export interface PostServiceOrderConfirmInvoiceOption { | @@ -16477,7 +16624,7 @@ export interface PostServiceOrderConfirmInvoiceOption { | ||
16477 | * @description | 16624 | * @description |
16478 | * subIds | 16625 | * subIds |
16479 | */ | 16626 | */ |
16480 | - query: { | 16627 | + body: { |
16481 | /** | 16628 | /** |
16482 | @description | 16629 | @description |
16483 | subIds */ | 16630 | subIds */ |
@@ -16627,6 +16774,150 @@ export const postServiceOrderConfirmReceipt = /* #__PURE__ */ (() => { | @@ -16627,6 +16774,150 @@ export const postServiceOrderConfirmReceipt = /* #__PURE__ */ (() => { | ||
16627 | return request; | 16774 | return request; |
16628 | })(); | 16775 | })(); |
16629 | 16776 | ||
16777 | +/** @description request parameter type for postServiceOrderDeleteWarningOrderWhiteList */ | ||
16778 | +export interface PostServiceOrderDeleteWarningOrderWhiteListOption { | ||
16779 | + /** | ||
16780 | + * @description | ||
16781 | + * orderId | ||
16782 | + */ | ||
16783 | + body?: { | ||
16784 | + /** | ||
16785 | + @description | ||
16786 | + orderId */ | ||
16787 | + orderId?: number; | ||
16788 | + }; | ||
16789 | +} | ||
16790 | + | ||
16791 | +/** @description response type for postServiceOrderDeleteWarningOrderWhiteList */ | ||
16792 | +export interface PostServiceOrderDeleteWarningOrderWhiteListResponse { | ||
16793 | + /** | ||
16794 | + * @description | ||
16795 | + * OK | ||
16796 | + */ | ||
16797 | + 200: ServerResult; | ||
16798 | + /** | ||
16799 | + * @description | ||
16800 | + * Created | ||
16801 | + */ | ||
16802 | + 201: any; | ||
16803 | + /** | ||
16804 | + * @description | ||
16805 | + * Unauthorized | ||
16806 | + */ | ||
16807 | + 401: any; | ||
16808 | + /** | ||
16809 | + * @description | ||
16810 | + * Forbidden | ||
16811 | + */ | ||
16812 | + 403: any; | ||
16813 | + /** | ||
16814 | + * @description | ||
16815 | + * Not Found | ||
16816 | + */ | ||
16817 | + 404: any; | ||
16818 | +} | ||
16819 | + | ||
16820 | +export type PostServiceOrderDeleteWarningOrderWhiteListResponseSuccess = | ||
16821 | + PostServiceOrderDeleteWarningOrderWhiteListResponse[200]; | ||
16822 | +/** | ||
16823 | + * @description | ||
16824 | + * 删除订单预警白名单 | ||
16825 | + * @tags 内部订单 | ||
16826 | + * @produces * | ||
16827 | + * @consumes application/json | ||
16828 | + */ | ||
16829 | +export const postServiceOrderDeleteWarningOrderWhiteList = | ||
16830 | + /* #__PURE__ */ (() => { | ||
16831 | + const method = 'post'; | ||
16832 | + const url = '/service/order/deleteWarningOrderWhiteList'; | ||
16833 | + function request( | ||
16834 | + option?: PostServiceOrderDeleteWarningOrderWhiteListOption, | ||
16835 | + ): Promise<PostServiceOrderDeleteWarningOrderWhiteListResponseSuccess> { | ||
16836 | + return requester(request.url, { | ||
16837 | + method: request.method, | ||
16838 | + ...option, | ||
16839 | + }) as unknown as Promise<PostServiceOrderDeleteWarningOrderWhiteListResponseSuccess>; | ||
16840 | + } | ||
16841 | + | ||
16842 | + /** http method */ | ||
16843 | + request.method = method; | ||
16844 | + /** request url */ | ||
16845 | + request.url = url; | ||
16846 | + return request; | ||
16847 | + })(); | ||
16848 | + | ||
16849 | +/** @description request parameter type for postServiceOrderDeleteWarningUserWhiteList */ | ||
16850 | +export interface PostServiceOrderDeleteWarningUserWhiteListOption { | ||
16851 | + /** | ||
16852 | + * @description | ||
16853 | + * id | ||
16854 | + */ | ||
16855 | + body?: { | ||
16856 | + /** | ||
16857 | + @description | ||
16858 | + id */ | ||
16859 | + id?: number; | ||
16860 | + }; | ||
16861 | +} | ||
16862 | + | ||
16863 | +/** @description response type for postServiceOrderDeleteWarningUserWhiteList */ | ||
16864 | +export interface PostServiceOrderDeleteWarningUserWhiteListResponse { | ||
16865 | + /** | ||
16866 | + * @description | ||
16867 | + * OK | ||
16868 | + */ | ||
16869 | + 200: ServerResult; | ||
16870 | + /** | ||
16871 | + * @description | ||
16872 | + * Created | ||
16873 | + */ | ||
16874 | + 201: any; | ||
16875 | + /** | ||
16876 | + * @description | ||
16877 | + * Unauthorized | ||
16878 | + */ | ||
16879 | + 401: any; | ||
16880 | + /** | ||
16881 | + * @description | ||
16882 | + * Forbidden | ||
16883 | + */ | ||
16884 | + 403: any; | ||
16885 | + /** | ||
16886 | + * @description | ||
16887 | + * Not Found | ||
16888 | + */ | ||
16889 | + 404: any; | ||
16890 | +} | ||
16891 | + | ||
16892 | +export type PostServiceOrderDeleteWarningUserWhiteListResponseSuccess = | ||
16893 | + PostServiceOrderDeleteWarningUserWhiteListResponse[200]; | ||
16894 | +/** | ||
16895 | + * @description | ||
16896 | + * 删除账号预警白名单 | ||
16897 | + * @tags 内部订单 | ||
16898 | + * @produces * | ||
16899 | + * @consumes application/json | ||
16900 | + */ | ||
16901 | +export const postServiceOrderDeleteWarningUserWhiteList = | ||
16902 | + /* #__PURE__ */ (() => { | ||
16903 | + const method = 'post'; | ||
16904 | + const url = '/service/order/deleteWarningUserWhiteList'; | ||
16905 | + function request( | ||
16906 | + option?: PostServiceOrderDeleteWarningUserWhiteListOption, | ||
16907 | + ): Promise<PostServiceOrderDeleteWarningUserWhiteListResponseSuccess> { | ||
16908 | + return requester(request.url, { | ||
16909 | + method: request.method, | ||
16910 | + ...option, | ||
16911 | + }) as unknown as Promise<PostServiceOrderDeleteWarningUserWhiteListResponseSuccess>; | ||
16912 | + } | ||
16913 | + | ||
16914 | + /** http method */ | ||
16915 | + request.method = method; | ||
16916 | + /** request url */ | ||
16917 | + request.url = url; | ||
16918 | + return request; | ||
16919 | + })(); | ||
16920 | + | ||
16630 | /** @description request parameter type for postServiceOrderEditOrder */ | 16921 | /** @description request parameter type for postServiceOrderEditOrder */ |
16631 | export interface PostServiceOrderEditOrderOption { | 16922 | export interface PostServiceOrderEditOrderOption { |
16632 | /** | 16923 | /** |
@@ -16965,6 +17256,77 @@ export const postServiceOrderExportTemplate = /* #__PURE__ */ (() => { | @@ -16965,6 +17256,77 @@ export const postServiceOrderExportTemplate = /* #__PURE__ */ (() => { | ||
16965 | return request; | 17256 | return request; |
16966 | })(); | 17257 | })(); |
16967 | 17258 | ||
17259 | +/** @description request parameter type for postServiceOrderFeedbackRegistration */ | ||
17260 | +export interface PostServiceOrderFeedbackRegistrationOption { | ||
17261 | + /** | ||
17262 | + * @description | ||
17263 | + * dto | ||
17264 | + */ | ||
17265 | + body: { | ||
17266 | + /** | ||
17267 | + @description | ||
17268 | + dto */ | ||
17269 | + dto: FeedbackRegistrationDTO; | ||
17270 | + }; | ||
17271 | +} | ||
17272 | + | ||
17273 | +/** @description response type for postServiceOrderFeedbackRegistration */ | ||
17274 | +export interface PostServiceOrderFeedbackRegistrationResponse { | ||
17275 | + /** | ||
17276 | + * @description | ||
17277 | + * OK | ||
17278 | + */ | ||
17279 | + 200: ServerResult; | ||
17280 | + /** | ||
17281 | + * @description | ||
17282 | + * Created | ||
17283 | + */ | ||
17284 | + 201: any; | ||
17285 | + /** | ||
17286 | + * @description | ||
17287 | + * Unauthorized | ||
17288 | + */ | ||
17289 | + 401: any; | ||
17290 | + /** | ||
17291 | + * @description | ||
17292 | + * Forbidden | ||
17293 | + */ | ||
17294 | + 403: any; | ||
17295 | + /** | ||
17296 | + * @description | ||
17297 | + * Not Found | ||
17298 | + */ | ||
17299 | + 404: any; | ||
17300 | +} | ||
17301 | + | ||
17302 | +export type PostServiceOrderFeedbackRegistrationResponseSuccess = | ||
17303 | + PostServiceOrderFeedbackRegistrationResponse[200]; | ||
17304 | +/** | ||
17305 | + * @description | ||
17306 | + * 回访登记 | ||
17307 | + * @tags 内部订单 | ||
17308 | + * @produces * | ||
17309 | + * @consumes application/json | ||
17310 | + */ | ||
17311 | +export const postServiceOrderFeedbackRegistration = /* #__PURE__ */ (() => { | ||
17312 | + const method = 'post'; | ||
17313 | + const url = '/service/order/feedbackRegistration'; | ||
17314 | + function request( | ||
17315 | + option: PostServiceOrderFeedbackRegistrationOption, | ||
17316 | + ): Promise<PostServiceOrderFeedbackRegistrationResponseSuccess> { | ||
17317 | + return requester(request.url, { | ||
17318 | + method: request.method, | ||
17319 | + ...option, | ||
17320 | + }) as unknown as Promise<PostServiceOrderFeedbackRegistrationResponseSuccess>; | ||
17321 | + } | ||
17322 | + | ||
17323 | + /** http method */ | ||
17324 | + request.method = method; | ||
17325 | + /** request url */ | ||
17326 | + request.url = url; | ||
17327 | + return request; | ||
17328 | +})(); | ||
17329 | + | ||
16968 | /** @description request parameter type for postServiceOrderFileProcess */ | 17330 | /** @description request parameter type for postServiceOrderFileProcess */ |
16969 | export interface PostServiceOrderFileProcessOption { | 17331 | export interface PostServiceOrderFileProcessOption { |
16970 | /** | 17332 | /** |
@@ -20696,6 +21058,202 @@ export const postServiceOrderViewImages = /* #__PURE__ */ (() => { | @@ -20696,6 +21058,202 @@ export const postServiceOrderViewImages = /* #__PURE__ */ (() => { | ||
20696 | return request; | 21058 | return request; |
20697 | })(); | 21059 | })(); |
20698 | 21060 | ||
21061 | +/** @description response type for postServiceOrderWarningOrderStatistics */ | ||
21062 | +export interface PostServiceOrderWarningOrderStatisticsResponse { | ||
21063 | + /** | ||
21064 | + * @description | ||
21065 | + * OK | ||
21066 | + */ | ||
21067 | + 200: ServerResult; | ||
21068 | + /** | ||
21069 | + * @description | ||
21070 | + * Created | ||
21071 | + */ | ||
21072 | + 201: any; | ||
21073 | + /** | ||
21074 | + * @description | ||
21075 | + * Unauthorized | ||
21076 | + */ | ||
21077 | + 401: any; | ||
21078 | + /** | ||
21079 | + * @description | ||
21080 | + * Forbidden | ||
21081 | + */ | ||
21082 | + 403: any; | ||
21083 | + /** | ||
21084 | + * @description | ||
21085 | + * Not Found | ||
21086 | + */ | ||
21087 | + 404: any; | ||
21088 | +} | ||
21089 | + | ||
21090 | +export type PostServiceOrderWarningOrderStatisticsResponseSuccess = | ||
21091 | + PostServiceOrderWarningOrderStatisticsResponse[200]; | ||
21092 | +/** | ||
21093 | + * @description | ||
21094 | + * 查询预警订单数据 | ||
21095 | + * @tags 内部订单 | ||
21096 | + * @produces * | ||
21097 | + * @consumes application/json | ||
21098 | + */ | ||
21099 | +export const postServiceOrderWarningOrderStatistics = /* #__PURE__ */ (() => { | ||
21100 | + const method = 'post'; | ||
21101 | + const url = '/service/order/warningOrderStatistics'; | ||
21102 | + function request(): Promise<PostServiceOrderWarningOrderStatisticsResponseSuccess> { | ||
21103 | + return requester(request.url, { | ||
21104 | + method: request.method, | ||
21105 | + }) as unknown as Promise<PostServiceOrderWarningOrderStatisticsResponseSuccess>; | ||
21106 | + } | ||
21107 | + | ||
21108 | + /** http method */ | ||
21109 | + request.method = method; | ||
21110 | + /** request url */ | ||
21111 | + request.url = url; | ||
21112 | + return request; | ||
21113 | +})(); | ||
21114 | + | ||
21115 | +/** @description request parameter type for postServiceOrderWarningOrderWhiteLists */ | ||
21116 | +export interface PostServiceOrderWarningOrderWhiteListsOption { | ||
21117 | + /** | ||
21118 | + * @description | ||
21119 | + * query | ||
21120 | + */ | ||
21121 | + body: { | ||
21122 | + /** | ||
21123 | + @description | ||
21124 | + query */ | ||
21125 | + query: QueryWarningOrderWhiteListDto; | ||
21126 | + }; | ||
21127 | +} | ||
21128 | + | ||
21129 | +/** @description response type for postServiceOrderWarningOrderWhiteLists */ | ||
21130 | +export interface PostServiceOrderWarningOrderWhiteListsResponse { | ||
21131 | + /** | ||
21132 | + * @description | ||
21133 | + * OK | ||
21134 | + */ | ||
21135 | + 200: ServerResult; | ||
21136 | + /** | ||
21137 | + * @description | ||
21138 | + * Created | ||
21139 | + */ | ||
21140 | + 201: any; | ||
21141 | + /** | ||
21142 | + * @description | ||
21143 | + * Unauthorized | ||
21144 | + */ | ||
21145 | + 401: any; | ||
21146 | + /** | ||
21147 | + * @description | ||
21148 | + * Forbidden | ||
21149 | + */ | ||
21150 | + 403: any; | ||
21151 | + /** | ||
21152 | + * @description | ||
21153 | + * Not Found | ||
21154 | + */ | ||
21155 | + 404: any; | ||
21156 | +} | ||
21157 | + | ||
21158 | +export type PostServiceOrderWarningOrderWhiteListsResponseSuccess = | ||
21159 | + PostServiceOrderWarningOrderWhiteListsResponse[200]; | ||
21160 | +/** | ||
21161 | + * @description | ||
21162 | + * 查询订单预警白名单 | ||
21163 | + * @tags 内部订单 | ||
21164 | + * @produces * | ||
21165 | + * @consumes application/json | ||
21166 | + */ | ||
21167 | +export const postServiceOrderWarningOrderWhiteLists = /* #__PURE__ */ (() => { | ||
21168 | + const method = 'post'; | ||
21169 | + const url = '/service/order/warningOrderWhiteLists'; | ||
21170 | + function request( | ||
21171 | + option: PostServiceOrderWarningOrderWhiteListsOption, | ||
21172 | + ): Promise<PostServiceOrderWarningOrderWhiteListsResponseSuccess> { | ||
21173 | + return requester(request.url, { | ||
21174 | + method: request.method, | ||
21175 | + ...option, | ||
21176 | + }) as unknown as Promise<PostServiceOrderWarningOrderWhiteListsResponseSuccess>; | ||
21177 | + } | ||
21178 | + | ||
21179 | + /** http method */ | ||
21180 | + request.method = method; | ||
21181 | + /** request url */ | ||
21182 | + request.url = url; | ||
21183 | + return request; | ||
21184 | +})(); | ||
21185 | + | ||
21186 | +/** @description request parameter type for postServiceOrderWarningUserWhiteLists */ | ||
21187 | +export interface PostServiceOrderWarningUserWhiteListsOption { | ||
21188 | + /** | ||
21189 | + * @description | ||
21190 | + * query | ||
21191 | + */ | ||
21192 | + body: { | ||
21193 | + /** | ||
21194 | + @description | ||
21195 | + query */ | ||
21196 | + query: QueryWarningUserWhiteListDto; | ||
21197 | + }; | ||
21198 | +} | ||
21199 | + | ||
21200 | +/** @description response type for postServiceOrderWarningUserWhiteLists */ | ||
21201 | +export interface PostServiceOrderWarningUserWhiteListsResponse { | ||
21202 | + /** | ||
21203 | + * @description | ||
21204 | + * OK | ||
21205 | + */ | ||
21206 | + 200: ServerResult; | ||
21207 | + /** | ||
21208 | + * @description | ||
21209 | + * Created | ||
21210 | + */ | ||
21211 | + 201: any; | ||
21212 | + /** | ||
21213 | + * @description | ||
21214 | + * Unauthorized | ||
21215 | + */ | ||
21216 | + 401: any; | ||
21217 | + /** | ||
21218 | + * @description | ||
21219 | + * Forbidden | ||
21220 | + */ | ||
21221 | + 403: any; | ||
21222 | + /** | ||
21223 | + * @description | ||
21224 | + * Not Found | ||
21225 | + */ | ||
21226 | + 404: any; | ||
21227 | +} | ||
21228 | + | ||
21229 | +export type PostServiceOrderWarningUserWhiteListsResponseSuccess = | ||
21230 | + PostServiceOrderWarningUserWhiteListsResponse[200]; | ||
21231 | +/** | ||
21232 | + * @description | ||
21233 | + * 查询账号预警白名单 | ||
21234 | + * @tags 内部订单 | ||
21235 | + * @produces * | ||
21236 | + * @consumes application/json | ||
21237 | + */ | ||
21238 | +export const postServiceOrderWarningUserWhiteLists = /* #__PURE__ */ (() => { | ||
21239 | + const method = 'post'; | ||
21240 | + const url = '/service/order/warningUserWhiteLists'; | ||
21241 | + function request( | ||
21242 | + option: PostServiceOrderWarningUserWhiteListsOption, | ||
21243 | + ): Promise<PostServiceOrderWarningUserWhiteListsResponseSuccess> { | ||
21244 | + return requester(request.url, { | ||
21245 | + method: request.method, | ||
21246 | + ...option, | ||
21247 | + }) as unknown as Promise<PostServiceOrderWarningUserWhiteListsResponseSuccess>; | ||
21248 | + } | ||
21249 | + | ||
21250 | + /** http method */ | ||
21251 | + request.method = method; | ||
21252 | + /** request url */ | ||
21253 | + request.url = url; | ||
21254 | + return request; | ||
21255 | +})(); | ||
21256 | + | ||
20699 | /** @description request parameter type for getServiceToggles */ | 21257 | /** @description request parameter type for getServiceToggles */ |
20700 | export interface GetServiceTogglesOption { | 21258 | export interface GetServiceTogglesOption { |
20701 | /** @format date-time */ | 21259 | /** @format date-time */ |