Commit 98d2e91b693fafbcb314fefc601e88c98742d40b

Authored by 曾国涛
1 parent 2eeef652

refactor(order): 优化订单相关组件和接口定义

- 修改 DeliverInfoDrawer 组件中的 fetchData 方法参数结构
- 更新 ProcureCheckModal 组件中的字段名称
-调整 productCollectBill 页面的表格渲染函数
- 移除 definition.ts 中冗余的日期时间格式注释
- 更新 .umirc.ts 中的菜单名称
.umirc.ts
@@ -151,7 +151,7 @@ export default defineConfig({ @@ -151,7 +151,7 @@ export default defineConfig({
151 access: 'canReadAdmin', 151 access: 'canReadAdmin',
152 }, 152 },
153 { 153 {
154 - name: '礼品领', 154 + name: '礼品领',
155 path: '/productCollectBill', 155 path: '/productCollectBill',
156 component: './productCollectBill', 156 component: './productCollectBill',
157 icon: 'BookOutlined', 157 icon: 'BookOutlined',
src/pages/Order/OrderList/DeliverInfoDrawer.tsx
@@ -14,7 +14,9 @@ export default ({ data, onClose }) => { @@ -14,7 +14,9 @@ export default ({ data, onClose }) => {
14 const fetchData = async () => { 14 const fetchData = async () => {
15 if (data.id !== undefined) { 15 if (data.id !== undefined) {
16 const resp = await postDistrictSelOrderProvince({ 16 const resp = await postDistrictSelOrderProvince({
17 - data: data.id, 17 + data: {
  18 + oid: data.id,
  19 + },
18 }); 20 });
19 if (resp && resp.data) { 21 if (resp && resp.data) {
20 if (resp.data.province) { 22 if (resp.data.province) {
src/pages/Order/OrderList/OrderDrawer.tsx
@@ -12,6 +12,9 @@ import { @@ -12,6 +12,9 @@ import {
12 postKingdeeRepMeasureUnit, 12 postKingdeeRepMeasureUnit,
13 postPrepaidPhoneAvailableList, 13 postPrepaidPhoneAvailableList,
14 postResearchGroupsNameSet, 14 postResearchGroupsNameSet,
  15 + postServiceConstCompanyType,
  16 + postServiceConstOrderSource,
  17 + postServiceConstPlatformType,
15 postServiceOrderAddOrder, 18 postServiceOrderAddOrder,
16 postServiceOrderAfterSalesQuerySnapshotOrder, 19 postServiceOrderAfterSalesQuerySnapshotOrder,
17 postServiceOrderApplyAfterSales, 20 postServiceOrderApplyAfterSales,
@@ -33,6 +36,7 @@ import { @@ -33,6 +36,7 @@ import {
33 FormListActionType, 36 FormListActionType,
34 ProCard, 37 ProCard,
35 ProFormDateTimePicker, 38 ProFormDateTimePicker,
  39 + ProFormDependency,
36 ProFormDigit, 40 ProFormDigit,
37 ProFormList, 41 ProFormList,
38 ProFormSelect, 42 ProFormSelect,
@@ -40,6 +44,7 @@ import { @@ -40,6 +44,7 @@ import {
40 ProFormTextArea, 44 ProFormTextArea,
41 ProFormUploadDragger, 45 ProFormUploadDragger,
42 } from '@ant-design/pro-components'; 46 } from '@ant-design/pro-components';
  47 +import { Group } from '@ant-design/pro-form';
43 import { Button, Form, message, Modal } from 'antd'; 48 import { Button, Form, message, Modal } from 'antd';
44 import { cloneDeep } from 'lodash'; 49 import { cloneDeep } from 'lodash';
45 import { useEffect, useRef, useState } from 'react'; 50 import { useEffect, useRef, useState } from 'react';
@@ -1250,38 +1255,141 @@ export default ({ onClose, data, subOrders, orderOptType }) => { @@ -1250,38 +1255,141 @@ export default ({ onClose, data, subOrders, orderOptType }) => {
1250 placeholder="请输入课题组" 1255 placeholder="请输入课题组"
1251 rules={[{ required: true, message: '课题组必填' }]} 1256 rules={[{ required: true, message: '课题组必填' }]}
1252 />*/} 1257 />*/}
1253 - <ProFormSelect  
1254 - key={'institutionContactName'}  
1255 - width="md"  
1256 - showSearch  
1257 - name="institutionContactName"  
1258 - rules={[{ required: true, message: '请输入课题组名称!' }]}  
1259 - request={async (value) => {  
1260 - const keywords = value.keyWords;  
1261 - const res = await postResearchGroupsNameSet({  
1262 - data: {  
1263 - status: 'ADD_AUDIT_PASS',  
1264 - groupName: keywords,  
1265 - },  
1266 - });  
1267 - let options = res?.data?.map((c: any) => {  
1268 - return {  
1269 - label: c,  
1270 - value: c,  
1271 - key: c,  
1272 - };  
1273 - });  
1274 - return options;  
1275 - }}  
1276 - fieldProps={{  
1277 - filterOption() {  
1278 - return true;  
1279 - },  
1280 - }}  
1281 - debounceTime={1000}  
1282 - label="课题组名称"  
1283 - placeholder="请输入名称"  
1284 - /> 1258 + <Group>
  1259 + <ProFormSelect
  1260 + request={async () => {
  1261 + const res = await postServiceConstCompanyType();
  1262 + return Object.entries(res?.data).map(([value, label]) => ({
  1263 + label,
  1264 + value,
  1265 + }));
  1266 + }}
  1267 + width="md"
  1268 + rules={[{ required: true, message: '单位类型必填' }]}
  1269 + name="companyType"
  1270 + label="单位类型"
  1271 + />
  1272 + <ProFormDependency name={['companyType']}>
  1273 + {({ companyType }) => {
  1274 + const renderInstitutionContactName = () => (
  1275 + <ProFormSelect
  1276 + key="institutionContactName"
  1277 + width="md"
  1278 + showSearch
  1279 + name="institutionContactName"
  1280 + rules={[{ required: true, message: '请输入课题组名称!' }]}
  1281 + request={async (value) => {
  1282 + const keywords = value?.keyWords || '';
  1283 + const res = await postResearchGroupsNameSet({
  1284 + data: { status: 'ADD_AUDIT_PASS', groupName: keywords },
  1285 + });
  1286 + return res?.data?.map((c) => ({
  1287 + label: c,
  1288 + value: c,
  1289 + key: c,
  1290 + }));
  1291 + }}
  1292 + fieldProps={{ filterOption: () => true }}
  1293 + debounceTime={1000}
  1294 + label="课题组名称"
  1295 + placeholder="请输入名称"
  1296 + />
  1297 + );
  1298 +
  1299 + const renderPlatformType = (fieldKey) => (
  1300 + <ProFormSelect
  1301 + key={fieldKey}
  1302 + width="md"
  1303 + showSearch
  1304 + name="platformType"
  1305 + rules={[{ required: true, message: '请选择平台类型!' }]}
  1306 + request={async () => {
  1307 + const res = await postServiceConstPlatformType({
  1308 + query: { companyType },
  1309 + });
  1310 + return Object.entries(res?.data).map(([value, label]) => ({
  1311 + label,
  1312 + value,
  1313 + }));
  1314 + }}
  1315 + fieldProps={{ filterOption: () => true }}
  1316 + debounceTime={1000}
  1317 + label="平台类型"
  1318 + placeholder="请输入平台类型"
  1319 + />
  1320 + );
  1321 +
  1322 + if (companyType === 'school') {
  1323 + return renderInstitutionContactName();
  1324 + } else if (
  1325 + ['firm', 'ECommercePlatform', 'otherPlatform'].includes(
  1326 + companyType,
  1327 + )
  1328 + ) {
  1329 + form.setFieldValue('platformType', '');
  1330 + return (
  1331 + <Group>
  1332 + {['ECommercePlatform', 'otherPlatform'].includes(
  1333 + companyType,
  1334 + ) && renderPlatformType(`platformType_${companyType}`)}
  1335 + <ProFormText
  1336 + width="md"
  1337 + name="institutionContactName"
  1338 + label="课题组名称"
  1339 + rules={[{ required: true, message: '请输入课题组名称!' }]}
  1340 + placeholder="请输入名称"
  1341 + />
  1342 + </Group>
  1343 + );
  1344 + } else if (companyType === 'officialWebsite') {
  1345 + return (
  1346 + <Group>
  1347 + <ProFormSelect
  1348 + request={async () => {
  1349 + const res = await postServiceConstOrderSource();
  1350 + return Object.entries(res?.data).map(
  1351 + ([value, label]) => ({
  1352 + label,
  1353 + value,
  1354 + }),
  1355 + );
  1356 + }}
  1357 + width="md"
  1358 + name="orderSource"
  1359 + label="订单来源"
  1360 + />
  1361 + <ProFormDependency name={['orderSource']}>
  1362 + {({ orderSource }) => {
  1363 + if (orderSource === 'school') {
  1364 + return renderInstitutionContactName();
  1365 + } else if (orderSource === 'company') {
  1366 + return (
  1367 + <ProFormText
  1368 + width="md"
  1369 + name="institutionContactName"
  1370 + label="课题组名称"
  1371 + rules={[
  1372 + {
  1373 + required: true,
  1374 + message: '请输入课题组名称!',
  1375 + },
  1376 + ]}
  1377 + placeholder="请输入名称"
  1378 + />
  1379 + );
  1380 + }
  1381 + return null;
  1382 + }}
  1383 + </ProFormDependency>
  1384 + </Group>
  1385 + );
  1386 + } else {
  1387 + return renderInstitutionContactName();
  1388 + }
  1389 + }}
  1390 + </ProFormDependency>
  1391 + </Group>
  1392 +
1285 <div 1393 <div
1286 style={{ 1394 style={{
1287 display: 'flex', 1395 display: 'flex',
src/pages/Order/OrderList/ProcureCheckModal.tsx
@@ -104,7 +104,7 @@ export default ({ setCheckVisible, isMainOrder, orders, onClose }) =&gt; { @@ -104,7 +104,7 @@ export default ({ setCheckVisible, isMainOrder, orders, onClose }) =&gt; {
104 { 104 {
105 data: { 105 data: {
106 subIds: ids, 106 subIds: ids,
107 - procureNotes: procureNotes, 107 + checkNotes: procureNotes,
108 }, 108 },
109 }, 109 },
110 ); 110 );
src/pages/productCollectBill/index.tsx
@@ -140,7 +140,7 @@ export default () =&gt; { @@ -140,7 +140,7 @@ export default () =&gt; {
140 title: '操作', 140 title: '操作',
141 valueType: 'option', 141 valueType: 'option',
142 key: 'option', 142 key: 'option',
143 - render: ({ record }) => [ 143 + render: (text, record) => [
144 record.paths?.includes('UPDATE') && ( 144 record.paths?.includes('UPDATE') && (
145 <AddOrUpdate 145 <AddOrUpdate
146 record={record} 146 record={record}
src/services/definition.ts
@@ -215,10 +215,6 @@ export interface AdminClientDto { @@ -215,10 +215,6 @@ export interface AdminClientDto {
215 export interface AdminDeptQueryVO { 215 export interface AdminDeptQueryVO {
216 createByName?: string; 216 createByName?: string;
217 createByNameLike?: string; 217 createByNameLike?: string;
218 - /** @format date-time */  
219 - createTimeGe?: string;  
220 - /** @format date-time */  
221 - createTimeLe?: string;  
222 /** @format int32 */ 218 /** @format int32 */
223 current?: number; 219 current?: number;
224 /** @format int32 */ 220 /** @format int32 */
@@ -265,10 +261,6 @@ export interface AdminInvoicingAccountDTO { @@ -265,10 +261,6 @@ export interface AdminInvoicingAccountDTO {
265 export interface AdminJobQueryVO { 261 export interface AdminJobQueryVO {
266 createByName?: string; 262 createByName?: string;
267 createByNameLike?: string; 263 createByNameLike?: string;
268 - /** @format date-time */  
269 - createTimeGe?: string;  
270 - /** @format date-time */  
271 - createTimeLe?: string;  
272 /** @format int32 */ 264 /** @format int32 */
273 current?: number; 265 current?: number;
274 /** @format int32 */ 266 /** @format int32 */
@@ -301,10 +293,6 @@ export interface AdminMenuQueryVO { @@ -301,10 +293,6 @@ export interface AdminMenuQueryVO {
301 component?: string; 293 component?: string;
302 createByName?: string; 294 createByName?: string;
303 createByNameLike?: string; 295 createByNameLike?: string;
304 - /** @format date-time */  
305 - createTimeGe?: string;  
306 - /** @format date-time */  
307 - createTimeLe?: string;  
308 /** @format int32 */ 296 /** @format int32 */
309 current?: number; 297 current?: number;
310 /** @format int32 */ 298 /** @format int32 */
@@ -356,10 +344,6 @@ export interface AdminMenuVO { @@ -356,10 +344,6 @@ export interface AdminMenuVO {
356 export interface AdminRoleQueryVO { 344 export interface AdminRoleQueryVO {
357 createByName?: string; 345 createByName?: string;
358 createByNameLike?: string; 346 createByNameLike?: string;
359 - /** @format date-time */  
360 - createTimeGe?: string;  
361 - /** @format date-time */  
362 - createTimeLe?: string;  
363 /** @format int32 */ 347 /** @format int32 */
364 current?: number; 348 current?: number;
365 dataScope?: string; 349 dataScope?: string;
@@ -394,10 +378,6 @@ export interface AdminRoleVO { @@ -394,10 +378,6 @@ export interface AdminRoleVO {
394 export interface AdminUserLoginByPhoneVO { 378 export interface AdminUserLoginByPhoneVO {
395 createByName?: string; 379 createByName?: string;
396 createByNameLike?: string; 380 createByNameLike?: string;
397 - /** @format date-time */  
398 - createTimeGe?: string;  
399 - /** @format date-time */  
400 - createTimeLe?: string;  
401 /** @format int32 */ 381 /** @format int32 */
402 current?: number; 382 current?: number;
403 /** @format int32 */ 383 /** @format int32 */
@@ -415,10 +395,6 @@ export interface AdminUserLoginByPhoneVO { @@ -415,10 +395,6 @@ export interface AdminUserLoginByPhoneVO {
415 export interface AdminUserLoginByPwdVO { 395 export interface AdminUserLoginByPwdVO {
416 createByName?: string; 396 createByName?: string;
417 createByNameLike?: string; 397 createByNameLike?: string;
418 - /** @format date-time */  
419 - createTimeGe?: string;  
420 - /** @format date-time */  
421 - createTimeLe?: string;  
422 /** @format int32 */ 398 /** @format int32 */
423 current?: number; 399 current?: number;
424 /** @format int32 */ 400 /** @format int32 */
@@ -439,10 +415,6 @@ export interface AdminUserModifyPwdVO { @@ -439,10 +415,6 @@ export interface AdminUserModifyPwdVO {
439 confirmPassword?: string; 415 confirmPassword?: string;
440 createByName?: string; 416 createByName?: string;
441 createByNameLike?: string; 417 createByNameLike?: string;
442 - /** @format date-time */  
443 - createTimeGe?: string;  
444 - /** @format date-time */  
445 - createTimeLe?: string;  
446 /** @format int32 */ 418 /** @format int32 */
447 current?: number; 419 current?: number;
448 /** @format int32 */ 420 /** @format int32 */
@@ -461,10 +433,6 @@ export interface AdminUserModifyPwdVO { @@ -461,10 +433,6 @@ export interface AdminUserModifyPwdVO {
461 export interface AdminUserPasswordRecoverEmailVO { 433 export interface AdminUserPasswordRecoverEmailVO {
462 createByName?: string; 434 createByName?: string;
463 createByNameLike?: string; 435 createByNameLike?: string;
464 - /** @format date-time */  
465 - createTimeGe?: string;  
466 - /** @format date-time */  
467 - createTimeLe?: string;  
468 /** @format int32 */ 436 /** @format int32 */
469 current?: number; 437 current?: number;
470 /** @format int32 */ 438 /** @format int32 */
@@ -481,10 +449,6 @@ export interface AdminUserPasswordRecoverEmailVO { @@ -481,10 +449,6 @@ export interface AdminUserPasswordRecoverEmailVO {
481 export interface AdminUserQueryVO { 449 export interface AdminUserQueryVO {
482 createByName?: string; 450 createByName?: string;
483 createByNameLike?: string; 451 createByNameLike?: string;
484 - /** @format date-time */  
485 - createTimeGe?: string;  
486 - /** @format date-time */  
487 - createTimeLe?: string;  
488 /** @format int32 */ 452 /** @format int32 */
489 current?: number; 453 current?: number;
490 email?: string; 454 email?: string;
@@ -511,10 +475,6 @@ export interface AdminUserRegisterVO { @@ -511,10 +475,6 @@ export interface AdminUserRegisterVO {
511 confirmPassword?: string; 475 confirmPassword?: string;
512 createByName?: string; 476 createByName?: string;
513 createByNameLike?: string; 477 createByNameLike?: string;
514 - /** @format date-time */  
515 - createTimeGe?: string;  
516 - /** @format date-time */  
517 - createTimeLe?: string;  
518 /** @format int32 */ 478 /** @format int32 */
519 current?: number; 479 current?: number;
520 email?: string; 480 email?: string;
@@ -747,10 +707,6 @@ export interface ApiCreateProductRequest { @@ -747,10 +707,6 @@ export interface ApiCreateProductRequest {
747 export interface ApiOrderCustomersRequest { 707 export interface ApiOrderCustomersRequest {
748 createByName?: string; 708 createByName?: string;
749 createByNameLike?: string; 709 createByNameLike?: string;
750 - /** @format date-time */  
751 - createTimeGe?: string;  
752 - /** @format date-time */  
753 - createTimeLe?: string;  
754 /** @format int32 */ 710 /** @format int32 */
755 current?: number; 711 current?: number;
756 /** @format int32 */ 712 /** @format int32 */
@@ -1060,10 +1016,6 @@ export interface AuditDto { @@ -1060,10 +1016,6 @@ export interface AuditDto {
1060 export interface AuditVO { 1016 export interface AuditVO {
1061 createByName?: string; 1017 createByName?: string;
1062 createByNameLike?: string; 1018 createByNameLike?: string;
1063 - /** @format date-time */  
1064 - createTimeGe?: string;  
1065 - /** @format date-time */  
1066 - createTimeLe?: string;  
1067 /** @format int32 */ 1019 /** @format int32 */
1068 current?: number; 1020 current?: number;
1069 /** @format int32 */ 1021 /** @format int32 */
@@ -1148,10 +1100,6 @@ export interface CancelSendOrderDto { @@ -1148,10 +1100,6 @@ export interface CancelSendOrderDto {
1148 export interface CaptchaMessageVO { 1100 export interface CaptchaMessageVO {
1149 createByName?: string; 1101 createByName?: string;
1150 createByNameLike?: string; 1102 createByNameLike?: string;
1151 - /** @format date-time */  
1152 - createTimeGe?: string;  
1153 - /** @format date-time */  
1154 - createTimeLe?: string;  
1155 /** @format int32 */ 1103 /** @format int32 */
1156 current?: number; 1104 current?: number;
1157 /** @format int32 */ 1105 /** @format int32 */
@@ -1427,10 +1375,6 @@ export interface CustomerSaveReq { @@ -1427,10 +1375,6 @@ export interface CustomerSaveReq {
1427 export interface DictionaryQueryVO { 1375 export interface DictionaryQueryVO {
1428 createByName?: string; 1376 createByName?: string;
1429 createByNameLike?: string; 1377 createByNameLike?: string;
1430 - /** @format date-time */  
1431 - createTimeGe?: string;  
1432 - /** @format date-time */  
1433 - createTimeLe?: string;  
1434 /** @format int32 */ 1378 /** @format int32 */
1435 current?: number; 1379 current?: number;
1436 dictCode?: string; 1380 dictCode?: string;
@@ -2300,10 +2244,6 @@ export interface MergeIntegralDto { @@ -2300,10 +2244,6 @@ export interface MergeIntegralDto {
2300 export interface MessageQueryDTO { 2244 export interface MessageQueryDTO {
2301 createByName?: string; 2245 createByName?: string;
2302 createByNameLike?: string; 2246 createByNameLike?: string;
2303 - /** @format date-time */  
2304 - createTimeGe?: string;  
2305 - /** @format date-time */  
2306 - createTimeLe?: string;  
2307 /** @format int32 */ 2247 /** @format int32 */
2308 current?: number; 2248 current?: number;
2309 /** @format int32 */ 2249 /** @format int32 */
@@ -2349,10 +2289,6 @@ export interface OrderAuditLogQueryVO { @@ -2349,10 +2289,6 @@ export interface OrderAuditLogQueryVO {
2349 applyId?: number; 2289 applyId?: number;
2350 createByName?: string; 2290 createByName?: string;
2351 createByNameLike?: string; 2291 createByNameLike?: string;
2352 - /** @format date-time */  
2353 - createTimeGe?: string;  
2354 - /** @format date-time */  
2355 - createTimeLe?: string;  
2356 /** @format int32 */ 2292 /** @format int32 */
2357 current?: number; 2293 current?: number;
2358 /** @format int32 */ 2294 /** @format int32 */
@@ -2399,10 +2335,6 @@ export interface OrderBaseInfoQueryVO { @@ -2399,10 +2335,6 @@ export interface OrderBaseInfoQueryVO {
2399 collection?: string; 2335 collection?: string;
2400 createByName?: string; 2336 createByName?: string;
2401 createByNameLike?: string; 2337 createByNameLike?: string;
2402 - /** @format date-time */  
2403 - createTimeGe?: string;  
2404 - /** @format date-time */  
2405 - createTimeLe?: string;  
2406 /** @format int32 */ 2338 /** @format int32 */
2407 current?: number; 2339 current?: number;
2408 customerCode?: string; 2340 customerCode?: string;
@@ -2499,10 +2431,6 @@ export interface OrderFieldLockApplyQueryVO { @@ -2499,10 +2431,6 @@ export interface OrderFieldLockApplyQueryVO {
2499 auditUserId?: number; 2431 auditUserId?: number;
2500 createByName?: string; 2432 createByName?: string;
2501 createByNameLike?: string; 2433 createByNameLike?: string;
2502 - /** @format date-time */  
2503 - createTimeGe?: string;  
2504 - /** @format date-time */  
2505 - createTimeLe?: string;  
2506 /** @format int32 */ 2434 /** @format int32 */
2507 current?: number; 2435 current?: number;
2508 /** @format int32 */ 2436 /** @format int32 */
@@ -2574,10 +2502,6 @@ export interface OrderMainProDo { @@ -2574,10 +2502,6 @@ export interface OrderMainProDo {
2574 export interface OrderOptLogQueryVO { 2502 export interface OrderOptLogQueryVO {
2575 createByName?: string; 2503 createByName?: string;
2576 createByNameLike?: string; 2504 createByNameLike?: string;
2577 - /** @format date-time */  
2578 - createTimeGe?: string;  
2579 - /** @format date-time */  
2580 - createTimeLe?: string;  
2581 /** @format int32 */ 2505 /** @format int32 */
2582 current?: number; 2506 current?: number;
2583 /** @format int32 */ 2507 /** @format int32 */
@@ -3001,10 +2925,6 @@ export interface QueryBankStatementDto { @@ -3001,10 +2925,6 @@ export interface QueryBankStatementDto {
3001 collectionDatetimeEnd?: string; 2925 collectionDatetimeEnd?: string;
3002 createByName?: string; 2926 createByName?: string;
3003 createByNameLike?: string; 2927 createByNameLike?: string;
3004 - /** @format date-time */  
3005 - createTimeGe?: string;  
3006 - /** @format date-time */  
3007 - createTimeLe?: string;  
3008 /** @format int32 */ 2928 /** @format int32 */
3009 current?: number; 2929 current?: number;
3010 /** @format int32 */ 2930 /** @format int32 */
@@ -3187,10 +3107,6 @@ export interface QueryInvoiceDetailDto { @@ -3187,10 +3107,6 @@ export interface QueryInvoiceDetailDto {
3187 export interface QueryInvoiceProjectDto { 3107 export interface QueryInvoiceProjectDto {
3188 createByName?: string; 3108 createByName?: string;
3189 createByNameLike?: string; 3109 createByNameLike?: string;
3190 - /** @format date-time */  
3191 - createTimeGe?: string;  
3192 - /** @format date-time */  
3193 - createTimeLe?: string;  
3194 /** @format int32 */ 3110 /** @format int32 */
3195 current?: number; 3111 current?: number;
3196 /** @format int32 */ 3112 /** @format int32 */
@@ -3496,10 +3412,6 @@ export interface QueryUseOldInvoicingDto { @@ -3496,10 +3412,6 @@ export interface QueryUseOldInvoicingDto {
3496 export interface QueryUserIntegralRecordDto { 3412 export interface QueryUserIntegralRecordDto {
3497 createByName?: string; 3413 createByName?: string;
3498 createByNameLike?: string; 3414 createByNameLike?: string;
3499 - /** @format date-time */  
3500 - createTimeGe?: string;  
3501 - /** @format date-time */  
3502 - createTimeLe?: string;  
3503 /** @format int32 */ 3415 /** @format int32 */
3504 current?: number; 3416 current?: number;
3505 /** @format int32 */ 3417 /** @format int32 */
@@ -3668,10 +3580,6 @@ export interface ResearchGroupListRequest { @@ -3668,10 +3580,6 @@ export interface ResearchGroupListRequest {
3668 companyNameLike?: string; 3580 companyNameLike?: string;
3669 createByName?: string; 3581 createByName?: string;
3670 createByNameLike?: string; 3582 createByNameLike?: string;
3671 - /** @format date-time */  
3672 - createTimeGe?: string;  
3673 - /** @format date-time */  
3674 - createTimeLe?: string;  
3675 /** @format int32 */ 3583 /** @format int32 */
3676 current?: number; 3584 current?: number;
3677 /** @format int32 */ 3585 /** @format int32 */
@@ -3824,10 +3732,6 @@ export interface ResearchGroupMemberRequestsRequest { @@ -3824,10 +3732,6 @@ export interface ResearchGroupMemberRequestsRequest {
3824 */ 3732 */
3825 createByName?: string; 3733 createByName?: string;
3826 createByNameLike?: string; 3734 createByNameLike?: string;
3827 - /** @format date-time */  
3828 - createTimeGe?: string;  
3829 - /** @format date-time */  
3830 - createTimeLe?: string;  
3831 /** @format int32 */ 3735 /** @format int32 */
3832 current?: number; 3736 current?: number;
3833 /** @format int32 */ 3737 /** @format int32 */
@@ -4166,10 +4070,6 @@ export interface SysLogQueryVO { @@ -4166,10 +4070,6 @@ export interface SysLogQueryVO {
4166 browser?: string; 4070 browser?: string;
4167 createByName?: string; 4071 createByName?: string;
4168 createByNameLike?: string; 4072 createByNameLike?: string;
4169 - /** @format date-time */  
4170 - createTimeGe?: string;  
4171 - /** @format date-time */  
4172 - createTimeLe?: string;  
4173 /** @format int32 */ 4073 /** @format int32 */
4174 current?: number; 4074 current?: number;
4175 description?: string; 4075 description?: string;
@@ -4209,10 +4109,6 @@ export interface TicketsSearchVo { @@ -4209,10 +4109,6 @@ export interface TicketsSearchVo {
4209 createByName?: string; 4109 createByName?: string;
4210 createByNameLike?: string; 4110 createByNameLike?: string;
4211 createTime?: Array<LocalDateTime>; 4111 createTime?: Array<LocalDateTime>;
4212 - /** @format date-time */  
4213 - createTimeGe?: string;  
4214 - /** @format date-time */  
4215 - createTimeLe?: string;  
4216 /** @format int32 */ 4112 /** @format int32 */
4217 current?: number; 4113 current?: number;
4218 detailText?: string; 4114 detailText?: string;
@@ -4404,10 +4300,6 @@ export interface UserAddressListRequest { @@ -4404,10 +4300,6 @@ export interface UserAddressListRequest {
4404 export interface UserCenterInfoRequest { 4300 export interface UserCenterInfoRequest {
4405 createByName?: string; 4301 createByName?: string;
4406 createByNameLike?: string; 4302 createByNameLike?: string;
4407 - /** @format date-time */  
4408 - createTimeGe?: string;  
4409 - /** @format date-time */  
4410 - createTimeLe?: string;  
4411 /** @format int32 */ 4303 /** @format int32 */
4412 current?: number; 4304 current?: number;
4413 /** @format int32 */ 4305 /** @format int32 */
@@ -4435,10 +4327,6 @@ export interface UserCenterInfoRequest { @@ -4435,10 +4327,6 @@ export interface UserCenterInfoRequest {
4435 export interface UserDetailRequest { 4327 export interface UserDetailRequest {
4436 createByName?: string; 4328 createByName?: string;
4437 createByNameLike?: string; 4329 createByNameLike?: string;
4438 - /** @format date-time */  
4439 - createTimeGe?: string;  
4440 - /** @format date-time */  
4441 - createTimeLe?: string;  
4442 /** @format int32 */ 4330 /** @format int32 */
4443 current?: number; 4331 current?: number;
4444 /** @format int32 */ 4332 /** @format int32 */
@@ -4464,10 +4352,6 @@ export interface UserDetailRequest { @@ -4464,10 +4352,6 @@ export interface UserDetailRequest {
4464 export interface UserListRequest { 4352 export interface UserListRequest {
4465 createByName?: string; 4353 createByName?: string;
4466 createByNameLike?: string; 4354 createByNameLike?: string;
4467 - /** @format date-time */  
4468 - createTimeGe?: string;  
4469 - /** @format date-time */  
4470 - createTimeLe?: string;  
4471 /** @format int32 */ 4355 /** @format int32 */
4472 current?: number; 4356 current?: number;
4473 /** 4357 /**
@@ -4804,10 +4688,6 @@ export interface InvoiceReissueRecord { @@ -4804,10 +4688,6 @@ export interface InvoiceReissueRecord {
4804 createDatetimeLe?: string; 4688 createDatetimeLe?: string;
4805 /** @format date-time */ 4689 /** @format date-time */
4806 createTime?: string; 4690 createTime?: string;
4807 - /** @format date-time */  
4808 - createTimeGe?: string;  
4809 - /** @format date-time */  
4810 - createTimeLe?: string;  
4811 /** @format int32 */ 4691 /** @format int32 */
4812 current?: number; 4692 current?: number;
4813 /** @format int32 */ 4693 /** @format int32 */
@@ -5172,10 +5052,6 @@ export interface SalesRechargePrepaymentRequest { @@ -5172,10 +5052,6 @@ export interface SalesRechargePrepaymentRequest {
5172 * @format date-time 5052 * @format date-time
5173 */ 5053 */
5174 createTimeEndTime?: string; 5054 createTimeEndTime?: string;
5175 - /** @format date-time */  
5176 - createTimeGe?: string;  
5177 - /** @format date-time */  
5178 - createTimeLe?: string;  
5179 /** @format int32 */ 5055 /** @format int32 */
5180 current?: number; 5056 current?: number;
5181 /** 5057 /**
src/services/request.ts
@@ -15053,6 +15053,60 @@ export const postServiceConstClientWay = /* #__PURE__ */ (() =&gt; { @@ -15053,6 +15053,60 @@ export const postServiceConstClientWay = /* #__PURE__ */ (() =&gt; {
15053 return request; 15053 return request;
15054 })(); 15054 })();
15055 15055
  15056 +/** @description response type for postServiceConstCompanyType */
  15057 +export interface PostServiceConstCompanyTypeResponse {
  15058 + /**
  15059 + * @description
  15060 + * OK
  15061 + */
  15062 + 200: ServerResult;
  15063 + /**
  15064 + * @description
  15065 + * Created
  15066 + */
  15067 + 201: any;
  15068 + /**
  15069 + * @description
  15070 + * Unauthorized
  15071 + */
  15072 + 401: any;
  15073 + /**
  15074 + * @description
  15075 + * Forbidden
  15076 + */
  15077 + 403: any;
  15078 + /**
  15079 + * @description
  15080 + * Not Found
  15081 + */
  15082 + 404: any;
  15083 +}
  15084 +
  15085 +export type PostServiceConstCompanyTypeResponseSuccess =
  15086 + PostServiceConstCompanyTypeResponse[200];
  15087 +/**
  15088 + * @description
  15089 + * 单位类型
  15090 + * @tags front-const-controller
  15091 + * @produces *
  15092 + * @consumes application/json
  15093 + */
  15094 +export const postServiceConstCompanyType = /* #__PURE__ */ (() => {
  15095 + const method = 'post';
  15096 + const url = '/service/const/companyType';
  15097 + function request(): Promise<PostServiceConstCompanyTypeResponseSuccess> {
  15098 + return requester(request.url, {
  15099 + method: request.method,
  15100 + }) as unknown as Promise<PostServiceConstCompanyTypeResponseSuccess>;
  15101 + }
  15102 +
  15103 + /** http method */
  15104 + request.method = method;
  15105 + /** request url */
  15106 + request.url = url;
  15107 + return request;
  15108 +})();
  15109 +
15056 /** @description response type for postServiceConstGetPayeeEnum */ 15110 /** @description response type for postServiceConstGetPayeeEnum */
15057 export interface PostServiceConstGetPayeeEnumResponse { 15111 export interface PostServiceConstGetPayeeEnumResponse {
15058 /** 15112 /**
@@ -15575,6 +15629,60 @@ export const postServiceConstNotCanModifyInvoiceRecordStatus = @@ -15575,6 +15629,60 @@ export const postServiceConstNotCanModifyInvoiceRecordStatus =
15575 return request; 15629 return request;
15576 })(); 15630 })();
15577 15631
  15632 +/** @description response type for postServiceConstOrderSource */
  15633 +export interface PostServiceConstOrderSourceResponse {
  15634 + /**
  15635 + * @description
  15636 + * OK
  15637 + */
  15638 + 200: ServerResult;
  15639 + /**
  15640 + * @description
  15641 + * Created
  15642 + */
  15643 + 201: any;
  15644 + /**
  15645 + * @description
  15646 + * Unauthorized
  15647 + */
  15648 + 401: any;
  15649 + /**
  15650 + * @description
  15651 + * Forbidden
  15652 + */
  15653 + 403: any;
  15654 + /**
  15655 + * @description
  15656 + * Not Found
  15657 + */
  15658 + 404: any;
  15659 +}
  15660 +
  15661 +export type PostServiceConstOrderSourceResponseSuccess =
  15662 + PostServiceConstOrderSourceResponse[200];
  15663 +/**
  15664 + * @description
  15665 + * 订单类型
  15666 + * @tags front-const-controller
  15667 + * @produces *
  15668 + * @consumes application/json
  15669 + */
  15670 +export const postServiceConstOrderSource = /* #__PURE__ */ (() => {
  15671 + const method = 'post';
  15672 + const url = '/service/const/orderSource';
  15673 + function request(): Promise<PostServiceConstOrderSourceResponseSuccess> {
  15674 + return requester(request.url, {
  15675 + method: request.method,
  15676 + }) as unknown as Promise<PostServiceConstOrderSourceResponseSuccess>;
  15677 + }
  15678 +
  15679 + /** http method */
  15680 + request.method = method;
  15681 + /** request url */
  15682 + request.url = url;
  15683 + return request;
  15684 +})();
  15685 +
15578 /** @description response type for postServiceConstPayees */ 15686 /** @description response type for postServiceConstPayees */
15579 export interface PostServiceConstPayeesResponse { 15687 export interface PostServiceConstPayeesResponse {
15580 /** 15688 /**
@@ -15629,6 +15737,77 @@ export const postServiceConstPayees = /* #__PURE__ */ (() =&gt; { @@ -15629,6 +15737,77 @@ export const postServiceConstPayees = /* #__PURE__ */ (() =&gt; {
15629 return request; 15737 return request;
15630 })(); 15738 })();
15631 15739
  15740 +/** @description request parameter type for postServiceConstPlatformType */
  15741 +export interface PostServiceConstPlatformTypeOption {
  15742 + /**
  15743 + * @description
  15744 + * companyType
  15745 + */
  15746 + query?: {
  15747 + /**
  15748 + @description
  15749 + companyType */
  15750 + companyType?: string;
  15751 + };
  15752 +}
  15753 +
  15754 +/** @description response type for postServiceConstPlatformType */
  15755 +export interface PostServiceConstPlatformTypeResponse {
  15756 + /**
  15757 + * @description
  15758 + * OK
  15759 + */
  15760 + 200: ServerResult;
  15761 + /**
  15762 + * @description
  15763 + * Created
  15764 + */
  15765 + 201: any;
  15766 + /**
  15767 + * @description
  15768 + * Unauthorized
  15769 + */
  15770 + 401: any;
  15771 + /**
  15772 + * @description
  15773 + * Forbidden
  15774 + */
  15775 + 403: any;
  15776 + /**
  15777 + * @description
  15778 + * Not Found
  15779 + */
  15780 + 404: any;
  15781 +}
  15782 +
  15783 +export type PostServiceConstPlatformTypeResponseSuccess =
  15784 + PostServiceConstPlatformTypeResponse[200];
  15785 +/**
  15786 + * @description
  15787 + * 平台类型
  15788 + * @tags front-const-controller
  15789 + * @produces *
  15790 + * @consumes application/json
  15791 + */
  15792 +export const postServiceConstPlatformType = /* #__PURE__ */ (() => {
  15793 + const method = 'post';
  15794 + const url = '/service/const/platformType';
  15795 + function request(
  15796 + option?: PostServiceConstPlatformTypeOption,
  15797 + ): Promise<PostServiceConstPlatformTypeResponseSuccess> {
  15798 + return requester(request.url, {
  15799 + method: request.method,
  15800 + ...option,
  15801 + }) as unknown as Promise<PostServiceConstPlatformTypeResponseSuccess>;
  15802 + }
  15803 +
  15804 + /** http method */
  15805 + request.method = method;
  15806 + /** request url */
  15807 + request.url = url;
  15808 + return request;
  15809 +})();
  15810 +
15632 /** @description response type for postServiceConstProcureReturnBills */ 15811 /** @description response type for postServiceConstProcureReturnBills */
15633 export interface PostServiceConstProcureReturnBillsResponse { 15812 export interface PostServiceConstProcureReturnBillsResponse {
15634 /** 15813 /**
@@ -15851,12 +16030,6 @@ export interface GetServiceInvoiceListInvoiceProjectOption { @@ -15851,12 +16030,6 @@ export interface GetServiceInvoiceListInvoiceProjectOption {
15851 createByName?: string; 16030 createByName?: string;
15852 createByNameLike?: string; 16031 createByNameLike?: string;
15853 /** 16032 /**
15854 - @format date-time */  
15855 - createTimeGe?: string;  
15856 - /**  
15857 - @format date-time */  
15858 - createTimeLe?: string;  
15859 - /**  
15860 @format int32 */ 16033 @format int32 */
15861 current?: number; 16034 current?: number;
15862 /** 16035 /**