mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 01:22:53 +08:00
Merge branch 'dev_claim' into dev
This commit is contained in:
@@ -927,7 +927,7 @@ export default {
|
||||
// 获取银行卡列表
|
||||
getBankList() {
|
||||
let data = {
|
||||
operateType: 'bank_type'
|
||||
operateType: 'claim_bank_type'
|
||||
}
|
||||
getBankList(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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, // 禁用背景点击
|
||||
|
||||
Reference in New Issue
Block a user