mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 16:16:45 +08:00
feature/GFRS-2215【待完成】重新投保--再重新投保处添加人脸识别--提交人庞兴月
This commit is contained in:
@@ -748,9 +748,8 @@ export default {
|
||||
}
|
||||
if (this.faceAuthCount.appnt < this.smsAuthNum) {
|
||||
// eslint-disable-next-line no-undef
|
||||
that.saleInsuredInfo.idNo = '120222199012046418';
|
||||
that.saleInsuredInfo.name = '庞兴月';
|
||||
const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
/**
|
||||
const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
number: that.saleInsuredInfo.idNo, //身份证号码
|
||||
name: that.saleInsuredInfo.name //姓名
|
||||
@@ -767,6 +766,13 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
**/
|
||||
// todo 测试去掉人脸识别 start=====================
|
||||
// 保存rid 数据
|
||||
that.saveCustomerRidInfo('appnt_rid', 'B')
|
||||
that.goUrl()
|
||||
// todo 测试去掉人脸识别 end=====================
|
||||
|
||||
// const authRes = await this.fakeFaceAuth(true)
|
||||
if (JSON.parse(authRes).state == '1') {
|
||||
this.goUrl()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<van-search v-model="searchName" placeholder="请输入保单号/投保人姓名/被保险人姓名"/>
|
||||
<van-search v-model="searchName" placeholder="请输入保单号/投保人姓名/被保险人姓名" />
|
||||
<van-sticky>
|
||||
<van-tabs v-model="active" @change="tabChange">
|
||||
<van-tab name="uncommit" title="未提交" />
|
||||
@@ -9,37 +9,37 @@
|
||||
</van-sticky>
|
||||
<div class="container" v-if="isShow">
|
||||
<van-pull-refresh @refresh="onRefresh" v-model="isLoading">
|
||||
<div v-if="NewItems.length>0">
|
||||
<Order v-for="(order,index) in NewItems" :key="index" :order="order">
|
||||
<p v-if="active === 'uncommit'" class="name mb8">
|
||||
<van-tag plain color="#999999">保单保障日截止日期</van-tag>
|
||||
<span class="ml5 span">{{ order.cvaliDate }}</span>
|
||||
<div v-if="NewItems.length>0">
|
||||
<Order v-for="(order,index) in NewItems" :key="index" :order="order">
|
||||
<p v-if="active === 'uncommit'" class="name mb8">
|
||||
<van-tag plain color="#999999">保单保障日截止日期</van-tag>
|
||||
<span class="ml5 span">{{ order.cvaliDate }}</span>
|
||||
</p>
|
||||
<div v-if="active === 'commit'">
|
||||
<p class="name mb8">
|
||||
<van-tag plain color="#999999">重新投保单号</van-tag>
|
||||
<span class="ml5 span">{{ order.policyNo }}</span>
|
||||
</p>
|
||||
<div v-if="active === 'commit'">
|
||||
<p class="name mb8">
|
||||
<van-tag plain color="#999999">重新投保单号</van-tag>
|
||||
<span class="ml5 span">{{ order.policyNo }}</span>
|
||||
</p>
|
||||
<p class="name">
|
||||
<van-tag plain color="#999999">状态</van-tag>
|
||||
<span class="ml5 span" v-if="order.orderStatus === '0'">投保中</span>
|
||||
<span class="ml5 span" v-else-if="order.orderStatus === '1'">承包</span>
|
||||
<span class="ml5 span" v-else-if="order.orderStatus === '4'">终止</span>
|
||||
</p>
|
||||
</div>
|
||||
<p class="name">
|
||||
<van-tag plain color="#999999">状态</van-tag>
|
||||
<span class="ml5 span" v-if="order.orderStatus === '0'">投保中</span>
|
||||
<span class="ml5 span" v-else-if="order.orderStatus === '1'">承包</span>
|
||||
<span class="ml5 span" v-else-if="order.orderStatus === '4'">终止</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<template #btns>
|
||||
<div v-if="active === 'uncommit'">
|
||||
<van-button size="small" round type="danger" @click="uncommitInsureDetail(order)" plain>查看详情</van-button>
|
||||
<van-button class="ml10" size="small" round type="danger" @click="insureAgain(order)">重新投保</van-button>
|
||||
</div>
|
||||
<div v-if="active === 'commit'">
|
||||
<van-button class="ml10" size="small" round type="danger" @click="commitInsureDetail(order)">查看投保单</van-button>
|
||||
<van-button v-if="order.newOrderStatus === '19'" class="ml10" size="small" round type="danger" @click="buyAgain(order)">待支付</van-button>
|
||||
</div>
|
||||
</template>
|
||||
</Order>
|
||||
</div>
|
||||
<template #btns>
|
||||
<div v-if="active === 'uncommit'">
|
||||
<van-button size="small" round type="danger" @click="uncommitInsureDetail(order)" plain>查看详情</van-button>
|
||||
<van-button class="ml10" size="small" round type="danger" @click="insureAgain(order)">重新投保</van-button>
|
||||
</div>
|
||||
<div v-if="active === 'commit'">
|
||||
<van-button class="ml10" size="small" round type="danger" @click="commitInsureDetail(order)">查看投保单</van-button>
|
||||
<van-button v-if="order.newOrderStatus === '19'" class="ml10" size="small" round type="danger" @click="buyAgain(order)">待支付</van-button>
|
||||
</div>
|
||||
</template>
|
||||
</Order>
|
||||
</div>
|
||||
</van-pull-refresh>
|
||||
<van-popup v-model="isAgreementShow" position="right" :style="{ height: '100vh', width: '100vw' }">
|
||||
<ReadingAgreement :needTime="false">
|
||||
@@ -71,7 +71,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Search, Sticky, PullRefresh, list, Tag, Popup, Radio, RadioGroup } from 'vant'
|
||||
import { Search, Sticky, PullRefresh, list, Tag, Popup, Radio, RadioGroup, Toast } from 'vant'
|
||||
import { getPolicyListAgent } from '@/api/ebiz/insureAgain/insureAgain'
|
||||
import { formatRiskList } from '@/assets/js/utils/formatRiskList.js'
|
||||
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到用户等级
|
||||
@@ -188,7 +188,21 @@ export default {
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
}, 100)
|
||||
this.isAgreementShow = true
|
||||
// 人脸识别
|
||||
// window.EWebBridge.webCallAppInJs('face_auth', {
|
||||
// businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
// number: that.saleInsuredInfo.idNo, //身份证号码
|
||||
// name: order.appntName //姓名
|
||||
// }).then(data => {
|
||||
// if (JSON.parse(data).state == '1') {
|
||||
// this.isAgreementShow = true
|
||||
// } else {
|
||||
// return this.$toast('人脸识别,验证失败!')
|
||||
// }
|
||||
// })
|
||||
|
||||
this.isAgreementShow = true
|
||||
|
||||
},
|
||||
uncommitInsureDetail(order) {
|
||||
CacheUtils.setLocItem('policyNo', order.policyNo)
|
||||
|
||||
Reference in New Issue
Block a user