mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-19 05:36:44 +08:00
提交1108不上线的回执和分享
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||||
<van-button
|
<!-- <van-button
|
||||||
v-if="isShow"
|
v-if="isShow"
|
||||||
type="danger"
|
type="danger"
|
||||||
size="normal"
|
size="normal"
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
:disabled="appntSignStatus == '3'"
|
:disabled="appntSignStatus == '3'"
|
||||||
@click="share(saleInsuredPersonInfo.relationToAppnt == '1' ? '2' : '0')"
|
@click="share(saleInsuredPersonInfo.relationToAppnt == '1' ? '2' : '0')"
|
||||||
>分享</van-button
|
>分享</van-button
|
||||||
>
|
> -->
|
||||||
<van-button
|
<van-button
|
||||||
type="danger"
|
type="danger"
|
||||||
size="normal"
|
size="normal"
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||||
<van-button
|
<!-- <van-button
|
||||||
v-if="isShow"
|
v-if="isShow"
|
||||||
type="danger"
|
type="danger"
|
||||||
size="normal"
|
size="normal"
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
plain
|
plain
|
||||||
v-no-more-click="1000"
|
v-no-more-click="1000"
|
||||||
>分享</van-button
|
>分享</van-button
|
||||||
>
|
> -->
|
||||||
<van-button type="danger" size="normal" plain class="w150" :disabled="insuredSignStatus == '3'" @click="start_ocr('1')" v-no-more-click="1000"
|
<van-button type="danger" size="normal" plain class="w150" :disabled="insuredSignStatus == '3'" @click="start_ocr('1')" v-no-more-click="1000"
|
||||||
>开始</van-button
|
>开始</van-button
|
||||||
>
|
>
|
||||||
@@ -440,60 +440,60 @@ export default {
|
|||||||
},
|
},
|
||||||
toTest() {},
|
toTest() {},
|
||||||
// 微信分享
|
// 微信分享
|
||||||
share(code) {
|
// share(code) {
|
||||||
let shareName = ''
|
// let shareName = ''
|
||||||
if (code == '1') {
|
// if (code == '1') {
|
||||||
shareName = '被保人'
|
// shareName = '被保人'
|
||||||
} else {
|
// } else {
|
||||||
shareName = '投保人'
|
// shareName = '投保人'
|
||||||
}
|
// }
|
||||||
console.log('`````````````测试安卓url`````````````````')
|
// console.log('`````````````测试安卓url`````````````````')
|
||||||
console.log(
|
// console.log(
|
||||||
location.origin +
|
// location.origin +
|
||||||
'/#/sale/signatureConfirmation?orderNo=' +
|
// '/#/sale/signatureConfirmation?orderNo=' +
|
||||||
localStorage.orderNo +
|
// localStorage.orderNo +
|
||||||
'&token=' +
|
// '&token=' +
|
||||||
localStorage.token +
|
// localStorage.token +
|
||||||
'&saleInsuredInfo=' +
|
// '&saleInsuredInfo=' +
|
||||||
localStorage.saleInsuredInfo +
|
// localStorage.saleInsuredInfo +
|
||||||
'&saleInsuredPersonInfo=' +
|
// '&saleInsuredPersonInfo=' +
|
||||||
localStorage.saleInsuredPersonInfo +
|
// localStorage.saleInsuredPersonInfo +
|
||||||
'&relationToAppnt=' +
|
// '&relationToAppnt=' +
|
||||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
// JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||||
'&shareCode=' +
|
// '&shareCode=' +
|
||||||
code +
|
// code +
|
||||||
'&signInvalid=' +
|
// '&signInvalid=' +
|
||||||
this.signInvalid +
|
// this.signInvalid +
|
||||||
'&productCode=' +
|
// '&productCode=' +
|
||||||
localStorage.productCode
|
// localStorage.productCode
|
||||||
)
|
// )
|
||||||
EWebBridge.webCallAppInJs('bridge', {
|
// EWebBridge.webCallAppInJs('bridge', {
|
||||||
flag: 'share',
|
// flag: 'share',
|
||||||
extra: {
|
// extra: {
|
||||||
title: `国富人寿电子投保单(${shareName})签字`,
|
// title: `国富人寿电子投保单(${shareName})签字`,
|
||||||
content: '签字进行',
|
// content: '签字进行',
|
||||||
url:
|
// url:
|
||||||
location.origin +
|
// location.origin +
|
||||||
'/#/sale/signatureConfirmation?orderNo=' +
|
// '/#/sale/signatureConfirmation?orderNo=' +
|
||||||
localStorage.orderNo +
|
// localStorage.orderNo +
|
||||||
'&token=' +
|
// '&token=' +
|
||||||
localStorage.token +
|
// localStorage.token +
|
||||||
'&saleInsuredInfo=' +
|
// '&saleInsuredInfo=' +
|
||||||
encodeURI(localStorage.saleInsuredInfo) +
|
// encodeURI(localStorage.saleInsuredInfo) +
|
||||||
'&saleInsuredPersonInfo=' +
|
// '&saleInsuredPersonInfo=' +
|
||||||
encodeURI(localStorage.saleInsuredPersonInfo) +
|
// encodeURI(localStorage.saleInsuredPersonInfo) +
|
||||||
'&relationToAppnt=' +
|
// '&relationToAppnt=' +
|
||||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
// JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||||
'&shareCode=' +
|
// '&shareCode=' +
|
||||||
code +
|
// code +
|
||||||
'&signInvalid=' +
|
// '&signInvalid=' +
|
||||||
this.signInvalid +
|
// this.signInvalid +
|
||||||
'&productCode=' +
|
// '&productCode=' +
|
||||||
localStorage.productCode,
|
// localStorage.productCode,
|
||||||
img: this.$assetsUrl + 'images/logo.png'
|
// img: this.$assetsUrl + 'images/logo.png'
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
// 提交
|
// 提交
|
||||||
next() {
|
next() {
|
||||||
this.$toast.loading({
|
this.$toast.loading({
|
||||||
|
|||||||
@@ -77,9 +77,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</van-collapse>
|
</van-collapse>
|
||||||
<!-- 2019-09-27 版上线不含“回执签收” marked by panglizong on 2019-09-26 -->
|
<!-- 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>
|
<van-button type="danger" size="large" @click="next" v-if="OrderInfoDTO.orderStatus == '0'" v-no-more-click="1000">回执签收</van-button>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -226,52 +226,52 @@ export default {
|
|||||||
pageData[key + 'Text'] = item.text //渲染页面使用的字段
|
pageData[key + 'Text'] = item.text //渲染页面使用的字段
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
}
|
||||||
// 回执签收
|
// 回执签收
|
||||||
next() {
|
// next() {
|
||||||
EWebBridge.webCallAppInJs('face_auth', {
|
// EWebBridge.webCallAppInJs('face_auth', {
|
||||||
number: this.appntDTO.idNo, //身份证号码
|
// number: this.appntDTO.idNo, //身份证号码
|
||||||
name: this.appntDTO.name //姓名
|
// name: this.appntDTO.name //姓名
|
||||||
}).then(data => {
|
// }).then(data => {
|
||||||
this.$toast.loading({
|
// this.$toast.loading({
|
||||||
duration: 0, // 持续展示 toast
|
// duration: 0, // 持续展示 toast
|
||||||
forbidClick: true, // 禁用背景点击
|
// forbidClick: true, // 禁用背景点击
|
||||||
loadingType: 'spinner',
|
// loadingType: 'spinner',
|
||||||
message: '加载中……'
|
// message: '加载中……'
|
||||||
})
|
// })
|
||||||
if (JSON.parse(data).state == '1') {
|
// if (JSON.parse(data).state == '1') {
|
||||||
let params = {
|
// let params = {
|
||||||
contNo: window.localStorage.getItem('policyNo')
|
// contNo: window.localStorage.getItem('policyNo')
|
||||||
}
|
// }
|
||||||
getReceiptSign(params).then(res => {
|
// getReceiptSign(params).then(res => {
|
||||||
if (res.result == '0') {
|
// if (res.result == '0') {
|
||||||
this.$toast.clear()
|
// this.$toast.clear()
|
||||||
window.localStorage.setItem('insurance-policyUrl', res.signUrl)
|
// window.localStorage.setItem('insurance-policyUrl', res.signUrl)
|
||||||
window.localStorage.setItem('detailJump', '1')
|
// window.localStorage.setItem('detailJump', '1')
|
||||||
window.localStorage.setItem('contNo', this.OrderInfoDTO.contNo)
|
// window.localStorage.setItem('contNo', this.OrderInfoDTO.contNo)
|
||||||
window.localStorage.setItem('orderNo', this.OrderInfoDTO.orderNo)
|
// window.localStorage.setItem('orderNo', this.OrderInfoDTO.orderNo)
|
||||||
window.localStorage.setItem('orderStatus', this.OrderInfoDTO.orderStatus)
|
// window.localStorage.setItem('orderStatus', this.OrderInfoDTO.orderStatus)
|
||||||
window.localStorage.setItem('saleInsuredInfo', JSON.stringify(this.appntDTO))
|
// window.localStorage.setItem('saleInsuredInfo', JSON.stringify(this.appntDTO))
|
||||||
this.$jump({
|
// this.$jump({
|
||||||
flag: 'h5',
|
// flag: 'h5',
|
||||||
extra: {
|
// extra: {
|
||||||
url: location.origin + '/#/sale/signatureOfElectronic',
|
// url: location.origin + '/#/sale/signatureOfElectronic',
|
||||||
forbidSwipeBack: '1'
|
// forbidSwipeBack: '1'
|
||||||
},
|
// },
|
||||||
routerInfo: {
|
// routerInfo: {
|
||||||
path: '/sale/signatureOfElectronic'
|
// path: '/sale/signatureOfElectronic'
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
} else {
|
// } else {
|
||||||
this.$toast(res.resultMessage)
|
// this.$toast(res.resultMessage)
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
} else {
|
// } else {
|
||||||
this.$toast.clear()
|
// this.$toast.clear()
|
||||||
this.$toast(JSON.parse(data).error)
|
// this.$toast(JSON.parse(data).error)
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user