bff2a6ed by 杨炀

Merge commit 'f6e7ec6a' into dev

2 parents bbc19bcb f6e7ec6a
...@@ -15,6 +15,7 @@ export function getMatchById(params) { ...@@ -15,6 +15,7 @@ export function getMatchById(params) {
15 params: params 15 params: params
16 }) 16 })
17 } 17 }
18
18 export function refundApply(orderId) { 19 export function refundApply(orderId) {
19 return request({ 20 return request({
20 url: `/league/signOrder/refundApply?orderId=${orderId}`, 21 url: `/league/signOrder/refundApply?orderId=${orderId}`,
...@@ -39,7 +40,7 @@ export function getMySignDetailById(params) { ...@@ -39,7 +40,7 @@ export function getMySignDetailById(params) {
39 } 40 }
40 41
41 // 获取赛事下的已报团队 42 // 获取赛事下的已报团队
42 export function getGroupListByCptId(cptId,query) { 43 export function getGroupListByCptId(cptId, query) {
43 return request({ 44 return request({
44 // url: `/league/group/getGroupListByCptId/${cptId}`, 45 // url: `/league/group/getGroupListByCptId/${cptId}`,
45 url: `/league/sign/getSignInfoDataByCptId/${cptId}`, 46 url: `/league/sign/getSignInfoDataByCptId/${cptId}`,
...@@ -85,6 +86,7 @@ export function getCaptchaSms(data) { ...@@ -85,6 +86,7 @@ export function getCaptchaSms(data) {
85 data: data 86 data: data
86 }) 87 })
87 } 88 }
89
88 // 发送手机验证码 90 // 发送手机验证码
89 export function getCaptchaSms2(data) { 91 export function getCaptchaSms2(data) {
90 return request({ 92 return request({
...@@ -93,6 +95,7 @@ export function getCaptchaSms2(data) { ...@@ -93,6 +95,7 @@ export function getCaptchaSms2(data) {
93 data: data 95 data: data
94 }) 96 })
95 } 97 }
98
96 export function checkRegisterCode(data) { 99 export function checkRegisterCode(data) {
97 return request({ 100 return request({
98 url: `/checkRegisterCode`, 101 url: `/checkRegisterCode`,
...@@ -107,32 +110,36 @@ export function getMyGroupList() { ...@@ -107,32 +110,36 @@ export function getMyGroupList() {
107 method: 'get' 110 method: 'get'
108 }) 111 })
109 } 112 }
113
110 export function checkWdsf(query) { 114 export function checkWdsf(query) {
111 return request({ 115 return request({
112 url: `/league/wdsf/check`, 116 url: `/league/wdsf/check`,
113 method: 'get', 117 method: 'get',
114 params:query 118 params: query
115 }) 119 })
116 } 120 }
121
117 export function checkWdsfAthletes(query) { 122 export function checkWdsfAthletes(query) {
118 return request({ 123 return request({
119 url: `/league/wdsf/checkForGroup`, 124 url: `/league/wdsf/checkForGroup`,
120 method: 'get', 125 method: 'get',
121 params:query 126 params: query
122 }) 127 })
123 } 128 }
129
124 export function registerSingle(data) { 130 export function registerSingle(data) {
125 return request({ 131 return request({
126 url: `/pcRegisterSingleAboard`, 132 url: `/pcRegisterSingleAboard`,
127 method: 'post', 133 method: 'post',
128 data:data 134 data: data
129 }) 135 })
130 } 136 }
137
131 export function loginSingle(data) { 138 export function loginSingle(data) {
132 return request({ 139 return request({
133 url: `/userLoginAboard`, 140 url: `/userLoginAboard`,
134 method: 'post', 141 method: 'post',
135 data:data 142 data: data
136 }) 143 })
137 } 144 }
138 145
...@@ -159,6 +166,7 @@ export function saveMyGroup(data) { ...@@ -159,6 +166,7 @@ export function saveMyGroup(data) {
159 data: data 166 data: data
160 }) 167 })
161 } 168 }
169
162 export function saveMyGroupForCpt(data) { 170 export function saveMyGroupForCpt(data) {
163 return request({ 171 return request({
164 url: `/league/group/saveMyGroupForCpt`, 172 url: `/league/group/saveMyGroupForCpt`,
...@@ -166,6 +174,7 @@ export function saveMyGroupForCpt(data) { ...@@ -166,6 +174,7 @@ export function saveMyGroupForCpt(data) {
166 data: data 174 data: data
167 }) 175 })
168 } 176 }
177
169 export function commitAudit(data) { 178 export function commitAudit(data) {
170 return request({ 179 return request({
171 url: `/league/group/commitAudit`, 180 url: `/league/group/commitAudit`,
...@@ -236,12 +245,14 @@ export function saveMyTeam(data) { ...@@ -236,12 +245,14 @@ export function saveMyTeam(data) {
236 data: data 245 data: data
237 }) 246 })
238 } 247 }
248
239 export function withDrawByOrderId(orderId) { 249 export function withDrawByOrderId(orderId) {
240 return request({ 250 return request({
241 url: `/league/signOrder/withDraw/${orderId}`, 251 url: `/league/signOrder/withDraw/${orderId}`,
242 method: 'post' 252 method: 'post'
243 }) 253 })
244 } 254 }
255
245 export function recoverMySignFromCancel(cptId) { 256 export function recoverMySignFromCancel(cptId) {
246 return request({ 257 return request({
247 url: `/league/sign/recoverMySignFromCancel`, 258 url: `/league/sign/recoverMySignFromCancel`,
...@@ -317,14 +328,15 @@ export function getMyGroupForCptFilter(groupId, cptId, query) { ...@@ -317,14 +328,15 @@ export function getMyGroupForCptFilter(groupId, cptId, query) {
317 }) 328 })
318 } 329 }
319 330
320 export function getGroupPersonList(query,groupId) { 331 export function getGroupPersonList(query, groupId) {
321 return request({ 332 return request({
322 url: `/systemj/personInfo/getPersonInfoListByGroupIdNoLabel/${groupId}`, 333 url: `/systemj/personInfo/getPersonInfoListByGroupIdNoLabel/${groupId}`,
323 method: 'get', 334 method: 'get',
324 params: query 335 params: query
325 }) 336 })
326 } 337 }
327 export function getPerPersonList(query,userId) { 338
339 export function getPerPersonList(query, userId) {
328 return request({ 340 return request({
329 url: `/systemj/personInfo/getPersonInfoListByPersonIdNoLabel/${userId}`, 341 url: `/systemj/personInfo/getPersonInfoListByPersonIdNoLabel/${userId}`,
330 method: 'get', 342 method: 'get',
...@@ -364,6 +376,7 @@ export function savePersonForMyPerson(data) { ...@@ -364,6 +376,7 @@ export function savePersonForMyPerson(data) {
364 data: data 376 data: data
365 }) 377 })
366 } 378 }
379
367 export function savePersonForMyPerson2(data) { 380 export function savePersonForMyPerson2(data) {
368 return request({ 381 return request({
369 url: `/systemj/personInfo/savePersonForMyPerson2`, 382 url: `/systemj/personInfo/savePersonForMyPerson2`,
...@@ -388,6 +401,7 @@ export function delPerson(id) { ...@@ -388,6 +401,7 @@ export function delPerson(id) {
388 method: 'delete' 401 method: 'delete'
389 }) 402 })
390 } 403 }
404
391 //个人账号 405 //个人账号
392 export function delPersonForPersonal(id) { 406 export function delPersonForPersonal(id) {
393 return request({ 407 return request({
...@@ -432,12 +446,14 @@ export function getCanSignlevelListFromSelectPerson(groupId, personId) { ...@@ -432,12 +446,14 @@ export function getCanSignlevelListFromSelectPerson(groupId, personId) {
432 method: 'get' 446 method: 'get'
433 }) 447 })
434 } 448 }
449
435 export function delRank(id) { 450 export function delRank(id) {
436 return request({ 451 return request({
437 url: `/league/team/${id}`, 452 url: `/league/team/${id}`,
438 method: 'delete' 453 method: 'delete'
439 }) 454 })
440 } 455 }
456
441 export function getCanSignLevelPerson(data) { 457 export function getCanSignLevelPerson(data) {
442 return request({ 458 return request({
443 url: `/league/competitionLevel/getCanSignLevelPerson`, 459 url: `/league/competitionLevel/getCanSignLevelPerson`,
...@@ -445,6 +461,7 @@ export function getCanSignLevelPerson(data) { ...@@ -445,6 +461,7 @@ export function getCanSignLevelPerson(data) {
445 data: data 461 data: data
446 }) 462 })
447 } 463 }
464
448 export function sportsmanDone(data) { 465 export function sportsmanDone(data) {
449 return request({ 466 return request({
450 url: `/league/sign/signUp`, 467 url: `/league/sign/signUp`,
...@@ -452,6 +469,7 @@ export function sportsmanDone(data) { ...@@ -452,6 +469,7 @@ export function sportsmanDone(data) {
452 data: data 469 data: data
453 }) 470 })
454 } 471 }
472
455 // 删除报名接口 473 // 删除报名接口
456 export function deleteSign(id) { 474 export function deleteSign(id) {
457 return request({ 475 return request({
...@@ -459,6 +477,7 @@ export function deleteSign(id) { ...@@ -459,6 +477,7 @@ export function deleteSign(id) {
459 method: 'post' 477 method: 'post'
460 }) 478 })
461 } 479 }
480
462 // 选择运动员的补充信息表头 481 // 选择运动员的补充信息表头
463 export function getCptExtraInfo(cptId) { 482 export function getCptExtraInfo(cptId) {
464 return request({ 483 return request({
...@@ -466,6 +485,7 @@ export function getCptExtraInfo(cptId) { ...@@ -466,6 +485,7 @@ export function getCptExtraInfo(cptId) {
466 method: 'get' 485 method: 'get'
467 }) 486 })
468 } 487 }
488
469 export function recoverMySign(data) { 489 export function recoverMySign(data) {
470 return request({ 490 return request({
471 url: `/league/sign/recoverMySign`, 491 url: `/league/sign/recoverMySign`,
...@@ -473,6 +493,7 @@ export function recoverMySign(data) { ...@@ -473,6 +493,7 @@ export function recoverMySign(data) {
473 data: data 493 data: data
474 }) 494 })
475 } 495 }
496
476 // 生成订单 497 // 生成订单
477 export function commitSign(data) { 498 export function commitSign(data) {
478 return request({ 499 return request({
...@@ -481,24 +502,28 @@ export function commitSign(data) { ...@@ -481,24 +502,28 @@ export function commitSign(data) {
481 data: data 502 data: data
482 }) 503 })
483 } 504 }
505
484 export function getTotalFee(data) { 506 export function getTotalFee(data) {
485 return request({ 507 return request({
486 url: `/league/expenseConfig/getTotalFee/${data.cptId}/${data.entryId}`, 508 url: `/league/expenseConfig/getTotalFee/${data.cptId}/${data.entryId}`,
487 method: 'get' 509 method: 'get'
488 }) 510 })
489 } 511 }
512
490 export function getMemberInfoByCptId(cptId) { 513 export function getMemberInfoByCptId(cptId) {
491 return request({ 514 return request({
492 url: `/systemj/member/editMemberCode/${cptId}`, 515 url: `/systemj/member/editMemberCode/${cptId}`,
493 method: 'get' 516 method: 'get'
494 }) 517 })
495 } 518 }
519
496 export function getTemplate() { 520 export function getTemplate() {
497 return request({ 521 return request({
498 url: `/systemj/personInfo/getTemplate`, 522 url: `/systemj/personInfo/getTemplate`,
499 method: 'get' 523 method: 'get'
500 }) 524 })
501 } 525 }
526
502 // 支付 orderId,payType 527 // 支付 orderId,payType
503 export function payMatch(data) { 528 export function payMatch(data) {
504 return request({ 529 return request({
...@@ -507,12 +532,14 @@ export function payMatch(data) { ...@@ -507,12 +532,14 @@ export function payMatch(data) {
507 data: data 532 data: data
508 }) 533 })
509 } 534 }
535
510 export function cancelMyUnPayedOrder(orderId) { 536 export function cancelMyUnPayedOrder(orderId) {
511 return request({ 537 return request({
512 url: `/league/signOrder/cancelMyUnPayedOrder/${orderId}`, 538 url: `/league/signOrder/cancelMyUnPayedOrder/${orderId}`,
513 method: 'post' 539 method: 'post'
514 }) 540 })
515 } 541 }
542
516 export function getMySignListFromBaoXiang(data) { 543 export function getMySignListFromBaoXiang(data) {
517 return request({ 544 return request({
518 url: `/league/sign/getMySignListFromBaoXiang`, 545 url: `/league/sign/getMySignListFromBaoXiang`,
...@@ -520,12 +547,14 @@ export function getMySignListFromBaoXiang(data) { ...@@ -520,12 +547,14 @@ export function getMySignListFromBaoXiang(data) {
520 data: data 547 data: data
521 }) 548 })
522 } 549 }
550
523 export function deleteMyGroup(groupId) { 551 export function deleteMyGroup(groupId) {
524 return request({ 552 return request({
525 url: `/league/group/deleteMyGroup/${groupId}`, 553 url: `/league/group/deleteMyGroup/${groupId}`,
526 method: 'post' 554 method: 'post'
527 }) 555 })
528 } 556 }
557
529 export function checkPerson(data) { 558 export function checkPerson(data) {
530 return request({ 559 return request({
531 url: `/systemj/personInfo/checkPersonInfoExist`, 560 url: `/systemj/personInfo/checkPersonInfoExist`,
...@@ -533,12 +562,14 @@ export function checkPerson(data) { ...@@ -533,12 +562,14 @@ export function checkPerson(data) {
533 data: data 562 data: data
534 }) 563 })
535 } 564 }
565
536 export function getMySignListTree(cptId, personId, teamId) { 566 export function getMySignListTree(cptId, personId, teamId) {
537 return request({ 567 return request({
538 url: `/league/competitionProject/getAllInfoFromSelectPerson/${cptId}/${personId}/${teamId || 0}`, 568 url: `/league/competitionProject/getAllInfoFromSelectPerson/${cptId}/${personId}/${teamId || 0}`,
539 method: 'get' 569 method: 'get'
540 }) 570 })
541 } 571 }
572
542 export function getMySignInfoList(data) { 573 export function getMySignInfoList(data) {
543 return request({ 574 return request({
544 url: `/league/sign/getMySignInfoList`, 575 url: `/league/sign/getMySignInfoList`,
...@@ -546,6 +577,7 @@ export function getMySignInfoList(data) { ...@@ -546,6 +577,7 @@ export function getMySignInfoList(data) {
546 params: data 577 params: data
547 }) 578 })
548 } 579 }
580
549 export function exportCn(data) { 581 export function exportCn(data) {
550 return request({ 582 return request({
551 url: `/league/sign/exportCn`, 583 url: `/league/sign/exportCn`,
...@@ -553,37 +585,44 @@ export function exportCn(data) { ...@@ -553,37 +585,44 @@ export function exportCn(data) {
553 params: data 585 params: data
554 }) 586 })
555 } 587 }
588
556 export function saveMyGroupExtraInfo(data) { 589 export function saveMyGroupExtraInfo(data) {
557 return request({ 590 return request({
558 url: `/league/competitionGroupInfo/saveMyGroupExtraInfo`, 591 url: `/league/competitionGroupInfo/saveMyGroupExtraInfo`,
559 method: 'post', 592 method: 'post',
560 data: data 593 data: data
561 }) 594 })
562 }export function pcRegisterTeam(data) { 595 }
596
597 export function pcRegisterTeam(data) {
563 return request({ 598 return request({
564 url: `/pcRegisterTeam`, 599 url: `/pcRegisterTeam`,
565 method: 'post', 600 method: 'post',
566 data: data 601 data: data
567 }) 602 })
568 } 603 }
604
569 export function getMySignIds(cptId, personId, teamId) { 605 export function getMySignIds(cptId, personId, teamId) {
570 return request({ 606 return request({
571 url: `/league/sign/getSignEntityByPersonId/${cptId}/${personId}/${teamId || 0}`, 607 url: `/league/sign/getSignEntityByPersonId/${cptId}/${personId}/${teamId || 0}`,
572 method: 'get' 608 method: 'get'
573 }) 609 })
574 } 610 }
611
575 export function querySonLevel(parentId) { 612 export function querySonLevel(parentId) {
576 return request({ 613 return request({
577 url: `/league/competitionSonLevel/querySonLevelByParentId/${parentId}`, 614 url: `/league/competitionSonLevel/querySonLevelByParentId/${parentId}`,
578 method: 'get' 615 method: 'get'
579 }) 616 })
580 } 617 }
618
581 export function getPayedOrderPdf(cptId, groupId) { 619 export function getPayedOrderPdf(cptId, groupId) {
582 return request({ 620 return request({
583 url: `/pdf/getPayedOrderPdf/${cptId}/${groupId}`, 621 url: `/pdf/getPayedOrderPdf/${cptId}/${groupId}`,
584 method: 'get' 622 method: 'get'
585 }) 623 })
586 } 624 }
625
587 export function checkNoRepeat(query) { 626 export function checkNoRepeat(query) {
588 return request({ 627 return request({
589 url: `/league/wdsf/checkNoRepeat`, 628 url: `/league/wdsf/checkNoRepeat`,
...@@ -592,20 +631,22 @@ export function checkNoRepeat(query) { ...@@ -592,20 +631,22 @@ export function checkNoRepeat(query) {
592 }) 631 })
593 } 632 }
594 633
595 export function saveWdsfMin(obj,groupId) { 634 export function saveWdsfMin(obj, groupId) {
596 return request({ 635 return request({
597 url: `systemj/personInfo/bindWdsfForGroup/${groupId}`, 636 url: `systemj/personInfo/bindWdsfForGroup/${groupId}`,
598 method: 'post', 637 method: 'post',
599 data:obj 638 data: obj
600 }) 639 })
601 } 640 }
641
602 //todo 642 //todo
603 export function bindWdsf(perId,card) { 643 export function bindWdsf(perId, card) {
604 return request({ 644 return request({
605 url: `/systemj/personInfo/bindWdsf/${perId}?card=${card}`, 645 url: `/systemj/personInfo/bindWdsf/${perId}?card=${card}`,
606 method: 'post' 646 method: 'post'
607 }) 647 })
608 } 648 }
649
609 export function getProjectPageByPerIds(query) { 650 export function getProjectPageByPerIds(query) {
610 return request({ 651 return request({
611 url: `/league/competitionProject/getProjectPageByPerIds/${query.cptId}/${query.perIds}`, 652 url: `/league/competitionProject/getProjectPageByPerIds/${query.cptId}/${query.perIds}`,
...@@ -613,6 +654,7 @@ export function getProjectPageByPerIds(query) { ...@@ -613,6 +654,7 @@ export function getProjectPageByPerIds(query) {
613 params: query 654 params: query
614 }) 655 })
615 } 656 }
657
616 export function getMatchNewslistByCode(query) { 658 export function getMatchNewslistByCode(query) {
617 return request({ 659 return request({
618 url: `/ztx/notesort/listByCode`, 660 url: `/ztx/notesort/listByCode`,
...@@ -625,67 +667,76 @@ export function createWePay(data) { ...@@ -625,67 +667,76 @@ export function createWePay(data) {
625 return request({ 667 return request({
626 url: `/league/signOrder/wxPay`, 668 url: `/league/signOrder/wxPay`,
627 method: 'post', 669 method: 'post',
628 data:data 670 data: data
629 }) 671 })
630 } 672 }
673
631 export function createWePayPhone(data) { 674 export function createWePayPhone(data) {
632 return request({ 675 return request({
633 url: `/league/signOrder/wxH5Pay`, 676 url: `/league/signOrder/wxH5Pay`,
634 method: 'post', 677 method: 'post',
635 data:data 678 data: data
636 }) 679 })
637 } 680 }
681
638 export function createPalPay(data) { 682 export function createPalPay(data) {
639 return request({ 683 return request({
640 url: `/league/signOrder/palPay`, 684 url: `/league/signOrder/palPay`,
641 method: 'post', 685 method: 'post',
642 data:data 686 data: data
643 }) 687 })
644 } 688 }
689
645 export function callbackPalPay(tradeNo) { 690 export function callbackPalPay(tradeNo) {
646 return request({ 691 return request({
647 url: `/league/signOrder/palPay/callback`, 692 url: `/league/signOrder/palPay/callback`,
648 method: 'post', 693 method: 'post',
649 data:{ 694 data: {
650 tradeNo:tradeNo 695 tradeNo: tradeNo
651 } 696 }
652 }) 697 })
653 } 698 }
699
654 export function upReceipt(data) { 700 export function upReceipt(data) {
655 return request({ 701 return request({
656 url: `/league/signOrder/offlinePay`, 702 url: `/league/signOrder/offlinePay`,
657 method: 'post', 703 method: 'post',
658 data:data 704 data: data
659 }) 705 })
660 } 706 }
707
661 export function signgetSignInfoConflict(query) { 708 export function signgetSignInfoConflict(query) {
662 return request({ 709 return request({
663 url: `/league/sign/getSignInfoConflict`, 710 url: `/league/sign/getSignInfoConflict`,
664 method: 'get', 711 method: 'get',
665 params:query 712 params: query
666 }) 713 })
667 } 714 }
715
668 export function checkMate(query) { 716 export function checkMate(query) {
669 return request({ 717 return request({
670 url: `/systemj/personInfo/checkMate`, 718 url: `/systemj/personInfo/checkMate`,
671 method: 'get', 719 method: 'get',
672 params:query 720 params: query
673 }) 721 })
674 } 722 }
723
675 export function checkIdcCode(query) { 724 export function checkIdcCode(query) {
676 return request({ 725 return request({
677 url: `/systemj/personInfo/extractInfo`, 726 url: `/systemj/personInfo/extractInfo`,
678 method: 'get', 727 method: 'get',
679 params:query 728 params: query
680 }) 729 })
681 } 730 }
682 export function getProjectByCptId(cptId,query) { 731
732 export function getProjectByCptId(cptId, query) {
683 return request({ 733 return request({
684 url: `/league/competitionProject/getTableByLanguageSourceAndCptId/${cptId}`, 734 url: `/league/competitionProject/getTableByLanguageSourceAndCptId/${cptId}`,
685 method: 'get', 735 method: 'get',
686 params: query 736 params: query
687 }) 737 })
688 } 738 }
739
689 export function addInvitation(data) { 740 export function addInvitation(data) {
690 return request({ 741 return request({
691 url: `/league/person`, 742 url: `/league/person`,
...@@ -693,3 +744,21 @@ export function addInvitation(data) { ...@@ -693,3 +744,21 @@ export function addInvitation(data) {
693 data: data 744 data: data
694 }) 745 })
695 } 746 }
747
748 // 酒店预约查询
749 export function hotelList(params) {
750 return request({
751 url: `/ota/reservedRoom/query`,
752 method: 'get',
753 params
754 })
755 }
756
757 // 飞机预约查询
758 export function aircraft(params) {
759 return request({
760 url: `/league/pickup/query`,
761 method: 'get',
762 params
763 })
764 }
......
...@@ -313,6 +313,12 @@ export const constantRoutes = [ ...@@ -313,6 +313,12 @@ export const constantRoutes = [
313 component: () => import('@/viewsPc/match/detail_en'), 313 component: () => import('@/viewsPc/match/detail_en'),
314 name: 'matchDetail', 314 name: 'matchDetail',
315 meta: {title: '赛事详情'} 315 meta: {title: '赛事详情'}
316 },
317 {
318 path: 'list/reservationSearch',
319 component: () => import('@/viewsPc/match/reservationSearch.vue'),
320 name: 'reservationSearch',
321 meta: {title: '预订查询'}
316 } 322 }
317 ] 323 ]
318 }, 324 },
......
...@@ -196,9 +196,9 @@ ...@@ -196,9 +196,9 @@
196 {{ form.pickUpBo.noAddress }} 196 {{ form.pickUpBo.noAddress }}
197 </div> 197 </div>
198 <div>{{ language == 0 ? '送达地点' : 'Delivery Place' }} {{ form.pickUpBo.deliveryAddress }}</div> 198 <div>{{ language == 0 ? '送达地点' : 'Delivery Place' }} {{ form.pickUpBo.deliveryAddress }}</div>
199 <div>{{ language == 0 ? '联系人' : 'Contact Person' }}{{ form.dropOffBo.contacts }}</div> 199 <div>{{ language == 0 ? '联系人' : 'Contact Person' }}{{ form.pickUpBo.contacts }}</div>
200 <div>{{ language == 0 ? '联系电话' : 'Contact Phone' }}{{ form.dropOffBo.phone }}</div> 200 <div>{{ language == 0 ? '联系电话' : 'Contact Phone' }}{{ form.pickUpBo.phone }}</div>
201 <div>{{ language == 0 ? '备注' : 'Remarks' }}{{ form.dropOffBo.remarks || '-' }}</div> 201 <div>{{ language == 0 ? '备注' : 'Remarks' }}{{ form.pickUpBo.remarks || '-' }}</div>
202 </div> 202 </div>
203 </el-col> 203 </el-col>
204 <el-col v-if="form.dropOffBo?.revTime" :lg="12" :md="12" :sm="12" :xs="24"> 204 <el-col v-if="form.dropOffBo?.revTime" :lg="12" :md="12" :sm="12" :xs="24">
......
1 <template>
2 <div class="collapsebox">
3 <div class="pd20">
4 <div class="fl mb20" style="display: flex;">
5 <el-input
6 v-model.trim="query.text"
7 :placeholder="language==0?'请输入邮箱或联系方式':'Please enter email or contact information'"
8 :prefix-icon="Search"
9 clearable
10 size="small"
11 style="width: 260px"/>
12 <el-button size="small" style="margin-left: 20px" type="primary" @click="getList">
13 {{ language == 0 ? '查询' : 'SEARCH' }}
14 </el-button>
15 </div>
16 <el-table :data="list" border>
17 <el-table-column :label="language==0?'序号':'Serial'" :min-width="language==0?60:80" align="center"
18 type="index"/>
19 <el-table-column :label="language==0?'服务类型':'Type Of Service'" :min-width="language==0? 90:150"
20 align="center"
21 prop="serviceTypeStr">
22 <template #default="{row}">
23 {{ row.serviceType == 1 ? language == 0 ? '接机' : 'Pick-up' : language == 0 ? '送机' : 'Drop-off' }}
24 </template>
25 </el-table-column>
26 <el-table-column :label="language==0?'联系人':'Contacts'" align="center" prop="name" width="110">
27 </el-table-column>
28 <el-table-column :label="language==0?'联系方式':'Contact Way'" :min-width="language==0?100:130" align="center"
29 prop="phone">
30 </el-table-column>
31 <el-table-column :label="language==0?'抵达时间':'Time Of Arrival'" align="center" width="180">
32 <template #default="{row}">
33 {{ row.arrivalDate + ' ' + row.arrivaTime }}
34 </template>
35 </el-table-column>
36 <el-table-column :label="language==0?'人数':'Number Of People'" :min-width="language==0?120:170" align="center"
37 prop="counts">
38 </el-table-column>
39 <el-table-column :label="language==0?'航班 / 车次':'Flight / train number'" :min-width="language==0?120:190"
40 align="center"
41 prop="flight">
42 </el-table-column>
43 <el-table-column :label="language==0?'机场 / 火车站':'Airport / Train station'" :min-width="language==0?120:200"
44 align="center"
45 prop="stationName">
46 </el-table-column>
47 <el-table-column :label="language==0?'航站楼':'Terminal'" align="center" prop="terminal" width="160">
48 </el-table-column>
49 <el-table-column :label="language==0?'出发地':' Place Of Departure'" :min-width="language==0?120:200"
50 align="center" prop="hotle">
51 <template #default="{row}">
52 {{ row.serviceType != 1 ? row.hotle : row.stationName }}
53 </template>
54 </el-table-column>
55 <el-table-column :label="language==0?'目的地':'Destination'" :min-width="language==0?120:200"
56 align="center" prop="hotle">
57 <template #default="{row}">
58 {{ row.serviceType == 1 ? row.hotle : row.stationName }}
59 </template>
60 </el-table-column>
61 </el-table>
62 <PaginationPc
63 v-show="total>0"
64 v-model:limit="query.pageSize"
65 v-model:page="query.pageNum"
66 :total="total"
67 @pagination="getList"
68 />
69 </div>
70 </div>
71 </template>
72
73 <script setup>
74 import {Search} from "@element-plus/icons-vue";
75 import {useStorage} from "@vueuse/core/index"
76 import {aircraft} from "@/apiPc/match";
77 import PaginationPc from "@/components/PaginationPc";
78 import {useRoute} from 'vue-router'
79
80 const language = useStorage('language', 0)
81 const list = ref([])
82 const total = ref(0)
83 const route = useRoute()
84 const query = ref({
85 text: '',
86 pageSize: 10,
87 pageNum: 1,
88 cptId: route.query.matchId
89 })
90
91 function getList() {
92 aircraft(query.value).then(res => {
93 list.value = res
94 total.value = res.total
95 })
96 }
97 </script>
98
99 <style lang="scss" scoped>
100 .table {
101 width: 100%;
102 border-left: 1px solid #e1e1e1;
103 border-top: 1px solid #e1e1e1;
104
105 th {
106 background: #eee;
107 padding: 6px 10px;
108 text-transform: uppercase;
109 border-right: 1px solid #e1e1e1;
110 border-bottom: 1px solid #e1e1e1;
111 font-size: 15px;
112 }
113
114 td {
115 padding: 6px 10px;
116 border-right: 1px solid #e1e1e1;
117 font-size: 15px;
118 border-bottom: 1px solid #e1e1e1;
119 vertical-align: middle;
120 text-align: center;
121
122 span {
123 margin-right: 10px
124 }
125
126 span::after {
127 content: ','
128 }
129
130 span:last-child::after {
131 content: ''
132 }
133 }
134 }
135 </style>
1 <template>
2 <div class="collapsebox">
3 <div class="pd20">
4 <div class="fl mb20" style="display: flex;">
5 <el-input
6 v-model.trim="query.text"
7 :placeholder="language==0?'请输入邮箱或联系方式':'Please enter email or contact information'"
8 :prefix-icon="Search"
9 clearable
10 size="small"
11 style="width: 260px;"/>
12 <el-button size="small" style="margin-left: 20px" type="primary" @click="getList">
13 {{ language == 0 ? '查询' : 'SEARCH' }}
14 </el-button>
15 </div>
16 <el-table :data="list" border>
17 <el-table-column :label="language==0?'序号':'Serial'" :min-width="language==0?60:80" align="center"
18 type="index"/>
19 <el-table-column :label="language==0?'酒店名称':'Hotel Name'" align="center" min-width="150"
20 prop="hotelName"></el-table-column>
21 <el-table-column :label="language==0?'联系人':'Contacts'" align="center" min-width="110" prop="contacts">
22 </el-table-column>
23 <el-table-column :label="language==0?'联系方式':'Contact Way'" align="center" prop="phone"
24 width="120">
25 </el-table-column>
26
27 <el-table-column :label="language==0?'预留日期':'Reservation Date'" align="center" min-width="120"
28 prop="reservationDate">
29 </el-table-column>
30 <el-table-column :label="language==0?'房型':'Room Type'" :min-width="isNational?120:240" align="center"
31 prop="roomType">
32 </el-table-column>
33 <el-table-column :label="language==0?'数量':'Quantity'" align="center" prop="num" width="160">
34 </el-table-column>
35 <el-table-column :label="language==0?'状态':'State'" align="center" prop="status" width="160">
36 <template #default="{row}">
37 {{ language == 0 ? '已预留' : 'Reserved' }}
38 </template>
39 </el-table-column>
40 </el-table>
41 <PaginationPc
42 v-show="total>0"
43 v-model:limit="query.pageSize"
44 v-model:page="query.pageNum"
45 :total="total"
46 @pagination="getList"
47 />
48 </div>
49 </div>
50 </template>
51
52 <script setup>
53 import {Search} from "@element-plus/icons-vue";
54 import {useStorage} from "@vueuse/core/index"
55 import {hotelList} from "@/apiPc/match";
56 import PaginationPc from "@/components/PaginationPc";
57 import {useRoute} from 'vue-router'
58
59 const language = useStorage('language', 0)
60 const list = ref([])
61 const total = ref(0)
62 const route = useRoute()
63 const query = ref({
64 projectName: '',
65 pageSize: 10,
66 pageNum: 1,
67 activeId: route.query.matchId
68 })
69
70 function getList() {
71 // query.value.text = encodeURIComponent(query.value.text1)
72 hotelList(query.value).then(res => {
73 list.value = res
74 total.value = res.total
75 })
76 }
77 </script>
78
79 <style lang="scss" scoped>
80 .table {
81 width: 100%;
82 border-left: 1px solid #e1e1e1;
83 border-top: 1px solid #e1e1e1;
84
85 th {
86 background: #eee;
87 padding: 6px 10px;
88 text-transform: uppercase;
89 border-right: 1px solid #e1e1e1;
90 border-bottom: 1px solid #e1e1e1;
91 font-size: 15px;
92 }
93
94 td {
95 padding: 6px 10px;
96 border-right: 1px solid #e1e1e1;
97 font-size: 15px;
98 border-bottom: 1px solid #e1e1e1;
99 vertical-align: middle;
100 text-align: center;
101
102 span {
103 margin-right: 10px
104 }
105
106 span::after {
107 content: ','
108 }
109
110 span:last-child::after {
111 content: ''
112 }
113 }
114 }
115 </style>
1 <template> 1 <template>
2 <div style="filter: opacity(1)"> 2 <div style="filter: opacity(1)">
3 <el-row :gutter="14" v-if="language==0"> 3 <el-row v-if="language==0" class="btnbox" justify='space-between'>
4 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 4 <el-col :lg="3" :md="7" :sm="11" :xs="11">
5 <div class="funcBtn" @click="popRemark(0)"> 5 <div class="funcBtn" @click="popRemark(0)">
6 <img src="@/assets/dance/btn04.png"/> 6 <img src="@/assets/dance/btn04.png"/>
7 <h4>票务预订</h4> 7 <h4>票务预订</h4>
8 </div> 8 </div>
9 </el-col> 9 </el-col>
10 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 10 <el-col :lg="3" :md="7" :sm="11" :xs="11">
11 <div class="funcBtn" @click="popRemark(1)"> 11 <div class="funcBtn" @click="popRemark(1)">
12 <img src="@/assets/dance/btn01.png"/> 12 <img src="@/assets/dance/btn01.png"/>
13 <h4>酒店预订</h4> 13 <h4>酒店预订</h4>
14 </div> 14 </div>
15 </el-col> 15 </el-col>
16 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 16 <el-col :lg="3" :md="7" :sm="11" :xs="11">
17 <div class="funcBtn" @click="popRemark(2)"> 17 <div class="funcBtn" @click="popRemark(2)">
18 <img src="@/assets/dance/btn02.png"/> 18 <img src="@/assets/dance/btn02.png"/>
19 <h4>车辆预订</h4> 19 <h4>车辆预订</h4>
20 </div> 20 </div>
21 </el-col> 21 </el-col>
22 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 22 <el-col :lg="3" :md="7" :sm="11" :xs="11">
23 <div class="funcBtn" @click="popRemark(6)">
24 <img src="@/assets/dance/btn07.png"/>
25 <h4>预订查询</h4>
26 </div>
27 </el-col>
28 <el-col :lg="3" :md="7" :sm="11" :xs="11">
23 <div class="funcBtn" @click="popRemark(3)"> 29 <div class="funcBtn" @click="popRemark(3)">
24 <img src="@/assets/dance/btn03.png"/> 30 <img src="@/assets/dance/btn03.png"/>
25 <h4>餐饮预订</h4> 31 <h4>餐饮预订</h4>
26 </div> 32 </div>
27 </el-col> 33 </el-col>
28 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 34 <el-col :lg="3" :md="7" :sm="11" :xs="11">
29 <div class="funcBtn" @click="popRemark(4)"> 35 <div class="funcBtn" @click="popRemark(4)">
30 <img src="@/assets/dance/btn05.png"/> 36 <img src="@/assets/dance/btn05.png"/>
31 <h4>化妆预约</h4> 37 <h4>化妆预约</h4>
32 </div> 38 </div>
33 </el-col> 39 </el-col>
34 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 40 <el-col :lg="3" :md="7" :sm="11" :xs="11">
35 <div class="funcBtn" @click="popRemark(5)"> 41 <div class="funcBtn" @click="popRemark(5)">
36 <img src="@/assets/dance/btn06.png"/> 42 <img src="@/assets/dance/btn06.png"/>
37 <h4>拍照预约</h4> 43 <h4>拍照预约</h4>
38 </div> 44 </div>
39 </el-col> 45 </el-col>
40 </el-row> 46 </el-row>
41 <el-row :gutter="14" v-else> 47 <el-row v-else class="btnbox" justify='space-between'>
42 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 48 <el-col :lg="3" :md="7" :sm="11" :xs="11">
43 <div class="funcBtn" @click="popRemark(0)"> 49 <div class="funcBtn" @click="popRemark(0)">
44 <img src="@/assets/dance/btn04.png"/> 50 <img src="@/assets/dance/btn04.png"/>
45 <h4>TICKET BOOKING</h4> 51 <h4>TICKET BOOKING</h4>
46 </div> 52 </div>
47 </el-col> 53 </el-col>
48 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 54 <el-col :lg="3" :md="7" :sm="11" :xs="11">
49 <div class="funcBtn" @click="popRemark(1)"> 55 <div class="funcBtn" @click="popRemark(1)">
50 <img src="@/assets/dance/btn01.png"/> 56 <img src="@/assets/dance/btn01.png"/>
51 <h4>HOTEL RESERVATION</h4> 57 <h4>HOTEL RESERVATION</h4>
52 </div> 58 </div>
53 </el-col> 59 </el-col>
54 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 60 <el-col :lg="3" :md="7" :sm="11" :xs="11">
55 <div class="funcBtn" @click="popRemark(2)"> 61 <div class="funcBtn" @click="popRemark(2)">
56 <img src="@/assets/dance/btn02.png"/> 62 <img src="@/assets/dance/btn02.png"/>
57 <h4>TRANSPORTATION RESERVATION</h4> 63 <h4>TRANSPORTATION RESERVATION</h4>
58 </div> 64 </div>
59 </el-col> 65 </el-col>
60 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 66 <el-col :lg="3" :md="7" :sm="11" :xs="11">
67 <div class="funcBtn" @click="popRemark(6)">
68 <img src="@/assets/dance/btn07.png"/>
69 <h4>RESERVATION SEARCH</h4>
70 </div>
71 </el-col>
72 <el-col :lg="3" :md="7" :sm="11" :xs="11">
61 <div class="funcBtn" @click="popRemark(3)"> 73 <div class="funcBtn" @click="popRemark(3)">
62 <img src="@/assets/dance/btn03.png"/> 74 <img src="@/assets/dance/btn03.png"/>
63 <h4>DINING RESERVATION</h4> 75 <h4>DINING RESERVATION</h4>
64 </div> 76 </div>
65 </el-col> 77 </el-col>
66 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 78 <el-col :lg="3" :md="7" :sm="11" :xs="11">
67 <div class="funcBtn" @click="popRemark(4)"> 79 <div class="funcBtn" @click="popRemark(4)">
68 <img src="@/assets/dance/btn05.png"/> 80 <img src="@/assets/dance/btn05.png"/>
69 <h4>MAKEUP APPOINTMENT</h4> 81 <h4>MAKEUP APPOINTMENT</h4>
70 </div> 82 </div>
71 </el-col> 83 </el-col>
72 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 84 <el-col :lg="3" :md="7" :sm="11" :xs="11">
73 <div class="funcBtn" @click="popRemark(5)"> 85 <div class="funcBtn" @click="popRemark(5)">
74 <img src="@/assets/dance/btn06.png"/> 86 <img src="@/assets/dance/btn06.png"/>
75 <h4>PHOTOGRAPHY APPOINTMENT</h4> 87 <h4>PHOTOGRAPHY APPOINTMENT</h4>
...@@ -79,10 +91,10 @@ ...@@ -79,10 +91,10 @@
79 </div> 91 </div>
80 <order-remark ref="orderRemarkRef" @submit="goBooking"/> 92 <order-remark ref="orderRemarkRef" @submit="goBooking"/>
81 93
82 <!-- <div class="fixedKP" @click="addInvoice">--> 94 <!-- <div class="fixedKP" @click="addInvoice">-->
83 <!-- <img src="@/assets/img/kp.svg"/>--> 95 <!-- <img src="@/assets/img/kp.svg"/>-->
84 <!-- 开票--> 96 <!-- 开票-->
85 <!-- </div>--> 97 <!-- </div>-->
86 </template> 98 </template>
87 99
88 <script setup> 100 <script setup>
...@@ -122,10 +134,19 @@ onMounted(() => { ...@@ -122,10 +134,19 @@ onMounted(() => {
122 134
123 function building() { 135 function building() {
124 ElMessage.warning(language.value == 0 ? '感谢您对本次比赛的关注,该服务暂无可预订信息,敬请期待。' : 'Thank you for your attention to this competition. The service is currently unavailable for booking. Please stay tuned.') 136 ElMessage.warning(language.value == 0 ? '感谢您对本次比赛的关注,该服务暂无可预订信息,敬请期待。' : 'Thank you for your attention to this competition. The service is currently unavailable for booking. Please stay tuned.')
125 return 137
126 } 138 }
127 139
128 function popRemark(type) { 140 function popRemark(type) {
141 if (type == 6) {
142 return router.push({
143 path: '/match/list/reservationSearch',
144 query: {
145 matchId: props.matchId,
146 }
147 })
148 }
149
129 if (!form.value) { 150 if (!form.value) {
130 building() 151 building()
131 return 152 return
...@@ -135,10 +156,9 @@ function popRemark(type) { ...@@ -135,10 +156,9 @@ function popRemark(type) {
135 || (form.value.isCarView == 0 && type == '2') 156 || (form.value.isCarView == 0 && type == '2')
136 || (form.value.isFoodView == 0 && type == '3') 157 || (form.value.isFoodView == 0 && type == '3')
137 || (form.value.isMealView == 0 && type == '4') 158 || (form.value.isMealView == 0 && type == '4')
138 || (form.value.isPhotoView == 0&&type == '5') 159 || (form.value.isPhotoView == 0 && type == '5')
139 || (form.value.isTicket==0 &type == '0') 160 || (form.value.isTicket == 0 && type == '0')
140 ) 161 ) {
141 {
142 building() 162 building()
143 return 163 return
144 } 164 }
...@@ -184,7 +204,7 @@ function goBooking(n) { ...@@ -184,7 +204,7 @@ function goBooking(n) {
184 } 204 }
185 } 205 }
186 206
187 function addInvoice(){ 207 function addInvoice() {
188 router.push({ 208 router.push({
189 name: 'invoice', 209 name: 'invoice',
190 query: { 210 query: {
...@@ -194,15 +214,38 @@ function addInvoice(){ ...@@ -194,15 +214,38 @@ function addInvoice(){
194 } 214 }
195 </script> 215 </script>
196 216
197 <style scoped lang="scss"> 217 <style lang="scss" scoped>
198 h4 { 218 h4 {
199 padding: 0 10px; 219 padding: 0 10px;
200 } 220 }
201 .fixedKP{position: fixed;background: linear-gradient(-90deg, #8623FC, #453DEA);left: 0; 221
202 top:450px;cursor: pointer; 222 //.btnbox {
203 color: #fff;border-radius: 50%;width: 60px;height: 60px;text-align: center; 223 // .el-col-lg-4 {
204 img{width: 26px;height: 26px;display: block;margin:10px auto 0px;} 224 // max-width: 14.28%;
225 // flex: 0 0 14.28%;
226 // }
227 //}
228
229 .fixedKP {
230 position: fixed;
231 background: linear-gradient(-90deg, #8623FC, #453DEA);
232 left: 0;
233 top: 450px;
234 cursor: pointer;
235 color: #fff;
236 border-radius: 50%;
237 width: 60px;
238 height: 60px;
239 text-align: center;
240
241 img {
242 width: 26px;
243 height: 26px;
244 display: block;
245 margin: 10px auto 0px;
246 }
247
205 font-size: 13px; 248 font-size: 13px;
206 box-shadow: 0 0 10px rgba(0,0,0,0.6); 249 box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
207 } 250 }
208 </style> 251 </style>
......
1 <template>
2 <div class="box mb20">
3 <el-card :body-style="{'padding':'0'}">
4 <div class="lineHead">
5 <ul>
6 <li v-for="(l,i) in menu" :key="l.name" :class="active==i?'active':''" @click="changeMenu(l,i)">
7 {{ language == 0 ? l.cn : l.en }}
8 </li>
9 </ul>
10 </div>
11
12 <HotTable v-if="active==0"/>
13 <AirportPickupTable v-if="active==1"/>
14 </el-card>
15
16 </div>
17 </template>
18 <script lang="ts" setup>
19 import {useStorage} from "@vueuse/core/index";
20 import HotTable from '@/viewsPc/match/components/hotTable.vue'
21 import AirportPickupTable from '@/viewsPc/match/components/airportPickupTable.vue'
22
23 const language = useStorage('language', 0)
24 const active = ref(0)
25 const menu = ref([
26 {cn: '酒店预订查询', active: 0, en: 'Hotel Reservation Summary'},
27 {cn: '接送机预订查询', active: 1, en: 'Transfer Reservation Summary'}
28 ])
29
30
31 function changeMenu(v, i) {
32 active.value = i
33 }
34 </script>
35
36 <style lang="scss" scoped>
37 .box {
38 width: 1600px;
39 margin-top: 40px;
40 }
41 </style>
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!