1、影像上传页增加了“银行卡背面”上传框

This commit is contained in:
pang.lizong
2019-09-27 14:18:22 +08:00
parent cd1b81cb17
commit 5f1c54ab7f

View File

@@ -104,6 +104,20 @@
:max-count="1"
/>
</div>
<van-cell-group v-if="isAppant == '0'">
<van-field required label="银行卡反面" disabled />
</van-cell-group>
<div @click="test('fileListBankBack', saleInsuredInfo.idType)" v-if="isAppant == '0'">
<van-uploader
name="fileListBankBack"
v-model="fileListBankBack"
:after-read="afterRead"
@delete="deleteImg"
:before-delete="beforeDelete"
class="mt10 ml20"
:max-count="1"
/>
</div>
</div>
</div>
</div>
@@ -290,6 +304,8 @@ export default {
saleInsuredPersonInfoOther: [],
// 银行账户
fileListBank: [],
// 银行卡背面
fileListBankBack: [],
// 被保人身份证正面
fileListIdFrontInsured: [],
// 被保人身份证反面
@@ -542,6 +558,9 @@ export default {
case 'fileListBank':
that.type = type
break
case 'fileListBankBack':
that.type = type
break
case 'fileListOther':
that.type = type
break
@@ -626,6 +645,7 @@ export default {
that.type == 'fileListIdBack' ||
that.type == 'fileLIstImg' ||
that.type == 'fileListBank' ||
that.type == 'fileListBankBack' ||
that.type == 'saleInsuredInfoOther'
) {
// 是投保人
@@ -638,6 +658,8 @@ export default {
imageInfoType = '2'
} else if (that.type == 'fileListBank') {
imageInfoType = '3'
} else if (that.type == 'fileListBankBack') {
imageInfoType = '4'
} else if (that.type == 'fileListIdFront' && that.id == '2') {
imageInfoType = '5'
} else if (that.type == 'fileListIdBack' && that.id == '2') {