修复buglist 0210的5个bug
Showing
11 changed files
with
81 additions
and
16 deletions
| ... | @@ -350,7 +350,9 @@ module.exports = { | ... | @@ -350,7 +350,9 @@ module.exports = { |
| 350 | e5: "請填寫證件號碼", | 350 | e5: "請填寫證件號碼", |
| 351 | e6: "您填寫的證件號碼有誤", | 351 | e6: "您填寫的證件號碼有誤", |
| 352 | e7: "您填寫的信息有誤,請核實後重新提交", | 352 | e7: "您填寫的信息有誤,請核實後重新提交", |
| 353 | } | 353 | }, |
| 354 | noPolicy: "Sorry, the information you entered does not match our records. Please re-enter it. For help, please", | ||
| 355 | customService: "contact customer service hotline", | ||
| 354 | }, | 356 | }, |
| 355 | index: { | 357 | index: { |
| 356 | news: "新聞資訊", | 358 | news: "新聞資訊", |
| ... | @@ -845,7 +847,9 @@ module.exports = { | ... | @@ -845,7 +847,9 @@ module.exports = { |
| 845 | label3: "Document type", | 847 | label3: "Document type", |
| 846 | label4: "Identification Number", | 848 | label4: "Identification Number", |
| 847 | label5: "Birthday", | 849 | label5: "Birthday", |
| 848 | btn: "Apply now" | 850 | btn: "Apply now", |
| 851 | noPolicy: "Sorry, the information you entered does not match our records. Please re-enter it. For help, please", | ||
| 852 | customService: "contact customer service hotline", | ||
| 849 | }, | 853 | }, |
| 850 | step2: { | 854 | step2: { |
| 851 | label1: "I want to claim for", | 855 | label1: "I want to claim for", | ... | ... |
| ... | @@ -350,7 +350,9 @@ module.exports = { | ... | @@ -350,7 +350,9 @@ module.exports = { |
| 350 | e5: "請填寫證件號碼", | 350 | e5: "請填寫證件號碼", |
| 351 | e6: "您填寫的證件號碼有誤", | 351 | e6: "您填寫的證件號碼有誤", |
| 352 | e7: "您填寫的信息有誤,請核實後重新提交", | 352 | e7: "您填寫的信息有誤,請核實後重新提交", |
| 353 | } | 353 | }, |
| 354 | noPolicy: "對不起,您輸入的資料與本公司的紀錄不符,請重新輸入。如需幫助可", | ||
| 355 | customService: "聯繫客服", | ||
| 354 | }, | 356 | }, |
| 355 | index: { | 357 | index: { |
| 356 | news: "新聞資訊", | 358 | news: "新聞資訊", |
| ... | @@ -840,7 +842,9 @@ module.exports = { | ... | @@ -840,7 +842,9 @@ module.exports = { |
| 840 | label3: "證件類型", | 842 | label3: "證件類型", |
| 841 | label4: "證件號碼", | 843 | label4: "證件號碼", |
| 842 | label5: "出生日期", | 844 | label5: "出生日期", |
| 843 | btn: "立即申請" | 845 | btn: "立即申請", |
| 846 | noPolicy: "對不起,您輸入的資料與本公司的紀錄不符,請重新輸入。如需幫助可", | ||
| 847 | customService: "聯繫客服", | ||
| 844 | }, | 848 | }, |
| 845 | step2: { | 849 | step2: { |
| 846 | label1: "我想為", | 850 | label1: "我想為", | ... | ... |
| ... | @@ -350,7 +350,9 @@ module.exports = { | ... | @@ -350,7 +350,9 @@ module.exports = { |
| 350 | e5: "请填写证件号码", | 350 | e5: "请填写证件号码", |
| 351 | e6: "您填写的证件号码有误", | 351 | e6: "您填写的证件号码有误", |
| 352 | e7: "您填写的信息有误,请核实后重新提交", | 352 | e7: "您填写的信息有误,请核实后重新提交", |
| 353 | } | 353 | }, |
| 354 | noPolicy: "对不起,您输入的数据与本公司的纪录不符,请重新输入。如需帮助可", | ||
| 355 | customService: "联系客服", | ||
| 354 | }, | 356 | }, |
| 355 | index: { | 357 | index: { |
| 356 | news: "新闻资讯", | 358 | news: "新闻资讯", |
| ... | @@ -842,7 +844,9 @@ module.exports = { | ... | @@ -842,7 +844,9 @@ module.exports = { |
| 842 | label3: "证件类型", | 844 | label3: "证件类型", |
| 843 | label4: "证件号码", | 845 | label4: "证件号码", |
| 844 | label5: "出生日期", | 846 | label5: "出生日期", |
| 845 | btn: "立即申请" | 847 | btn: "立即申请", |
| 848 | noPolicy: "对不起,您输入的数据与本公司的纪录不符,请重新输入。如需帮助可", | ||
| 849 | customService: "联系客服", | ||
| 846 | }, | 850 | }, |
| 847 | step2: { | 851 | step2: { |
| 848 | label1: "我想为", | 852 | label1: "我想为", | ... | ... |
| ... | @@ -14,6 +14,29 @@ input { | ... | @@ -14,6 +14,29 @@ input { |
| 14 | color: #747474; | 14 | color: #747474; |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | .empty{ | ||
| 18 | flex: 1; | ||
| 19 | height: 30rem; | ||
| 20 | display: flex; | ||
| 21 | align-items: center; | ||
| 22 | justify-content: center; | ||
| 23 | |||
| 24 | .tips { | ||
| 25 | align-items: center; | ||
| 26 | display: flex; | ||
| 27 | |||
| 28 | .icon { | ||
| 29 | margin-right: 5px; | ||
| 30 | display: inline-block; | ||
| 31 | } | ||
| 32 | |||
| 33 | .btn { | ||
| 34 | color: $cOrange; | ||
| 35 | font-size: 1.166667rem; | ||
| 36 | } | ||
| 37 | } | ||
| 38 | } | ||
| 39 | |||
| 17 | .submit-btn{ | 40 | .submit-btn{ |
| 18 | background: url("~@assets/images/vhis/vhis-btn.png"); | 41 | background: url("~@assets/images/vhis/vhis-btn.png"); |
| 19 | background-size: 100% 100%; | 42 | background-size: 100% 100%; | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -59,8 +59,8 @@ | ... | @@ -59,8 +59,8 @@ |
| 59 | <div class="tips" v-if="showTips"> | 59 | <div class="tips" v-if="showTips"> |
| 60 | <img class="icon" src="@/assets/images/common/icon-alert-i.png" alt=""> | 60 | <img class="icon" src="@/assets/images/common/icon-alert-i.png" alt=""> |
| 61 | <div class="txt"> | 61 | <div class="txt"> |
| 62 | {{$t('customService.insuranceQuery.noPolicy')}} | 62 | {{$t('clarms.step1.noPolicy')}} |
| 63 | <span class="pointer btn" @click="toContactUs">{{$t('customService.insuranceQuery.customService')}}</span> | 63 | <span class="pointer btn" @click="toContactUs">{{$t('clarms.step1.customService')}}</span> |
| 64 | </div> | 64 | </div> |
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> | ... | ... |
| ... | @@ -27,7 +27,7 @@ import ClarmsMaterial from '@/components/clarms/clarms-plugins-material.vue'; | ... | @@ -27,7 +27,7 @@ import ClarmsMaterial from '@/components/clarms/clarms-plugins-material.vue'; |
| 27 | export default { | 27 | export default { |
| 28 | data() { | 28 | data() { |
| 29 | return { | 29 | return { |
| 30 | step: 0, // 1是表单;2是报案页面 | 30 | step: 0, // 1是表单;2是报案页面;3=信息不完整 |
| 31 | showModal1: false, | 31 | showModal1: false, |
| 32 | showModal2: false, | 32 | showModal2: false, |
| 33 | agress: false, | 33 | agress: false, |
| ... | @@ -77,7 +77,7 @@ export default { | ... | @@ -77,7 +77,7 @@ export default { |
| 77 | this.cid = res; | 77 | this.cid = res; |
| 78 | this.checkCid(); | 78 | this.checkCid(); |
| 79 | } else { | 79 | } else { |
| 80 | this.step = 1; | 80 | this.step = 3; |
| 81 | } | 81 | } |
| 82 | }).catch(e => { | 82 | }).catch(e => { |
| 83 | this.step = 1; | 83 | this.step = 1; |
| ... | @@ -88,13 +88,18 @@ export default { | ... | @@ -88,13 +88,18 @@ export default { |
| 88 | cid: this.cid | 88 | cid: this.cid |
| 89 | } | 89 | } |
| 90 | httpPost({ url: api.clarmsCustomerList, data: param }).then(res => { | 90 | httpPost({ url: api.clarmsCustomerList, data: param }).then(res => { |
| 91 | if (res && res.insuredInfoList && res.insuredInfoList.length > 0) { | 91 | sessionStorage.removeItem("clarmsRequestCid"); |
| 92 | if (res) { | ||
| 92 | this.customerList = res.insuredInfoList; | 93 | this.customerList = res.insuredInfoList; |
| 93 | this.step = 2; | 94 | this.step = 2; |
| 94 | } else { | ||
| 95 | sessionStorage.removeItem("clarmsRequestCid"); | ||
| 96 | this.step = 1; | ||
| 97 | } | 95 | } |
| 96 | // if (res && res.insuredInfoList && res.insuredInfoList.length > 0) { | ||
| 97 | // this.customerList = res.insuredInfoList; | ||
| 98 | // this.step = 2; | ||
| 99 | // } else { | ||
| 100 | // sessionStorage.removeItem("clarmsRequestCid"); | ||
| 101 | // this.step = 1; | ||
| 102 | // } | ||
| 98 | }).catch(e => { | 103 | }).catch(e => { |
| 99 | sessionStorage.removeItem("clarmsRequestCid"); | 104 | sessionStorage.removeItem("clarmsRequestCid"); |
| 100 | this.step = 1; | 105 | this.step = 1; |
| ... | @@ -113,6 +118,10 @@ export default { | ... | @@ -113,6 +118,10 @@ export default { |
| 113 | this.showModal2 = true; | 118 | this.showModal2 = true; |
| 114 | } | 119 | } |
| 115 | }, | 120 | }, |
| 121 | gotoInformationPage() { | ||
| 122 | let c = this.$route.fullPath; | ||
| 123 | this.$router.push({ path: "/infomation/improve", query: { c: c, a: 1 } }); | ||
| 124 | }, | ||
| 116 | logoutAction() { | 125 | logoutAction() { |
| 117 | this.sid = false; | 126 | this.sid = false; |
| 118 | this.hadQueryCustomerList = false; | 127 | this.hadQueryCustomerList = false; | ... | ... |
| 1 | 1 | ||
| 2 | <template> | 2 | <template> |
| 3 | |||
| 3 | <div> | 4 | <div> |
| 5 | <template v-if="step == 3"> | ||
| 6 | <div class="alert"> | ||
| 7 | <img class="icon" src="@/assets/images/common/icon-alert-i.png" alt=""> | ||
| 8 | <div class="txt"> | ||
| 9 | {{$t('customService.unauth.baseInfoTip')}} | ||
| 10 | <span class="pointer btn" @click="gotoInformationPage">{{$t('customService.unauth.infoBtn')}}</span> | ||
| 11 | {{$t('customService.unauth.baseInfoTail')}} | ||
| 12 | </div> | ||
| 13 | <!-- <img class="pointer close" src="@/assets/images/common/icon-alert-close.png" alt=""> --> | ||
| 14 | </div> | ||
| 15 | </template> | ||
| 4 | <clarms-modal-one v-if="showModal1" @close="showModal1 = false"></clarms-modal-one> | 16 | <clarms-modal-one v-if="showModal1" @close="showModal1 = false"></clarms-modal-one> |
| 5 | <clarms-modal-two v-if="showModal2" @close="showModal2 = false"></clarms-modal-two> | 17 | <clarms-modal-two v-if="showModal2" @close="showModal2 = false"></clarms-modal-two> |
| 6 | <div class="mobile-margin"> | 18 | <div class="mobile-margin"> | ... | ... |
| ... | @@ -169,6 +169,7 @@ export default { | ... | @@ -169,6 +169,7 @@ export default { |
| 169 | sid: true | 169 | sid: true |
| 170 | }).then(response => { | 170 | }).then(response => { |
| 171 | this.loading = false; | 171 | this.loading = false; |
| 172 | console.log(response); | ||
| 172 | if (response.returnCode == "0") { | 173 | if (response.returnCode == "0") { |
| 173 | this.errorModel = 0; | 174 | this.errorModel = 0; |
| 174 | let userInfo = JSON.parse(JSON.stringify(this.userInfo)); | 175 | let userInfo = JSON.parse(JSON.stringify(this.userInfo)); |
| ... | @@ -224,6 +225,9 @@ export default { | ... | @@ -224,6 +225,9 @@ export default { |
| 224 | // this.showModal(this.i18n.infomationImprove.errorTips.e7, "info"); | 225 | // this.showModal(this.i18n.infomationImprove.errorTips.e7, "info"); |
| 225 | this.errorTips.e5 = message; | 226 | this.errorTips.e5 = message; |
| 226 | break; | 227 | break; |
| 228 | case "-1": | ||
| 229 | this.errorModel = 3; | ||
| 230 | break; | ||
| 227 | case "0": | 231 | case "0": |
| 228 | message = this.i18n.infomationImprove.successMsg; | 232 | message = this.i18n.infomationImprove.successMsg; |
| 229 | let path = this.$route.query.c || "/"; | 233 | let path = this.$route.query.c || "/"; | ... | ... |
| ... | @@ -110,6 +110,11 @@ | ... | @@ -110,6 +110,11 @@ |
| 110 | <div>{{$t('customService.auth.notMatch')}} <span class="contact pointer" @click="toContactUs">{{$t('customService.auth.customService')}}</span> | 110 | <div>{{$t('customService.auth.notMatch')}} <span class="contact pointer" @click="toContactUs">{{$t('customService.auth.customService')}}</span> |
| 111 | </div> | 111 | </div> |
| 112 | </div> | 112 | </div> |
| 113 | <div class="flex-center validator authTip" v-if="errorModel == 3"> | ||
| 114 | <div class="icon"><img src="@/assets/images/common/icon-notice.png" alt=""></div> | ||
| 115 | <div>{{$t('infomationImprove.noPolicy')}} <span class="contact pointer" @click="toContactUs">{{$t('infomationImprove.customService')}}</span> | ||
| 116 | </div> | ||
| 117 | </div> | ||
| 113 | 118 | ||
| 114 | <div class="login-btn-wrap"> | 119 | <div class="login-btn-wrap"> |
| 115 | <div @click="onUpdateHandler()" class="login-submit pointer flex-center mr30" :class="{disabled: submitBtnDisabled}"> | 120 | <div @click="onUpdateHandler()" class="login-submit pointer flex-center mr30" :class="{disabled: submitBtnDisabled}"> | ... | ... |
| ... | @@ -7,8 +7,8 @@ | ... | @@ -7,8 +7,8 @@ |
| 7 | <div class="banner banner-pc"> | 7 | <div class="banner banner-pc"> |
| 8 | <swiper :options="swiperOption"> | 8 | <swiper :options="swiperOption"> |
| 9 | <swiper-slide v-for="(item,index) in bannerList" :key="index"> | 9 | <swiper-slide v-for="(item,index) in bannerList" :key="index"> |
| 10 | <!-- <img class="banner-img" :src="item.pcBannerUrl"> --> | 10 | <img class="banner-img" :src="item.pcBannerUrl"> |
| 11 | <img :src="require('@/assets/images/vhis/kv.png')"> | 11 | <!-- <img :src="require('@/assets/images/vhis/kv.png')"> --> |
| 12 | <div class="btn-wrap"> | 12 | <div class="btn-wrap"> |
| 13 | <div v-for="(btnItem, btnIndex) in item.btns" :key="btnIndex"> | 13 | <div v-for="(btnItem, btnIndex) in item.btns" :key="btnIndex"> |
| 14 | <div class="banner-btn" v-if="btnItem.n && btnItem.t && btnItem.c" @click="btnNavigateTo(btnItem.t,btnItem.l)" :style="{backgroundColor:btnItem.c}">{{btnItem.n}}</div> | 14 | <div class="banner-btn" v-if="btnItem.n && btnItem.t && btnItem.c" @click="btnNavigateTo(btnItem.t,btnItem.l)" :style="{backgroundColor:btnItem.c}">{{btnItem.n}}</div> | ... | ... |
-
Please register or sign in to post a comment