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
26c826fd
authored
2025-06-10 13:17:14 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'devCop' into dev
# Conflicts: # vite.config.js
2 parents
cc15a2ad
771e5ba2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
21 deletions
src/viewsPc/match/chooseSportsman.vue
src/viewsPc/match/components/allSportsmanList.vue
src/viewsPc/match/chooseSportsman.vue
View file @
26c826f
...
...
@@ -296,7 +296,7 @@ const data = reactive({
projectQuery
:
{},
tableType
:
1
,
currProjectId
:
''
,
openTour
:
false
,
isNational
:
false
,
isNational
:
false
,
// 是否为国际赛
languageSource
:
''
,
singlePersonEntryLimit
:
''
,
doublePersonEntryLimit
:
''
})
const
{
...
...
@@ -349,15 +349,16 @@ function getAthletesList() {
match
.
getGroupPersonList
({
label
:
'0'
},
groupId
.
value
).
then
(
res
=>
{
athletesList
.
value
=
res
.
rows
if
(
!
isNational
.
value
)
{
for
(
const
ath
of
athletesList
.
value
)
{
if
(
isNational
.
value
&&
!
ath
.
phone
)
{
ath
.
disabled
=
true
}
else
{
ath
.
disabled
=
false
}
for
(
const
ath
of
athletesList
.
value
)
{
if
(
!
isNational
.
value
)
{
ath
.
disabled
=
false
ath
.
ocrFlag
=
1
}
console
.
log
(
athletesList
.
value
)
// if (isNational.value && !ath.phone) {
// ath.disabled = true
// } else {
// ath.disabled = false
// }
}
})
}
...
...
@@ -525,18 +526,19 @@ function chooseSportman() {
}
function
handelOption
(
id
)
{
const
flag
=
choosedchoosed
.
value
.
some
(
v
=>
v
==
id
)
if
(
flag
)
{
const
ocr
=
athletesList
.
value
.
find
(
v
=>
v
.
id
===
id
)
||
{}
if
(
ocr
.
disabled
||
ocr
.
ocrFlag
==
0
)
{
choosedchoosed
.
value
=
choosedchoosed
.
value
.
filter
(
v
=>
v
!=
id
)
return
proxy
.
$modal
.
confirm
(
language
.
value
==
0
?
'请到选手管理完善信息'
:
'You can complete athletes details through [Athlete Manage'
)
if
(
isNational
.
value
)
{
const
flag
=
choosedchoosed
.
value
.
some
(
v
=>
v
==
id
)
if
(
flag
)
{
const
ocr
=
athletesList
.
value
.
find
(
v
=>
v
.
id
===
id
)
||
{}
if
(
ocr
.
disabled
||
ocr
.
ocrFlag
==
0
)
{
choosedchoosed
.
value
=
choosedchoosed
.
value
.
filter
(
v
=>
v
!=
id
)
return
proxy
.
$modal
.
confirm
(
language
.
value
==
0
?
'请到选手管理完善信息'
:
'You can complete athletes details through [Athlete Manage'
)
}
}
}
getProjectList
()
}
...
...
src/viewsPc/match/components/allSportsmanList.vue
View file @
26c826f
...
...
@@ -97,7 +97,7 @@
<el-table-column
:label=
"language==0?'操作':'Actions'"
align=
"center"
fixed=
"right"
width=
"180"
>
<
template
#
default=
"scope"
>
<el-button
v-if=
"
(!isNational&&(!scope.row.phone))||
scope.row.ocrFlag=='0'"
link
type=
"danger"
v-if=
"
isNational&&
scope.row.ocrFlag=='0'"
link
type=
"danger"
@
click=
"editPerson(scope.row)"
>
{{
language
==
0
?
'完善信息'
:
'Complete'
}}
...
...
@@ -159,7 +159,7 @@ const data = reactive({
title
:
'选择运动员'
,
noPhotoCanSign
:
0
,
total
:
0
,
isNational
:
false
isNational
:
false
// 是否国际赛
})
const
{
query
,
tableData
,
show
,
title
,
loading
,
noPhotoCanSign
,
total
,
isNational
}
=
toRefs
(
data
)
const
certificates
=
ref
([
...
...
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