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