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
80051c65
authored
2025-06-03 17:29:19 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
报名
1 parent
b61230d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
10 deletions
src/viewsPc/match/detail_en.vue
src/viewsPc/match/detail_en.vue
View file @
80051c6
...
...
@@ -683,9 +683,9 @@ function goTeamSignCn() {
})
}
function
goPersonalSign
()
{
async
function
goPersonalSign
()
{
// 选项目
router
.
push
({
await
router
.
push
({
name
:
'chooseProject'
,
query
:
{
matchId
:
matchId
.
value
...
...
@@ -873,8 +873,14 @@ async function handelGeRenNext() {
}
// 正常报名
if
(
res
.
data
==
1
)
{
const
flag
=
await
getCheckOcr
({
type
:
'1'
})
if
(
flag
)
await
goPersonalSign
()
if
(
matchData
.
value
.
languageSource
!=
'100'
)
{
// 国际赛
const
flag
=
await
getCheckOcr
({
type
:
'1'
})
if
(
flag
)
await
goPersonalSign
()
}
else
{
// 国内赛
await
goPersonalSign
()
}
}
// 提示
if
(
res
.
data
==
2
)
{
...
...
@@ -883,9 +889,17 @@ async function handelGeRenNext() {
?
'运动员的WDSF会员号已变更,是否更新?'
:
'The athlete`s WDSF membership number has been changed. Should it be updated?'
)
// 删除
await
match
.
preCheckForPerson
({
type
:
'2'
})
const
flag
=
await
getCheckOcr
({
type
:
'1'
})
if
(
flag
)
await
goPersonalSign
()
if
(
matchData
.
value
.
languageSource
!=
'100'
)
{
// 国际赛
const
flag
=
await
getCheckOcr
({
type
:
'1'
})
if
(
flag
)
await
goPersonalSign
()
}
else
{
// 国内赛
await
goPersonalSign
()
}
}
}
...
...
@@ -909,8 +923,9 @@ const openPickup = () => {
async
function
handelPreCheckForGroup
(
fn
)
{
const
res
=
await
match
.
preCheckForGroup
(
groupId
.
value
,
'1'
)
if
(
res
.
data
==
1
||
res
.
data
==
0
)
{
const
flag
=
await
getCheckOcr
({
type
:
'2'
,
groupId
:
groupId
.
value
})
if
(
flag
)
await
fn
()
// const flag = await getCheckOcr({ type: '2', groupId: groupId.value })
// if (flag) await fn()
await
fn
()
}
if
(
res
.
data
==
2
)
{
await
proxy
.
$modal
.
confirm
(
...
...
@@ -918,8 +933,9 @@ async function handelPreCheckForGroup(fn) {
?
'运动员的WDSF会员号已变更,是否更新?'
:
'The athlete`s WDSF membership number has been changed. Should it be updated?'
)
await
match
.
preCheckForGroup
(
groupId
.
value
,
'2'
)
const
flag
=
await
getCheckOcr
({
type
:
'2'
,
groupId
:
groupId
.
value
})
if
(
flag
)
await
fn
()
// const flag = await getCheckOcr({ type: '2', groupId: groupId.value })
// if (flag) await fn()
await
fn
()
}
}
...
...
@@ -928,6 +944,7 @@ async function getCheckOcr(obj) {
if
(
!
data
)
{
// 人员ocr未通过
await
proxy
.
$modal
.
confirm
(
language
.
value
==
0
?
'请完善人员信息'
:
'Please complete the personnel information'
)
// 完善ocr
await
proxy
.
$refs
[
'checkAllSportsmanRef'
].
open
(
obj
.
type
==
1
?
user
.
userId
:
groupId
.
value
,
obj
.
type
)
return
false
}
else
{
...
...
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