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
55717226
authored
2026-06-25 16:26:56 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
大学生需要上传证件照
1 parent
d4b1f9db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
5 deletions
src/viewsPc/match/chooseSportsman.vue
src/viewsPc/match/chooseSportsman.vue
View file @
5571722
...
...
@@ -378,6 +378,7 @@ function getMatch(id) {
noPhotoCanSign
.
value
=
res
.
data
.
noPhotoCanSign
coachOrLeaderFlag
.
value
=
res
.
data
.
coachOrLeaderFlag
extraform
.
value
=
JSON
.
parse
(
res
.
data
.
participantsInfo
)
console
.
log
(
11111
,
extraform
.
value
)
insuranceAgreement
.
value
=
res
.
data
.
insuranceAgreement
insuranceFlag
.
value
=
res
.
data
.
insuranceFlag
if
(
insuranceFlag
.
value
==
1
)
checked
.
value
=
'1'
...
...
@@ -424,17 +425,29 @@ function submitForm() {
}
if
(
extraform
.
value
&&
extraform
.
value
.
length
>
0
)
{
let
needBuchong
=
false
for
(
const
e
of
extraform
.
value
)
{
if
(
e
.
status
==
'0'
)
{
needBuchong
=
true
}
}
for
(
const
s
of
signInfoList
.
value
)
{
if
(
s
.
extraPersonInfo
==
null
&&
needBuchong
)
{
ElMessage
.
warning
(
language
.
value
==
0
?
'请完善补充信息'
:
'Please fill in the supplementary information'
)
tableType
.
value
=
0
return
const
student
=
s
.
signInfo
.
some
(
val
=>
val
.
cptProjectName
.
indexOf
(
'大学生'
)
>-
1
)
if
(
student
){
if
(
s
.
extraPersonInfo
==
null
)
{
ElMessage
.
warning
(
language
.
value
==
0
?
'请完善补充信息'
:
'Please fill in the supplementary information'
)
tableType
.
value
=
0
return
}
}
else
{
if
(
s
.
extraPersonInfo
==
null
&&
needBuchong
)
{
ElMessage
.
warning
(
language
.
value
==
0
?
'请完善补充信息'
:
'Please fill in the supplementary information'
)
tableType
.
value
=
0
return
}
}
}
}
if
(
signInfoList
.
value
.
length
==
0
)
{
...
...
@@ -697,10 +710,20 @@ function goMySign() {
const
goPersonInfo
=
(
row
)
=>
{
// 完善补充信息
const
flag
=
row
.
signInfo
.
some
(
val
=>
val
.
cptProjectName
.
indexOf
(
'大学生'
)
>-
1
)
const
participantsInfoArr
=
_
.
cloneDeep
(
extraform
.
value
)
if
(
flag
){
for
(
const
val
of
participantsInfoArr
)
{
if
(
val
.
name
.
indexOf
(
'学生证'
)
>-
1
||
val
.
name
.
indexOf
(
'毕业证'
)
>-
1
){
val
.
status
=
0
}
}
}
const
params
=
{
matchId
:
matchId
.
value
,
title
:
language
.
value
==
0
?
'完善补充信息'
:
'Complete the supplementary information'
,
participantsInfoArr
:
extraform
.
value
,
participantsInfoArr
:
flag
?
participantsInfoArr
:
extraform
.
value
,
personId
:
row
.
personInfo
.
id
,
extraId
:
row
.
extraPersonInfo
?.
id
||
0
,
isNational
:
isNational
.
value
...
...
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