20200213buglist修复
Showing
6 changed files
with
57 additions
and
32 deletions
| ... | @@ -64,7 +64,7 @@ module.exports = { | ... | @@ -64,7 +64,7 @@ module.exports = { | 
| 64 | path: "/product/introduction", | 64 | path: "/product/introduction", | 
| 65 | list: [{ | 65 | list: [{ | 
| 66 | name: "VHIS", | 66 | name: "VHIS", | 
| 67 | path: "/vhis?p=VHIS001" | 67 | path: "/vhis/detail" | 
| 68 | }, | 68 | }, | 
| 69 | { | 69 | { | 
| 70 | name: "Insurance with Investment Focus", | 70 | name: "Insurance with Investment Focus", | ... | ... | 
| ... | @@ -65,7 +65,7 @@ module.exports = { | ... | @@ -65,7 +65,7 @@ module.exports = { | 
| 65 | path: "/product/introduction", | 65 | path: "/product/introduction", | 
| 66 | list: [{ | 66 | list: [{ | 
| 67 | name: "自願醫保計劃", | 67 | name: "自願醫保計劃", | 
| 68 | path: "/vhis?p=VHIS001" | 68 | path: "/vhis/detail" | 
| 69 | }, | 69 | }, | 
| 70 | { | 70 | { | 
| 71 | name: "投資成份保險", | 71 | name: "投資成份保險", | 
| ... | @@ -866,7 +866,7 @@ module.exports = { | ... | @@ -866,7 +866,7 @@ module.exports = { | 
| 866 | label12: "病歷資料", | 866 | label12: "病歷資料", | 
| 867 | label13: "選傳資料", | 867 | label13: "選傳資料", | 
| 868 | label14: "醫院診斷報告", | 868 | label14: "醫院診斷報告", | 
| 869 | label15: "索償人資料", | 869 | label15: "索償人賬戶資料", | 
| 870 | label16: "其他", | 870 | label16: "其他", | 
| 871 | label17: "授權聲明:", | 871 | label17: "授權聲明:", | 
| 872 | label18: "收集個人資料聲明:", | 872 | label18: "收集個人資料聲明:", | ... | ... | 
| ... | @@ -64,7 +64,7 @@ module.exports = { | ... | @@ -64,7 +64,7 @@ module.exports = { | 
| 64 | path: "/product/introduction", | 64 | path: "/product/introduction", | 
| 65 | list: [{ | 65 | list: [{ | 
| 66 | name: "自愿医保计划", | 66 | name: "自愿医保计划", | 
| 67 | path: "/vhis?p=VHIS001" | 67 | path: "/vhis/detail" | 
| 68 | }, | 68 | }, | 
| 69 | { | 69 | { | 
| 70 | name: "投资成份保险", | 70 | name: "投资成份保险", | 
| ... | @@ -868,7 +868,7 @@ module.exports = { | ... | @@ -868,7 +868,7 @@ module.exports = { | 
| 868 | label12: "病例资料", | 868 | label12: "病例资料", | 
| 869 | label13: "选传资料", | 869 | label13: "选传资料", | 
| 870 | label14: "医院诊断报告", | 870 | label14: "医院诊断报告", | 
| 871 | label15: "索偿人资料", | 871 | label15: "索偿人账户资料", | 
| 872 | label16: "其他", | 872 | label16: "其他", | 
| 873 | label17: "授权声明:", | 873 | label17: "授权声明:", | 
| 874 | label18: "收集个人资料声明:", | 874 | label18: "收集个人资料声明:", | ... | ... | 
| ... | @@ -49,7 +49,7 @@ export default { | ... | @@ -49,7 +49,7 @@ export default { | 
| 49 | agress: false, | 49 | agress: false, | 
| 50 | data: { | 50 | data: { | 
| 51 | insuredIndex: "", | 51 | insuredIndex: "", | 
| 52 | amount: 0, | 52 | amount: null, | 
| 53 | contactDate: "", | 53 | contactDate: "", | 
| 54 | // 必传资料 | 54 | // 必传资料 | 
| 55 | HT41: null, | 55 | HT41: null, | 
| ... | @@ -244,7 +244,8 @@ export default { | ... | @@ -244,7 +244,8 @@ export default { | 
| 244 | var time = new Date(this.data.contactDate.replace(/\-/g, "/") + " 00:00:00").getTime(); | 244 | var time = new Date(this.data.contactDate.replace(/\-/g, "/") + " 00:00:00").getTime(); | 
| 245 | for (let index = 0; index < insured.policyInfoList.length; index++) { | 245 | for (let index = 0; index < insured.policyInfoList.length; index++) { | 
| 246 | let policy = insured.policyInfoList[index]; | 246 | let policy = insured.policyInfoList[index]; | 
| 247 | if (policy.activeDate <= time && policy.expireDate >= time) { | 247 | // 有效期为生效日至满期日+60天 | 
| 248 | if (policy.activeDate <= time && policy.expireDate + 60 * 24 * 60 * 60 * 1000 >= time) { | ||
| 248 | return policy; | 249 | return policy; | 
| 249 | } | 250 | } | 
| 250 | } | 251 | } | 
| ... | @@ -253,7 +254,29 @@ export default { | ... | @@ -253,7 +254,29 @@ export default { | 
| 253 | } | 254 | } | 
| 254 | }, | 255 | }, | 
| 255 | watch: { | 256 | watch: { | 
| 256 | "data.insuredIndex": function () { | 257 | "data.insuredIndex": function (v, ov) { | 
| 258 | this.typeSelected = []; | ||
| 259 | |||
| 260 | let d = { | ||
| 261 | insuredIndex: this.data.insuredIndex, | ||
| 262 | amount: null, | ||
| 263 | contactDate: "", | ||
| 264 | // 必传资料 | ||
| 265 | HT41: null, | ||
| 266 | HT26: null, | ||
| 267 | // 非必传资料 | ||
| 268 | HT29: null, | ||
| 269 | HT34: null, | ||
| 270 | HT16: null, | ||
| 271 | |||
| 272 | // 是否正在上传 | ||
| 273 | HT41Uploading: false, | ||
| 274 | HT26Uploading: false, | ||
| 275 | HT29Uploading: false, | ||
| 276 | HT34Uploading: false, | ||
| 277 | HT16Uploading: false, | ||
| 278 | }; | ||
| 279 | this.$set(this, "data", d); | ||
| 257 | if (this.checkPolicy()) { | 280 | if (this.checkPolicy()) { | 
| 258 | this.policyIllegal = false; | 281 | this.policyIllegal = false; | 
| 259 | } else { | 282 | } else { | ... | ... | 
| ... | @@ -34,7 +34,7 @@ | ... | @@ -34,7 +34,7 @@ | 
| 34 | </div> | 34 | </div> | 
| 35 | <hr> | 35 | <hr> | 
| 36 | <div class="gird-g form default-mt"> | 36 | <div class="gird-g form default-mt"> | 
| 37 | <div class="pure-u-1 form-item-2"> | 37 | <div class="pure-u-1 form-item-2" v-if="data.insuredIndex"> | 
| 38 | <div class="label"> | 38 | <div class="label"> | 
| 39 | <div class="main-label"> | 39 | <div class="main-label"> | 
| 40 | {{$t('clarms.step2.label3')}} | 40 | {{$t('clarms.step2.label3')}} | 
| ... | @@ -72,7 +72,7 @@ | ... | @@ -72,7 +72,7 @@ | 
| 72 | </div> | 72 | </div> | 
| 73 | </div> | 73 | </div> | 
| 74 | 74 | ||
| 75 | <div class="pure-u-1 form-item-2 mt20"> | 75 | <div class="pure-u-1 form-item-2 mt20" v-if="typeSelected && typeSelected.length > 0"> | 
| 76 | <div class="label"> | 76 | <div class="label"> | 
| 77 | <div class="main-label"> | 77 | <div class="main-label"> | 
| 78 | {{$t('clarms.step2.label6')}} | 78 | {{$t('clarms.step2.label6')}} | 
| ... | @@ -89,7 +89,7 @@ | ... | @@ -89,7 +89,7 @@ | 
| 89 | </div> | 89 | </div> | 
| 90 | </div> | 90 | </div> | 
| 91 | 91 | ||
| 92 | <div class="pure-u-1 form-item-2 mt20"> | 92 | <div class="pure-u-1 form-item-2 mt20" v-if="data.amount && data.amount > 0"> | 
| 93 | <div class="label"> | 93 | <div class="label"> | 
| 94 | <div class="main-label"> | 94 | <div class="main-label"> | 
| 95 | {{$t('clarms.step2.label9')}} | 95 | {{$t('clarms.step2.label9')}} | 
| ... | @@ -103,32 +103,34 @@ | ... | @@ -103,32 +103,34 @@ | 
| 103 | </div> | 103 | </div> | 
| 104 | </div> | 104 | </div> | 
| 105 | 105 | ||
| 106 | <div class="pure-u-1 form-item-2 mt20"> | 106 | <template v-if="data.contactDate"> | 
| 107 | <div class="label"> | 107 | <div class="pure-u-1 form-item-2 mt20"> | 
| 108 | <div class="main-label"> | 108 | <div class="label"> | 
| 109 | {{$t('clarms.step2.label10')}} | 109 | <div class="main-label"> | 
| 110 | {{$t('clarms.step2.label10')}} | ||
| 111 | </div> | ||
| 112 | </div> | ||
| 113 | <div class="value"> | ||
| 114 | <clarms-upload :icon="require('@/assets/images/clarms/icon1.png')" :options="{name:$t('clarms.step2.label11'),imageTypeID:'HT41',imageMainTypeID:'HT11',toast:$t('clarms.step2.toast1')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 115 | <clarms-upload class="mt20" :icon="require('@/assets/images/clarms/icon2.png')" :options="{name:$t('clarms.step2.label12'),imageTypeID:'HT26',imageMainTypeID:'HT06',toast:$t('clarms.step2.toast2')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 110 | </div> | 116 | </div> | 
| 111 | </div> | 117 | </div> | 
| 112 | <div class="value"> | ||
| 113 | <clarms-upload :icon="require('@/assets/images/clarms/icon1.png')" :options="{name:$t('clarms.step2.label11'),imageTypeID:'HT41',imageMainTypeID:'HT11',toast:$t('clarms.step2.toast1')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 114 | <clarms-upload class="mt20" :icon="require('@/assets/images/clarms/icon2.png')" :options="{name:$t('clarms.step2.label12'),imageTypeID:'HT26',imageMainTypeID:'HT06',toast:$t('clarms.step2.toast2')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 115 | </div> | ||
| 116 | </div> | ||
| 117 | 118 | ||
| 118 | <div class="pure-u-1 form-item-2 mt20"> | 119 | <div class="pure-u-1 form-item-2 mt20"> | 
| 119 | <div class="label"> | 120 | <div class="label"> | 
| 120 | <div class="main-label"> | 121 | <div class="main-label"> | 
| 121 | {{$t('clarms.step2.label13')}} | 122 | {{$t('clarms.step2.label13')}} | 
| 123 | </div> | ||
| 124 | </div> | ||
| 125 | <div class="value"> | ||
| 126 | <clarms-upload :icon="require('@/assets/images/clarms/icon3.png')" :options="{name:$t('clarms.step2.label14'),imageTypeID:'HT29',imageMainTypeID:'HT06',toast:$t('clarms.step2.toast3')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 127 | <clarms-upload class="mt20" :icon="require('@/assets/images/clarms/icon4.png')" :options="{name:$t('clarms.step2.label15'),imageTypeID:'HT34',imageMainTypeID:'HT08',toast:$t('clarms.step2.toast4')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 128 | <clarms-upload class="mt20" :icon="require('@/assets/images/clarms/icon5.png')" :options="{name:$t('clarms.step2.label16'),imageTypeID:'HT16',imageMainTypeID:'HT03',toast:$t('clarms.step2.toast5')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 122 | </div> | 129 | </div> | 
| 123 | </div> | 130 | </div> | 
| 124 | <div class="value"> | 131 | </template> | 
| 125 | <clarms-upload :icon="require('@/assets/images/clarms/icon3.png')" :options="{name:$t('clarms.step2.label14'),imageTypeID:'HT29',imageMainTypeID:'HT06',toast:$t('clarms.step2.toast3')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 126 | <clarms-upload class="mt20" :icon="require('@/assets/images/clarms/icon4.png')" :options="{name:$t('clarms.step2.label15'),imageTypeID:'HT34',imageMainTypeID:'HT08',toast:$t('clarms.step2.toast4')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 127 | <clarms-upload class="mt20" :icon="require('@/assets/images/clarms/icon5.png')" :options="{name:$t('clarms.step2.label16'),imageTypeID:'HT16',imageMainTypeID:'HT03',toast:$t('clarms.step2.toast5')}" @success="uploadSuccess" @beforeUpload="beforeUpload"></clarms-upload> | ||
| 128 | </div> | ||
| 129 | </div> | ||
| 130 | </div> | 132 | </div> | 
| 131 | <hr> | 133 | <hr v-if="data.amount > 0"> | 
| 132 | <div class="bottom-tip orange mt20">{{$t('clarms.step2.label17')}}</div> | 134 | <div class="bottom-tip orange mt20">{{$t('clarms.step2.label17')}}</div> | 
| 133 | <div class="bottom-tip gray mt10">{{$t('clarms.step2.tip1')}}</div> | 135 | <div class="bottom-tip gray mt10">{{$t('clarms.step2.tip1')}}</div> | 
| 134 | 136 | ... | ... | 
| ... | @@ -34,7 +34,7 @@ | ... | @@ -34,7 +34,7 @@ | 
| 34 | Uploading{{item.tips}} | 34 | Uploading{{item.tips}} | 
| 35 | </div> | 35 | </div> | 
| 36 | <div class="clarms-img-mask mask-bg-2" v-if="item.err" @click="removeItem(index)"> | 36 | <div class="clarms-img-mask mask-bg-2" v-if="item.err" @click="removeItem(index)"> | 
| 37 | Uploading{{item.err}} | 37 | {{item.err}} | 
| 38 | </div> | 38 | </div> | 
| 39 | </div> | 39 | </div> | 
| 40 | </div> | 40 | </div> | ... | ... | 
- 
Please register or sign in to post a comment