From 828b07fd883654e66a40216a714121126d40b8d8 Mon Sep 17 00:00:00 2001 From: qijq <624811160@qq.com> Date: Fri, 30 May 2025 14:20:06 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BF=AE=E5=A4=8D=E9=A9=B3=E5=9B=9E?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8checkboxList=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/store/shopAudit/formConfig.js | 45 ++++++++++++++----- .../store/shopAudit/shopAuditDetails.vue | 6 +-- 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/src/views/store/shopAudit/formConfig.js b/src/views/store/shopAudit/formConfig.js index 157ef09..4f0b9f9 100644 --- a/src/views/store/shopAudit/formConfig.js +++ b/src/views/store/shopAudit/formConfig.js @@ -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, diff --git a/src/views/store/shopAudit/shopAuditDetails.vue b/src/views/store/shopAudit/shopAuditDetails.vue index 5b2b0f9..c400d90 100644 --- a/src/views/store/shopAudit/shopAuditDetails.vue +++ b/src/views/store/shopAudit/shopAuditDetails.vue @@ -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 }) : []