b3ebb2d5 by joe

加入四分申请书下载

1 parent 676900f3
No preview for this file type
No preview for this file type
...@@ -654,6 +654,7 @@ module.exports = { ...@@ -654,6 +654,7 @@ module.exports = {
654 { 654 {
655 name: "Application form", 655 name: "Application form",
656 type: 1, 656 type: 1,
657 download : "./doc/退保申請書(含冷静期退保).pdf"
657 }, 658 },
658 { 659 {
659 name: "ID card of Policy Owner", 660 name: "ID card of Policy Owner",
...@@ -674,6 +675,7 @@ module.exports = { ...@@ -674,6 +675,7 @@ module.exports = {
674 { 675 {
675 name: "Application form", 676 name: "Application form",
676 type: 1, 677 type: 1,
678 download : "./doc/退保申請書(含冷静期退保).pdf"
677 }, 679 },
678 { 680 {
679 name: "ID card of Policy Owner", 681 name: "ID card of Policy Owner",
...@@ -699,6 +701,7 @@ module.exports = { ...@@ -699,6 +701,7 @@ module.exports = {
699 materialList: [{ 701 materialList: [{
700 name: "Application form", 702 name: "Application form",
701 type: 1, 703 type: 1,
704 download : "./doc/更改個人資料申請書.pdf"
702 }, 705 },
703 { 706 {
704 name: "Other necessary proving documents", 707 name: "Other necessary proving documents",
...@@ -718,6 +721,7 @@ module.exports = { ...@@ -718,6 +721,7 @@ module.exports = {
718 materialList: [{ 721 materialList: [{
719 name: "Application form", 722 name: "Application form",
720 type: 1, 723 type: 1,
724 download : "./doc/更改聯絡資料申請書.pdf"
721 }, 725 },
722 { 726 {
723 name: "ID card of Policy Owner", 727 name: "ID card of Policy Owner",
...@@ -733,6 +737,7 @@ module.exports = { ...@@ -733,6 +737,7 @@ module.exports = {
733 materialList: [{ 737 materialList: [{
734 name: "Application form", 738 name: "Application form",
735 type: 1, 739 type: 1,
740 download : "./doc/保單更改申請書(缴费方式变更).pdf"
736 }, 741 },
737 { 742 {
738 name: "Policy", 743 name: "Policy",
......
...@@ -664,7 +664,8 @@ module.exports = { ...@@ -664,7 +664,8 @@ module.exports = {
664 }, 664 },
665 { 665 {
666 name: "申請書", 666 name: "申請書",
667 type: 1 667 type: 1,
668 download : "./doc/退保申請書(含冷静期退保).pdf"
668 }, 669 },
669 { 670 {
670 name: "投保人有效身份證件" 671 name: "投保人有效身份證件"
...@@ -684,7 +685,8 @@ module.exports = { ...@@ -684,7 +685,8 @@ module.exports = {
684 }, 685 },
685 { 686 {
686 name: "申請書", 687 name: "申請書",
687 type: 1 688 type: 1,
689 download : "./doc/退保申請書(含冷静期退保).pdf"
688 }, 690 },
689 { 691 {
690 name: "投保人有效身份證件" 692 name: "投保人有效身份證件"
...@@ -709,7 +711,8 @@ module.exports = { ...@@ -709,7 +711,8 @@ module.exports = {
709 receptionTime: "不限", 711 receptionTime: "不限",
710 materialList: [{ 712 materialList: [{
711 name: "申請書", 713 name: "申請書",
712 type: 1 714 type: 1,
715 download : "./doc/更改個人資料申請書.pdf"
713 }, 716 },
714 { 717 {
715 name: "必要的證明材料" 718 name: "必要的證明材料"
...@@ -728,7 +731,8 @@ module.exports = { ...@@ -728,7 +731,8 @@ module.exports = {
728 receptionTime: "不限", 731 receptionTime: "不限",
729 materialList: [{ 732 materialList: [{
730 name: "申請書", 733 name: "申請書",
731 type: 1 734 type: 1,
735 download : "./doc/更改聯絡資料申請書.pdf"
732 }, 736 },
733 { 737 {
734 name: "投保人有效身份證件" 738 name: "投保人有效身份證件"
...@@ -742,7 +746,8 @@ module.exports = { ...@@ -742,7 +746,8 @@ module.exports = {
742 receptionTime: "保單交費期滿前", 746 receptionTime: "保單交費期滿前",
743 materialList: [{ 747 materialList: [{
744 name: "申請書", 748 name: "申請書",
745 type: 1 749 type: 1,
750 download : "./doc/保單更改申請書(缴费方式变更).pdf"
746 }, 751 },
747 { 752 {
748 name: "保險單" 753 name: "保險單"
......
...@@ -665,7 +665,8 @@ module.exports = { ...@@ -665,7 +665,8 @@ module.exports = {
665 }, 665 },
666 { 666 {
667 name: "申请书", 667 name: "申请书",
668 type: 1 668 type: 1,
669 download : "./doc/退保申請書(含冷静期退保).pdf"
669 }, 670 },
670 { 671 {
671 name: "投保人有效身份证件" 672 name: "投保人有效身份证件"
...@@ -685,7 +686,8 @@ module.exports = { ...@@ -685,7 +686,8 @@ module.exports = {
685 }, 686 },
686 { 687 {
687 name: "申请书", 688 name: "申请书",
688 type: 1 689 type: 1,
690 download : "./doc/退保申請書(含冷静期退保).pdf"
689 }, 691 },
690 { 692 {
691 name: "投保人有效身份证件" 693 name: "投保人有效身份证件"
...@@ -710,7 +712,8 @@ module.exports = { ...@@ -710,7 +712,8 @@ module.exports = {
710 receptionTime: "不限", 712 receptionTime: "不限",
711 materialList: [{ 713 materialList: [{
712 name: "申请书", 714 name: "申请书",
713 type: 1 715 type: 1,
716 download : "./doc/更改個人資料申請書.pdf"
714 }, 717 },
715 { 718 {
716 name: "必要的证明材料" 719 name: "必要的证明材料"
...@@ -729,7 +732,8 @@ module.exports = { ...@@ -729,7 +732,8 @@ module.exports = {
729 receptionTime: "不限", 732 receptionTime: "不限",
730 materialList: [{ 733 materialList: [{
731 name: "申请书", 734 name: "申请书",
732 type: 1 735 type: 1,
736 download : "./doc/更改聯絡資料申請書.pdf"
733 }, 737 },
734 { 738 {
735 name: "投保人有效身份证件" 739 name: "投保人有效身份证件"
...@@ -743,7 +747,8 @@ module.exports = { ...@@ -743,7 +747,8 @@ module.exports = {
743 receptionTime: "保单交费期满前", 747 receptionTime: "保单交费期满前",
744 materialList: [{ 748 materialList: [{
745 name: "申请书", 749 name: "申请书",
746 type: 1 750 type: 1,
751 download : "./doc/保單更改申請書(缴费方式变更).pdf"
747 }, 752 },
748 { 753 {
749 name: "保险单" 754 name: "保险单"
......
...@@ -54,6 +54,12 @@ export default { ...@@ -54,6 +54,12 @@ export default {
54 } catch (e) { 54 } catch (e) {
55 55
56 } 56 }
57 },
58 downloadHandle(item){
59 console.log(item);
60 if (item.download) {
61 window.open(item.download);
62 }
57 } 63 }
58 }, 64 },
59 mounted() { 65 mounted() {
......
...@@ -42,8 +42,13 @@ ...@@ -42,8 +42,13 @@
42 <div class="ww w5"> 42 <div class="ww w5">
43 <div class="grid"> 43 <div class="grid">
44 <div class="material" :class="{'pointer':item2.type == 1}" v-for="(item2,index2) in item.materialList" :key="index2"> 44 <div class="material" :class="{'pointer':item2.type == 1}" v-for="(item2,index2) in item.materialList" :key="index2">
45 <img v-if="item2.type == 1" class="icon" src="@/assets/images/common-form/icon-cf-download.png" alt=""> 45 <template v-if="item2.type == 1">
46 <span :class="{'act':item2.type == 1}" v-html="item2.name">{{ item2.name }}</span> 46 <img @click="downloadHandle(item2)" class="icon" src="@/assets/images/common-form/icon-cf-download.png" alt="">
47 <span @click="downloadHandle(item2)" class="act" v-html="item2.name">{{ item2.name }}</span>
48 </template>
49 <template v-else>
50 <span v-html="item2.name">{{ item2.name }}</span>
51 </template>
47 </div> 52 </div>
48 </div> 53 </div>
49 </div> 54 </div>
......