Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d91a4dd4
authored
2025-05-29 15:59:36 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ocr识别ocrFlag为1
1 parent
bda9ac46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/viewsPc/match/components/addWdsf.vue
src/viewsPc/register/personal.vue
src/viewsPc/match/components/addWdsf.vue
View file @
d91a4dd
...
...
@@ -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
...
...
src/viewsPc/register/personal.vue
View file @
d91a4dd
...
...
@@ -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
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment