From 2e3c4579525de2d220de4de04cda4a50d0910506 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 24 Nov 2025 10:23:27 +0800 Subject: [PATCH] =?UTF-8?q?OCR=E8=AF=86=E5=88=AB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enterprise/components/child/AccountOpeningCertificate.vue | 2 +- .../enterpriseLibrary/enterprise/components/child/BasicInfo.vue | 2 +- .../enterprise/components/child/LegalPerson.vue | 2 +- .../enterpriseLibrary/personnel/components/child/BasicInfo.vue | 2 +- .../enterpriseLibrary/personnel/components/child/OtherInfo.vue | 2 +- .../personnel/components/child/QualificationInfo.vue | 2 +- src/views/enterpriseLibrary/personnel/index.vue | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/enterpriseLibrary/enterprise/components/child/AccountOpeningCertificate.vue b/src/views/enterpriseLibrary/enterprise/components/child/AccountOpeningCertificate.vue index fbe192e..fe2b895 100644 --- a/src/views/enterpriseLibrary/enterprise/components/child/AccountOpeningCertificate.vue +++ b/src/views/enterpriseLibrary/enterprise/components/child/AccountOpeningCertificate.vue @@ -116,7 +116,7 @@ export default { const response = file[0].response; if (response.ocrResult && response.ocrResult.status_code === 200) { // ocr识别成功 - const chat_res = response.ocrResult.data?.chat_res; + const chat_res = response.ocrResult.data; if (chat_res && typeof chat_res === 'object') { // 直接遍历chat_res对象的属性 Object.keys(chat_res).forEach(key => { diff --git a/src/views/enterpriseLibrary/enterprise/components/child/BasicInfo.vue b/src/views/enterpriseLibrary/enterprise/components/child/BasicInfo.vue index b26d6e3..e28894f 100644 --- a/src/views/enterpriseLibrary/enterprise/components/child/BasicInfo.vue +++ b/src/views/enterpriseLibrary/enterprise/components/child/BasicInfo.vue @@ -224,7 +224,7 @@ export default { const response = file[0].response; if (response.ocrResult && response.ocrResult.status_code === 200) { // ocr识别成功 - const chat_res = response.ocrResult.data?.chat_res; + const chat_res = response.ocrResult.data; if (chat_res && typeof chat_res === 'object') { // 直接遍历chat_res对象的属性 Object.keys(chat_res).forEach(key => { diff --git a/src/views/enterpriseLibrary/enterprise/components/child/LegalPerson.vue b/src/views/enterpriseLibrary/enterprise/components/child/LegalPerson.vue index 937d54c..26183ac 100644 --- a/src/views/enterpriseLibrary/enterprise/components/child/LegalPerson.vue +++ b/src/views/enterpriseLibrary/enterprise/components/child/LegalPerson.vue @@ -175,7 +175,7 @@ export default { const response = file[0].response; if (response.ocrResult && response.ocrResult.status_code === 200) { // ocr识别成功 - const chat_res = response.ocrResult.data?.chat_res; + const chat_res = response.ocrResult.data; if (chat_res && typeof chat_res === 'object') { // 直接遍历chat_res对象的属性 Object.keys(chat_res).forEach(key => { diff --git a/src/views/enterpriseLibrary/personnel/components/child/BasicInfo.vue b/src/views/enterpriseLibrary/personnel/components/child/BasicInfo.vue index 35fad9d..76b6990 100644 --- a/src/views/enterpriseLibrary/personnel/components/child/BasicInfo.vue +++ b/src/views/enterpriseLibrary/personnel/components/child/BasicInfo.vue @@ -284,7 +284,7 @@ export default { const response = file[0].response; if (response.ocrResult && response.ocrResult.status_code === 200) { // ocr识别成功 - const chat_res = response.ocrResult.data?.chat_res; + const chat_res = response.ocrResult.data; if (chat_res && typeof chat_res === 'object') { // 直接遍历chat_res对象的属性 Object.keys(chat_res).forEach(key => { diff --git a/src/views/enterpriseLibrary/personnel/components/child/OtherInfo.vue b/src/views/enterpriseLibrary/personnel/components/child/OtherInfo.vue index 320d6d2..06056ef 100644 --- a/src/views/enterpriseLibrary/personnel/components/child/OtherInfo.vue +++ b/src/views/enterpriseLibrary/personnel/components/child/OtherInfo.vue @@ -144,7 +144,7 @@ export default { const response = file[0].response; if (response.ocrResult && response.ocrResult.status_code === 200) { // ocr识别成功 - const chat_res = response.ocrResult.data?.chat_res; + const chat_res = response.ocrResult.data; if (chat_res && typeof chat_res === 'object') { // 直接遍历chat_res对象的属性 Object.keys(chat_res).forEach(key => { diff --git a/src/views/enterpriseLibrary/personnel/components/child/QualificationInfo.vue b/src/views/enterpriseLibrary/personnel/components/child/QualificationInfo.vue index 499bbcf..d43f7e8 100644 --- a/src/views/enterpriseLibrary/personnel/components/child/QualificationInfo.vue +++ b/src/views/enterpriseLibrary/personnel/components/child/QualificationInfo.vue @@ -310,7 +310,7 @@ export default { const response = file[0].response; if (response.ocrResult && response.ocrResult.status_code === 200) { // ocr识别成功 - const chat_res = response.ocrResult.data?.chat_res; + const chat_res = response.ocrResult.data; if (chat_res && typeof chat_res === 'object') { // 直接遍历chat_res对象的属性 Object.keys(chat_res).forEach(key => { diff --git a/src/views/enterpriseLibrary/personnel/index.vue b/src/views/enterpriseLibrary/personnel/index.vue index b928125..cab3039 100644 --- a/src/views/enterpriseLibrary/personnel/index.vue +++ b/src/views/enterpriseLibrary/personnel/index.vue @@ -118,7 +118,7 @@ export default { pageSize: 10, enterpriseId: decryptWithSM4(this.$route.query.enterpriseId) }, - total: 100, + total: 0, personnelList: [], }