mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 17:56:43 +08:00
增加人脸识别
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
<van-cell title="保单号" :value="OrderInfoDTO.contNo" />
|
<van-cell title="保单号" :value="OrderInfoDTO.contNo" />
|
||||||
<van-cell title="生效日期" :value="OrderInfoDTO.cvaliDate" />
|
<van-cell title="生效日期" :value="OrderInfoDTO.cvaliDate" />
|
||||||
<van-cell title="保单状态" :value="OrderInfoDTO.contState" />
|
<van-cell title="保单状态" :value="OrderInfoDTO.contState" />
|
||||||
<!-- <van-cell title="签收状态" :value="OrderInfoDTO.orderStatusText" /> -->
|
<van-cell title="签收状态" :value="OrderInfoDTO.orderStatusText" />
|
||||||
<!-- <van-cell v-if="OrderInfoDTO.receiptDate != null && OrderInfoDTO.receiptDate != ''" title="签收日期" :value="OrderInfoDTO.receiptDate" /> -->
|
<van-cell v-if="OrderInfoDTO.receiptDate != null && OrderInfoDTO.receiptDate != ''" title="签收日期" :value="OrderInfoDTO.receiptDate" />
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
|
|
||||||
@@ -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>
|
||||||
|
|
||||||
@@ -204,36 +204,46 @@ export default {
|
|||||||
},
|
},
|
||||||
// 回执签收
|
// 回执签收
|
||||||
next() {
|
next() {
|
||||||
this.$toast.loading({
|
EWebBridge.webCallAppInJs('face_auth', {
|
||||||
duration: 0, // 持续展示 toast
|
number: this.appntDTO.idNo, //身份证号码
|
||||||
forbidClick: true, // 禁用背景点击
|
name: this.appntDTO.name //姓名
|
||||||
loadingType: 'spinner',
|
}).then(data => {
|
||||||
message: '加载中……'
|
this.$toast.loading({
|
||||||
})
|
duration: 0, // 持续展示 toast
|
||||||
let data = {
|
forbidClick: true, // 禁用背景点击
|
||||||
contNo: window.localStorage.getItem('policyNo')
|
loadingType: 'spinner',
|
||||||
}
|
message: '加载中……'
|
||||||
getReceiptSign(data).then(res => {
|
})
|
||||||
if (res.result == '0') {
|
if (JSON.parse(data).state == '1') {
|
||||||
this.$toast.clear()
|
let params = {
|
||||||
window.localStorage.setItem('insurance-policyUrl', res.signUrl)
|
contNo: window.localStorage.getItem('policyNo')
|
||||||
window.localStorage.setItem('detailJump', '1')
|
}
|
||||||
window.localStorage.setItem('contNo', this.OrderInfoDTO.contNo)
|
getReceiptSign(params).then(res => {
|
||||||
window.localStorage.setItem('orderNo', this.OrderInfoDTO.orderNo)
|
if (res.result == '0') {
|
||||||
window.localStorage.setItem('orderStatus', this.OrderInfoDTO.orderStatus)
|
this.$toast.clear()
|
||||||
window.localStorage.setItem('saleInsuredInfo', JSON.stringify(this.appntDTO))
|
window.localStorage.setItem('insurance-policyUrl', res.signUrl)
|
||||||
this.$jump({
|
window.localStorage.setItem('detailJump', '1')
|
||||||
flag: 'h5',
|
window.localStorage.setItem('contNo', this.OrderInfoDTO.contNo)
|
||||||
extra: {
|
window.localStorage.setItem('orderNo', this.OrderInfoDTO.orderNo)
|
||||||
url: location.origin + '/#/sale/signatureOfElectronic',
|
window.localStorage.setItem('orderStatus', this.OrderInfoDTO.orderStatus)
|
||||||
forbidSwipeBack: '1'
|
window.localStorage.setItem('saleInsuredInfo', JSON.stringify(this.appntDTO))
|
||||||
},
|
this.$jump({
|
||||||
routerInfo: {
|
flag: 'h5',
|
||||||
path: '/sale/signatureOfElectronic'
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/signatureOfElectronic',
|
||||||
|
forbidSwipeBack: '1'
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/signatureOfElectronic'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast.clear()
|
||||||
|
this.$toast(JSON.parse(data).error)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user