提交最新更改

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: '监护人' }], 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: [ applyType: [
{ {
@@ -1900,7 +1900,7 @@ export default {
} }
], ],
//是否购买其他公司保险" //是否购买其他公司保险"
cureList:[ cureList: [
{ {
id: 1, id: 1,
text: '是' text: '是'

View File

@@ -11,7 +11,27 @@ let proposal = [
'/proposal/proposal/deleteProposal' '/proposal/proposal/deleteProposal'
] //建议书 ] //建议书
let sale = ['/sale/order/orderList', '/sale/order/saveOrUpdateOrderInfo'] //在线投保 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实例 // 创建axios实例
const service = axios.create({ const service = axios.create({

View File

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

View File

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

View File

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

View File

@@ -1,36 +1,42 @@
<template> <template>
<div> <div>
<div class="p15 text-center fs14 "> <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> <h4 class="text-left ph50">入司资料审核不通过可能是以下问题请修改相应资料确认无误后再次提交审核</h4>
<div class="text-left mt60 c-gray-base">未通过原因</div> <div class="text-left mt60 c-gray-base">未通过原因</div>
<ul class="text-left c-gray-base"> <div class="text-left c-gray-base" v-if="proces.trajectoryList.length>0">
<li v-for="(causeText, index) in cause" :key="index">{{ index }}.{{ causeText.text }}</li> <div v-for="(causeText, index) in proces.trajectoryList" v-if="index == proces.trajectoryList.length - 1" :key="index">{{ causeText.approvalOpinion }}</div>
</ul> </div>
<van-button @click="goBaseInfo" plain type="danger" v-no-more-click="1000" class="w200 mt50" round>去修改</van-button> <van-button @click="goBaseInfo" v-no-more-click="1000" plain type="danger" class="w200 mt50" round>去修改</van-button>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { Field, Icon, Button, Checkbox, CheckboxGroup } from 'vant' import { Field, Icon, Button, Checkbox, CheckboxGroup } from 'vant'
import { processCheck } from '@/api/ebiz/agentEenter/agentEenter'
export default { export default {
data() { data() {
return { return {
srcSuccess: this.$assetsUrl + 'images/success.png', // srcSuccess: this.$assetsUrl + 'images/fail.png',
pdfUrl: '', pdfUrl: '',
checked: false, checked: false,
cause: [ proces: {
{ trajectoryList:[]
text: '入司基本信息中家庭地址不够详细' },
}, granting: [],
{ failArr: [],
text: '入司影像信息中银行卡影像模糊不清' successArr: []
}
]
} }
}, },
created() {}, mounted() {
;(document.body.style.backgroundColor = '#fff'),
this.processCheck()
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
next()
},
methods: { methods: {
goBaseInfo() { goBaseInfo() {
this.$jump({ this.$jump({
@@ -43,6 +49,27 @@ export default {
path: `/agentEenter/AgentEenterBasicInfor` 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: { components: {

View File

@@ -102,6 +102,7 @@
/> />
<van-field <van-field
v-if="userInfo.isInsureOther == '1'"
v-model="userInfo.otherCompany" v-model="userInfo.otherCompany"
center center
label="保险公司名称" label="保险公司名称"
@@ -114,10 +115,10 @@
<van-cell-group class="pb60"> <van-cell-group class="pb60">
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">委托信息</p> <p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">委托信息</p>
<van-field :value="userInfo.mandatorName" readonly label="受托人姓名" /> <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.mandatorCertiCode" readonly label="证件号码" />
<van-field :value="userInfo.agentItem | idToText('needTodo')" 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> </van-cell-group>
<!-- 地区选择 --> <!-- 地区选择 -->
@@ -228,7 +229,7 @@ export default {
from: this.$route.query.from, //页面跳转来源 from: this.$route.query.from, //页面跳转来源
slaveStatus: 'claimApplyRisk', //进行到的状态 slaveStatus: 'claimApplyRisk', //进行到的状态
insuranceId: '', //出险信息主键id insuranceId: '', //出险信息主键id
idType: '身份证', idType: '',
applyName: [], applyName: [],
areaName: '', //联系地址 areaName: '', //联系地址
areaShow: false, //显示隐藏地址选择 areaShow: false, //显示隐藏地址选择
@@ -248,7 +249,7 @@ export default {
mandatorName: '', //受托人姓名 mandatorName: '', //受托人姓名
mandatorCertiType: '', //证件类型 mandatorCertiType: '', //证件类型
mandatorCertiCode: '', //证件号码 mandatorCertiCode: '', //证件号码
agentItem: '', //代办事项 agentItem: '01', //代办事项
days:'',//新增委托天数 days:'',//新增委托天数
businessNo: '', //业务号码 businessNo: '', //业务号码
id: localStorage.insuranceId || '' //用于区分新增还是二次提交 id: localStorage.insuranceId || '' //用于区分新增还是二次提交
@@ -261,26 +262,26 @@ export default {
this.userInfo.businessNo = window.localStorage.getItem('businessNo') this.userInfo.businessNo = window.localStorage.getItem('businessNo')
let userModel = JSON.parse(window.localStorage.getItem('userModel')) let userModel = JSON.parse(window.localStorage.getItem('userModel'))
this.userInfo.mandatorName = userModel.name this.userInfo.mandatorName = userModel.name
this.idType = userModel.idType this.userInfo.mandatorCertiType = userModel.idType
this.userInfo.mandatorCertiCode = userModel.idno this.userInfo.mandatorCertiCode = userModel.idno
//受托人证件类型 // //受托人证件类型
switch (this.idType) { // switch (this.idType) {
case '身份证': // case '身份证':
this.userInfo.mandatorCertiType = '0' // this.userInfo.mandatorCertiType = '0'
break // break
case '护照': // case '护照':
this.userInfo.mandatorCertiType = '4' // this.userInfo.mandatorCertiType = '4'
break // break
case '台胞证': // case '台胞证':
this.userInfo.mandatorCertiType = '8' // this.userInfo.mandatorCertiType = '8'
break // break
case '回乡证': // case '回乡证':
this.userInfo.mandatorCertiType = '5' // this.userInfo.mandatorCertiType = '5'
break // break
case '其他': // case '其他':
this.userInfo.mandatorCertiType = '9' // this.userInfo.mandatorCertiType = '9'
break // break
} // }
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = '' 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 { uploadImg } from '@/api/ebiz/sale/sale'
import RsTop from '@/components/ebiz/agentEenter/RsTop' import RsTop from '@/components/ebiz/agentEenter/RsTop'
import config from '@/config' import config from '@/config'
import utils from '@/assets/js/business-common'
import { progressDetail, apply } from '@/api/ebiz/claims/claims' import { progressDetail, apply } from '@/api/ebiz/claims/claims'
export default { export default {
data() { data() {
@@ -258,6 +259,8 @@ export default {
applyType: '', //申请类型 applyType: '', //申请类型
list: [], //给后台传的list list: [], //给后台传的list
imageType: '', imageType: '',
age: '',//被保人的年龄
applyerBirthday:'',//申请人的出生日期
a: [] a: []
} }
@@ -270,7 +273,8 @@ export default {
this.accidentCause = localStorage.accidentCause //出险原因 this.accidentCause = localStorage.accidentCause //出险原因
this.applyType = localStorage.applyType //申请类型 this.applyType = localStorage.applyType //申请类型
} }
console.log(this.applyType.indexOf('04')) let insuredBirthday = localStorage.getItem('insuredBirthday')
this.age = utils.jsGetAge(insuredBirthday)
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = '' document.body.style.backgroundColor = ''
@@ -424,7 +428,6 @@ export default {
}, },
// 下一步 // 下一步
nextStep() { nextStep() {
console.log(this.list)
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击
@@ -439,10 +442,11 @@ export default {
// }, // },
claimImageReqDTO: { claimImageReqDTO: {
businessNo: localStorage.businessNo, //业务号 businessNo: localStorage.businessNo, //业务号
claimImageInfoDTOS: this.list claimImageInfoDTOS: this.list,
}, },
slaveStatus: 'claimApplyImage' slaveStatus: 'claimApplyImage'
} }
console.log(data)
apply(data).then(res => { apply(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
this.$toast.clear() this.$toast.clear()

View File

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

View File

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