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
bb02d2eb
authored
2024-03-07 20:08:40 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
8f61ec56
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
85 additions
and
15 deletions
public/file/UserImport-ch.xlsx
public/file/Userimport-en.xlsx
src/apiPc/match.js
src/apiPc/webSite.js
src/viewsPc/center/myInfo.vue
src/viewsPc/match/chooseSportsman.vue
src/viewsPc/match/commitDone.vue
src/viewsPc/match/components/addWdsf.vue
src/viewsPc/match/components/allSportsmanList.vue
src/viewsPc/match/components/groupInfo-row.vue
src/viewsPc/match/components/matchNews.vue
src/viewsPc/match/components/signInfo-table.vue
src/viewsPc/match/components/zu-table.vue
src/viewsPc/match/signPreview.vue
src/viewsPc/register/personal.vue
public/file/UserImport-ch.xlsx
View file @
bb02d2e
No preview for this file type
public/file/Userimport-en.xlsx
View file @
bb02d2e
No preview for this file type
src/apiPc/match.js
View file @
bb02d2e
...
...
@@ -184,11 +184,11 @@ export function getSupplementInfo(id) {
})
}
export
function
getMySignInfo
(
data
)
{
export
function
getMySignInfo
(
query
)
{
return
request
({
url
:
`/league/sign/getMySignInfo`
,
method
:
'
pos
t'
,
data
:
data
method
:
'
ge
t'
,
params
:
query
})
}
...
...
src/apiPc/webSite.js
View file @
bb02d2e
...
...
@@ -90,6 +90,13 @@ export function getNewsListById(query) {
params
:
query
})
}
export
function
getnoteListcptid
(
query
)
{
return
request
({
url
:
`/ztx/note/noteList`
,
method
:
'get'
,
params
:
query
})
}
export
function
getNewsList
(
query
)
{
return
request
({
url
:
`/ztx-webSite/website/getNoticeTopList`
,
...
...
src/viewsPc/center/myInfo.vue
View file @
bb02d2e
...
...
@@ -153,6 +153,9 @@ function getData() {
if
(
user
.
utype
==
'1'
)
{
match
.
getMyPersonInfo
().
then
(
res
=>
{
myform
.
value
=
res
.
data
if
(
language
.
value
==
'1'
){
myform
.
value
.
type
=
'1'
}
})
}
...
...
src/viewsPc/match/chooseSportsman.vue
View file @
bb02d2e
...
...
@@ -337,7 +337,12 @@ function afterRecover() {
}
function
goPrev
()
{
router
.
go
(
-
1
)
router
.
push
({
name
:
`chooseCoach`
,
query
:
{
matchId
:
matchId
.
value
}
})
}
function
chooseSportman
()
{
...
...
src/viewsPc/match/commitDone.vue
View file @
bb02d2e
...
...
@@ -17,7 +17,7 @@
<div
class=
"border-info mt20"
v-if=
"language==0"
>
审核结果,后续将以邮件形式正式通知您。
<br/>
邮件发送账号:
<span
class=
"text-primary"
>
{{
user
.
email
}}
</span>
邮件发送账号:
<span
class=
"text-primary"
>
wdsfwuxicenter@wdsfwuxicenter.com
</span>
,请关注相关邮件通知。
<br/>
如果您的报名信息审核通过,邮件正文会附上相关费用的支付链接,请通过链接完成支付,完成报名。
...
...
src/viewsPc/match/components/addWdsf.vue
View file @
bb02d2e
...
...
@@ -177,6 +177,11 @@ function submitForm() {
if
(
editgay
)
{
// id不是0
form
.
value
.
cptId
=
cptId
.
value
if
(
Array
.
isArray
(
form
.
value
.
passportUrl
)){
form
.
value
.
passportUrl
=
form
.
value
.
passportUrl
[
0
].
url
}
else
{
form
.
value
.
passportUrl
=
form
.
value
.
passportUrl
}
match
.
editPersonInfo
(
form
.
value
).
then
(
res
=>
{
ElMessage
.
success
(
'保存成功'
)
show
.
value
=
false
...
...
@@ -208,6 +213,11 @@ function submitForm() {
form
.
value
.
wdsfMin
=
form
.
value
.
min
form
.
value
.
idcCode
=
form
.
value
.
passportNumber
form
.
value
.
idcType
=
'1'
if
(
Array
.
isArray
(
form
.
value
.
passportUrl
)){
form
.
value
.
passportUrl
=
form
.
value
.
passportUrl
[
0
].
url
}
else
{
form
.
value
.
passportUrl
=
form
.
value
.
passportUrl
}
match
.
savePersonForMyPerson
(
form
.
value
).
then
(
res
=>
{
ElMessage
.
success
(
'保存成功'
)
show
.
value
=
false
...
...
src/viewsPc/match/components/allSportsmanList.vue
View file @
bb02d2e
...
...
@@ -170,6 +170,7 @@ function cancel() {
function
editPerson
(
row
)
{
const
params
=
{
id
:
row
.
id
,
title
:
language
.
value
==
0
?
'编辑人员'
:
'Edit Person'
,
groupId
:
groupId
}
proxy
.
$refs
[
'dialogAddCoach'
].
open
(
params
)
...
...
src/viewsPc/match/components/groupInfo-row.vue
View file @
bb02d2e
...
...
@@ -36,12 +36,25 @@ const props = defineProps({
groupId
:
{
type
:
Object
,
required
:
false
},
matchId
:
{
type
:
String
,
required
:
false
}
})
const
user
=
useUserStore
().
user
const
groupInfo
=
useUserStore
().
group
if
(
props
.
groupId
){
if
(
props
.
matchId
){
getGroupIdByCptId
()
}
else
{
getGroupInfo
()
}
}
function
getGroupIdByCptId
()
{
match
.
getMyGroupForCpt
(
props
.
groupId
,
props
.
matchId
).
then
(
res
=>
{
groupInfo
.
value
=
res
.
data
})
}
function
getGroupInfo
()
{
match
.
getGroupInfo
().
then
(
res
=>
{
...
...
src/viewsPc/match/components/matchNews.vue
View file @
bb02d2e
...
...
@@ -39,7 +39,7 @@ import {onMounted, ref} from "vue";
import
cache
from
'@/plugins/cache'
import
{
getMatchNewslistByCode
}
from
"@/apiPc/match"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getNewsListById
}
from
"@/apiPc/webSite"
;
import
{
getNewsListById
,
getnoteListcptid
}
from
"@/apiPc/webSite"
;
const
language
=
ref
(
cache
.
local
.
get
(
'language'
)
||
0
)
const
router
=
useRouter
()
const
props
=
defineProps
({
...
...
@@ -72,17 +72,17 @@ onMounted(() => {
getList3
(
query3
.
value
)
})
const
getList
=
(
obj
)
=>
{
get
NewsListByI
d
(
obj
).
then
(
res
=>
{
get
noteListcpti
d
(
obj
).
then
(
res
=>
{
newsList
.
value
=
res
.
rows
})
}
const
getList2
=
(
obj
)
=>
{
get
NewsListByI
d
(
obj
).
then
(
res
=>
{
get
noteListcpti
d
(
obj
).
then
(
res
=>
{
newsList2
.
value
=
res
.
rows
})
}
const
getList3
=
(
obj
)
=>
{
get
NewsListByI
d
(
obj
).
then
(
res
=>
{
get
noteListcpti
d
(
obj
).
then
(
res
=>
{
newsList3
.
value
=
res
.
rows
})
}
...
...
src/viewsPc/match/components/signInfo-table.vue
View file @
bb02d2e
...
...
@@ -77,6 +77,8 @@
</el-table>
<div
v-if=
"showSummary"
class=
"rowSummary"
>
<div>
{{ language==0?'总人数':'Count' }}:
<span
class=
"mr20"
>
{{ list.length }}
</span>
{{ language==0?'金额小计':'Amount' }}:
<span>
{{ language==0?'¥':'£' }}{{ total }}
</span>
</div>
</div>
...
...
src/viewsPc/match/components/zu-table.vue
View file @
bb02d2e
...
...
@@ -31,6 +31,8 @@
</el-table>
<div
v-if=
"showSummary"
class=
"rowSummary"
>
<div>
{{ language==0?'总报项数':'Count' }}:
<span
class=
"mr20"
>
{{ list.length }}
</span>
{{ language==0?'金额小计':'Amount' }}:
<span>
{{ language==0?'¥':'£' }}{{ total }}
</span>
</div>
</div>
...
...
src/viewsPc/match/signPreview.vue
View file @
bb02d2e
...
...
@@ -6,7 +6,7 @@
</el-card>
<el-card
:body-style=
"
{ padding: '0px' }">
<match-info-row
v-if=
"matchId"
:match-id=
"matchId"
/>
<group-info-row
/>
<group-info-row
v-if=
"matchId"
:match-id=
"matchId"
:group-id=
"groupId"
/>
<coach-info-row
v-if=
"matchId"
:match-id=
"matchId"
:language=
"language"
/>
<div
style=
"margin: 20px"
>
...
...
@@ -42,10 +42,14 @@
</div>
</el-col>
<el-col
:lg=
"8"
:xs=
"24"
class=
"text-right pd20"
>
<el-link
type=
"primary"
@
click=
"exportSignList(1)"
><el-icon><Upload
/></el-icon>
{{
language
==
0
?
'导出参赛人员清单'
:
'Export Participant List'
}}
</el-link>
<el-link
type=
"primary"
@
click=
"exportSignList(2)"
><el-icon><Upload
/></el-icon>
{{
language
==
0
?
'导出设项报名清单'
:
'Registration Fee for Event Entry'
}}
</el-link>
<el-link
type=
"primary"
@
click=
"exportPdf"
><el-icon><Upload
/></el-icon>
{{
language
==
0
?
'导出pdf'
:
'Export PDF'
}}
</el-link>
</el-col>
</el-row>
<div
class=
"text-center pd20"
>
...
...
@@ -175,6 +179,25 @@ function exportSignList(n) {
}
}
function
exportPdf
()
{
var
obj
=
{
cptId
:
matchId
.
value
,
groupId
:
groupId
.
value
}
var
fileName
if
(
language
.
value
==
0
){
fileName
=
'设项报名清单'
proxy
.
download
(
'/league/sign/exportCn'
,
{
...
obj
},
`
${
fileName
}
_
${
new
Date
().
getTime
()}
.pdf`
)
}
else
{
fileName
=
'Participant List'
proxy
.
download
(
'/league/sign/exportEn'
,
{
...
obj
},
`
${
fileName
}
_
${
new
Date
().
getTime
()}
.pdf`
)
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
src/viewsPc/register/personal.vue
View file @
bb02d2e
...
...
@@ -190,11 +190,11 @@ onMounted(() => {
})
function
sendsmsMsg
()
{
if
(
!
form
.
value
.
account
)
{
if
(
!
wdsfData
.
value
.
email
)
{
if
(
language
.
value
==
0
)
{
ElMessage
.
error
(
'请填写
手机/
邮箱'
)
ElMessage
.
error
(
'请填写邮箱'
)
}
else
{
ElMessage
.
error
(
'Please fill in your
phone/
email address'
)
ElMessage
.
error
(
'Please fill in your email address'
)
}
return
}
...
...
@@ -251,7 +251,7 @@ function codeSuccess(msg) {
}
if
(
isCodeTrue
.
value
==
2
)
{
counting
.
value
=
true
getCaptchaSms
({
account
:
form
.
value
.
account
}).
then
(
res
=>
{
getCaptchaSms
({
account
:
wdsfData
.
value
.
email
}).
then
(
res
=>
{
})
}
...
...
@@ -293,9 +293,13 @@ function next() {
password
:
form
.
value
.
password
,
sex
:
wdsfData
.
value
.
sex
,
birth
:
wdsfData
.
value
.
birthday
,
passportUrl
:
wdsfData
.
value
.
passportUrl
[
0
].
url
,
passportNumber
:
wdsfData
.
value
.
passportNumber
,
}
if
(
Array
.
isArray
(
wdsfData
.
value
.
passportUrl
)){
obj
.
passportUrl
=
form
.
value
.
passportUrl
[
0
].
url
}
else
{
obj
.
passportUrl
=
wdsfData
.
value
.
passportUrl
||
''
}
registerSingle
(
obj
).
then
(
res
=>
{
setToken
(
res
.
data
.
token
)
console
.
log
(
matchId
.
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