mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 16:26:44 +08:00
提交1108不上线的回执和分享
This commit is contained in:
@@ -77,9 +77,9 @@
|
||||
</div>
|
||||
</van-collapse>
|
||||
<!-- 2019-09-27 版上线不含“回执签收” marked by panglizong on 2019-09-26 -->
|
||||
<div class="bottom-btn bg-white">
|
||||
<!-- <div class="bottom-btn bg-white">
|
||||
<van-button type="danger" size="large" @click="next" v-if="OrderInfoDTO.orderStatus == '0'" v-no-more-click="1000">回执签收</van-button>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -226,52 +226,52 @@ export default {
|
||||
pageData[key + 'Text'] = item.text //渲染页面使用的字段
|
||||
}
|
||||
})
|
||||
},
|
||||
// 回执签收
|
||||
next() {
|
||||
EWebBridge.webCallAppInJs('face_auth', {
|
||||
number: this.appntDTO.idNo, //身份证号码
|
||||
name: this.appntDTO.name //姓名
|
||||
}).then(data => {
|
||||
this.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
forbidClick: true, // 禁用背景点击
|
||||
loadingType: 'spinner',
|
||||
message: '加载中……'
|
||||
})
|
||||
if (JSON.parse(data).state == '1') {
|
||||
let params = {
|
||||
contNo: window.localStorage.getItem('policyNo')
|
||||
}
|
||||
getReceiptSign(params).then(res => {
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
window.localStorage.setItem('insurance-policyUrl', res.signUrl)
|
||||
window.localStorage.setItem('detailJump', '1')
|
||||
window.localStorage.setItem('contNo', this.OrderInfoDTO.contNo)
|
||||
window.localStorage.setItem('orderNo', this.OrderInfoDTO.orderNo)
|
||||
window.localStorage.setItem('orderStatus', this.OrderInfoDTO.orderStatus)
|
||||
window.localStorage.setItem('saleInsuredInfo', JSON.stringify(this.appntDTO))
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/signatureOfElectronic',
|
||||
forbidSwipeBack: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/signatureOfElectronic'
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$toast.clear()
|
||||
this.$toast(JSON.parse(data).error)
|
||||
}
|
||||
})
|
||||
}
|
||||
// 回执签收
|
||||
// next() {
|
||||
// EWebBridge.webCallAppInJs('face_auth', {
|
||||
// number: this.appntDTO.idNo, //身份证号码
|
||||
// name: this.appntDTO.name //姓名
|
||||
// }).then(data => {
|
||||
// this.$toast.loading({
|
||||
// duration: 0, // 持续展示 toast
|
||||
// forbidClick: true, // 禁用背景点击
|
||||
// loadingType: 'spinner',
|
||||
// message: '加载中……'
|
||||
// })
|
||||
// if (JSON.parse(data).state == '1') {
|
||||
// let params = {
|
||||
// contNo: window.localStorage.getItem('policyNo')
|
||||
// }
|
||||
// getReceiptSign(params).then(res => {
|
||||
// if (res.result == '0') {
|
||||
// this.$toast.clear()
|
||||
// window.localStorage.setItem('insurance-policyUrl', res.signUrl)
|
||||
// window.localStorage.setItem('detailJump', '1')
|
||||
// window.localStorage.setItem('contNo', this.OrderInfoDTO.contNo)
|
||||
// window.localStorage.setItem('orderNo', this.OrderInfoDTO.orderNo)
|
||||
// window.localStorage.setItem('orderStatus', this.OrderInfoDTO.orderStatus)
|
||||
// window.localStorage.setItem('saleInsuredInfo', JSON.stringify(this.appntDTO))
|
||||
// this.$jump({
|
||||
// flag: 'h5',
|
||||
// extra: {
|
||||
// url: location.origin + '/#/sale/signatureOfElectronic',
|
||||
// forbidSwipeBack: '1'
|
||||
// },
|
||||
// routerInfo: {
|
||||
// path: '/sale/signatureOfElectronic'
|
||||
// }
|
||||
// })
|
||||
// } else {
|
||||
// this.$toast(res.resultMessage)
|
||||
// }
|
||||
// })
|
||||
// } else {
|
||||
// this.$toast.clear()
|
||||
// this.$toast(JSON.parse(data).error)
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user