mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 20:42:52 +08:00
修复理赔申请二次提交无id问题,出险信息页添加地址拼接字段
This commit is contained in:
@@ -118,7 +118,14 @@
|
||||
<van-field :value="userInfo.mandatorCertiType | idToText('lpIdType')" readonly label="证件类型" />
|
||||
<van-field :value="userInfo.mandatorCertiCode" readonly label="证件号码" />
|
||||
<van-field :value="userInfo.agentItem | idToText('needTodo')" readonly label="代办事项" />
|
||||
<van-field v-model="userInfo.days" label="委托日期(自申请日期起算)" required center clearable placeholder="请输入天数"/>
|
||||
<van-field
|
||||
v-model="userInfo.days"
|
||||
label="委托日期(自申请日期起算)"
|
||||
required
|
||||
center
|
||||
clearable
|
||||
placeholder="请输入天数"
|
||||
/>
|
||||
</van-cell-group>
|
||||
|
||||
<!-- 地区选择 -->
|
||||
@@ -245,12 +252,15 @@ export default {
|
||||
isInsureOther: null, //新增是否购买过其他公司保险
|
||||
otherCompany: '', //新增其他公司保险名称(非必填)
|
||||
accidentAddress: '', //出险地点
|
||||
|
||||
accAddressInfo:'',//出险地点的字符串拼接
|
||||
|
||||
caseDesc: '', //事故经过
|
||||
mandatorName: '', //受托人姓名
|
||||
mandatorCertiType: '', //证件类型
|
||||
mandatorCertiCode: '', //证件号码
|
||||
agentItem: '01', //代办事项
|
||||
days:'',//新增委托天数
|
||||
days: '', //新增委托天数
|
||||
businessNo: '', //业务号码
|
||||
id: ''
|
||||
}
|
||||
@@ -264,9 +274,7 @@ export default {
|
||||
this.userInfo.mandatorName = userModel.name
|
||||
this.userInfo.mandatorCertiType = userModel.idType
|
||||
this.userInfo.mandatorCertiCode = userModel.idno
|
||||
if(localStorage.insuranceId){
|
||||
this.id = localStorage.getItem('insuranceId')
|
||||
}
|
||||
|
||||
// //受托人证件类型
|
||||
// switch (this.idType) {
|
||||
// case '身份证':
|
||||
@@ -366,12 +374,18 @@ export default {
|
||||
//区域选择
|
||||
sureArea(area, type) {
|
||||
this.areaName = getAreaName(area)
|
||||
|
||||
//这个后端需要,后面可能删掉
|
||||
this.accAddressInfo = area[0].name + area[1].name + area[2].name
|
||||
;[this.userInfo.accProvince, this.userInfo.accCity, this.userInfo.accCounty] = [area[0].code, area[1].code, area[2].code]
|
||||
this.areaShow = false
|
||||
},
|
||||
|
||||
nextStep() {
|
||||
console.log(this.userInfo)
|
||||
if (localStorage.insuranceId) {
|
||||
this.id = localStorage.getItem('insuranceId')
|
||||
}
|
||||
this.$validator.validate().then(valid => {
|
||||
if (true === valid) {
|
||||
switch (this.cause) {
|
||||
|
||||
@@ -587,9 +587,6 @@ export default {
|
||||
this.chargeList = DataDictionary.chargeList
|
||||
// 筛选按钮的点击事件
|
||||
window.appCallBack = this.appCallBack
|
||||
if(localStorage.applyId){
|
||||
this.id = localStorage.getItem('applyId')
|
||||
}
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
@@ -1003,6 +1000,9 @@ export default {
|
||||
},
|
||||
save() {
|
||||
console.log(this.userInfo)
|
||||
if (localStorage.applyId) {
|
||||
this.id = localStorage.getItem('applyId')
|
||||
}
|
||||
let that = this
|
||||
// switch (this.isPettyCase) {
|
||||
// case '0':
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="insured-info-container">
|
||||
<van-cell-group>
|
||||
<van-cell-group class="pb60">
|
||||
<p class="h10 bg-gray-base"></p>
|
||||
<div style="border-bottom: 1px solid #ebedf0" class="flex justify-content-s">
|
||||
<p class="fwb fs15 pl10 pv12">基本信息</p>
|
||||
@@ -252,9 +252,6 @@ export default {
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
// 筛选按钮的点击事件
|
||||
window.appCallBack = this.appCallBack
|
||||
if(localStorage.claimId){
|
||||
this.id = localStorage.getItem('claimId')
|
||||
}
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
@@ -503,6 +500,9 @@ export default {
|
||||
|
||||
save() {
|
||||
console.log(this.userInfo)
|
||||
if (localStorage.claimId) {
|
||||
this.id = localStorage.getItem('claimId')
|
||||
}
|
||||
localStorage.setItem('insuredBirthday', this.userInfo.insuredBirthday)
|
||||
this.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
required
|
||||
readonly
|
||||
v-validate="'required'"
|
||||
placeholder="请选择地址"
|
||||
placeholder="请选择地点"
|
||||
@click="areaShow = true"
|
||||
/>
|
||||
<van-field v-model="accAddress" required center label="详细地址" clearable placeholder="请输入详细地址" />
|
||||
|
||||
Reference in New Issue
Block a user