f95e2295 by zhangmeng

奖牌

1 parent 1119ab4e
...@@ -842,3 +842,11 @@ export function medalTableDetail(params) { ...@@ -842,3 +842,11 @@ export function medalTableDetail(params) {
842 params 842 params
843 }) 843 })
844 } 844 }
845
846 export function medalTableAll(params) {
847 return request({
848 url: `ztx/note/medalTableAll`,
849 method: 'get',
850 params
851 })
852 }
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
183 <!-- <div class="text-primary esp">{{ scope.row.zuHe }}</div>--> 183 <!-- <div class="text-primary esp">{{ scope.row.zuHe }}</div>-->
184 <!-- </template>--> 184 <!-- </template>-->
185 <!-- </el-table-column>--> 185 <!-- </el-table-column>-->
186 <el-table-column width="60"> 186 <el-table-column min-width="60">
187 <template #header> 187 <template #header>
188 <img class="mauto" src="@/assets/dance/1.png"> 188 <img class="mauto" src="@/assets/dance/1.png">
189 </template> 189 </template>
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
191 <div class="text-warning text-center">{{ scope.row.gold }}</div> 191 <div class="text-warning text-center">{{ scope.row.gold }}</div>
192 </template> 192 </template>
193 </el-table-column> 193 </el-table-column>
194 <el-table-column width="60"> 194 <el-table-column min-width="60">
195 <template #header> 195 <template #header>
196 <img class="mauto" src="@/assets/dance/2.png"> 196 <img class="mauto" src="@/assets/dance/2.png">
197 </template> 197 </template>
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
199 <div class="text-blue text-center">{{ scope.row.silver }}</div> 199 <div class="text-blue text-center">{{ scope.row.silver }}</div>
200 </template> 200 </template>
201 </el-table-column> 201 </el-table-column>
202 <el-table-column width="60"> 202 <el-table-column min-width="60">
203 <template #header> 203 <template #header>
204 <img class="mauto" src="@/assets/dance/3.png"> 204 <img class="mauto" src="@/assets/dance/3.png">
205 </template> 205 </template>
...@@ -207,6 +207,14 @@ ...@@ -207,6 +207,14 @@
207 <div class="text-primary text-center">{{ scope.row.bronze }}</div> 207 <div class="text-primary text-center">{{ scope.row.bronze }}</div>
208 </template> 208 </template>
209 </el-table-column> 209 </el-table-column>
210 <el-table-column min-width="60">
211 <template #header>
212 <img class="mauto" src="@/assets/dance/4.png">
213 </template>
214 <template #default="scope">
215 <div class="text-danger text-center">{{ scope.row.total }}</div>
216 </template>
217 </el-table-column>
210 </el-table> 218 </el-table>
211 219
212 </el-card> 220 </el-card>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
43 </template> 43 </template>
44 </el-table-column> 44 </el-table-column>
45 45
46 <el-table-column :label="language==0?'国家':'Country'" prop="name"> 46 <el-table-column :label="language==0?'国家':'Country'" min-width="200" prop="name">
47 <template #default="scope"> 47 <template #default="scope">
48 <div> 48 <div>
49 <span :class="`flag-icon flag-icon-${scope.row.code}`" /> 49 <span :class="`flag-icon flag-icon-${scope.row.code}`" />
...@@ -80,7 +80,23 @@ ...@@ -80,7 +80,23 @@
80 <div class="text-primary text-center">{{ scope.row.bronze }}</div> 80 <div class="text-primary text-center">{{ scope.row.bronze }}</div>
81 </template> 81 </template>
82 </el-table-column> 82 </el-table-column>
83 <el-table-column min-width="60">
84 <template #header>
85 <img class="mauto" src="@/assets/dance/4.png">
86 </template>
87 <template #default="scope">
88 <div class="text-danger text-center">{{ scope.row.total }}</div>
89 </template>
90 </el-table-column>
83 </el-table> 91 </el-table>
92
93 <div v-if="total>0" class="pc-page-box">
94 <PaginationPc
95 v-model:limit="paramsQuery.pageSize" v-model:page="paramsQuery.pageNum"
96 :total="total"
97 @pagination="getRankList"
98 />
99 </div>
84 100
85 </el-card> 101 </el-card>
86 <el-card v-for="(n,index) in cjList" :key="index" class="mt20 mb20" hidden> 102 <el-card v-for="(n,index) in cjList" :key="index" class="mt20 mb20" hidden>
...@@ -126,12 +142,14 @@ import { getPlanYears, getYearZtxPlanList } from '@/apiPc/train' ...@@ -126,12 +142,14 @@ import { getPlanYears, getYearZtxPlanList } from '@/apiPc/train'
126 import { cjList } from '@/assets/js/data' 142 import { cjList } from '@/assets/js/data'
127 import { ArrowRight } from '@element-plus/icons-vue' 143 import { ArrowRight } from '@element-plus/icons-vue'
128 import { dayjs } from 'element-plus' 144 import { dayjs } from 'element-plus'
145 import * as match from '@/apiPc/match'
129 146
130 const router = useRouter() 147 const router = useRouter()
131 import { useStorage } from '@vueuse/core/index' 148 import { useStorage } from '@vueuse/core/index'
132 import { getIndexScheduleList } from '@/apiPc/common' 149 import { getIndexScheduleList } from '@/apiPc/common'
133 import { getRank } from '@/apiPc/webSite' 150 import { getRank } from '@/apiPc/webSite'
134 import { useRouter } from 'vue-router' 151 import { useRouter } from 'vue-router'
152 import { medalTableAll } from '/@/apiPc/match'
135 153
136 const language = useStorage('language', 0) 154 const language = useStorage('language', 0)
137 const years = ref([]) 155 const years = ref([])
...@@ -146,13 +164,19 @@ const query = ref({ ...@@ -146,13 +164,19 @@ const query = ref({
146 // currentDate:dayjs().format('YYYY-MM-DD') 164 // currentDate:dayjs().format('YYYY-MM-DD')
147 currentDate: '2025-07-17' 165 currentDate: '2025-07-17'
148 }) 166 })
167 const paramsQuery = ref({
168 pageSize: 10,
169 pageNum: 1
170 })
171 const total = ref(0)
149 172
150 getScheduleList() 173 getScheduleList()
151 getRankList() 174 getRankList()
152 175
153 function getRankList() { 176 function getRankList() {
154 getRank().then(res => { 177 match.medalTableAll(paramsQuery.value).then(res => {
155 rank.value = res.data 178 rank.value = res.rows
179 total.value = res.total
156 }) 180 })
157 } 181 }
158 182
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!