dev2 #1

Open
panjunjie wants to merge 174 commits from dev2 into main
2 changed files with 36 additions and 15 deletions
Showing only changes of commit 828b07fd88 - Show all commits

View File

@ -57,10 +57,10 @@ const certificate = [
key: 'license_image',
label: '许可证图片',
},
// {
// key: 'legal_person_mobile',
// label: '法人手机号',
// },
{
key: 'legal_person_mobile',
label: '法人手机号',
},
{
key: 'legalPersonOCR',
label: '法人身份证OCR识别',
@ -116,7 +116,7 @@ const bankInfo = [
// },
]
const formConfig = [
const enterpriseCheckBoxList = [
{
key: 'contact_name',
label: '联系人',
@ -138,11 +138,11 @@ const formConfig = [
label: '详细地址',
},
{
key: 'storefrontImg',
key: 'front_facade_image',
label: '门脸图',
},
{
key: 'surroundingsImg',
key: 'environment_image',
label: '环境图',
},
{
@ -217,9 +217,21 @@ const formConfig = [
key: 'account_holder_name',
label: '收款账户姓名',
},
{
key: 'businessLicenseOCR',
label: '营业执照OCR识别',
},
{
key: 'legalPersonOCR',
label: '法人身份证OCR识别',
},
{
key: 'bankOCR',
label: '银行OCR',
},
]
const formConfig2 = [
const personCheckBoxList = [
{
key: 'contact_name',
label: '联系人',
@ -246,12 +258,12 @@ const formConfig2 = [
placeholder: '详细地址:如:人民大道205号2楼213',
},
{
key: 'storefrontImg',
key: 'front_facade_image',
label: '门脸图',
placeholder: '',
},
{
key: 'surroundingsImg',
key: 'environment_image',
label: '环境图',
placeholder: '',
},
@ -290,11 +302,20 @@ const formConfig2 = [
key: 'account_holder_name',
label: '收款账户姓名',
},
{
key: 'personOCR',
label: '身份证OCR',
placeholder: '地图地址',
},
{
key: 'bankOCR',
label: '银行OCR',
},
]
export default {
formConfig,
formConfig2,
enterpriseCheckBoxList,
personCheckBoxList,
baseInfo,
addressInfo,
certificate,

View File

@ -949,20 +949,20 @@ export default {
}
//
if(e.includes('businessLicenseOCR')){
this.checkboxList = ['biz_license_image','biz_license_company','legal_person_name','biz_license_number',...this.checkboxList]
this.checkboxList = ['biz_license_image','biz_license_company','legal_person_name','biz_license_number','',...this.checkboxList]
}
},
handleCheckAllChange(val) {
if (this.form.entity_type == 1) {
this.checkboxList = val
? this.formConfig.formConfig.map((item) => {
? this.formConfig.enterpriseCheckBoxList.map((item) => {
return item.key
})
: []
} else {
this.checkboxList = val
? this.formConfig.formConfig2.map((item) => {
? this.formConfig.personCheckBoxList.map((item) => {
return item.key
})
: []