mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 16:16:45 +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',
|
'/sale/order/orderDetail',
|
||||||
'/customer/authcode/loginedSend',
|
'/customer/authcode/loginedSend',
|
||||||
'/uploadImage',
|
'/uploadImage',
|
||||||
// '/customer/recognition',
|
|
||||||
'/sale/insure/underWrite',
|
'/sale/insure/underWrite',
|
||||||
'/sale/insure/acceptInsurance',
|
'/sale/insure/acceptInsurance',
|
||||||
'/app/code/getCodeValue',
|
'/app/code/getCodeValue',
|
||||||
@@ -38,7 +37,8 @@ let sale = [
|
|||||||
'/ppf/sign',
|
'/ppf/sign',
|
||||||
'/ppf/check',
|
'/ppf/check',
|
||||||
'/sale/insure/selfToHuman',
|
'/sale/insure/selfToHuman',
|
||||||
'/sale/insure/orderPayStatusQuery'
|
'/sale/insure/orderPayStatusQuery',
|
||||||
|
'/sale/order/revokeOrder'
|
||||||
] //在线投保
|
] //在线投保
|
||||||
let agentEnter = [
|
let agentEnter = [
|
||||||
'/agent/enter/share',
|
'/agent/enter/share',
|
||||||
|
|||||||
@@ -138,15 +138,6 @@
|
|||||||
round
|
round
|
||||||
>撤单</van-button
|
>撤单</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>
|
<van-button @click="seePolicy(order)" v-if="active == 'commit'" size="small" type="danger" round>查看投保单</van-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -161,6 +152,25 @@
|
|||||||
</van-list>
|
</van-list>
|
||||||
|
|
||||||
<van-button type="danger" class="bottom-btn" @click="add" v-no-more-click="1000">点我新增</van-button>
|
<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" />
|
<check-agent @checModelSuccessMethod="initThisPage" />
|
||||||
@@ -188,11 +198,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Search, Tabs, Tab, List, Tag, Sticky, Toast, Dialog, Field } from 'vant'
|
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 { formatRiskList } from '@/assets/js/utils/formatRiskList.js'
|
||||||
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到用户等级
|
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到用户等级
|
||||||
import CheckAgent from '@/components/common/CheckAgent'
|
import CheckAgent from '@/components/common/CheckAgent'
|
||||||
import { getAuthCode } from '@/api/ebiz/sale/sale'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'saleList',
|
name: 'saleList',
|
||||||
@@ -228,7 +237,10 @@ export default {
|
|||||||
'48': true,
|
'48': true,
|
||||||
'49': true,
|
'49': true,
|
||||||
'55': true,
|
'55': true,
|
||||||
'58': true
|
'58': true,
|
||||||
|
'46': true,
|
||||||
|
'50': true,
|
||||||
|
'51': true
|
||||||
},
|
},
|
||||||
revokePanelShow: false,
|
revokePanelShow: false,
|
||||||
sms: '',
|
sms: '',
|
||||||
@@ -391,33 +403,6 @@ export default {
|
|||||||
routerInfo: { path: url }
|
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) {
|
goPay(order) {
|
||||||
localStorage.orderNo = order.orderInfoDTO.orderNo
|
localStorage.orderNo = order.orderInfoDTO.orderNo
|
||||||
@@ -451,15 +436,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//初始化保单列表
|
//初始化保单列表
|
||||||
getOrderList(pageInfo) {
|
getOrderList(pageInfo) {
|
||||||
// this.$toast.loading({
|
|
||||||
// duration: 0, // 持续展示 toast
|
|
||||||
// forbidClick: true, // 禁用背景点击
|
|
||||||
// loadingType: 'spinner',
|
|
||||||
// message: '加载中……'
|
|
||||||
// })
|
|
||||||
|
|
||||||
orderList(pageInfo).then(res => {
|
orderList(pageInfo).then(res => {
|
||||||
// this.$toast.clear()
|
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.isSuccess = true
|
this.isSuccess = true
|
||||||
this.currentPage++
|
this.currentPage++
|
||||||
@@ -615,13 +592,6 @@ export default {
|
|||||||
add() {
|
add() {
|
||||||
localStorage.orderNo = ''
|
localStorage.orderNo = ''
|
||||||
localStorage.chooseProductCodes = '' //置空所选险种
|
localStorage.chooseProductCodes = '' //置空所选险种
|
||||||
//清空附件管理的影像信息
|
|
||||||
// localStorage.imgfront = ''
|
|
||||||
// localStorage.imgfrontPath = ''
|
|
||||||
// localStorage.imgfrontInsured = ''
|
|
||||||
// localStorage.imgfrontInsuredPath = ''
|
|
||||||
// localStorage.bankCardUrl = ''
|
|
||||||
// localStorage.bankCardUrlInsured = ''
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
@@ -648,6 +618,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
filters: {
|
filters: {
|
||||||
|
encryCheckModelMobile(code) {
|
||||||
|
return code.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
|
||||||
|
},
|
||||||
phoneNumFilter(phoneNum) {
|
phoneNumFilter(phoneNum) {
|
||||||
let num = phoneNum.split('')
|
let num = phoneNum.split('')
|
||||||
num.splice(3, 4, '****')
|
num.splice(3, 4, '****')
|
||||||
|
|||||||
Reference in New Issue
Block a user