86496ef5 by joe

1

1 parent 90a1c4d5
Showing 43 changed files with 64 additions and 30 deletions
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 12
13 <![endif]--> 13 <![endif]-->
14 <title>平安人寿保险官网</title> 14 <title>平安人寿保险官网</title>
15 <link href="static/js/0.1576033593271.js" rel="prefetch"><link href="static/js/1.1576033593271.js" rel="prefetch"><link href="static/js/10.1576033593271.js" rel="prefetch"><link href="static/js/11.1576033593271.js" rel="prefetch"><link href="static/js/12.1576033593271.js" rel="prefetch"><link href="static/js/13.1576033593271.js" rel="prefetch"><link href="static/js/14.1576033593271.js" rel="prefetch"><link href="static/js/15.1576033593271.js" rel="prefetch"><link href="static/js/16.1576033593271.js" rel="prefetch"><link href="static/js/17.1576033593271.js" rel="prefetch"><link href="static/js/18.1576033593271.js" rel="prefetch"><link href="static/js/19.1576033593271.js" rel="prefetch"><link href="static/js/2.1576033593271.js" rel="prefetch"><link href="static/js/20.1576033593271.js" rel="prefetch"><link href="static/js/21.1576033593271.js" rel="prefetch"><link href="static/js/22.1576033593271.js" rel="prefetch"><link href="static/js/3.1576033593271.js" rel="prefetch"><link href="static/js/4.1576033593271.js" rel="prefetch"><link href="static/js/5.1576033593271.js" rel="prefetch"><link href="static/js/6.1576033593271.js" rel="prefetch"><link href="static/js/7.1576033593271.js" rel="prefetch"><link href="static/js/8.1576033593271.js" rel="prefetch"><link href="static/js/9.1576033593271.js" rel="prefetch"><link href="static/js/app.1576033593271.js" rel="preload" as="script"></head> 15 <link href="static/js/0.1576053098213.js" rel="prefetch"><link href="static/js/1.1576053098213.js" rel="prefetch"><link href="static/js/10.1576053098213.js" rel="prefetch"><link href="static/js/11.1576053098213.js" rel="prefetch"><link href="static/js/12.1576053098213.js" rel="prefetch"><link href="static/js/13.1576053098213.js" rel="prefetch"><link href="static/js/14.1576053098213.js" rel="prefetch"><link href="static/js/15.1576053098213.js" rel="prefetch"><link href="static/js/16.1576053098213.js" rel="prefetch"><link href="static/js/17.1576053098213.js" rel="prefetch"><link href="static/js/18.1576053098213.js" rel="prefetch"><link href="static/js/19.1576053098213.js" rel="prefetch"><link href="static/js/2.1576053098213.js" rel="prefetch"><link href="static/js/20.1576053098213.js" rel="prefetch"><link href="static/js/21.1576053098213.js" rel="prefetch"><link href="static/js/22.1576053098213.js" rel="prefetch"><link href="static/js/3.1576053098213.js" rel="prefetch"><link href="static/js/4.1576053098213.js" rel="prefetch"><link href="static/js/5.1576053098213.js" rel="prefetch"><link href="static/js/6.1576053098213.js" rel="prefetch"><link href="static/js/7.1576053098213.js" rel="prefetch"><link href="static/js/8.1576053098213.js" rel="prefetch"><link href="static/js/9.1576053098213.js" rel="prefetch"><link href="static/js/app.1576053098213.js" rel="preload" as="script"></head>
16 16
17 <body> 17 <body>
18 <noscript> 18 <noscript>
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
22 <div id="app"></div> 22 <div id="app"></div>
23 <!-- built files will be auto injected --> 23 <!-- built files will be auto injected -->
24 <script src="./js/unionrsa.js"></script> 24 <script src="./js/unionrsa.js"></script>
25 <script type="text/javascript" src="static/js/app.1576033593271.js"></script></body> 25 <script type="text/javascript" src="static/js/app.1576053098213.js"></script></body>
26 26
27 </html> 27 </html>
......
...@@ -528,7 +528,7 @@ module.exports = { ...@@ -528,7 +528,7 @@ module.exports = {
528 download: "下載文檔", 528 download: "下載文檔",
529 form: [{ 529 form: [{
530 project: "退保", 530 project: "退保",
531 content: "在猶豫期後解除合同,公司將退還保單現金價值或未滿期凈保費。(待產品精算確認)", 531 content: "在冷靜期後解除合同,公司將退還保單現金價值或未滿期凈保費。(待產品精算確認)",
532 applicant: "投保人", 532 applicant: "投保人",
533 receptionTime: "保單效力終止前", 533 receptionTime: "保單效力終止前",
534 materialList: [{ 534 materialList: [{
...@@ -547,10 +547,10 @@ module.exports = { ...@@ -547,10 +547,10 @@ module.exports = {
547 ], 547 ],
548 }, 548 },
549 { 549 {
550 project: "猶豫期退保", 550 project: "冷靜期退保",
551 content: "在猶豫期內提出解除合同,公司會無息退還全部保費", 551 content: "在冷靜期內提出解除合同,公司會無息退還全部保費",
552 applicant: "投保人", 552 applicant: "投保人",
553 receptionTime: "猶豫期結束前", 553 receptionTime: "冷靜期結束前",
554 materialList: [{ 554 materialList: [{
555 name: "保險單", 555 name: "保險單",
556 }, 556 },
...@@ -762,7 +762,7 @@ module.exports = { ...@@ -762,7 +762,7 @@ module.exports = {
762 }, 762 },
763 pagination: { 763 pagination: {
764 firstPage: "第一頁", 764 firstPage: "第一頁",
765 lastPage: "下一頁", 765 nextPage: "下一頁",
766 goto: "跳轉", 766 goto: "跳轉",
767 per: "第", 767 per: "第",
768 page: "頁" 768 page: "頁"
......
...@@ -528,7 +528,7 @@ module.exports = { ...@@ -528,7 +528,7 @@ module.exports = {
528 download: "下载文档", 528 download: "下载文档",
529 form: [{ 529 form: [{
530 project: "退保", 530 project: "退保",
531 content: "在犹豫期后解除合同,公司将退还保单现金价值或未满期净保费。(待产品精算确认)", 531 content: "在冷静期后解除合同,公司将退还保单现金价值或未满期净保费。(待产品精算确认)",
532 applicant: "投保人", 532 applicant: "投保人",
533 receptionTime: "保单效力终止前", 533 receptionTime: "保单效力终止前",
534 materialList: [{ 534 materialList: [{
...@@ -547,10 +547,10 @@ module.exports = { ...@@ -547,10 +547,10 @@ module.exports = {
547 ], 547 ],
548 }, 548 },
549 { 549 {
550 project: "犹豫期退保", 550 project: "冷静期退保",
551 content: "在犹豫期内提出解除合同,公司会无息退还全部保费", 551 content: "在冷静期内提出解除合同,公司会无息退还全部保费",
552 applicant: "投保人", 552 applicant: "投保人",
553 receptionTime: "犹豫期结束前", 553 receptionTime: "冷静期结束前",
554 materialList: [{ 554 materialList: [{
555 name: "保险单", 555 name: "保险单",
556 }, 556 },
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 2
3 3
4 input::-webkit-input-placeholder {
5 color: #494949;
6 }
7
8 textarea::-webkit-input-placeholder {
9 color: #494949;
10 }
4 11
5 .top-space { 12 .top-space {
6 // height: 4.25rem; 13 // height: 4.25rem;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 <div class="icon"><img src="@/assets/images/reservation/icon-re-name.png"></div> {{$t('complaintAcceptance.name')}} 11 <div class="icon"><img src="@/assets/images/reservation/icon-re-name.png"></div> {{$t('complaintAcceptance.name')}}
12 </div> 12 </div>
13 <div class="ipt-wrap"> 13 <div class="ipt-wrap">
14 <input :placeholder="$t('complaintAcceptance.namePlaceholder')" class="ipt name-ipt" type="text" :class="{err : errorTips.nameErr.length > 0}" v-model="data.name"> 14 <input class="ipt name-ipt" type="text" :class="{err : errorTips.nameErr.length > 0}" v-model="data.name">
15 </div> 15 </div>
16 <div class="validator" v-if="errorTips.nameErr.length > 0"> 16 <div class="validator" v-if="errorTips.nameErr.length > 0">
17 <img src="@/assets/images/common/icon-notice.png" alt="">{{errorTips.nameErr}} 17 <img src="@/assets/images/common/icon-notice.png" alt="">{{errorTips.nameErr}}
......
...@@ -229,7 +229,6 @@ ...@@ -229,7 +229,6 @@
229 </template> 229 </template>
230 230
231 <template v-else> 231 <template v-else>
232 <div style="height:500px"></div>
233 </template> 232 </template>
234 </div> 233 </div>
235 </div> 234 </div>
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
62 {{$t("policyChangeContact.submit")}} 62 {{$t("policyChangeContact.submit")}}
63 </div> 63 </div>
64 </div> 64 </div>
65 <div v-else style="height:400px"></div> 65 <!-- <div v-else style="height:400px"></div> -->
66 </template> 66 </template>
67 </div> 67 </div>
68 </template> 68 </template>
......
...@@ -69,6 +69,10 @@ export default { ...@@ -69,6 +69,10 @@ export default {
69 this.modalVisiable = false; 69 this.modalVisiable = false;
70 }, 70 },
71 loadData() { 71 loadData() {
72 if (this.isOwner && this.data) {
73 return;
74 }
75
72 if (this.loading) { 76 if (this.loading) {
73 return; 77 return;
74 } 78 }
...@@ -142,12 +146,8 @@ export default { ...@@ -142,12 +146,8 @@ export default {
142 } 146 }
143 }, 147 },
144 handleUpdatePolicyWithFile(data) { 148 handleUpdatePolicyWithFile(data) {
145 console.log("handleUpdatePolicyWithFile");
146 this.idFront = data.front; 149 this.idFront = data.front;
147 this.idBack = data.back; 150 this.idBack = data.back;
148 console.log(data)
149 console.log(this.idFront)
150 console.log(this.idBack)
151 this.updatePolicyIdPic().then(() => { 151 this.updatePolicyIdPic().then(() => {
152 this.updatePolicyInfo(); 152 this.updatePolicyInfo();
153 }); 153 });
...@@ -161,9 +161,13 @@ export default { ...@@ -161,9 +161,13 @@ export default {
161 delete param.birthday; 161 delete param.birthday;
162 delete param.sex; 162 delete param.sex;
163 param.modifyObj = this.isOwner ? 1 : 2; 163 param.modifyObj = this.isOwner ? 1 : 2;
164 param.policyId = this.selectedPolicies[0].id; 164 let policies = [];
165 param.policyCode = this.selectedPolicies[0].code; 165
166 this.selectedPolicies.forEach(element => {
167 policies.push({ policyId: element.id, policyCode: element.code });
168 });
166 169
170 param.policies = policies;
167 httpPost({ url: api.updatePolicyInfo, data: param, sid: true }).then(res => { 171 httpPost({ url: api.updatePolicyInfo, data: param, sid: true }).then(res => {
168 this.loading = false; 172 this.loading = false;
169 this.showModal(this.i18n.policyChangeInformation.success); 173 this.showModal(this.i18n.policyChangeInformation.success);
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 </div> 16 </div>
17 </div> 17 </div>
18 18
19 <policy-head-list :multiSelectable="false" @onSelect="handlePolicySelect" :model="'checkbox'"></policy-head-list> 19 <policy-head-list :multiSelectable="isOwner" @onSelect="handlePolicySelect" :model="'checkbox'"></policy-head-list>
20 <div class="container border" v-if="selectedPolicies.length > 0 && data"> 20 <div class="container border" v-if="selectedPolicies.length > 0 && data">
21 <div class="table"> 21 <div class="table">
22 <div class="table-header orange"> 22 <div class="table-header orange">
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
150 </div> 150 </div>
151 </div> 151 </div>
152 </div> 152 </div>
153 <div v-else style="height:400px"></div> 153 <!-- <div v-else style="height:400px"></div> -->
154 </template> 154 </template>
155 </div> 155 </div>
156 156
......
...@@ -99,6 +99,17 @@ export default { ...@@ -99,6 +99,17 @@ export default {
99 } catch (e) { 99 } catch (e) {
100 100
101 } 101 }
102 if (!selectPolicy) {
103 let firstPolicy = this.myPolicyList[0];
104 this.myPolicyList[0].activity = true;
105 selectPolicy = { id: firstPolicy.policyId, code: firstPolicy.policyCode };
106 if (this.multiSelectable) {
107 this.selectPolicyCodes[selectPolicy.code] = selectPolicy;
108 } else {
109 this.selectPolicyCode = selectPolicy.code;
110 }
111 this.$emit("onSelect", [selectPolicy]);
112 }
102 }, 113 },
103 handlePolicySelect(item, index) { 114 handlePolicySelect(item, index) {
104 let code = item.policyCode; 115 let code = item.policyCode;
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 .container { 2 .list-container {
3 overflow-x: scroll; 3 overflow-x: scroll;
4 padding-bottom: 2rem;
4 } 5 }
5 .cell-group { 6 .cell-group {
6 margin-bottom: 1rem; 7 margin-bottom: 1rem;
......
1 <template> 1 <template>
2 <div class="container"> 2 <div class="list-container">
3 <div class="cell-group"> 3 <div class="cell-group">
4 <div class="table-header orange"> 4 <div class="table-header orange">
5 <div class="normal-header"> 5 <div class="normal-header">
......
...@@ -7,6 +7,14 @@ input { ...@@ -7,6 +7,14 @@ input {
7 color: #333333; 7 color: #333333;
8 } 8 }
9 9
10 input::-webkit-input-placeholder {
11 color: #494949;
12 }
13
14 textarea::-webkit-input-placeholder {
15 color: #494949;
16 }
17
10 .top-space {} 18 .top-space {}
11 19
12 .reservation-container { 20 .reservation-container {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 <div class="icon"><img src="@/assets/images/reservation/icon-re-name.png"></div> {{$t('reservation.name')}} 11 <div class="icon"><img src="@/assets/images/reservation/icon-re-name.png"></div> {{$t('reservation.name')}}
12 </div> 12 </div>
13 <div class="ipt-wrap"> 13 <div class="ipt-wrap">
14 <input :placeholder="$t('reservation.namePlaceholder')" class="ipt" :class="{err : errorTips.e1.length > 0}" type="text" v-model="data.name"> 14 <input class="ipt" :class="{err : errorTips.e1.length > 0}" type="text" v-model="data.name">
15 </div> 15 </div>
16 <div class="validator" v-if="errorTips.e1.length > 0"> 16 <div class="validator" v-if="errorTips.e1.length > 0">
17 <img src="@/assets/images/common/icon-notice.png" alt="">{{errorTips.e1}} 17 <img src="@/assets/images/common/icon-notice.png" alt="">{{errorTips.e1}}
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 2
3 .content { 3 .content {
4 padding-bottom: 8.5rem; 4 // padding-bottom: 8.5rem;
5 padding-bottom: 2.33rem;
5 } 6 }
6 7
7 .box { 8 .box {
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 2
3 .content { 3 .content {
4 padding-bottom: 8.5rem; 4 // padding-bottom: 8.5rem;
5 padding-bottom: 2.33rem;
5 } 6 }
6 7
7 .box { 8 .box {
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 2
3 .content { 3 .content {
4 padding-bottom: 8.5rem; 4 // padding-bottom: 8.5rem;
5 padding-bottom: 2.33rem;
5 } 6 }
6 7
7 .box { 8 .box {
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 2
3 .content { 3 .content {
4 padding-bottom: 8.5rem; 4 padding-bottom: 2.33rem;
5 } 5 }
6 6
7 .box { 7 .box {
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 2
3 .content { 3 .content {
4 padding-bottom: 8.5rem; 4 // padding-bottom: 8.5rem;
5 padding-bottom: 2.33rem;
5 } 6 }
6 7
7 .box { 8 .box {
......