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
f95e2295
authored
2025-05-30 17:08:53 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
奖牌
1 parent
1119ab4e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
6 deletions
src/apiPc/match.js
src/assets/dance/4.png
src/viewsPc/index.vue
src/viewsPc/saiC/index.vue
src/apiPc/match.js
View file @
f95e229
...
...
@@ -842,3 +842,11 @@ export function medalTableDetail(params) {
params
})
}
export
function
medalTableAll
(
params
)
{
return
request
({
url
:
`ztx/note/medalTableAll`
,
method
:
'get'
,
params
})
}
...
...
src/assets/dance/4.png
0 → 100644
View file @
f95e229
1.95 KB
src/viewsPc/index.vue
View file @
f95e229
...
...
@@ -183,7 +183,7 @@
<!-- <div class="text-primary esp">{{ scope.row.zuHe }}</div>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
width=
"60"
>
<el-table-column
min-
width=
"60"
>
<
template
#
header
>
<img
class=
"mauto"
src=
"@/assets/dance/1.png"
>
</
template
>
...
...
@@ -191,7 +191,7 @@
<div
class=
"text-warning text-center"
>
{{
scope
.
row
.
gold
}}
</div>
</
template
>
</el-table-column>
<el-table-column
width=
"60"
>
<el-table-column
min-
width=
"60"
>
<
template
#
header
>
<img
class=
"mauto"
src=
"@/assets/dance/2.png"
>
</
template
>
...
...
@@ -199,7 +199,7 @@
<div
class=
"text-blue text-center"
>
{{
scope
.
row
.
silver
}}
</div>
</
template
>
</el-table-column>
<el-table-column
width=
"60"
>
<el-table-column
min-
width=
"60"
>
<
template
#
header
>
<img
class=
"mauto"
src=
"@/assets/dance/3.png"
>
</
template
>
...
...
@@ -207,6 +207,14 @@
<div
class=
"text-primary text-center"
>
{{
scope
.
row
.
bronze
}}
</div>
</
template
>
</el-table-column>
<el-table-column
min-width=
"60"
>
<
template
#
header
>
<img
class=
"mauto"
src=
"@/assets/dance/4.png"
>
</
template
>
<
template
#
default=
"scope"
>
<div
class=
"text-danger text-center"
>
{{
scope
.
row
.
total
}}
</div>
</
template
>
</el-table-column>
</el-table>
</el-card>
...
...
src/viewsPc/saiC/index.vue
View file @
f95e229
...
...
@@ -43,7 +43,7 @@
</
template
>
</el-table-column>
<el-table-column
:label=
"language==0?'国家':'Country'"
prop=
"name"
>
<el-table-column
:label=
"language==0?'国家':'Country'"
min-width=
"200"
prop=
"name"
>
<
template
#
default=
"scope"
>
<div>
<span
:class=
"`flag-icon flag-icon-$
{scope.row.code}`" />
...
...
@@ -80,7 +80,23 @@
<div
class=
"text-primary text-center"
>
{{
scope
.
row
.
bronze
}}
</div>
</
template
>
</el-table-column>
<el-table-column
min-width=
"60"
>
<
template
#
header
>
<img
class=
"mauto"
src=
"@/assets/dance/4.png"
>
</
template
>
<
template
#
default=
"scope"
>
<div
class=
"text-danger text-center"
>
{{
scope
.
row
.
total
}}
</div>
</
template
>
</el-table-column>
</el-table>
<div
v-if=
"total>0"
class=
"pc-page-box"
>
<PaginationPc
v-model:limit=
"paramsQuery.pageSize"
v-model:page=
"paramsQuery.pageNum"
:total=
"total"
@
pagination=
"getRankList"
/>
</div>
</el-card>
<el-card
v-for=
"(n,index) in cjList"
:key=
"index"
class=
"mt20 mb20"
hidden
>
...
...
@@ -126,12 +142,14 @@ import { getPlanYears, getYearZtxPlanList } from '@/apiPc/train'
import
{
cjList
}
from
'@/assets/js/data'
import
{
ArrowRight
}
from
'@element-plus/icons-vue'
import
{
dayjs
}
from
'element-plus'
import
*
as
match
from
'@/apiPc/match'
const
router
=
useRouter
()
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
getIndexScheduleList
}
from
'@/apiPc/common'
import
{
getRank
}
from
'@/apiPc/webSite'
import
{
useRouter
}
from
'vue-router'
import
{
medalTableAll
}
from
'/@/apiPc/match'
const
language
=
useStorage
(
'language'
,
0
)
const
years
=
ref
([])
...
...
@@ -146,13 +164,19 @@ const query = ref({
// currentDate:dayjs().format('YYYY-MM-DD')
currentDate
:
'2025-07-17'
})
const
paramsQuery
=
ref
({
pageSize
:
10
,
pageNum
:
1
})
const
total
=
ref
(
0
)
getScheduleList
()
getRankList
()
function
getRankList
()
{
getRank
().
then
(
res
=>
{
rank
.
value
=
res
.
data
match
.
medalTableAll
(
paramsQuery
.
value
).
then
(
res
=>
{
rank
.
value
=
res
.
rows
total
.
value
=
res
.
total
})
}
...
...
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