78188d4c by zhangmeng

预约查询

1 parent 1d8b1da1
...@@ -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 }
......
...@@ -318,7 +318,7 @@ export const constantRoutes = [ ...@@ -318,7 +318,7 @@ export const constantRoutes = [
318 path: 'list/reservationSearch', 318 path: 'list/reservationSearch',
319 component: () => import('@/viewsPc/match/reservationSearch.vue'), 319 component: () => import('@/viewsPc/match/reservationSearch.vue'),
320 name: 'reservationSearch', 320 name: 'reservationSearch',
321 meta: {title: '预查询'} 321 meta: {title: '预查询'}
322 } 322 }
323 ] 323 ]
324 }, 324 },
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 <div class="pd20"> 3 <div class="pd20">
4 <div class="fr mb20"> 4 <div class="fr mb20">
5 <el-input 5 <el-input
6 v-model.trim="query.projectName" 6 v-model.trim="query.text1"
7 :placeholder="language==0?'请输入邮箱或联系方式':'Please enter email or contact information' " 7 :placeholder="language==0?'请输入邮箱或联系方式':'Please enter email or contact information' "
8 :prefix-icon="Search" 8 :prefix-icon="Search"
9 clearable 9 clearable
...@@ -66,32 +66,25 @@ ...@@ -66,32 +66,25 @@
66 <script setup> 66 <script setup>
67 import {Search} from "@element-plus/icons-vue"; 67 import {Search} from "@element-plus/icons-vue";
68 import {useStorage} from "@vueuse/core/index" 68 import {useStorage} from "@vueuse/core/index"
69 import {getProjectByCptId} from "@/apiPc/match"; 69 import {aircraft} from "@/apiPc/match";
70 import PaginationPc from "@/components/PaginationPc"; 70 import PaginationPc from "@/components/PaginationPc";
71 import {useRoute} from 'vue-router'
71 72
72 const language = useStorage('language', 0) 73 const language = useStorage('language', 0)
73 const list = ref([]) 74 const list = ref([])
74 const total = ref(0) 75 const total = ref(0)
76 const route = useRoute()
75 const query = ref({ 77 const query = ref({
76 projectName: '', 78 text: '',
77 pageSize: 10, 79 pageSize: 10,
78 pageNum: 1 80 pageNum: 1,
79 }) 81 cptId: route.query.matchId
80 const props = defineProps({
81 matchId: {
82 type: String,
83 required: false
84 },
85 isNational: {
86 type: Boolean,
87 required: false,
88 default: false
89 },
90 }) 82 })
91 83
92 function getList() { 84 function getList() {
93 getProjectByCptId(props.matchId, query.value).then(res => { 85 query.value.text = "%2E" + query.value.text1
94 list.value = res.rows 86 aircraft(query.value).then(res => {
87 list.value = res
95 total.value = res.total 88 total.value = res.total
96 }) 89 })
97 } 90 }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 <div class="pd20"> 3 <div class="pd20">
4 <div class="fr mb20"> 4 <div class="fr mb20">
5 <el-input 5 <el-input
6 v-model.trim="query.projectName" 6 v-model.trim="query.text"
7 :placeholder="language==0?'请输入邮箱或联系方式':'Please enter email or contact information'" 7 :placeholder="language==0?'请输入邮箱或联系方式':'Please enter email or contact information'"
8 :prefix-icon="Search" 8 :prefix-icon="Search"
9 clearable 9 clearable
...@@ -14,69 +14,21 @@ ...@@ -14,69 +14,21 @@
14 <el-table-column :label="language==0?'序号':'Serial'" :min-width="language==0?60:80" align="center" 14 <el-table-column :label="language==0?'序号':'Serial'" :min-width="language==0?60:80" align="center"
15 type="index"/> 15 type="index"/>
16 <el-table-column :label="language==0?'酒店名称':'Hotel Name'" align="center" min-width="150" 16 <el-table-column :label="language==0?'酒店名称':'Hotel Name'" align="center" min-width="150"
17 prop="name"></el-table-column> 17 prop="hotelName"></el-table-column>
18 <el-table-column :label="language==0?'联系人':'Contacts'" align="center" prop="danceType" width="110"> 18 <el-table-column :label="language==0?'联系人':'Contacts'" align="center" prop="contacts" width="110">
19 </el-table-column> 19 </el-table-column>
20 <el-table-column :label="language==0?'联系方式':'Contact Way'" align="center" prop="danceTypeDetailStr" 20 <el-table-column :label="language==0?'联系方式':'Contact Way'" align="center" prop="phone"
21 width="120"> 21 width="120">
22 </el-table-column> 22 </el-table-column>
23 23
24 <el-table-column :label="language==0?'预留日期':'Reservation Date'" align="center"> 24 <el-table-column :label="language==0?'预留日期':'Reservation Date'" align="center" prop="reservationDate">
25 <template #default="{row}">
26 <span v-if="row.playTypeStr">{{ row.playTypeStr }}</span>
27 <span v-else>{{ row.playType }}</span>
28 </template>
29 </el-table-column> 25 </el-table-column>
30 <el-table-column :label="language==0?'房型':'Room Type'" :min-width="isNational?120:240" align="center"> 26 <el-table-column :label="language==0?'房型':'Room Type'" :min-width="isNational?120:240" align="center"
31 <template #default="{row}"> 27 prop="roomType">
32 <div v-if="isNational">
33 <span v-if="row.ageGroup == '0'">{{ language == 0 ? '不限制' : 'Unlimited' }}</span>
34 <span v-if="row.ageGroup == '1'">Juvenile I</span>
35 <span v-if="row.ageGroup == '2'">Juvenile II</span>
36 <span v-if="row.ageGroup == '3'">Juv1& II (comb.)</span>
37 <span v-if="row.ageGroup == '4'">Junior I</span>
38 <span v-if="row.ageGroup == '5'">Junior II</span>
39 <span v-if="row.ageGroup == '6'">Juv I & II (comb.)</span>
40 <span v-if="row.ageGroup == '7'">
41 <span v-if="row.danceType=='Breaking'">2006-01-01 {{
42 language == 0 ? '至' : '~'
43 }} 2010-12-31</span>
44 <span v-else>Youth</span>
45 </span>
46 <span v-if="row.ageGroup == '8'">Under 21</span>
47 <span v-if="row.ageGroup == '9'">Adult</span>
48 <span v-if="row.ageGroup == '10'">Senior I</span>
49 <span v-if="row.ageGroup == '11'">Senior II</span>
50 <span v-if="row.ageGroup == '12'">Senior III</span>
51 <span v-if="row.ageGroup == '13'">Senior IV</span>
52 <span v-if="row.ageGroup == '14'">Senior V</span>
53 </div>
54 <div v-else>
55 <div>{{ row.birthPeriod.replace(',', language == 0 ? ' 至 ' : ' to ') }}</div>
56 <div v-if="row.birthPeriodSecond">
57 {{ row.birthPeriodSecond?.replace(',', language == 0 ? ' 至 ' : ' to ') }}
58 </div>
59 <div v-if="row.birthPeriodThird">
60 {{ row.birthPeriodThird?.replace(',', language == 0 ? ' 至 ' : ' to ') }}
61 </div>
62 <div v-if="row.birthPeriodFourth">
63 {{ row.birthPeriodFourth?.replace(',', language == 0 ? ' 至 ' : ' to ') }}
64 </div>
65 <div v-if="row.birthPeriodFifth">
66 {{ row.birthPeriodFifth?.replace(',', language == 0 ? ' 至 ' : ' to ') }}
67 </div>
68 <div v-if="row.birthPeriodSixth">
69 {{ row.birthPeriodSixth?.replace(',', language == 0 ? ' 至 ' : ' to ') }}
70 </div>
71 </div>
72 </template>
73 </el-table-column> 28 </el-table-column>
74 <el-table-column :label="language==0?'数量':'Quantity'" align="center" width="160"> 29 <el-table-column :label="language==0?'数量':'Quantity'" align="center" prop="num" width="160">
75 <template #default="{row}">
76 <div class="text-primary">{{ language == 0 ? '¥' : '€' }}{{ row.serviceFee }}</div>
77 </template>
78 </el-table-column> 30 </el-table-column>
79 <el-table-column :label="language==0?'状态':'State'" align="center" width="160"> 31 <el-table-column :label="language==0?'状态':'State'" align="center" prop="status" width="160">
80 <template #default="{row}"> 32 <template #default="{row}">
81 <div class="text-primary">{{ language == 0 ? '¥' : '€' }}{{ row.serviceFee }}</div> 33 <div class="text-primary">{{ language == 0 ? '¥' : '€' }}{{ row.serviceFee }}</div>
82 </template> 34 </template>
...@@ -96,16 +48,19 @@ ...@@ -96,16 +48,19 @@
96 <script setup> 48 <script setup>
97 import {Search} from "@element-plus/icons-vue"; 49 import {Search} from "@element-plus/icons-vue";
98 import {useStorage} from "@vueuse/core/index" 50 import {useStorage} from "@vueuse/core/index"
99 import {getProjectByCptId} from "@/apiPc/match"; 51 import {hotelList} from "@/apiPc/match";
100 import PaginationPc from "@/components/PaginationPc"; 52 import PaginationPc from "@/components/PaginationPc";
53 import {useRoute} from 'vue-router'
101 54
102 const language = useStorage('language', 0) 55 const language = useStorage('language', 0)
103 const list = ref([]) 56 const list = ref([])
104 const total = ref(0) 57 const total = ref(0)
58 const route = useRoute()
105 const query = ref({ 59 const query = ref({
106 projectName: '', 60 projectName: '',
107 pageSize: 10, 61 pageSize: 10,
108 pageNum: 1 62 pageNum: 1,
63 activeId: route.query.matchId
109 }) 64 })
110 const props = defineProps({ 65 const props = defineProps({
111 matchId: { 66 matchId: {
...@@ -118,12 +73,15 @@ const props = defineProps({ ...@@ -118,12 +73,15 @@ const props = defineProps({
118 default: false 73 default: false
119 }, 74 },
120 }) 75 })
76 query.value.activeId = props.matchId
121 77
122 function getList() { 78 function getList() {
123 getProjectByCptId(props.matchId, query.value).then(res => { 79 hotelList(query.value).then(res => {
124 list.value = res.rows 80 list.value = res
125 total.value = res.total 81 total.value = res.total
126 }) 82 })
83 query.value.email = null
84 query.value.phone = null
127 } 85 }
128 </script> 86 </script>
129 87
......
1 <template> 1 <template>
2 <div style="filter: opacity(1)"> 2 <div style="filter: opacity(1)">
3 <el-row v-if="language==0" :gutter="14" class="btnbox"> 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)"> 23 <div class="funcBtn" @click="popRemark(6)">
24 <img src="@/assets/dance/btn04.png"/> 24 <img src="@/assets/dance/btn07.png"/>
25 <h4>预订查询</h4> 25 <h4>预订查询</h4>
26 </div> 26 </div>
27 </el-col> 27 </el-col>
28 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 28 <el-col :lg="3" :md="7" :sm="11" :xs="11">
29 <div class="funcBtn" @click="popRemark(3)"> 29 <div class="funcBtn" @click="popRemark(3)">
30 <img src="@/assets/dance/btn03.png"/> 30 <img src="@/assets/dance/btn03.png"/>
31 <h4>餐饮预订</h4> 31 <h4>餐饮预订</h4>
32 </div> 32 </div>
33 </el-col> 33 </el-col>
34 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 34 <el-col :lg="3" :md="7" :sm="11" :xs="11">
35 <div class="funcBtn" @click="popRemark(4)"> 35 <div class="funcBtn" @click="popRemark(4)">
36 <img src="@/assets/dance/btn05.png"/> 36 <img src="@/assets/dance/btn05.png"/>
37 <h4>化妆预约</h4> 37 <h4>化妆预约</h4>
38 </div> 38 </div>
39 </el-col> 39 </el-col>
40 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 40 <el-col :lg="3" :md="7" :sm="11" :xs="11">
41 <div class="funcBtn" @click="popRemark(5)"> 41 <div class="funcBtn" @click="popRemark(5)">
42 <img src="@/assets/dance/btn06.png"/> 42 <img src="@/assets/dance/btn06.png"/>
43 <h4>拍照预约</h4> 43 <h4>拍照预约</h4>
44 </div> 44 </div>
45 </el-col> 45 </el-col>
46 </el-row> 46 </el-row>
47 <el-row v-else :gutter="14" class="btnbox"> 47 <el-row v-else class="btnbox" justify='space-between'>
48 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 48 <el-col :lg="3" :md="7" :sm="11" :xs="11">
49 <div class="funcBtn" @click="popRemark(0)"> 49 <div class="funcBtn" @click="popRemark(0)">
50 <img src="@/assets/dance/btn04.png"/> 50 <img src="@/assets/dance/btn04.png"/>
51 <h4>TICKET BOOKING</h4> 51 <h4>TICKET BOOKING</h4>
52 </div> 52 </div>
53 </el-col> 53 </el-col>
54 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 54 <el-col :lg="3" :md="7" :sm="11" :xs="11">
55 <div class="funcBtn" @click="popRemark(1)"> 55 <div class="funcBtn" @click="popRemark(1)">
56 <img src="@/assets/dance/btn01.png"/> 56 <img src="@/assets/dance/btn01.png"/>
57 <h4>HOTEL RESERVATION</h4> 57 <h4>HOTEL RESERVATION</h4>
58 </div> 58 </div>
59 </el-col> 59 </el-col>
60 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 60 <el-col :lg="3" :md="7" :sm="11" :xs="11">
61 <div class="funcBtn" @click="popRemark(2)"> 61 <div class="funcBtn" @click="popRemark(2)">
62 <img src="@/assets/dance/btn02.png"/> 62 <img src="@/assets/dance/btn02.png"/>
63 <h4>TRANSPORTATION RESERVATION</h4> 63 <h4>TRANSPORTATION RESERVATION</h4>
64 </div> 64 </div>
65 </el-col> 65 </el-col>
66 <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)"> 67 <div class="funcBtn" @click="popRemark(6)">
68 <img src="@/assets/dance/btn04.png"/> 68 <img src="@/assets/dance/btn07.png"/>
69 <h4>RESERVATION SEARCH</h4> 69 <h4>RESERVATION SEARCH</h4>
70 </div> 70 </div>
71 </el-col> 71 </el-col>
72 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 72 <el-col :lg="3" :md="7" :sm="11" :xs="11">
73 <div class="funcBtn" @click="popRemark(3)"> 73 <div class="funcBtn" @click="popRemark(3)">
74 <img src="@/assets/dance/btn03.png"/> 74 <img src="@/assets/dance/btn03.png"/>
75 <h4>DINING RESERVATION</h4> 75 <h4>DINING RESERVATION</h4>
76 </div> 76 </div>
77 </el-col> 77 </el-col>
78 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 78 <el-col :lg="3" :md="7" :sm="11" :xs="11">
79 <div class="funcBtn" @click="popRemark(4)"> 79 <div class="funcBtn" @click="popRemark(4)">
80 <img src="@/assets/dance/btn05.png"/> 80 <img src="@/assets/dance/btn05.png"/>
81 <h4>MAKEUP APPOINTMENT</h4> 81 <h4>MAKEUP APPOINTMENT</h4>
82 </div> 82 </div>
83 </el-col> 83 </el-col>
84 <el-col :lg="4" :md="8" :sm="12" :xs="12"> 84 <el-col :lg="3" :md="7" :sm="11" :xs="11">
85 <div class="funcBtn" @click="popRemark(5)"> 85 <div class="funcBtn" @click="popRemark(5)">
86 <img src="@/assets/dance/btn06.png"/> 86 <img src="@/assets/dance/btn06.png"/>
87 <h4>PHOTOGRAPHY APPOINTMENT</h4> 87 <h4>PHOTOGRAPHY APPOINTMENT</h4>
...@@ -218,12 +218,12 @@ h4 { ...@@ -218,12 +218,12 @@ h4 {
218 padding: 0 10px; 218 padding: 0 10px;
219 } 219 }
220 220
221 .btnbox { 221 //.btnbox {
222 .el-col-lg-4 { 222 // .el-col-lg-4 {
223 max-width: 14.28%; 223 // max-width: 14.28%;
224 flex: 0 0 14.28%; 224 // flex: 0 0 14.28%;
225 } 225 // }
226 } 226 //}
227 227
228 .fixedKP { 228 .fixedKP {
229 position: fixed; 229 position: fixed;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!