update fe

This commit is contained in:
Himit_ZH 2021-12-26 21:00:07 +08:00
parent ab04560a37
commit 48f5556d1c
3 changed files with 27 additions and 13 deletions

View File

@ -483,4 +483,7 @@ export const m = {
To_Enter_Training_Need_Password:'To enter the Private training, please input the password!',
Enter_the_training_password:'Enter the training password',
Register_training_successfully:'Register training successfully',
// /views/oj/training/TrainingRank.vue
Total_AC:'Total AC',
}

View File

@ -486,4 +486,7 @@ export const m = {
To_Enter_Training_Need_Password:'请输入该私有训练的密码,方可进入',
Enter_the_training_password:'请输入私有训练的密码',
Register_training_successfully:'验证训练密码成功!',
// /views/oj/training/TrainingRank.vue
Total_AC:'AC总数',
}

View File

@ -95,7 +95,7 @@
</vxe-table-column>
<vxe-table-column
field="rating"
:title="$t('m.Total_Score')"
:title="$t('m.Total_AC')"
min-width="90"
>
<template v-slot="{ row }">
@ -127,19 +127,27 @@
</template>
<template v-slot="{ row }">
<template v-if="row.submissionInfo[problem.problemId]">
<span
class="judge-status"
:style="
'color:' +
<el-tooltip effect="dark" placement="top">
<div slot="content">
{{
JUDGE_STATUS[row.submissionInfo[problem.problemId].status]
.color
"
>
{{
JUDGE_STATUS[row.submissionInfo[problem.problemId].status]
.short
}}
</span>
.name
}}
</div>
<span
class="judge-status"
:style="
'color:' +
JUDGE_STATUS[row.submissionInfo[problem.problemId].status]
.rgb
"
>
{{
JUDGE_STATUS[row.submissionInfo[problem.problemId].status]
.short
}}
</span>
</el-tooltip>
<br />
<span class="judge-time">
({{