mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-18 21:26:44 +08:00
Merge branch 'dev_claim' into dev
This commit is contained in:
@@ -384,7 +384,7 @@ export default {
|
|||||||
nextStep() {
|
nextStep() {
|
||||||
console.log(this.userInfo)
|
console.log(this.userInfo)
|
||||||
if (localStorage.insuranceId) {
|
if (localStorage.insuranceId) {
|
||||||
this.id = localStorage.getItem('insuranceId')
|
this.userInfo.id = localStorage.getItem('insuranceId')
|
||||||
}
|
}
|
||||||
this.$validator.validate().then(valid => {
|
this.$validator.validate().then(valid => {
|
||||||
if (true === valid) {
|
if (true === valid) {
|
||||||
|
|||||||
@@ -1001,7 +1001,7 @@ export default {
|
|||||||
save() {
|
save() {
|
||||||
console.log(this.userInfo)
|
console.log(this.userInfo)
|
||||||
if (localStorage.applyId) {
|
if (localStorage.applyId) {
|
||||||
this.id = localStorage.getItem('applyId')
|
this.userInfo.id = localStorage.getItem('applyId')
|
||||||
}
|
}
|
||||||
let that = this
|
let that = this
|
||||||
// switch (this.isPettyCase) {
|
// switch (this.isPettyCase) {
|
||||||
|
|||||||
@@ -206,9 +206,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
caseDetail() {
|
caseDetail() {},
|
||||||
|
|
||||||
},
|
|
||||||
tabChange(name,title) {
|
tabChange(name,title) {
|
||||||
this.currentPage = 1
|
this.currentPage = 1
|
||||||
this.active = name
|
this.active = name
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
<van-button type="danger" size="small" @click="sign(1)" v-no-more-click="1000" :disabled="isDisableInsured">{{
|
<van-button type="danger" size="small" @click="sign(1)" v-no-more-click="1000" :disabled="isDisableInsured">{{
|
||||||
list.applyerSignState == '0' ? '签名' : '已签名'
|
list.applyerSignState == '0' ? '签名' : '已签名'
|
||||||
}}</van-button>
|
}}</van-button>
|
||||||
<!-- <img class="img pl15" :src="base64" alt /> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,12 +8,12 @@
|
|||||||
<van-field required :label="item.issueType | filterType" disabled />
|
<van-field required :label="item.issueType | filterType" disabled />
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
<div class="p10">
|
<div class="p10">
|
||||||
<span class="fs14">
|
<span class="fs14 red">
|
||||||
问题说明:
|
问题说明:
|
||||||
<br />
|
<br />
|
||||||
{{item.issueContent}}
|
{{item.issueContent}}
|
||||||
</span>
|
</span>
|
||||||
<div @click="test(item.issueType)">
|
<div @click="test(item.issueType,index)">
|
||||||
<van-uploader
|
<van-uploader
|
||||||
:name="index"
|
:name="index"
|
||||||
v-model="fileList[index]"
|
v-model="fileList[index]"
|
||||||
@@ -62,7 +62,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isDisabled: false, //待验证
|
isDisabled: true, //待验证
|
||||||
issueDetails: [], //后台返回需要上传的图片类型数组
|
issueDetails: [], //后台返回需要上传的图片类型数组
|
||||||
len: '', //需要上传图片类型数组的length
|
len: '', //需要上传图片类型数组的length
|
||||||
// 理赔申请书
|
// 理赔申请书
|
||||||
@@ -78,7 +78,9 @@ export default {
|
|||||||
// accidentCause: '', //出险原因
|
// accidentCause: '', //出险原因
|
||||||
// applyType: '', //申请类型
|
// applyType: '', //申请类型
|
||||||
list: [], //给后台传的list
|
list: [], //给后台传的list
|
||||||
imageType: ''
|
imageType: '',
|
||||||
|
|
||||||
|
isDisabledStr: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -90,6 +92,10 @@ export default {
|
|||||||
let item = []
|
let item = []
|
||||||
this.fileList.push(item)
|
this.fileList.push(item)
|
||||||
}
|
}
|
||||||
|
for (var i = 0; i < this.len; i++) {
|
||||||
|
let Status = true
|
||||||
|
this.isDisabledStr.push(Status)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
document.body.style.backgroundColor = ''
|
document.body.style.backgroundColor = ''
|
||||||
@@ -169,9 +175,23 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
test(type) {
|
test(type, index) {
|
||||||
let that = this
|
let that = this
|
||||||
that.type = type
|
that.type = type
|
||||||
|
console.log(index)
|
||||||
|
if (this.fileList[index].length > 0) {
|
||||||
|
this.isDisabledStr.splice(index, 1, 'false')
|
||||||
|
} else {
|
||||||
|
this.isDisabledStr.splice(index, 1, 'true')
|
||||||
|
}
|
||||||
|
//循环查询isDisabledStr数组中还是否有true
|
||||||
|
for (let i = 0; i < this.isDisabledStr.length; i++) {
|
||||||
|
if (this.isDisabledStr[i] === 'true') {
|
||||||
|
this.isDisabled = true
|
||||||
|
} else {
|
||||||
|
this.isDisabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 下一步
|
// 下一步
|
||||||
nextStep() {
|
nextStep() {
|
||||||
@@ -202,13 +222,12 @@ 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')
|
// localStorage.removeItem('claimId', 'applyId', 'insuranceId')
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
url: location.origin + '/#/claims/success',
|
url: location.origin + '/#/claims/success',
|
||||||
forbidSwipeBack: '1',
|
forbidSwipeBack: '1',
|
||||||
pullRefresh: '1',
|
|
||||||
backToFirst: '1'
|
backToFirst: '1'
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
@@ -216,12 +235,12 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.list = []
|
// this.list = []
|
||||||
this.fileList = []
|
// this.fileList = []
|
||||||
for (var i = 0; i < this.len; i++) {
|
// for (var i = 0; i < this.len; i++) {
|
||||||
let item = []
|
// let item = []
|
||||||
this.fileList.push(item)
|
// this.fileList.push(item)
|
||||||
}
|
// }
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList02"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList03"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList04"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList05"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList06"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList07"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList08"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList09"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList10"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
:after-read="afterRead"
|
:after-read="afterRead"
|
||||||
@delete="deleteImg"
|
@delete="deleteImg"
|
||||||
:before-delete="beforeDelete"
|
:before-delete="beforeDelete"
|
||||||
class="mt10 ml20"
|
class="mt10 ml20 img fileList11"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -223,7 +223,7 @@ import { progressDetail, apply } from '@/api/ebiz/claims/claims'
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isDisabled: false, //待验证
|
isDisabled: true, //待验证
|
||||||
// 理赔申请书
|
// 理赔申请书
|
||||||
// fileList01: [],
|
// fileList01: [],
|
||||||
// 申请人有效身份证件
|
// 申请人有效身份证件
|
||||||
@@ -262,7 +262,9 @@ export default {
|
|||||||
age: '', //被保人的年龄
|
age: '', //被保人的年龄
|
||||||
applyerBirthday: '', //申请人的出生日期
|
applyerBirthday: '', //申请人的出生日期
|
||||||
|
|
||||||
a: []
|
classList: [],
|
||||||
|
DOMlist: [], //当前页面所有的上传框
|
||||||
|
isDisabledStr: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -275,6 +277,14 @@ export default {
|
|||||||
}
|
}
|
||||||
let insuredBirthday = localStorage.getItem('insuredBirthday')
|
let insuredBirthday = localStorage.getItem('insuredBirthday')
|
||||||
this.age = utils.jsGetAge(insuredBirthday)
|
this.age = utils.jsGetAge(insuredBirthday)
|
||||||
|
this.$nextTick(function() {
|
||||||
|
let lists = []
|
||||||
|
this.DOMlist = document.querySelectorAll('.img')
|
||||||
|
this.DOMlist.forEach(function(item, index) {
|
||||||
|
lists.push(item.classList[3])
|
||||||
|
})
|
||||||
|
this.classList = lists //保存当前所有上传框的className
|
||||||
|
})
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
document.body.style.backgroundColor = ''
|
document.body.style.backgroundColor = ''
|
||||||
@@ -326,11 +336,11 @@ export default {
|
|||||||
let formdata = new FormData()
|
let formdata = new FormData()
|
||||||
|
|
||||||
formdata.append('imgPath', that.dataURLtoFile(that.file, that.imgName))
|
formdata.append('imgPath', that.dataURLtoFile(that.file, that.imgName))
|
||||||
console.log('file-----------------', that.file)
|
// console.log('file-----------------', that.file)
|
||||||
console.log('name-----------------', that.imgName)
|
// console.log('name-----------------', that.imgName)
|
||||||
uploadImg(formdata).then(res => {
|
uploadImg(formdata).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
console.log(res)
|
// console.log(res)
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
if (that.type == 'fileList01') {
|
if (that.type == 'fileList01') {
|
||||||
this.imageType = '1'
|
this.imageType = '1'
|
||||||
@@ -424,7 +434,6 @@ export default {
|
|||||||
test(type) {
|
test(type) {
|
||||||
let that = this
|
let that = this
|
||||||
that.type = type
|
that.type = type
|
||||||
that.a.push(type)
|
|
||||||
},
|
},
|
||||||
// 下一步
|
// 下一步
|
||||||
nextStep() {
|
nextStep() {
|
||||||
@@ -442,11 +451,10 @@ 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()
|
||||||
@@ -464,7 +472,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.list = []
|
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -504,79 +511,23 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
listenChange(val) {
|
listenChange(val) {
|
||||||
// console.log(JSON.stringify(val))
|
this.classList.map((item, index, array) => {
|
||||||
// this.a.map((item, index, array) => {
|
if (val[item].length > 0) {
|
||||||
// console.log(val[item])
|
//当对应fileList的length不为0时,替换isDisabledStr数组中对应下标的true为false
|
||||||
// if (val[item].length !=length) {
|
this.isDisabledStr.splice(index, 1, 'false')
|
||||||
// this.isDisabled = false
|
} else {
|
||||||
// } else {
|
//否则还是为true
|
||||||
// return
|
this.isDisabledStr.splice(index, 1, 'true')
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// let that = this
|
//循环查询isDisabledStr数组中还是否有true
|
||||||
// //申请类型存在身故时
|
for (let i = 0; i < this.isDisabledStr.length; i++) {
|
||||||
// if (that.applyType.indexOf('04') >= 0) {
|
if (this.isDisabledStr[i] === 'true') {
|
||||||
// if (val.fileList04.length != '0' && val.fileList05.length != '0' && val.fileList08.length != '0' && val.fileList11.length != '0') {
|
this.isDisabled = true
|
||||||
// that.isDisabled = false
|
} else {
|
||||||
// } else {
|
this.isDisabled = false
|
||||||
// that.isDisabled = true
|
}
|
||||||
// }
|
}
|
||||||
// }
|
|
||||||
// //申请类型不存在身故时
|
|
||||||
// if (that.applyType.indexOf('04') == -1) {
|
|
||||||
// //年龄小于18岁时判断被保险人有效身份证件及与申请人的关系证明
|
|
||||||
// if (that.age < 18) {
|
|
||||||
// //年龄小于18并且申请类型包含住院日额或医疗费用及重大疾病或中症或轻症或特定疾病
|
|
||||||
// if (
|
|
||||||
// (that.applyType.indexOf('01') || that.applyType.indexOf('02')) &&
|
|
||||||
// (that.applyType.indexOf('03') || that.applyType.indexOf('07') || that.applyType.indexOf('08') || that.applyType.indexOf('09'))
|
|
||||||
// ) {
|
|
||||||
// if (
|
|
||||||
// val.fileList02.length != '0' &&
|
|
||||||
// val.fileList03.length != '0' &&
|
|
||||||
// val.fileList05.length != '0' &&
|
|
||||||
// val.fileList06.length != '0' &&
|
|
||||||
// val.fileList07.length != '0' &&
|
|
||||||
// val.fileList09.length != '0'
|
|
||||||
// ) {
|
|
||||||
// that.isDisabled = false
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// if (that.applyType.indexOf('01') || that.applyType.indexOf('02')) {
|
|
||||||
// //年龄小于18且申请类型包含住院日额或医疗费用时
|
|
||||||
// if (
|
|
||||||
// val.fileList02.length != '0' &&
|
|
||||||
// val.fileList03.length != '0' &&
|
|
||||||
// val.fileList05.length != '0' &&
|
|
||||||
// val.fileList06.length != '0' &&
|
|
||||||
// val.fileList07.length != '0'
|
|
||||||
// ) {
|
|
||||||
// that.isDisabled = false
|
|
||||||
// }
|
|
||||||
// //年龄小于18无其他附加条件时
|
|
||||||
// } else {
|
|
||||||
// if (val.fileList03.length != '0' && val.fileList02.length != '0' && val.fileList05.length != '0' && val.fileList06.length != '0') {
|
|
||||||
// that.isDisabled = false
|
|
||||||
// } else {
|
|
||||||
// that.isDisabled = true
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// // //申请类型没有身故时且年龄不小于18岁排除上面的一项
|
|
||||||
// // } else if (val.fileList02.length != '0' && val.fileList05.length != '0' && val.fileList06.length != '0') {
|
|
||||||
// // that.isDisabled = false
|
|
||||||
// // } else {
|
|
||||||
// // that.isDisabled = true
|
|
||||||
// // }
|
|
||||||
// // if (that.applyType.indexOf('01') >= 0) {
|
|
||||||
// // }
|
|
||||||
// //不存在身故且无任何附加条件
|
|
||||||
// if (val.fileList02.length != '0' && val.fileList05.length != '0' && val.fileList06.length != '0') {
|
|
||||||
// that.isDisabled = false
|
|
||||||
// } else {
|
|
||||||
// that.isDisabled = true
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -501,7 +501,7 @@ export default {
|
|||||||
save() {
|
save() {
|
||||||
console.log(this.userInfo)
|
console.log(this.userInfo)
|
||||||
if (localStorage.claimId) {
|
if (localStorage.claimId) {
|
||||||
this.id = localStorage.getItem('claimId')
|
this.userInfo.id = localStorage.getItem('claimId')
|
||||||
}
|
}
|
||||||
localStorage.setItem('insuredBirthday', this.userInfo.insuredBirthday)
|
localStorage.setItem('insuredBirthday', this.userInfo.insuredBirthday)
|
||||||
this.$toast.loading({
|
this.$toast.loading({
|
||||||
|
|||||||
@@ -77,15 +77,15 @@ export default {
|
|||||||
return {
|
return {
|
||||||
// activeName: 'contract', //tab标签页通过标签指定的name进行匹配,contract为契约、preservation为保全、claims为理赔
|
// activeName: 'contract', //tab标签页通过标签指定的name进行匹配,contract为契约、preservation为保全、claims为理赔
|
||||||
issues: [
|
issues: [
|
||||||
{
|
// {
|
||||||
claimNo: '', //赔案号
|
// claimNo: '', //赔案号
|
||||||
accidentDate: '', //出险日期
|
// accidentDate: '', //出险日期
|
||||||
insuredName: '', //被保人姓名
|
// insuredName: '', //被保人姓名
|
||||||
issueContent: '', //问题件内容
|
// issueContent: '', //问题件内容
|
||||||
issueType: '', //问题件类型
|
// issueType: '', //问题件类型
|
||||||
bussType: '', //影像业务类型
|
// bussType: '', //影像业务类型
|
||||||
caseStatus:''//案件状态
|
// caseStatus:''//案件状态
|
||||||
}
|
// }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -125,7 +125,8 @@ export default {
|
|||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
url: location.origin + '/#/claims/FillImage'
|
url: location.origin + '/#/claims/FillImage',
|
||||||
|
forbidSwipeBack:'1'
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
path: '/claims/FillImage'
|
path: '/claims/FillImage'
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
<!-- 报案信息 -->
|
<!-- 报案信息 -->
|
||||||
<van-cell-group>
|
<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>
|
||||||
<select-radio
|
<select-radio
|
||||||
:radios="happenCause"
|
:radios="happenCause"
|
||||||
@@ -177,9 +177,12 @@
|
|||||||
maxlength="200"
|
maxlength="200"
|
||||||
/>
|
/>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
|
|
||||||
|
<!-- 字段选择 -->
|
||||||
<van-popup v-model="popupShow" position="bottom">
|
<van-popup v-model="popupShow" position="bottom">
|
||||||
<van-picker show-toolbar :columns="columns" @confirm="onConfirm" @cancel="popupShow = false" />
|
<van-picker show-toolbar :columns="columns" @confirm="onConfirm" @cancel="popupShow = false" />
|
||||||
</van-popup>
|
</van-popup>
|
||||||
|
|
||||||
<!-- 地区选择 -->
|
<!-- 地区选择 -->
|
||||||
<van-popup v-model="areaShow" position="bottom">
|
<van-popup v-model="areaShow" position="bottom">
|
||||||
<van-area
|
<van-area
|
||||||
@@ -189,6 +192,7 @@
|
|||||||
@cancel="areaShow = false"
|
@cancel="areaShow = false"
|
||||||
/>
|
/>
|
||||||
</van-popup>
|
</van-popup>
|
||||||
|
|
||||||
<div class="bottom-btn bg-white">
|
<div class="bottom-btn bg-white">
|
||||||
<van-button type="danger" size="large" @click="nextStep" v-no-more-click="1000">提交</van-button>
|
<van-button type="danger" size="large" @click="nextStep" v-no-more-click="1000">提交</van-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -266,7 +270,7 @@ export default {
|
|||||||
certiCode: '', //证件号码
|
certiCode: '', //证件号码
|
||||||
certiType: '1', //证件类型
|
certiType: '1', //证件类型
|
||||||
code: '', //验证码
|
code: '', //验证码
|
||||||
smsId: '123456', //获取验证码时返回的
|
smsId: '', //获取验证码时返回的
|
||||||
insuredBirthday: '', //被保人出生日期
|
insuredBirthday: '', //被保人出生日期
|
||||||
insuredName: '', //被保人姓名
|
insuredName: '', //被保人姓名
|
||||||
// insuredNo: '', //被保人编号(当选择被保人本人时传输此数据)
|
// insuredNo: '', //被保人编号(当选择被保人本人时传输此数据)
|
||||||
@@ -494,7 +498,6 @@ export default {
|
|||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 字段取值
|
|
||||||
},
|
},
|
||||||
//点击提交
|
//点击提交
|
||||||
nextStep() {
|
nextStep() {
|
||||||
@@ -546,6 +549,7 @@ export default {
|
|||||||
// name: '王某'
|
// name: '王某'
|
||||||
// },
|
// },
|
||||||
accAddressInfo: this.accAddressInfo, //后端暂时需要,后面可能会删掉
|
accAddressInfo: this.accAddressInfo, //后端暂时需要,后面可能会删掉
|
||||||
|
|
||||||
accAddress: this.accAddress,
|
accAddress: this.accAddress,
|
||||||
accCity: this.accCity,
|
accCity: this.accCity,
|
||||||
accCounty: this.accCounty,
|
accCounty: this.accCounty,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<van-cell title="申请类型" :value="list.applyTypeName"></van-cell>
|
<van-cell title="申请类型" :value="list.applyTypeName"></van-cell>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
<div>
|
<div>
|
||||||
<van-collapse v-model="activeNames" class="mt10" v-if="!isWeixin">
|
<!-- <van-collapse v-model="activeNames" class="mt10" v-if="!isWeixin">
|
||||||
<van-collapse-item name="1">
|
<van-collapse-item name="1">
|
||||||
<div slot="title">
|
<div slot="title">
|
||||||
受托人
|
受托人
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
>开始</van-button>
|
>开始</van-button>
|
||||||
</div>
|
</div>
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
</van-collapse>
|
</van-collapse> -->
|
||||||
<van-collapse v-model="activeNames" class="mt10 pb50">
|
<van-collapse v-model="activeNames" class="mt10 pb50">
|
||||||
<van-collapse-item name="2">
|
<van-collapse-item name="2">
|
||||||
<div slot="title">
|
<div slot="title">
|
||||||
|
|||||||
Reference in New Issue
Block a user