e02330f2 by joe

需求修复

1 parent e97859f2
...@@ -10,7 +10,7 @@ module.exports = { ...@@ -10,7 +10,7 @@ module.exports = {
10 }, 10 },
11 glbalTips: { 11 glbalTips: {
12 sessionLost: "Your session has expired. For your account safety, please re-enter and submit again.", 12 sessionLost: "Your session has expired. For your account safety, please re-enter and submit again.",
13 sysError : "An error occurred, <br>please try again later. " 13 sysError: "An error occurred, <br>please try again later. "
14 }, 14 },
15 form: { 15 form: {
16 datePicker: { 16 datePicker: {
...@@ -30,128 +30,128 @@ module.exports = { ...@@ -30,128 +30,128 @@ module.exports = {
30 name: "Login", 30 name: "Login",
31 path: "/login", 31 path: "/login",
32 list: [{ 32 list: [{
33 name: "Register", 33 name: "Register",
34 path: "/register", 34 path: "/register",
35 type: "noAuth", 35 type: "noAuth",
36 value: "" 36 value: ""
37 }, { 37 }, {
38 name: "Login", 38 name: "Login",
39 path: "", 39 path: "",
40 type: "noAuth", 40 type: "noAuth",
41 value: "login" 41 value: "login"
42 },
43 {
44 name: "Modify password",
45 path: "/password/reset",
46 type: "auth",
47 value: ""
48 },
49 // {
50 // name: "profile",
51 // path: "/infomation/improve",
52 // type: "auth",
53 // value: ""
54 // },
55 {
56 name: "Logout",
57 path: "",
58 type: "auth",
59 value: "logout"
60 },
61 ]
62 },
63 navList: [{
64 name: "Products",
65 path: "/product/introduction",
66 list: [{
67 name: "VHIS",
68 path: "/vhis/detail"
69 },
70 {
71 name: "Insurance with Investment Focus",
72 path: "/vhis?p=endowment"
73 }
74 ]
75 },
76 {
77 name: "Customer Service",
78 path: "/custom/product",
79 list: [
80 // {
81 // name: "Customer Service",
82 // path: "/custom/product"
83 // },
84 {
85 name: "Contact Us",
86 path: "/custom/service?q=m1"
42 }, 87 },
43 { 88 {
44 name: "Modify password", 89 name: "Payment Options",
45 path: "/password/reset", 90 path: "/custom/service?q=m2"
46 type: "auth", 91 },
47 value: "" 92 {
93 name: "Policy Enquiry",
94 path: "/custom/service?q=m3"
95 },
96 {
97 name: "Change of Policy",
98 path: "/custom/service?q=m41"
48 }, 99 },
49 // {
50 // name: "profile",
51 // path: "/infomation/improve",
52 // type: "auth",
53 // value: ""
54 // },
55 { 100 {
56 name: "Logout", 101 name: "Claims Application",
57 path: "", 102 path: "/custom/service?q=m5"
58 type: "auth", 103 },
59 value: "logout" 104 {
105 name: "Reservation",
106 path: "/custom/service?q=m6"
107 },
108 {
109 name: "Complaints",
110 path: "/custom/service?q=m7"
111 },
112 {
113 name: "Useful Forms",
114 path: "/custom/service?q=m8"
60 }, 115 },
61 ] 116 ]
62 }, 117 },
63 navList: [{ 118 {
64 name: "Products", 119 name: "About Us",
65 path: "/product/introduction", 120 path: "/profile",
66 list: [{ 121 list: [{
67 name: "VHIS", 122 name: "About Ping An (Life) HK",
68 path: "/vhis/detail" 123 path: "/profile"
69 },
70 {
71 name: "Insurance with Investment Focus",
72 path: "/vhis?p=endowment"
73 }
74 ]
75 }, 124 },
76 { 125 {
77 name: "Customer Service", 126 name: "Company Events",
78 path: "/custom/product", 127 path: "/company/events"
79 list: [ 128 }, {
80 // { 129 name: "News Center",
81 // name: "Customer Service", 130 path: "/news/list"
82 // path: "/custom/product"
83 // },
84 {
85 name: "Contact Us",
86 path: "/custom/service?q=m1"
87 },
88 {
89 name: "Payment Options",
90 path: "/custom/service?q=m2"
91 },
92 {
93 name: "Policy Enquiry",
94 path: "/custom/service?q=m3"
95 },
96 {
97 name: "Change of Policy",
98 path: "/custom/service?q=m41"
99 },
100 {
101 name: "Claims Application",
102 path: "/custom/service?q=m5"
103 },
104 {
105 name: "Reservation",
106 path: "/custom/service?q=m6"
107 },
108 {
109 name: "Complaints",
110 path: "/custom/service?q=m7"
111 },
112 {
113 name: "Useful Forms",
114 path: "/custom/service?q=m8"
115 },
116 ]
117 }, 131 },
118 { 132 {
119 name: "About Us", 133 name: "Corporate Social Responsibility",
120 path: "/profile", 134 path: "/responsibility"
121 list: [{
122 name: "About Ping An (Life) HK",
123 path: "/profile"
124 },
125 {
126 name: "Company Events",
127 path: "/company/events"
128 }, {
129 name: "News Center",
130 path: "/news/list"
131 },
132 {
133 name: "Corporate Social Responsibility",
134 path: "/responsibility"
135 },
136 {
137 name: "Awards",
138 path: "/awards"
139 }
140 ]
141 }, 135 },
142 { 136 {
143 name: "Join Us", 137 name: "Awards",
144 path: "/join/us", 138 path: "/awards"
145 list: [{
146 name: "Corporate Culture",
147 path: "/corporate/culture"
148 },
149 {
150 name: "Career Opportunities",
151 path: "/career/opportunities"
152 },
153 ]
154 } 139 }
140 ]
141 },
142 {
143 name: "Join Us",
144 path: "/join/us",
145 list: [{
146 name: "Corporate Culture",
147 path: "/corporate/culture"
148 },
149 {
150 name: "Career Opportunities",
151 path: "/career/opportunities"
152 },
153 ]
154 }
155 ] 155 ]
156 }, 156 },
157 footer: { 157 footer: {
...@@ -429,13 +429,13 @@ module.exports = { ...@@ -429,13 +429,13 @@ module.exports = {
429 contactPlaceholder: "(HK No./ Mainland No.)", 429 contactPlaceholder: "(HK No./ Mainland No.)",
430 reservationType: "Type of Reservation", 430 reservationType: "Type of Reservation",
431 reservationCandidates: [{ 431 reservationCandidates: [{
432 name: "Insurance consultation", 432 name: "Insurance consultation",
433 value: "投保諮詢" 433 value: "投保諮詢"
434 }, 434 },
435 { 435 {
436 name: "Agent change", 436 name: "Agent change",
437 value: "代办保单变更" 437 value: "代办保单变更"
438 } 438 }
439 ], 439 ],
440 reservationRemark: "Reservation Description", 440 reservationRemark: "Reservation Description",
441 reservationRemarkPlaceholder: "Optional, no more than 500 words, prompt text \"Please briefly explain the insurance type or business you want to consult", 441 reservationRemarkPlaceholder: "Optional, no more than 500 words, prompt text \"Please briefly explain the insurance type or business you want to consult",
...@@ -487,71 +487,71 @@ module.exports = { ...@@ -487,71 +487,71 @@ module.exports = {
487 head4: "Attachment", 487 head4: "Attachment",
488 download: "Download", 488 download: "Download",
489 form: [{ 489 form: [{
490 type: "Payment", 490 type: "Payment",
491 list: [{ 491 list: [{
492 name: "「E-account Service」and Direct Debit Authorization Application for Bank Account", 492 name: "「E-account Service」and Direct Debit Authorization Application for Bank Account",
493 desc: "For applying e-service account and direct debit authorization", 493 desc: "For applying e-service account and direct debit authorization",
494 download: "./doc/「電子入賬服務」及銀行戶口直接付款授權申請.pdf", 494 download: "./doc/「電子入賬服務」及銀行戶口直接付款授權申請.pdf",
495 },
496 {
497 name: "Credit Card Account Direct Debit Authorization",
498 desc: "Application for credit card direct debit",
499 download: "./doc/信用卡戶口直接付款授權書.pdf",
500 }
501 ]
502 }, 495 },
503 { 496 {
504 type: "Change of Policy", 497 name: "Credit Card Account Direct Debit Authorization",
505 list: [{ 498 desc: "Application for credit card direct debit",
506 name: "Policy Termination Application Form", 499 download: "./doc/信用卡戶口直接付款授權書.pdf",
507 desc: "Policy surrender", 500 }
508 download: "./doc/保險合同解除申請書.pdf", 501 ]
509 }, 502 },
510 { 503 {
511 name: "Application for Change of Policy Form<br>(Policy Loan Repayment)", 504 type: "Change of Policy",
512 desc: "Policy loan", 505 list: [{
513 download: "./doc/保險合同變更申請書( 保單貸款還款類).pdf", 506 name: "Policy Termination Application Form",
514 }, 507 desc: "Policy surrender",
515 { 508 download: "./doc/保險合同解除申請書.pdf",
516 name: "Application for Change of Policy Form<br>(Change of Policy)", 509 },
517 desc: "Newly added premium, deducted premium", 510 {
518 download: "./doc/保險合同變更申請書( 保險合同計劃變更類).pdf", 511 name: "Application for Change of Policy Form<br>(Policy Loan Repayment)",
519 }, 512 desc: "Policy loan",
520 { 513 download: "./doc/保險合同變更申請書( 保單貸款還款類).pdf",
521 name: "Application for Change of Policy Form<br>(Change of Customer Information)", 514 },
522 desc: "Basic Information Change", 515 {
523 download: "./doc/保險合同變更申請書( 客戶權益變更類).pdf", 516 name: "Application for Change of Policy Form<br>(Change of Policy)",
524 }, 517 desc: "Newly added premium, deducted premium",
525 { 518 download: "./doc/保險合同變更申請書( 保險合同計劃變更類).pdf",
526 name: "Application for Change of Policy Form<br>(Change of Beneficiary)", 519 },
527 desc: "Mode of payment, self-replacement and reissues", 520 {
528 download: "./doc/保險合同變更申請書( 客戶信息變更類).pdf", 521 name: "Application for Change of Policy Form<br>(Change of Customer Information)",
529 }, 522 desc: "Basic Information Change",
530 { 523 download: "./doc/保險合同變更申請書( 客戶權益變更類).pdf",
531 name: "Authorization Letter", 524 },
532 desc: "To authorize 3rd party to handle on behalf of policy owner", 525 {
533 download: "./doc/授權委托書.pdf", 526 name: "Application for Change of Policy Form<br>(Change of Beneficiary)",
534 }, 527 desc: "Mode of payment, self-replacement and reissues",
535 { 528 download: "./doc/保險合同變更申請書( 客戶信息變更類).pdf",
536 name: "Tax Statement",
537 desc: "CRS",
538 download: "./doc/稅收聲明.pdf",
539 },
540 {
541 name: "Health Declaration",
542 desc: "For underwriting purpose",
543 download: "./doc/健康告知.pdf",
544 }
545 ]
546 }, 529 },
547 { 530 {
548 type: "Claims", 531 name: "Authorization Letter",
549 list: [{ 532 desc: "To authorize 3rd party to handle on behalf of policy owner",
550 name: "Claims Form", 533 download: "./doc/授權委托書.pdf",
551 desc: "For written claims application",
552 download: "./doc/理賠申請書.pdf",
553 }]
554 }, 534 },
535 {
536 name: "Tax Statement",
537 desc: "CRS",
538 download: "./doc/稅收聲明.pdf",
539 },
540 {
541 name: "Health Declaration",
542 desc: "For underwriting purpose",
543 download: "./doc/健康告知.pdf",
544 }
545 ]
546 },
547 {
548 type: "Claims",
549 list: [{
550 name: "Claims Form",
551 desc: "For written claims application",
552 download: "./doc/理賠申請書.pdf",
553 }]
554 },
555 ] 555 ]
556 }, 556 },
557 policyChangeGuide: { 557 policyChangeGuide: {
...@@ -566,101 +566,101 @@ module.exports = { ...@@ -566,101 +566,101 @@ module.exports = {
566 head5: "Materials to be submitted", 566 head5: "Materials to be submitted",
567 download: "下載文檔", 567 download: "下載文檔",
568 form: [{ 568 form: [{
569 project: "Policy Surrender", 569 project: "Policy Surrender",
570 content: "Cancellation of contract after the cooling-off period, the company will refund the policy cash value", 570 content: "Cancellation of contract after the cooling-off period, the company will refund the policy cash value",
571 applicant: "Policy Owner", 571 applicant: "Policy Owner",
572 receptionTime: "Before Policy Expires", 572 receptionTime: "Before Policy Expires",
573 materialList: [{ 573 materialList: [{
574 name: "Policy", 574 name: "Policy",
575 },
576 {
577 name: "Application form",
578 type: 1,
579 },
580 {
581 name: "ID card of Policy Owner",
582 },
583 {
584 name: "Bank information",
585 }
586 ],
587 }, 575 },
588 { 576 {
589 project: "Policy Surrender within cool off period", 577 name: "Application form",
590 content: "If the contract is cancelled within the cooling-off period, the company will refund the entire premium without interest.", 578 type: 1,
591 applicant: "Policy Owner",
592 receptionTime: "Before cool off period",
593 materialList: [{
594 name: "Policy",
595 },
596 {
597 name: "Application form",
598 type: 1,
599 },
600 {
601 name: "ID card of Policy Owner",
602 },
603 {
604 name: "Bank information",
605 },
606 {
607 name: "First premium receipt",
608 }
609 ],
610 }, 579 },
611 { 580 {
612 project: "Change of Customer Information", 581 name: "ID card of Policy Owner",
613 projectType: 1,
614 path: "/custom/service",
615 query: {
616 q: "m43"
617 },
618 content: "Change of Policy Owner, Insured and Beneficiary informat",
619 applicant: "Policy Owner",
620 receptionTime: "Anytime",
621 materialList: [{
622 name: "Application form",
623 type: 1,
624 },
625 {
626 name: "Other necessary proving documents",
627 }
628 ],
629 }, 582 },
630 { 583 {
631 project: "Change of Contact Information", 584 name: "Bank information",
632 projectType: 1, 585 }
633 path: "/custom/service", 586 ],
634 query: { 587 },
635 q: "m42" 588 {
636 }, 589 project: "Policy Surrender within cool off period",
637 content: "Change of address, contact no.", 590 content: "If the contract is cancelled within the cooling-off period, the company will refund the entire premium without interest.",
638 applicant: "Policy Owner", 591 applicant: "Policy Owner",
639 receptionTime: "Anytime", 592 receptionTime: "Before cool off period",
640 materialList: [{ 593 materialList: [{
641 name: "Application form", 594 name: "Policy",
642 type: 1, 595 },
643 }, 596 {
644 { 597 name: "Application form",
645 name: "ID card of Policy Owner", 598 type: 1,
646 } 599 },
647 ], 600 {
601 name: "ID card of Policy Owner",
602 },
603 {
604 name: "Bank information",
648 }, 605 },
649 { 606 {
650 project: "Change of Payment Information", 607 name: "First premium receipt",
651 content: "Change of mode of payment or payement account", 608 }
652 applicant: "Policy Owner", 609 ],
653 // receptionTime: "Before the expiration of policy payment", 610 },
654 receptionTime: "Before the policy payment expiration date", 611 {
655 materialList: [{ 612 project: "Change of Customer Information",
656 name: "Application form", 613 projectType: 1,
657 type: 1, 614 path: "/custom/service",
658 }, 615 query: {
659 { 616 q: "m43"
660 name: "Policy",
661 }
662 ],
663 }, 617 },
618 content: "Change of Policy Owner, Insured and Beneficiary informat",
619 applicant: "Policy Owner",
620 receptionTime: "Anytime",
621 materialList: [{
622 name: "Application form",
623 type: 1,
624 },
625 {
626 name: "Other necessary proving documents",
627 }
628 ],
629 },
630 {
631 project: "Change of Contact Information",
632 projectType: 1,
633 path: "/custom/service",
634 query: {
635 q: "m42"
636 },
637 content: "Change of address, contact no.",
638 applicant: "Policy Owner",
639 receptionTime: "Anytime",
640 materialList: [{
641 name: "Application form",
642 type: 1,
643 },
644 {
645 name: "ID card of Policy Owner",
646 }
647 ],
648 },
649 {
650 project: "Change of Payment Information",
651 content: "Change of mode of payment or payement account",
652 applicant: "Policy Owner",
653 // receptionTime: "Before the expiration of policy payment",
654 receptionTime: "Before the policy payment expiration date",
655 materialList: [{
656 name: "Application form",
657 type: 1,
658 },
659 {
660 name: "Policy",
661 }
662 ],
663 },
664 ] 664 ]
665 }, 665 },
666 policyChangeContact: { 666 policyChangeContact: {
...@@ -791,7 +791,7 @@ module.exports = { ...@@ -791,7 +791,7 @@ module.exports = {
791 showMore: "Show all policies.", 791 showMore: "Show all policies.",
792 noPolicy: "You haven't bought any policy, if you have any questions please", 792 noPolicy: "You haven't bought any policy, if you have any questions please",
793 customService: " contact customer service", 793 customService: " contact customer service",
794 downloadClick:"Download", 794 downloadClick: "Download",
795 }, 795 },
796 unauth: { 796 unauth: {
797 m1: { 797 m1: {
...@@ -819,8 +819,9 @@ module.exports = { ...@@ -819,8 +819,9 @@ module.exports = {
819 }, 819 },
820 auth: { 820 auth: {
821 defaultTip: "You have not verified the customer information, please fill in the customer information provided at the time of insurance", 821 defaultTip: "You have not verified the customer information, please fill in the customer information provided at the time of insurance",
822 customService: " contact customer service", 822 customService: "customer service hotline",
823 notMatch: "The information is not match. Please check it. If you have any questions, you can", 823 notMatch: "The information provided did not match our record. Please contact",
824 notMatch2: " if you have any queries.",
824 } 825 }
825 }, 826 },
826 pagination: { 827 pagination: {
...@@ -863,8 +864,8 @@ module.exports = { ...@@ -863,8 +864,8 @@ module.exports = {
863 tip3: ".", 864 tip3: ".",
864 tip4: "", 865 tip4: "",
865 tip5: "Contact Customer Service Hotline", 866 tip5: "Contact Customer Service Hotline",
866 tip6 : "The policy acknowledgement has been done, to inquire about the policy information or download ePolicy, please click ", 867 tip6: "The policy acknowledgement has been done, to inquire about the policy information or download ePolicy, please click ",
867 tip7 : "Policy Enquiry" 868 tip7: "Policy Enquiry"
868 }, 869 },
869 clarms: { 870 clarms: {
870 title: "File a claim", 871 title: "File a claim",
......
...@@ -791,8 +791,9 @@ module.exports = { ...@@ -791,8 +791,9 @@ module.exports = {
791 }, 791 },
792 auth: { 792 auth: {
793 defaultTip: "您尚未驗證客戶資料,請填寫投保時提供的客戶資料", 793 defaultTip: "您尚未驗證客戶資料,請填寫投保時提供的客戶資料",
794 customService: " 聯繫客服", 794 customService: "客戶服務熱線",
795 notMatch: "您填寫的信息與公司留存信息不一致,請核對,如有疑問可", 795 notMatch: "您填寫的資訊與我們記錄不同,請重新核對,如有疑問,請致電",
796 notMatch2: "",
796 } 797 }
797 }, 798 },
798 pagination: { 799 pagination: {
......
...@@ -353,7 +353,7 @@ module.exports = { ...@@ -353,7 +353,7 @@ module.exports = {
353 e6: "您填写的证件号码有误", 353 e6: "您填写的证件号码有误",
354 e7: "您填写的信息有误,请核实后重新提交", 354 e7: "您填写的信息有误,请核实后重新提交",
355 }, 355 },
356 noPolicy: "对不起,您输入的数据与本公司的纪录不符,请重新输入。如需帮助可", 356 noPolicy: "您填写的信息与公司留存信息不一致,请核对,如有疑问可",
357 customService: "联系客服", 357 customService: "联系客服",
358 }, 358 },
359 index: { 359 index: {
...@@ -814,8 +814,9 @@ module.exports = { ...@@ -814,8 +814,9 @@ module.exports = {
814 }, 814 },
815 auth: { 815 auth: {
816 defaultTip: "您尚未验证客户资料,请填写投保时提供的客户资料", 816 defaultTip: "您尚未验证客户资料,请填写投保时提供的客户资料",
817 customService: "联系客服", 817 customService: "客服热线",
818 notMatch: "您填写的信息与公司留存信息不一致,请核对,如有疑问可", 818 notMatch: "您填写的信息与公司留存信息不一致,请核对,如有疑问可联系",
819 notMatch2: "",
819 } 820 }
820 }, 821 },
821 pagination: { 822 pagination: {
......
...@@ -144,6 +144,8 @@ export default { ...@@ -144,6 +144,8 @@ export default {
144 }, 144 },
145 methods: { 145 methods: {
146 initData() { 146 initData() {
147 sessionStorage.setItem("clarmsRequestCid", this.cid);
148
147 let typeSelectedStr = sessionStorage.getItem("clarmTypeSelect"); 149 let typeSelectedStr = sessionStorage.getItem("clarmTypeSelect");
148 sessionStorage.removeItem("clarmTypeSelect"); 150 sessionStorage.removeItem("clarmTypeSelect");
149 let clarmDataFormStr = sessionStorage.getItem("clarmDataForm"); 151 let clarmDataFormStr = sessionStorage.getItem("clarmDataForm");
......
...@@ -65,7 +65,20 @@ export default { ...@@ -65,7 +65,20 @@ export default {
65 }, 65 },
66 methods: { 66 methods: {
67 initData() { 67 initData() {
68 let dStr = sessionStorage.getItem("clarmsCheckForm");
69 sessionStorage.removeItem("clarmsCheckForm");
70 if (dStr) {
71 try {
72 let d = JSON.parse(dStr);
73 this.data = d;
74 } catch (e) {
68 75
76 }
77 }
78 },
79 cacheData() {
80 let d = JSON.stringify(this.data);
81 sessionStorage.setItem("clarmsCheckForm", d);
69 }, 82 },
70 checkDate(data) { 83 checkDate(data) {
71 this.birthdayIllegal = data.disable; 84 this.birthdayIllegal = data.disable;
...@@ -81,6 +94,7 @@ export default { ...@@ -81,6 +94,7 @@ export default {
81 }); 94 });
82 }, 95 },
83 toContactUs() { 96 toContactUs() {
97 this.cacheData();
84 this.$router.push({ 98 this.$router.push({
85 path: "/custom/service?q=m1" 99 path: "/custom/service?q=m1"
86 }); 100 });
...@@ -102,7 +116,6 @@ export default { ...@@ -102,7 +116,6 @@ export default {
102 httpPost({ url: api.clarmsCustomerList, data: { cid: cid } }).then(res => { 116 httpPost({ url: api.clarmsCustomerList, data: { cid: cid } }).then(res => {
103 this.loading = false; 117 this.loading = false;
104 if (res && res.insuredInfoList && res.insuredInfoList.length > 0) { 118 if (res && res.insuredInfoList && res.insuredInfoList.length > 0) {
105 sessionStorage.setItem("clarmsRequestCid", cid);
106 this.$emit("insuredInfoList", { cid: cid, list: res.insuredInfoList }); 119 this.$emit("insuredInfoList", { cid: cid, list: res.insuredInfoList });
107 } else { 120 } else {
108 this.showTips = true; 121 this.showTips = true;
......
...@@ -16,6 +16,7 @@ import { ...@@ -16,6 +16,7 @@ import {
16 export default { 16 export default {
17 data() { 17 data() {
18 return { 18 return {
19 loading: false,
19 showPolicy: true, 20 showPolicy: true,
20 key: 'value', 21 key: 'value',
21 hadLoadPolicy: false, 22 hadLoadPolicy: false,
...@@ -69,11 +70,11 @@ export default { ...@@ -69,11 +70,11 @@ export default {
69 sid: true 70 sid: true
70 }).then(res => { 71 }).then(res => {
71 this.hadLoadPolicy = true; 72 this.hadLoadPolicy = true;
72 if (!res || res.length == 0) {} else { 73 if (!res || res.length == 0) { } else {
73 this.$store.commit("CACHE_POLICY_LIST", res); 74 this.$store.commit("CACHE_POLICY_LIST", res);
74 this.checkIfShowPolicy(); 75 this.checkIfShowPolicy();
75 } 76 }
76 }).catch(e => {}); 77 }).catch(e => { });
77 } else { 78 } else {
78 this.checkIfShowPolicy(); 79 this.checkIfShowPolicy();
79 } 80 }
...@@ -85,7 +86,7 @@ export default { ...@@ -85,7 +86,7 @@ export default {
85 for (let index = 0; index < this.policyList.length; index++) { 86 for (let index = 0; index < this.policyList.length; index++) {
86 let policy = this.policyList[index]; 87 let policy = this.policyList[index];
87 if (policy.checkFlag == "Y") { 88 if (policy.checkFlag == "Y") {
88 // if (policy.checkFlag == "N") { // 体验弹窗 89 // if (policy.checkFlag == "N") { // 体验弹窗
89 continue; 90 continue;
90 } 91 }
91 if (this.ignorePolicyCodes.indexOf(policy.policyCode) >= 0) { 92 if (this.ignorePolicyCodes.indexOf(policy.policyCode) >= 0) {
...@@ -148,11 +149,14 @@ export default { ...@@ -148,11 +149,14 @@ export default {
148 // 确认保单按钮 149 // 确认保单按钮
149 handleConfirmPolicy() { 150 handleConfirmPolicy() {
150 if (this.policyDetail) { 151 if (this.policyDetail) {
152 if (this.loading) {
153 return;
154 }
155 this.loading = true;
151 let policyCode = this.policyDetail.policyCode; 156 let policyCode = this.policyDetail.policyCode;
152 this.ignorePolicyCodes.push(policyCode); 157 this.ignorePolicyCodes.push(policyCode);
153 sessionStorage.setItem("ignorePolicyCodes", JSON.stringify(this.ignorePolicyCodes)); 158 sessionStorage.setItem("ignorePolicyCodes", JSON.stringify(this.ignorePolicyCodes));
154 this.showSuccessTip = true; 159 // this.checkIfShowPolicy();
155 this.checkIfShowPolicy();
156 160
157 let params = { 161 let params = {
158 policyCode: policyCode 162 policyCode: policyCode
...@@ -162,8 +166,14 @@ export default { ...@@ -162,8 +166,14 @@ export default {
162 url: api.policyReceipt, 166 url: api.policyReceipt,
163 sid: true, 167 sid: true,
164 data: params 168 data: params
165 }).then(res => {}).catch(e => { 169 }).then(res => {
166 170 this.loading = false;
171 this.showSuccessTip = true;
172 this.checkIfShowPolicy();
173 }).catch(e => {
174 this.loading = false;
175 this.showDownloadError = true;
176 this.checkIfShowPolicy();
167 }); 177 });
168 178
169 } 179 }
......
...@@ -94,7 +94,10 @@ ...@@ -94,7 +94,10 @@
94 <span>{{$t('vhis.ymd3')}}{{$t('vhis.tip3')}}</span> 94 <span>{{$t('vhis.ymd3')}}{{$t('vhis.tip3')}}</span>
95 </div> 95 </div>
96 <div class="btn-wrap"> 96 <div class="btn-wrap">
97 <div class="submit-btn" @click="handleConfirmPolicy">{{$t('vhis.btn2')}}</div> 97 <div class="submit-btn flex-center " @click="handleConfirmPolicy">
98 <van-loading v-if="loading" />
99 {{$t('vhis.btn2')}}
100 </div>
98 <div class="submit-btn " @click="handleIgnorePolicy">{{$t('vhis.btn3')}}</div> 101 <div class="submit-btn " @click="handleIgnorePolicy">{{$t('vhis.btn3')}}</div>
99 </div> 102 </div>
100 <div class="flex-center contact"> 103 <div class="flex-center contact">
......
...@@ -107,12 +107,17 @@ ...@@ -107,12 +107,17 @@
107 </div> 107 </div>
108 <div class="flex-center validator authTip" v-if="errorModel == 2"> 108 <div class="flex-center validator authTip" v-if="errorModel == 2">
109 <div class="icon"><img src="@/assets/images/common/icon-notice.png" alt=""></div> 109 <div class="icon"><img src="@/assets/images/common/icon-notice.png" alt=""></div>
110 <div>{{$t('customService.auth.notMatch')}}&nbsp;<span class="contact pointer" @click="toContactUs">{{$t('customService.auth.customService')}}</span> 110 <div>{{$t('customService.auth.notMatch')}}&nbsp;
111 <span class="contact pointer" @click="toContactUs">{{$t('customService.auth.customService')}}</span>
112 &nbsp;{{$t('customService.auth.notMatch2')}}
111 </div> 113 </div>
112 </div> 114 </div>
113 <div class="flex-center validator authTip" v-if="errorModel == 3"> 115 <div class="flex-center validator authTip" v-if="errorModel == 3">
114 <div class="icon"><img src="@/assets/images/common/icon-notice.png" alt=""></div> 116 <div class="icon"><img src="@/assets/images/common/icon-notice.png" alt=""></div>
115 <div>{{$t('infomationImprove.noPolicy')}}&nbsp;<span class="contact pointer" @click="toContactUs">{{$t('infomationImprove.customService')}}</span> 117 <div>
118 {{$t('customService.auth.notMatch')}}&nbsp;
119 <span class="contact pointer" @click="toContactUs">{{$t('customService.auth.customService')}}</span>
120 &nbsp;{{$t('customService.auth.notMatch2')}}
116 </div> 121 </div>
117 </div> 122 </div>
118 123
......
...@@ -8,6 +8,7 @@ import { checkVerifyCode } from '@utils/utils.js'; ...@@ -8,6 +8,7 @@ import { checkVerifyCode } from '@utils/utils.js';
8 8
9 import modalComp from '@/components/modal-comp/modal-comp.vue'; 9 import modalComp from '@/components/modal-comp/modal-comp.vue';
10 import modalSimpleComp from '@/components/modal-simple-comp/modal-simple-comp.vue'; 10 import modalSimpleComp from '@/components/modal-simple-comp/modal-simple-comp.vue';
11 import Modal2Comp from '@/components/modal2-comp/modal2-comp.vue';
11 import { passwordEncrypt } from '@/utils/encrypt.js'; 12 import { passwordEncrypt } from '@/utils/encrypt.js';
12 import Vue from 'vue'; 13 import Vue from 'vue';
13 import { Loading } from 'vant'; 14 import { Loading } from 'vant';
...@@ -27,6 +28,7 @@ export default { ...@@ -27,6 +28,7 @@ export default {
27 remain: 0, // 剩余时间 28 remain: 0, // 剩余时间
28 tip: "" // 显示的文字 29 tip: "" // 显示的文字
29 }, 30 },
31 showError:false,
30 modalSimpleVisiable: false, 32 modalSimpleVisiable: false,
31 modalVisiable: false, 33 modalVisiable: false,
32 targetPath: "", 34 targetPath: "",
...@@ -291,6 +293,7 @@ export default { ...@@ -291,6 +293,7 @@ export default {
291 this.step4.error2 = ""; 293 this.step4.error2 = "";
292 this.step4.success = false; 294 this.step4.success = false;
293 this.type = 1; 295 this.type = 1;
296 this.showError = true;
294 return false; 297 return false;
295 default: 298 default:
296 return true; 299 return true;
...@@ -335,6 +338,7 @@ export default { ...@@ -335,6 +338,7 @@ export default {
335 created() { }, 338 created() { },
336 components: { 339 components: {
337 modalComp, 340 modalComp,
338 modalSimpleComp 341 modalSimpleComp,
342 Modal2Comp
339 } 343 }
340 } 344 }
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
3 <div> 3 <div>
4 <modal-comp :visible="modalVisiable" :show-confirm="false" :icon="modalIcon" :content="modalContent" :confirm="modalCallback" :overlay="modalCallback"></modal-comp> 4 <modal-comp :visible="modalVisiable" :show-confirm="false" :icon="modalIcon" :content="modalContent" :confirm="modalCallback" :overlay="modalCallback"></modal-comp>
5 <modal-simple-comp :visible="modalSimpleVisiable" :show-confirm="false" :icon="modalIcon" :content="modalContent" :confirm="closeModal" :overlay="closeModal" :close="closeModal"></modal-simple-comp> 5 <modal-simple-comp :visible="modalSimpleVisiable" :show-confirm="false" :icon="modalIcon" :content="modalContent" :confirm="closeModal" :overlay="closeModal" :close="closeModal"></modal-simple-comp>
6 <modal2-comp :visible="showError" :close="()=>{showError = false}" :content="$t('glbalTips.sessionLost')" ></modal2-comp>
6 <div class="ebg"></div> 7 <div class="ebg"></div>
7 <div class="content"> 8 <div class="content">
8 <div class="top-space"></div> 9 <div class="top-space"></div>
......