mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 06:36:45 +08:00
[IMP] 理赔申请接口传参更换为根据业务号查询,隐藏报案列表,委托人信息更换为接口查询
This commit is contained in:
@@ -165,6 +165,8 @@ import Hospital from '@/assets/js/utils/hospital'
|
|||||||
import getAreaName from '@/assets/js/utils/get-area-name'
|
import getAreaName from '@/assets/js/utils/get-area-name'
|
||||||
import DataDictionary from '@/assets/js/utils/data-dictionary.js'
|
import DataDictionary from '@/assets/js/utils/data-dictionary.js'
|
||||||
import { apply } from '@/api/ebiz/claims/claims'
|
import { apply } from '@/api/ebiz/claims/claims'
|
||||||
|
import { getAgentInfo } from '@/api/ebiz/my/my'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'accident',
|
name: 'accident',
|
||||||
components: {
|
components: {
|
||||||
@@ -236,7 +238,7 @@ export default {
|
|||||||
popupShow: false, //用于字段选择的显示隐藏
|
popupShow: false, //用于字段选择的显示隐藏
|
||||||
pickerType: '', //用于区分是哪个字段选择
|
pickerType: '', //用于区分是哪个字段选择
|
||||||
valueKey: '',
|
valueKey: '',
|
||||||
columns: [], //用于字段选择绑定的数据
|
columns: [], //用于字段选择绑定的数据
|
||||||
applyType: [], //保存选择的申请类型数组
|
applyType: [], //保存选择的申请类型数组
|
||||||
cause: '0', //通过该值判断出险原因
|
cause: '0', //通过该值判断出险原因
|
||||||
from: this.$route.query.from, //页面跳转来源
|
from: this.$route.query.from, //页面跳转来源
|
||||||
@@ -266,60 +268,33 @@ export default {
|
|||||||
mandatorCertiCode: '', //证件号码
|
mandatorCertiCode: '', //证件号码
|
||||||
agentItem: '01', //代办事项
|
agentItem: '01', //代办事项
|
||||||
days: '', //新增委托天数
|
days: '', //新增委托天数
|
||||||
businessNo: '', //业务号码
|
businessNo: '' //业务号码
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
document.body.style.backgroundColor = '#fff'
|
document.body.style.backgroundColor = '#fff'
|
||||||
|
this.getAgentInfo()
|
||||||
//获取业务号码
|
//获取业务号码
|
||||||
this.userInfo.businessNo = window.localStorage.getItem('businessNo')
|
this.userInfo.businessNo = sessionStorage.businessNo
|
||||||
//获取委托人的信息
|
console.log(this.userInfo.businessNo)
|
||||||
let userModel = JSON.parse(window.localStorage.getItem('userModel'))
|
|
||||||
|
|
||||||
//页面反显委托人信息
|
|
||||||
this.userInfo.mandatorName = userModel.name
|
|
||||||
this.userInfo.mandatorCertiType = userModel.idType
|
|
||||||
this.userInfo.mandatorCertiCode = userModel.idno
|
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
document.body.style.backgroundColor = ''
|
document.body.style.backgroundColor = ''
|
||||||
next()
|
next()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// //点击下一步再次返回页面数据反显
|
//获取委托人信息
|
||||||
// ReturnShow() {
|
getAgentInfo() {
|
||||||
// console.log(888888)
|
let data = {}
|
||||||
// if (localStorage.insuranceId !== undefined && localStorage.insuranceId !== null && localStorage.insuranceId !== '') {
|
getAgentInfo(data).then(res => {
|
||||||
// this.insuranceId = localStorage.insuranceId
|
if (res.result == 0) {
|
||||||
// let data = {
|
this.userInfo.mandatorName = res.name
|
||||||
// slaveStatus: this.slaveStatus,
|
this.userInfo.mandatorCertiType = res.cardType
|
||||||
// id: this.insuranceId
|
this.userInfo.mandatorCertiCode = res.cardNo
|
||||||
// }
|
}
|
||||||
// query(data).then(res => {
|
})
|
||||||
// // console.log(res.content.claimApplyRiskReqDTO.applyType)
|
},
|
||||||
// // console.log(this.userInfo.accidentCause)
|
|
||||||
// if (res.result == 0) {
|
|
||||||
// this.userInfo = res.content.claimApplyRiskReqDTO
|
|
||||||
// //保存后台返回的申请类型字符串
|
|
||||||
// let ClassStr = res.content.claimApplyRiskReqDTO.applyType
|
|
||||||
// //将字符串转换成数组
|
|
||||||
// this.arr = ClassStr.split(',')
|
|
||||||
// switch (this.userInfo.accidentCause) {
|
|
||||||
// case '1':
|
|
||||||
// this.cause = '0'
|
|
||||||
// break
|
|
||||||
// case '2':
|
|
||||||
// this.cause = '1'
|
|
||||||
// break
|
|
||||||
// }
|
|
||||||
// } else {
|
|
||||||
// this.$toast(res.resultMessage)
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
//出险日期
|
//出险日期
|
||||||
onDateConfirm(val) {
|
onDateConfirm(val) {
|
||||||
//如果录入日期晚于当前日期
|
//如果录入日期晚于当前日期
|
||||||
|
|||||||
@@ -206,16 +206,16 @@
|
|||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@click="toSelect('5')"
|
@click="toSelect('5')"
|
||||||
/>
|
/>
|
||||||
<van-field
|
<van-field
|
||||||
v-model="userInfo.applyerBankAccountNo"
|
v-model="userInfo.applyerBankAccountNo"
|
||||||
label="银行卡号"
|
label="银行卡号"
|
||||||
maxlength="19"
|
maxlength="19"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
required
|
required
|
||||||
v-validate="'required|bankCard'"
|
v-validate="'required|bankCard'"
|
||||||
data-vv-name="银行卡号"
|
data-vv-name="银行卡号"
|
||||||
>
|
>
|
||||||
<van-button
|
<van-button
|
||||||
type="danger"
|
type="danger"
|
||||||
size="small"
|
size="small"
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
@click="cardScanning('0')"
|
@click="cardScanning('0')"
|
||||||
v-no-more-click="1000"
|
v-no-more-click="1000"
|
||||||
>银行卡扫描</van-button>
|
>银行卡扫描</van-button>
|
||||||
</van-field>
|
</van-field>
|
||||||
<!-- <select-radio
|
<!-- <select-radio
|
||||||
:radios="pennyRadio"
|
:radios="pennyRadio"
|
||||||
label="小额案件"
|
label="小额案件"
|
||||||
@@ -495,7 +495,7 @@ export default {
|
|||||||
customerNo: '', //客户编号
|
customerNo: '', //客户编号
|
||||||
DataIndex: '', //点击客户的index,用来获取对应客户信息
|
DataIndex: '', //点击客户的index,用来获取对应客户信息
|
||||||
// CustomerDetails:[],//客户详情数据
|
// CustomerDetails:[],//客户详情数据
|
||||||
|
|
||||||
currentDate: new Date(), //当前时间
|
currentDate: new Date(), //当前时间
|
||||||
customerShowPicker: false,
|
customerShowPicker: false,
|
||||||
currentPopupIndex: '',
|
currentPopupIndex: '',
|
||||||
@@ -516,10 +516,8 @@ export default {
|
|||||||
activeNames: ['1'],
|
activeNames: ['1'],
|
||||||
|
|
||||||
slaveStatus: 'claimApplyInfo', //进行到的状态
|
slaveStatus: 'claimApplyInfo', //进行到的状态
|
||||||
applyId: '', //申请信息主键id
|
|
||||||
from: this.$route.query.from, //页面跳转来源
|
from: this.$route.query.from, //页面跳转来源
|
||||||
userInfo: {
|
userInfo: {
|
||||||
id: '',
|
|
||||||
businessNo: localStorage.businessNo, //业务号
|
businessNo: localStorage.businessNo, //业务号
|
||||||
applyerRelation: '', //申请人身份
|
applyerRelation: '', //申请人身份
|
||||||
applyerName: '', //姓名
|
applyerName: '', //姓名
|
||||||
@@ -599,25 +597,6 @@ export default {
|
|||||||
next()
|
next()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//点击下一步再次返回页面数据反显
|
|
||||||
// ReturnShow() {
|
|
||||||
// if (localStorage.applyId !== undefined && localStorage.applyId !== null && localStorage.applyId !== '') {
|
|
||||||
// this.applyId = localStorage.applyId
|
|
||||||
|
|
||||||
// let data = {
|
|
||||||
// slaveStatus: this.slaveStatus,
|
|
||||||
// id: this.applyId
|
|
||||||
// }
|
|
||||||
// query(data).then(res => {
|
|
||||||
// if (res.result == 0) {
|
|
||||||
// console.log(res)
|
|
||||||
// this.userInfo = res.content.claimApplyInfoReqDTO
|
|
||||||
// } else {
|
|
||||||
// this.$toast(res.resultMessage)
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
//监听名字变化
|
//监听名字变化
|
||||||
nameChange(name) {
|
nameChange(name) {
|
||||||
this.userInfo.applyerName = name
|
this.userInfo.applyerName = name
|
||||||
@@ -692,7 +671,7 @@ export default {
|
|||||||
this.DataIndex = Detail[0][1]
|
this.DataIndex = Detail[0][1]
|
||||||
this.customerShowPicker = false
|
this.customerShowPicker = false
|
||||||
let data = {
|
let data = {
|
||||||
customerNo: this.customerNo,
|
customerNo: this.customerNo
|
||||||
// surrenderType: '0'
|
// surrenderType: '0'
|
||||||
}
|
}
|
||||||
customerInfo(data).then(res => {
|
customerInfo(data).then(res => {
|
||||||
@@ -766,8 +745,7 @@ export default {
|
|||||||
//被保人信息主键id
|
//被保人信息主键id
|
||||||
let data = {
|
let data = {
|
||||||
slaveStatus: 'claimApplyInsured',
|
slaveStatus: 'claimApplyInsured',
|
||||||
businessNo: localStorage.businessNo
|
businessNo: localStorage.businessNo
|
||||||
|
|
||||||
}
|
}
|
||||||
query(data).then(res => {
|
query(data).then(res => {
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
@@ -1007,9 +985,6 @@ export default {
|
|||||||
},
|
},
|
||||||
save() {
|
save() {
|
||||||
console.log(this.userInfo)
|
console.log(this.userInfo)
|
||||||
if (localStorage.applyId) {
|
|
||||||
this.userInfo.id = localStorage.getItem('applyId')
|
|
||||||
}
|
|
||||||
let that = this
|
let that = this
|
||||||
// switch (this.isPettyCase) {
|
// switch (this.isPettyCase) {
|
||||||
// case '0':
|
// case '0':
|
||||||
@@ -1026,11 +1001,6 @@ export default {
|
|||||||
message: '加载中……'
|
message: '加载中……'
|
||||||
})
|
})
|
||||||
let data = {
|
let data = {
|
||||||
// userModel: {
|
|
||||||
// id: '123456',
|
|
||||||
// name: '王某',
|
|
||||||
// mobile: '13592585978'
|
|
||||||
// },
|
|
||||||
slaveStatus: this.slaveStatus,
|
slaveStatus: this.slaveStatus,
|
||||||
claimApplyInfoReqDTO: this.userInfo
|
claimApplyInfoReqDTO: this.userInfo
|
||||||
}
|
}
|
||||||
@@ -1038,7 +1008,7 @@ export default {
|
|||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
console.log(res)
|
console.log(res)
|
||||||
localStorage.setItem('applyId', res.content.applyId)
|
localStorage.setItem('businessNo', res.content.businessNo)
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
@@ -1085,7 +1055,7 @@ export default {
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
.van-cell {
|
.van-cell {
|
||||||
align-items: center
|
align-items: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.Other-fees-list {
|
.Other-fees-list {
|
||||||
@@ -1100,5 +1070,4 @@ export default {
|
|||||||
.border {
|
.border {
|
||||||
border: 1px dashed #cccccc;
|
border: 1px dashed #cccccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -2,23 +2,12 @@
|
|||||||
<div class="sale-list-container pb50">
|
<div class="sale-list-container pb50">
|
||||||
<van-sticky>
|
<van-sticky>
|
||||||
<van-tabs :line-width="45" v-model="active" @change="tabChange" sticky>
|
<van-tabs :line-width="45" v-model="active" @change="tabChange" sticky>
|
||||||
<van-tab name="claimProgress" title="已报案"></van-tab>
|
<!-- <van-tab name="claimProgress" title="已报案"></van-tab> -->
|
||||||
<van-tab name="applying" title="申请中"></van-tab>
|
<van-tab name="applying" title="申请中"></van-tab>
|
||||||
<van-tab name="claimProgress" title="未结案"></van-tab>
|
<van-tab name="claimProgress" title="未结案"></van-tab>
|
||||||
<van-tab name="claimProgress" title="已结案"></van-tab>
|
<van-tab name="claimProgress" title="已结案"></van-tab>
|
||||||
</van-tabs>
|
</van-tabs>
|
||||||
</van-sticky>
|
</van-sticky>
|
||||||
|
|
||||||
<!-- <van-list
|
|
||||||
v-model="loading"
|
|
||||||
:immediate-check="false"
|
|
||||||
:finished="finished"
|
|
||||||
:finished-text="finishedText"
|
|
||||||
error-text="请求失败,点击重新加载"
|
|
||||||
:error.sync="error"
|
|
||||||
@load="loadMore"
|
|
||||||
class="pb45"
|
|
||||||
>-->
|
|
||||||
<div v-if="isSuccess">
|
<div v-if="isSuccess">
|
||||||
<div v-if="claimsList.length > 0">
|
<div v-if="claimsList.length > 0">
|
||||||
<div v-for="(item, index) in claimsList" :key="index">
|
<div v-for="(item, index) in claimsList" :key="index">
|
||||||
@@ -148,13 +137,6 @@ export default {
|
|||||||
active: 'claimProgress', //applying 待申请 claimProgress查进度
|
active: 'claimProgress', //applying 待申请 claimProgress查进度
|
||||||
claimsList: [], //接口数据
|
claimsList: [], //接口数据
|
||||||
actives: [], //查进度状态
|
actives: [], //查进度状态
|
||||||
// loading: false,
|
|
||||||
// finished: false,
|
|
||||||
// total: '', //总页数
|
|
||||||
// currentPage: 1, //当前页数
|
|
||||||
// error: false,
|
|
||||||
// finishedText: '没有更多了',
|
|
||||||
// pageSize: 5, //每页数据条数
|
|
||||||
isSuccess: false, //有无数据显示
|
isSuccess: false, //有无数据显示
|
||||||
caseStatus: '10' //案件状态
|
caseStatus: '10' //案件状态
|
||||||
}
|
}
|
||||||
@@ -168,15 +150,6 @@ export default {
|
|||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//分页用
|
|
||||||
// loadMore() {
|
|
||||||
// let pageInfo = {
|
|
||||||
// pageNum: this.currentPage,
|
|
||||||
// pageSize: this.pageSize,
|
|
||||||
// progressStatus: this.active
|
|
||||||
// }
|
|
||||||
// this.getOrderList(pageInfo)
|
|
||||||
// },
|
|
||||||
appCallBack(data) {
|
appCallBack(data) {
|
||||||
if (data.trigger == 'left_button_click') {
|
if (data.trigger == 'left_button_click') {
|
||||||
this.$jump({
|
this.$jump({
|
||||||
@@ -187,11 +160,6 @@ export default {
|
|||||||
//初始化列表
|
//初始化列表
|
||||||
getOrderList() {
|
getOrderList() {
|
||||||
let data = {
|
let data = {
|
||||||
// userModel: {
|
|
||||||
// id: '123456',
|
|
||||||
// name: '王某',
|
|
||||||
// mobile: '13592585978'
|
|
||||||
// },
|
|
||||||
progressStatus: this.active,
|
progressStatus: this.active,
|
||||||
caseStatus: this.caseStatus
|
caseStatus: this.caseStatus
|
||||||
}
|
}
|
||||||
@@ -215,9 +183,6 @@ export default {
|
|||||||
this.isSuccess = false
|
this.isSuccess = false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// this.finished = true
|
|
||||||
// this.loading = false
|
|
||||||
// this.finishedText = res.resultMessage
|
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -235,9 +200,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.getOrderList()
|
this.getOrderList()
|
||||||
//;[this.loading, this.finished] = [true, false]
|
|
||||||
// this.finishedText = '正在加载...'
|
|
||||||
//this.loadMore()
|
|
||||||
},
|
},
|
||||||
del(businessNo) {
|
del(businessNo) {
|
||||||
Dialog.confirm({
|
Dialog.confirm({
|
||||||
@@ -271,9 +233,6 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goApply() {
|
goApply() {
|
||||||
localStorage.removeItem('claimId')
|
|
||||||
localStorage.removeItem('insuranceId')
|
|
||||||
localStorage.removeItem('applyId')
|
|
||||||
let that = this
|
let that = this
|
||||||
that.$jump({
|
that.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
@@ -288,9 +247,6 @@ export default {
|
|||||||
},
|
},
|
||||||
goEdit(status, businessNo, claimId) {
|
goEdit(status, businessNo, claimId) {
|
||||||
let that = this
|
let that = this
|
||||||
localStorage.removeItem('claimId')
|
|
||||||
localStorage.removeItem('insuranceId')
|
|
||||||
localStorage.removeItem('applyId')
|
|
||||||
localStorage.setItem('claimFrom', 'claimList')
|
localStorage.setItem('claimFrom', 'claimList')
|
||||||
localStorage.setItem('businessNo', businessNo)
|
localStorage.setItem('businessNo', businessNo)
|
||||||
let url = ''
|
let url = ''
|
||||||
@@ -300,11 +256,9 @@ export default {
|
|||||||
break
|
break
|
||||||
case '21': //填写出险信息页
|
case '21': //填写出险信息页
|
||||||
url = '/claims/Accident?edit=1'
|
url = '/claims/Accident?edit=1'
|
||||||
localStorage.setItem('claimId', claimId)
|
|
||||||
break
|
break
|
||||||
case '22': //填写理赔申请信息
|
case '22': //填写理赔申请信息
|
||||||
url = '/claims/ApplyInfo?edit=1'
|
url = '/claims/ApplyInfo?edit=1'
|
||||||
localStorage.setItem('claimId', claimId)
|
|
||||||
break
|
break
|
||||||
case '23': //上传影像页
|
case '23': //上传影像页
|
||||||
url = '/claims/ImageData?edit=1'
|
url = '/claims/ImageData?edit=1'
|
||||||
|
|||||||
@@ -210,11 +210,6 @@ export default {
|
|||||||
message: '加载中……'
|
message: '加载中……'
|
||||||
})
|
})
|
||||||
let data = {
|
let data = {
|
||||||
// userModel: {
|
|
||||||
// id: '123456',
|
|
||||||
// name: '王某',
|
|
||||||
// mobile: '13592585978'
|
|
||||||
// },
|
|
||||||
claimImageInfoDTOS: this.list,
|
claimImageInfoDTOS: this.list,
|
||||||
claimNo: this.imgClaimNo
|
claimNo: this.imgClaimNo
|
||||||
}
|
}
|
||||||
@@ -222,7 +217,6 @@ export default {
|
|||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
// localStorage.removeItem('claimId', 'applyId', 'insuranceId')
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
|
|||||||
@@ -253,14 +253,12 @@ export default {
|
|||||||
// 图片名称
|
// 图片名称
|
||||||
imgName: '',
|
imgName: '',
|
||||||
// 是哪个证件类型
|
// 是哪个证件类型
|
||||||
id: '',
|
|
||||||
type: '', //
|
type: '', //
|
||||||
accidentCause: '', //出险原因
|
accidentCause: '', //出险原因
|
||||||
applyType: '', //申请类型
|
applyType: '', //申请类型
|
||||||
list: [], //给后台传的list
|
list: [], //给后台传的list
|
||||||
imageType: '',
|
imageType: '',
|
||||||
age: '', //被保人的年龄
|
age: '', //被保人的年龄
|
||||||
applyerBirthday: '', //申请人的出生日期
|
|
||||||
|
|
||||||
classList: [],
|
classList: [],
|
||||||
DOMlist: [], //当前页面所有的上传框
|
DOMlist: [], //当前页面所有的上传框
|
||||||
@@ -432,8 +430,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
test(type) {
|
test(type) {
|
||||||
let that = this
|
this.type = type
|
||||||
that.type = type
|
|
||||||
},
|
},
|
||||||
// 下一步
|
// 下一步
|
||||||
nextStep() {
|
nextStep() {
|
||||||
@@ -444,11 +441,6 @@ export default {
|
|||||||
message: '加载中……'
|
message: '加载中……'
|
||||||
})
|
})
|
||||||
let data = {
|
let data = {
|
||||||
// userModel: {
|
|
||||||
// id: '123456',
|
|
||||||
// name: '王某',
|
|
||||||
// mobile: '13592585978'
|
|
||||||
// },
|
|
||||||
claimImageReqDTO: {
|
claimImageReqDTO: {
|
||||||
businessNo: localStorage.businessNo, //业务号
|
businessNo: localStorage.businessNo, //业务号
|
||||||
claimImageInfoDTOS: this.list
|
claimImageInfoDTOS: this.list
|
||||||
@@ -458,9 +450,6 @@ export default {
|
|||||||
apply(data).then(res => {
|
apply(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
localStorage.removeItem('claimId')
|
|
||||||
localStorage.removeItem('applyId')
|
|
||||||
localStorage.removeItem('insuranceId')
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
|
|||||||
@@ -222,7 +222,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
slaveStatus: 'claimApplyInsured', //进行到的状态
|
slaveStatus: 'claimApplyInsured', //进行到的状态
|
||||||
// claimId: '', //用于数据反显的id
|
|
||||||
currentDate: new Date(), //当前时间
|
currentDate: new Date(), //当前时间
|
||||||
from: this.$route.query.from, //跳转来源
|
from: this.$route.query.from, //跳转来源
|
||||||
columns: [],
|
columns: [],
|
||||||
@@ -350,19 +349,19 @@ export default {
|
|||||||
})
|
})
|
||||||
that.isScan = false
|
that.isScan = false
|
||||||
},
|
},
|
||||||
// 点击去搜索页
|
// 已有历史报案信息
|
||||||
toSearch() {
|
// toSearch() {
|
||||||
this.$jump({
|
// this.$jump({
|
||||||
flag: 'h5',
|
// flag: 'h5',
|
||||||
extra: {
|
// extra: {
|
||||||
url: location.origin + '/#/claims/searchCustomer?from=InsuredInfo',
|
// url: location.origin + '/#/claims/searchCustomer?from=InsuredInfo',
|
||||||
backToFirst: '1'
|
// backToFirst: '1'
|
||||||
},
|
// },
|
||||||
routerInfo: {
|
// routerInfo: {
|
||||||
path: '/claims/searchCustomer?from=InsuredInfo'
|
// path: '/claims/searchCustomer?from=InsuredInfo'
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
//确认选择字段
|
//确认选择字段
|
||||||
onConfirm(value) {
|
onConfirm(value) {
|
||||||
this.popupShow = false
|
this.popupShow = false
|
||||||
@@ -549,9 +548,7 @@ export default {
|
|||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
localStorage.setItem('businessNo', res.content.businessNo)
|
sessionStorage.setItem('businessNo', res.content.businessNo)
|
||||||
let Data = JSON.stringify(res.content.userModel)
|
|
||||||
localStorage.setItem('userModel', Data)
|
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
|
|||||||
Reference in New Issue
Block a user