This commit is contained in:
邓晓坤
2019-09-25 21:21:46 +08:00
parent 2fb84751cf
commit c7f27e454a

View File

@@ -352,6 +352,7 @@ export default {
this.appnt = res.orderDTO.appntDTO
this.date = res.orderDTO.orderInfoDTO.appntDateLabel
// debugger
console.log(res.orderDTO.signDTOS,'xxxx')
res.orderDTO.signDTOS.map(item => {
if (item.signType == '0') {
this.appntSign = item
@@ -376,6 +377,7 @@ export default {
// 人脸识别
start_ocr(val) {
let that = this
// window.localStorage.setItem('sign-insured', JSON.stringify(that.insuredSign))
// console.log(window.localStorage.getItem('sign-insured'))
if (this.isWeixin) {
@@ -433,10 +435,13 @@ export default {
}
}
} else {
if (val == '0' || val == '2') {
window.localStorage.setItem('sign-val', val)
window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign))
if (this.saleInsuredInfo.idType != '1' || this.saleInsuredInfo.age <= '16') {
console.log("zzz")
this.$jump({
flag: 'h5',
extra: {
@@ -457,8 +462,11 @@ export default {
console.log('--跳过人脸识别--返回识别成功')
resolve(JSON.stringify({ state: '1' }))
}).then(data => {
if (JSON.parse(data).state == '1') {
console.log(that.appntSign,'zzzzzzz')
if (that.appntSign.readStatus == '0') {
console.log('--跳过人脸识别--返回识别成功zzzzzzzzzz')
this.$jump({
flag: 'h5',
extra: {
@@ -692,7 +700,7 @@ export default {
message: '加载中……'
})
let data = {
orderNo: '8186270000000036'
orderNo: this.$route.query.orderNo
}
getOrderDetail(data).then(res => {
if (res.result == '0') {