d91a4dd4 by zhangmeng

ocr识别ocrFlag为1

1 parent bda9ac46
......@@ -285,9 +285,10 @@ function submitForm() {
return
}
if (!form.value.passportUrl || form.value.passportUrl == '' || form.value.passportUrl.length == 0) {
ElMessage.warning(language.value == 0 ? '请上传证件' : 'Please upload passport file')
ElMessage.warning(language.value == 0 ? '请上传有效证件' : 'Please upload valid identification documents')
return
}
form.value.ocrFlag = '1'
if (editgay) {
// id不是0
form.value.cptId = cptId.value
......
......@@ -377,7 +377,8 @@ function bigNext() {
sex: wdsfData.value.sex,
birth: wdsfData.value.birthday,
certName: wdsfData.value.certName,
passportNumber: wdsfData.value.passportNumber
passportNumber: wdsfData.value.passportNumber,
ocrFlag: '1'
}
if (Array.isArray(wdsfData.value.passportUrl)) {
obj.passportUrl = wdsfData.value.passportUrl[0].url
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!