Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
e177be2c
authored
2024-05-24 09:44:36 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
1ee42f4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
7 deletions
src/viewsPc/match/chooseCoach.vue
src/viewsPc/match/chooseCoach.vue
View file @
e177be2
...
...
@@ -317,13 +317,26 @@ function goNext() {
// ElMessage.warning(language.value==0?'至少选一个教练或领队':'Coach/Team Leader, select at least one')
// return
// }
if
((
personAllList
.
value
.
coaches
.
length
>
0
&&
form
.
value
.
coachs
?.
toString
().
length
==
0
)
&&
(
personAllList
.
value
.
teamDoctors
.
length
>
0
&&
form
.
value
.
doctor
?.
toString
().
length
==
0
)
&&
(
personAllList
.
value
.
translators
.
length
>
0
&&
form
.
value
.
translator
?.
toString
().
length
==
0
)
&&
(
personAllList
.
value
.
others
.
length
>
0
&&
form
.
value
.
other
?.
toString
().
length
==
0
)
&&
(
personAllList
.
value
.
officials
.
length
>
0
&&
form
.
value
.
official
?.
toString
().
length
==
0
)
&&
(
personAllList
.
value
.
leaders
.
length
>
0
&&
form
.
value
.
leader
?.
toString
().
length
==
0
)
){
// (personAllList.value.coaches.length>=0 && form.value.coachs?.toString().length == 0)&&
// (personAllList.value.teamDoctors.length>=0 && form.value.doctor?.toString().length == 0)&&
// (personAllList.value.translators.length>=0 && form.value.translator?.toString().length == 0)&&
// (personAllList.value.others.length>=0 && form.value.other?.toString().length == 0)&&
// (personAllList.value.officials.length>=0 && form.value.official?.toString().length == 0)&&
// (personAllList.value.leaders.length>=0 && form.value.leader?.toString().length == 0)
if
((
personAllList
.
value
.
coaches
.
length
>
0
||
personAllList
.
value
.
teamDoctors
.
length
>
0
||
personAllList
.
value
.
translators
.
length
>
0
||
personAllList
.
value
.
others
.
length
>
0
||
personAllList
.
value
.
officials
.
length
>
0
||
personAllList
.
value
.
leaders
.
length
>
0
)
&&
(
form
.
value
.
coachs
?.
toString
().
length
==
0
&&
form
.
value
.
leader
?.
toString
().
length
==
0
&&
form
.
value
.
other
?.
toString
().
length
==
0
&&
form
.
value
.
doctor
?.
toString
().
length
==
0
&&
form
.
value
.
translator
?.
toString
().
length
==
0
&&
form
.
value
.
official
?.
toString
().
length
==
0
)
){
ElMessageBox
.
confirm
(
language
.
value
==
0
?
'您已添加随行人员,但尚未选中,是否进行下一步?'
:
'You have added a follower, but have not selected, do you want to continue?'
,
{
confirmButtonText
:
language
.
value
==
0
?
'下一步'
:
'Next'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
...
...
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