提交最新更改

This commit is contained in:
皮伟
2019-12-09 15:42:06 +08:00
parent da99ca8068
commit af44a5fc70
11 changed files with 124 additions and 64 deletions

BIN
src/assets/images/cause.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -1662,7 +1662,7 @@ export default {
// 申请人身份
applicantStatus: [{ id: '01', text: '本人' }, { id: '02', text: '监护人' }],
// 理赔申请人身份
lpApplicantStatus: [{ id: '00', text: '本人' }, { id: '05', text: '监护人' }],
lpApplicantStatus: [{ id: '1', text: '本人' }, { id: '2', text: '配偶' }, { id: '3', text: '父母' }, { id: '4', text: '子女' }, { id: '5', text: '其他' }],
// 出险申请类型
applyType: [
{
@@ -1900,7 +1900,7 @@ export default {
}
],
//是否购买其他公司保险"
cureList:[
cureList: [
{
id: 1,
text: '是'

View File

@@ -11,7 +11,27 @@ let proposal = [
'/proposal/proposal/deleteProposal'
] //建议书
let sale = ['/sale/order/orderList', '/sale/order/saveOrUpdateOrderInfo'] //在线投保
let whiteList = ['/customer/agent/getCustomersList', ...proposal, ...sale]
let agentEnter = [
'/agent/enter/share',
'/agent/enter/query',
'/agent/enter/saveOrUpdateInfo',
'/agent/enter/queryAll',
'/agent/enter/getImpart',
'/agent/agreement/query',
'/agent/agreement/signAgreement',
'/agent/enter/query'
] //入司
let claims = [
`/claim/claimApply/progress`,
`/claim/claimApply/progressDetail`,
`/claim/claimReport/history`,
`/claim/claimApply/apply`,
`/edor/customer/customerList`,
`/edor/customer/customerInfo`,
`/claim/claimApply/query`,
`/claim/claimApply/delete`
]
let whiteList = ['/customer/agent/getCustomersList', ...proposal, ...sale, ...agentEnter, ...claims]
// 创建axios实例
const service = axios.create({

View File

@@ -10,7 +10,7 @@
</van-notice-bar>
</div>
<div class="steps_w w325 mh20 mv8 h20 relative ">
<div class="steps_w w260 mh50 mv8 h20 relative ">
<div class="step flex justify-content-s align-items-c h20 absolute top0 left0">
<div class="circle radius50 w12 h12 bg-gray "></div>
<div class="wire w50 h2 bg-gray"></div>
@@ -78,12 +78,12 @@ export default {
}
.lh20 {
text-align: center;
// line-height: 20px;
line-height: 20px;
}
.wire {
// width: 54px;
// height: 2px;
// background: red;
width: 54px;
height: 2px;
background: red;
}
}
</style>

View File

@@ -188,13 +188,13 @@ export default {
this.fileListBank05 = [{ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` }]
break
}
switch (item.subBusinessType) {
case '3': // 申请人
if(item.imageInfoType == '1' && item.subBusinessType == '3'){
// 申请人身份证
this.fileListBank01.push({ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` })
break
case '4': // 担保人
}
if(item.imageInfoType == '1' && item.subBusinessType == '4'){
// 担保人身份证
this.fileListBank06.push({ url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.rgssUrl}` })
break
}
})
this.list = result

View File

@@ -1,7 +1,8 @@
<template>
<div class="entry-container pt60 bg-white" v-if="proces">
<div class="ml80 w200 text-center">
入司申请<br /><span class="grey">{{ proces.applyDate }}</span>
<div class="ml80 w200 text-center pv5">
入司申请<br />
<span class="grey">{{ proces.applyDate }}</span>
</div>
<div class="ml80 w100 flex path relative" style="flex-wrap: wrap">
<div class="left-path flex" style="flex-direction: column">
@@ -14,14 +15,14 @@
<div class="flex align-items-c text-center">
<div>
<div>自助入司资料上传</div>
<span v-if="proces.approvalStatus == '03'" class="grey">{{ proces.approvalDate }}{{ proces.approvalTime }}</span>
<span class="grey">{{ proces.approvalDate }}</span>
</div>
<van-button v-if="proces.approvalStatus == '01'" @click="goBaseInfo" class="ml15 ph10" plain type="primary"
>立即上传</van-button
>
</div>
</div>
<div v-if="(proces.trajectory_list == null && proces.approvalStatus == '02') || (proces.trajectory_list == null && proces.approvalStatus == '21')">
<div v-if="(proces.trajectoryList == null && proces.approvalStatus == '02') || (proces.trajectory_list == null && proces.approvalStatus == '21')">
<div class="h50 flex relative border-right active">
<i class="w10 h10 radius50 right-circle absolute bottom0"></i>
</div>
@@ -52,7 +53,7 @@
>
</div>
<span v-if="item.approvalStatus == '03' || item.approvalStatus == '04'" class="grey">{{ item.approvalDate }}</span>
<van-button @click="goSeeCause" v-if="item.approvalStatus == '04'" class="absolute approval-button ph10" plain type="primary"
<van-button @click="goSeeCause" v-if="proces.approvalStatus == '04' && item.approvalStatus == '04' && item.approvalStatus != '02' && item.approvalStatus != '03' && index == proces.trajectory_list.length - 1" class="absolute approval-button ph10" plain type="primary"
>查看原因</van-button
>
</div>

View File

@@ -1,36 +1,42 @@
<template>
<div>
<div class="p15 text-center fs14 ">
<img :src="srcSuccess" class=" mb15 pt15" width="100" />
<img src="@/assets/images/cause.png" class=" mb15 pt15" />
<h4 class="text-left ph50">入司资料审核不通过可能是以下问题请修改相应资料确认无误后再次提交审核</h4>
<div class="text-left mt60 c-gray-base">未通过原因</div>
<ul class="text-left c-gray-base">
<li v-for="(causeText, index) in cause" :key="index">{{ index }}.{{ causeText.text }}</li>
</ul>
<van-button @click="goBaseInfo" plain type="danger" v-no-more-click="1000" class="w200 mt50" round>去修改</van-button>
<div class="text-left mt60 c-gray-base">未通过原因</div>
<div class="text-left c-gray-base" v-if="proces.trajectoryList.length>0">
<div v-for="(causeText, index) in proces.trajectoryList" v-if="index == proces.trajectoryList.length - 1" :key="index">{{ causeText.approvalOpinion }}</div>
</div>
<van-button @click="goBaseInfo" v-no-more-click="1000" plain type="danger" class="w200 mt50" round>去修改</van-button>
</div>
</div>
</template>
<script>
import { Field, Icon, Button, Checkbox, CheckboxGroup } from 'vant'
import { processCheck } from '@/api/ebiz/agentEenter/agentEenter'
export default {
data() {
return {
srcSuccess: this.$assetsUrl + 'images/success.png',
// srcSuccess: this.$assetsUrl + 'images/fail.png',
pdfUrl: '',
checked: false,
cause: [
{
text: '入司基本信息中家庭地址不够详细'
proces: {
trajectoryList:[]
},
{
text: '入司影像信息中银行卡影像模糊不清'
}
]
granting: [],
failArr: [],
successArr: []
}
},
created() {},
mounted() {
;(document.body.style.backgroundColor = '#fff'),
this.processCheck()
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
next()
},
methods: {
goBaseInfo() {
this.$jump({
@@ -43,6 +49,27 @@ export default {
path: `/agentEenter/AgentEenterBasicInfor`
}
})
},
processCheck() {
let that = this
that.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let data = {
}
processCheck(data).then(res => {
// console.log(res)
// console.log('res.result', res.result)
if (res.result == '0') {
that.$toast.clear()
that.proces = res.content
} else {
this.$toast(res.resultMessage)
}
})
}
},
components: {

View File

@@ -102,6 +102,7 @@
/>
<van-field
v-if="userInfo.isInsureOther == '1'"
v-model="userInfo.otherCompany"
center
label="保险公司名称"
@@ -114,10 +115,10 @@
<van-cell-group class="pb60">
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">委托信息</p>
<van-field :value="userInfo.mandatorName" readonly label="受托人姓名" />
<van-field :value="idType" readonly label="证件类型" />
<van-field :value="userInfo.mandatorCertiType | idToText('lpIdType')" readonly label="证件类型" />
<van-field :value="userInfo.mandatorCertiCode" readonly label="证件号码" />
<van-field :value="userInfo.agentItem | idToText('needTodo')" readonly label="代办事项" />
<van-field :value="userInfo.days" readonly label="委托日期(自申请日期起算)" center clearable placeholder="请输入详细地址"/>
<van-field v-model="userInfo.days" label="委托日期(自申请日期起算)" required center clearable placeholder="请输入天数"/>
</van-cell-group>
<!-- 地区选择 -->
@@ -228,7 +229,7 @@ export default {
from: this.$route.query.from, //页面跳转来源
slaveStatus: 'claimApplyRisk', //进行到的状态
insuranceId: '', //出险信息主键id
idType: '身份证',
idType: '',
applyName: [],
areaName: '', //联系地址
areaShow: false, //显示隐藏地址选择
@@ -248,7 +249,7 @@ export default {
mandatorName: '', //受托人姓名
mandatorCertiType: '', //证件类型
mandatorCertiCode: '', //证件号码
agentItem: '', //代办事项
agentItem: '01', //代办事项
days:'',//新增委托天数
businessNo: '', //业务号码
id: localStorage.insuranceId || '' //用于区分新增还是二次提交
@@ -261,26 +262,26 @@ export default {
this.userInfo.businessNo = window.localStorage.getItem('businessNo')
let userModel = JSON.parse(window.localStorage.getItem('userModel'))
this.userInfo.mandatorName = userModel.name
this.idType = userModel.idType
this.userInfo.mandatorCertiType = userModel.idType
this.userInfo.mandatorCertiCode = userModel.idno
//受托人证件类型
switch (this.idType) {
case '身份证':
this.userInfo.mandatorCertiType = '0'
break
case '护照':
this.userInfo.mandatorCertiType = '4'
break
case '台胞证':
this.userInfo.mandatorCertiType = '8'
break
case '回乡证':
this.userInfo.mandatorCertiType = '5'
break
case '其他':
this.userInfo.mandatorCertiType = '9'
break
}
// //受托人证件类型
// switch (this.idType) {
// case '身份证':
// this.userInfo.mandatorCertiType = '0'
// break
// case '护照':
// this.userInfo.mandatorCertiType = '4'
// break
// case '台胞证':
// this.userInfo.mandatorCertiType = '8'
// break
// case '回乡证':
// this.userInfo.mandatorCertiType = '5'
// break
// case '其他':
// this.userInfo.mandatorCertiType = '9'
// break
// }
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''

View File

@@ -218,6 +218,7 @@ import { Cell, CellGroup, Field, Uploader, RadioGroup, Radio, Dialog, Picker, Po
import { uploadImg } from '@/api/ebiz/sale/sale'
import RsTop from '@/components/ebiz/agentEenter/RsTop'
import config from '@/config'
import utils from '@/assets/js/business-common'
import { progressDetail, apply } from '@/api/ebiz/claims/claims'
export default {
data() {
@@ -258,6 +259,8 @@ export default {
applyType: '', //申请类型
list: [], //给后台传的list
imageType: '',
age: '',//被保人的年龄
applyerBirthday:'',//申请人的出生日期
a: []
}
@@ -270,7 +273,8 @@ export default {
this.accidentCause = localStorage.accidentCause //出险原因
this.applyType = localStorage.applyType //申请类型
}
console.log(this.applyType.indexOf('04'))
let insuredBirthday = localStorage.getItem('insuredBirthday')
this.age = utils.jsGetAge(insuredBirthday)
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
@@ -424,7 +428,6 @@ export default {
},
// 下一步
nextStep() {
console.log(this.list)
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -439,10 +442,11 @@ export default {
// },
claimImageReqDTO: {
businessNo: localStorage.businessNo, //业务号
claimImageInfoDTOS: this.list
claimImageInfoDTOS: this.list,
},
slaveStatus: 'claimApplyImage'
}
console.log(data)
apply(data).then(res => {
if (res.result == '0') {
this.$toast.clear()

View File

@@ -4,7 +4,7 @@
<p class="h10 bg-gray-base"></p>
<div style="border-bottom: 1px solid #ebedf0" class="flex justify-content-s">
<p class="fwb fs15 pl10 pv12">基本信息</p>
<u class="pv12 fs14 pr10 green" @click="toSearch">已有历史报案信息</u>
<!-- <u class="pv12 fs14 pr10 green" @click="toSearch">已有历史报案信息</u> -->
</div>
<van-field
label="姓名"
@@ -225,7 +225,7 @@ export default {
insuredName: '', //姓名
insuredSex: '0', //性别
insuredBirthday: '', //出生日期
certiType: '', //证件类型
certiType: '0', //证件类型
certiCode: '', // 证件号码
insuredNo: '', //被保人编号
insuredOccuCode: '', //职业类型编码
@@ -492,6 +492,7 @@ export default {
save() {
console.log(this.userInfo)
localStorage.setItem('insuredBirthday',this.userInfo.insuredBirthday)
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击

View File

@@ -253,6 +253,8 @@ export default {
customerNo: '', //客户编号(搜索客户点击所得)
DataIndex: '', //所选客户的index
accAddressInfo:'',//出险地点的字符串拼接
accAdress: '', //出险地点
accCity: '', //出险-市
accCounty: '', //出险-县
@@ -462,6 +464,9 @@ export default {
//区域选择
sureArea(area, type) {
this.areaName = getAreaName(area)
//这个后端需要,后面可能删掉
this.accAddressInfo = area[0].name + area[1].name + area[2].name
;[this.accProvince, this.accCity, this.accCounty] = [area[0].code, area[1].code, area[2].code]
this.areaShow = false
},
@@ -540,6 +545,7 @@ export default {
// id: '123456',
// name: '王某'
// },
accAddressInfo: this.accAddressInfo, //后端暂时需要,后面可能会删掉
accAdress: this.accAdress,
accCity: this.accCity,
accCounty: this.accCounty,