This commit is contained in:
邓晓坤
2019-10-15 09:43:22 +08:00
parent 1c4059208d
commit 3b6386c683

View File

@@ -495,8 +495,7 @@ export default {
methods: {
// 删除图片前
beforeDelete(file, detail) {
console.log(this.fileListtypebeneficiary)
console.log(file)
let that = this
Dialog.confirm({
title: '提示',
@@ -545,8 +544,6 @@ export default {
test(type, id) {
let that = this
that.id = id
// console.log(id)
// console.log(type)
switch (type) {
case 'fileListIdFront':
that.type = type
@@ -592,9 +589,6 @@ export default {
deleteImg(file) {
let that = this
that.list.map((item, index, array) => {
// console.log(item.rgssUrl)
// console.log(file.file.name)
// console.log(item.rgssUrl.indexOf(file.file.name))
if (item.fileName.indexOf(file.file.name) == -1) {
return
} else {
@@ -982,7 +976,7 @@ export default {
// 2.指定受益人
// 3.受益人与被保人关系为其他
let beneficiaryInfoList = JSON.parse(window.localStorage.getItem('beneficiaryInfo'))
console.log(JSON.parse(window.localStorage.getItem('beneficiaryInfo')))
if (window.localStorage.getItem('fromAddBeneficiaryInfo') && JSON.parse(window.localStorage.getItem('trialList'))[0].prem >= 200000) {
for (let index = 0; index < beneficiaryInfoList.length; index++) {
if (beneficiaryInfoList[index].relationToInsured == 5) {
@@ -1010,7 +1004,6 @@ export default {
saleInsuredInfoOther,
fileListtypebeneficiary
} = this
console.log(this)
return {
fileListIdFront,
fileListIdBack,
@@ -1030,7 +1023,6 @@ export default {
},
watch: {
listenChange(val) {
console.log(this.typebeneficiary, 'typebeneficiary')
let that = this
if (
(val.fileListIdFront.length != '0' &&