Merge branch 'dev_claim' into dev

This commit is contained in:
wangmingzhe
2019-12-11 18:06:08 +08:00
2 changed files with 9 additions and 38 deletions

View File

@@ -263,11 +263,6 @@ export default {
next()
},
methods: {
appCallBack(data) {
if (data.trigger == 'left_button_click') {
localStorage.removeItem('claimId', 'applyId', 'insuranceId')
}
},
//判断是否由客户报案历史进入,客户信息反显
judge() {
if (this.from == 'ReportInfo') {
@@ -325,7 +320,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '申请信息',
title: '被保人信息',
hiddenRight: '1'
}
})
@@ -402,7 +397,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '申请信息',
title: '被保人信息',
hiddenRight: '1'
}
})
@@ -421,12 +416,15 @@ export default {
}
})
},
appCallBack() {
appCallBack(data) {
if (data.trigger == 'left_button_click') {
localStorage.removeItem('claimId', 'applyId', 'insuranceId')
}
// 筛选按钮的点击事件
this.$jump({
flag: 'navigation',
extra: {
title: '申请信息',
title: '被保人信息',
hiddenRight: '1'
}
})

View File

@@ -84,7 +84,6 @@
</template>
<script>
import UploadImageFile from '@/components/ebiz/sale/UploadImageFile'
import utilsAge from '@/assets/js/utils/age'
import { Cell, CellGroup, Collapse, CollapseItem, Dialog } from 'vant'
import { getToken, getSignInvalid, checkSignInvalid } from '@/api/ebiz/sale/sale'
import { progressDetail } from '@/api/ebiz/claims/claims'
@@ -158,6 +157,7 @@ export default {
} else {
this.progressDetail()
this.getSignInvalid() // 获取微信中token是否失效标识码
}
},
progressDetail() {
@@ -167,8 +167,8 @@ export default {
businessNo: localStorage.businessNo
}
progressDetail(data).then(res => {
console.log(res)
if (res.result == 0) {
console.log(res)
this.list = res.content
}
})
@@ -242,7 +242,6 @@ export default {
let that = this
if (this.isWeixin) {
localStorage.setItem('sign-val', val)
localStorage.setItem('applyerCertiType',this.list.applyerCertiType)
if (val == 3) {
if (that.list.applyerCertiType != '1') {
this.$jump({
@@ -255,36 +254,10 @@ export default {
}
})
} else {
//年龄小于18周岁时跳过人脸识别
this.age = utilsAge.getAge(this.list.applyerCertiCode, new Date())
localStorage.setItem("age",this.age)
if (this.age < 18) {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/claims/ClaimsSignature'
},
routerInfo: {
path: '/claims/ClaimsSignature'
}
})
} else {
this.typeface = !this.typeface
console.log("触发" + this.typeface)
this.idcardName = this.list.applyerName
this.idcardNumber = this.list.applyerCertiCode
}
// let data = {
// idcardName: that.list.applyerName,
// idcardNumber: that.list.applyerCertiCode
// }
// getToken(data).then(res => {
// if (res.result == '0') {
// localStorage.setItem('face-origin', '4')
// } else {
// this.$toast(res.resultMessage)
// }
// })
}
}
} else {