mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 10:26:44 +08:00
Merge branch 'feature/人核保单显示撤单按钮' into release/1215
# Conflicts: # src/views/ebiz/sale/List.vue
This commit is contained in:
@@ -26,7 +26,6 @@ let sale = [
|
||||
'/sale/order/orderDetail',
|
||||
'/customer/authcode/loginedSend',
|
||||
'/uploadImage',
|
||||
// '/customer/recognition',
|
||||
'/sale/insure/underWrite',
|
||||
'/sale/insure/acceptInsurance',
|
||||
'/app/code/getCodeValue',
|
||||
@@ -38,7 +37,8 @@ let sale = [
|
||||
'/ppf/sign',
|
||||
'/ppf/check',
|
||||
'/sale/insure/selfToHuman',
|
||||
'/sale/insure/orderPayStatusQuery'
|
||||
'/sale/insure/orderPayStatusQuery',
|
||||
'/sale/order/revokeOrder'
|
||||
] //在线投保
|
||||
let agentEnter = [
|
||||
'/agent/enter/share',
|
||||
|
||||
@@ -138,15 +138,6 @@
|
||||
round
|
||||
>撤单</van-button
|
||||
>
|
||||
<!-- <van-button
|
||||
@click="goNucleus(order)"
|
||||
v-if="active == 'commit' && order.orderInfoDTO.orderStatus == '46'"
|
||||
size="small"
|
||||
class="mr5"
|
||||
type="danger"
|
||||
round
|
||||
>提交人工核保</van-button
|
||||
> -->
|
||||
<van-button @click="seePolicy(order)" v-if="active == 'commit'" size="small" type="danger" round>查看投保单</van-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -161,6 +152,25 @@
|
||||
</van-list>
|
||||
|
||||
<van-button type="danger" class="bottom-btn" @click="add" v-no-more-click="1000">点我新增</van-button>
|
||||
<van-dialog
|
||||
class="dialog-delete"
|
||||
@confirm="checkCaptchaCode"
|
||||
@cancel="cancelCaptchaCode"
|
||||
:before-close="beforeClose"
|
||||
confirm-button-color="#fff"
|
||||
v-model="revokePanelShow"
|
||||
title="短信验证"
|
||||
show-cancel-button
|
||||
>
|
||||
<p class="captchaReceiver">投保人手机号: {{ captchaReceiver | phoneNumFilter }}</p>
|
||||
<van-field v-model="sms" center clearable placeholder="请输入短信验证码">
|
||||
<template #button>
|
||||
<van-button :disabled="sendTime !== 0" v-no-more-click="1000" @click="getCaptchaCode" size="small" type="danger">{{
|
||||
sendTime ? `${sendTime}s后获取` : '获取验证码'
|
||||
}}</van-button>
|
||||
</template>
|
||||
</van-field>
|
||||
</van-dialog>
|
||||
|
||||
<!-- 短信验证 -->
|
||||
<check-agent @checModelSuccessMethod="initThisPage" />
|
||||
@@ -188,11 +198,10 @@
|
||||
|
||||
<script>
|
||||
import { Search, Tabs, Tab, List, Tag, Sticky, Toast, Dialog, Field } from 'vant'
|
||||
import { orderList, deleteOrderInfo, revokeOrder } from '@/api/ebiz/sale/sale'
|
||||
import { orderList, deleteOrderInfo, getAuthCode, revokeOrder } from '@/api/ebiz/sale/sale'
|
||||
import { formatRiskList } from '@/assets/js/utils/formatRiskList.js'
|
||||
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到用户等级
|
||||
import CheckAgent from '@/components/common/CheckAgent'
|
||||
import { getAuthCode } from '@/api/ebiz/sale/sale'
|
||||
|
||||
export default {
|
||||
name: 'saleList',
|
||||
@@ -228,7 +237,10 @@ export default {
|
||||
'48': true,
|
||||
'49': true,
|
||||
'55': true,
|
||||
'58': true
|
||||
'58': true,
|
||||
'46': true,
|
||||
'50': true,
|
||||
'51': true
|
||||
},
|
||||
revokePanelShow: false,
|
||||
sms: '',
|
||||
@@ -391,33 +403,6 @@ export default {
|
||||
routerInfo: { path: url }
|
||||
})
|
||||
},
|
||||
// 去人工核保
|
||||
// goNucleus() {
|
||||
// let data = {
|
||||
// orderNo: this.underWriteData.orderNo
|
||||
// }
|
||||
// selfToHuman(data).then(res => {
|
||||
// if (res.result == '0') {
|
||||
// Dialog.alert({
|
||||
// title: '提示',
|
||||
// message: '提交人工核保成功'
|
||||
// }).then(() => {
|
||||
// this.$jump({
|
||||
// flag: 'h5',
|
||||
// extra: {
|
||||
// url: location.origin + '/#/sale/list',
|
||||
// backToFirst: '1'
|
||||
// },
|
||||
// routerInfo: {
|
||||
// path: '/sale/list'
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
// } else {
|
||||
// this.$toast(res.resultMessage)
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
//去支付
|
||||
goPay(order) {
|
||||
localStorage.orderNo = order.orderInfoDTO.orderNo
|
||||
@@ -451,15 +436,7 @@ export default {
|
||||
},
|
||||
//初始化保单列表
|
||||
getOrderList(pageInfo) {
|
||||
// this.$toast.loading({
|
||||
// duration: 0, // 持续展示 toast
|
||||
// forbidClick: true, // 禁用背景点击
|
||||
// loadingType: 'spinner',
|
||||
// message: '加载中……'
|
||||
// })
|
||||
|
||||
orderList(pageInfo).then(res => {
|
||||
// this.$toast.clear()
|
||||
if (res.result == '0') {
|
||||
this.isSuccess = true
|
||||
this.currentPage++
|
||||
@@ -615,13 +592,6 @@ export default {
|
||||
add() {
|
||||
localStorage.orderNo = ''
|
||||
localStorage.chooseProductCodes = '' //置空所选险种
|
||||
//清空附件管理的影像信息
|
||||
// localStorage.imgfront = ''
|
||||
// localStorage.imgfrontPath = ''
|
||||
// localStorage.imgfrontInsured = ''
|
||||
// localStorage.imgfrontInsuredPath = ''
|
||||
// localStorage.bankCardUrl = ''
|
||||
// localStorage.bankCardUrlInsured = ''
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
@@ -648,6 +618,9 @@ export default {
|
||||
}
|
||||
},
|
||||
filters: {
|
||||
encryCheckModelMobile(code) {
|
||||
return code.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
|
||||
},
|
||||
phoneNumFilter(phoneNum) {
|
||||
let num = phoneNum.split('')
|
||||
num.splice(3, 4, '****')
|
||||
|
||||
Reference in New Issue
Block a user