ocr识别ocrFlag为1
Showing
2 changed files
with
4 additions
and
2 deletions
| ... | @@ -285,9 +285,10 @@ function submitForm() { | ... | @@ -285,9 +285,10 @@ function submitForm() { |
| 285 | return | 285 | return |
| 286 | } | 286 | } |
| 287 | if (!form.value.passportUrl || form.value.passportUrl == '' || form.value.passportUrl.length == 0) { | 287 | if (!form.value.passportUrl || form.value.passportUrl == '' || form.value.passportUrl.length == 0) { |
| 288 | ElMessage.warning(language.value == 0 ? '请上传证件' : 'Please upload passport file') | 288 | ElMessage.warning(language.value == 0 ? '请上传有效证件' : 'Please upload valid identification documents') |
| 289 | return | 289 | return |
| 290 | } | 290 | } |
| 291 | form.value.ocrFlag = '1' | ||
| 291 | if (editgay) { | 292 | if (editgay) { |
| 292 | // id不是0 | 293 | // id不是0 |
| 293 | form.value.cptId = cptId.value | 294 | form.value.cptId = cptId.value | ... | ... |
| ... | @@ -377,7 +377,8 @@ function bigNext() { | ... | @@ -377,7 +377,8 @@ function bigNext() { |
| 377 | sex: wdsfData.value.sex, | 377 | sex: wdsfData.value.sex, |
| 378 | birth: wdsfData.value.birthday, | 378 | birth: wdsfData.value.birthday, |
| 379 | certName: wdsfData.value.certName, | 379 | certName: wdsfData.value.certName, |
| 380 | passportNumber: wdsfData.value.passportNumber | 380 | passportNumber: wdsfData.value.passportNumber, |
| 381 | ocrFlag: '1' | ||
| 381 | } | 382 | } |
| 382 | if (Array.isArray(wdsfData.value.passportUrl)) { | 383 | if (Array.isArray(wdsfData.value.passportUrl)) { |
| 383 | obj.passportUrl = wdsfData.value.passportUrl[0].url | 384 | obj.passportUrl = wdsfData.value.passportUrl[0].url | ... | ... |
-
Please register or sign in to post a comment