竞赛阶段: |
-
+
序号 |
赛项阶段名称 |
+
+ 参赛人数限制 |
+ 允许参赛人员 |
+ 总分 |
+
竞赛成绩 |
+
+
+ {{ i + 1 }} |
+ {{ item.stageName }} |
+
+ {{ item.teamNumLimit || '不限制' }} |
+ {{ item.teamParticipantIds || '无' }} |
+ {{ info.totalScore }} |
+
+
+ 分数{{item.score}}
+ 查看成绩详情
+ |
+
+
+
+ 暂无数据 |
+
+
+
+
+
+ 团队名称:{{ members[0].teamName }} 阶段名称:{{ curRow.stageName }}
+
+
+ 序号 |
+ 姓名 |
+ 学校 |
+ 用时 |
+ 分数 |
+ 得分详情 |
+
+
+
+ {{ i + 1 }} |
+ {{ item.userName }} |
+ {{ item.schoolName }} |
+ {{ item.timeSum }}min |
+ {{ item.score }} |
+
+ 查看
+ |
+
+
+
+ 暂无数据 |
+
+
+
+
@@ -88,8 +243,20 @@ export default {
padding: 12px;
border: 1px solid #ebeef5;
}
+ &.tc {
+ text-align: center;
+ }
th {
- background-color: #f6f4ff;
+ text-align: center;
+ background-color: #f8faff;
+ }
+ .line {
+ display: flex;
+ align-items: center;
+ margin-bottom: 10px;
+ .el-input {
+ margin-right: 15px;
+ }
}
}
\ No newline at end of file
diff --git a/src/views/match/manage/matchRank.vue b/src/views/match/manage/matchRank.vue
index fcc0509..f7e2684 100644
--- a/src/views/match/manage/matchRank.vue
+++ b/src/views/match/manage/matchRank.vue
@@ -2,14 +2,16 @@
-
+
@@ -140,8 +142,8 @@ export default {
stageId: +this.$route.query.stageId,
index: +this.$route.query.index,
method: this.$route.query.method,
- competitionType: this.$route.query.competitionType,
- rule: this.$route.query.rule,
+ competitionType: +this.$route.query.competitionType,
+ rule: +this.$route.query.rule,
headers: {
token: sessionStorage.getItem("token")
},
@@ -172,6 +174,7 @@ export default {
// 获排名
getData() {
if (!this.active) {
+ // 总分排名
const ids = this.grades.map(e => e.stageId)
this.$post(this.api.overallStandingsInThePointsRace, {
pageNum: this.page,
@@ -182,7 +185,7 @@ export default {
this.list = page
this.total = total
}).catch(res => {})
- } else {
+ } else { // 阶段排名
this.$post(`${this.api.stageRaceRanking}?competitionId=${this.id}&stageId=${this.active}&pageNum=${this.page}&pageSize=${this.pageSize}`).then(({ page, total }) => {
this.list = page
this.total = total
@@ -198,7 +201,8 @@ export default {
}).then(({ page }) => {
this.grades = page.records.slice(0, this.index + 1)
this.active = this.grades[this.index].stageId
- if (this.rule == 0) this.grades.push({
+ // 积分赛才显示总分
+ this.rule == 0 && this.grades.push({
stageId: 0,
stageName: '总分'
})
@@ -380,7 +384,7 @@ export default {
},
// 下载失败文件
showFaild() {
- axios.get(`${this.api.rankExportFailure}?exportCode=${this.exportCode}`, {
+ axios.get(`${this.api.rankExportFailure}?exportCode=${this.exportCode}&competitionId=${this.id}`, {
headers: this.headers,
responseType: 'blob'
}).then((res) => {
diff --git a/src/views/match/manage/matchSignup.vue b/src/views/match/manage/matchSignup.vue
index a8d0f10..5ca0750 100644
--- a/src/views/match/manage/matchSignup.vue
+++ b/src/views/match/manage/matchSignup.vue
@@ -20,16 +20,16 @@
-
+
{{ scope.$index + (page - 1) * pageSize + 1 }}
-
+
-
+
@@ -218,6 +218,10 @@ export default {
.catch(err => {
});
},
+ // 排序回调
+ sortChange(column, prop, order) {
+ console.log(column, prop, order)
+ },
// 新增
add() {
this.addVisible = true
@@ -295,7 +299,7 @@ export default {
},
// 参赛信息
info(row) {
- this.$router.push(`/matchInfo?id=${this.id}`)
+ this.$router.push(`/matchInfo?id=${this.id}&accountId=${row.accountId}`)
},
exportAll() {
const data = this.multipleSelection
diff --git a/src/views/serve/projectAdd.vue b/src/views/serve/projectAdd.vue
index 205c7e9..3f81437 100644
--- a/src/views/serve/projectAdd.vue
+++ b/src/views/serve/projectAdd.vue
@@ -238,7 +238,7 @@ export default {
projectName: "", // 项目名称
permissions: 0, // 项目权限(0、练习 1、考核 2、竞赛)
systemId: this.$route.query.systemId, // 系统id
- hintOpen: 0, // 实验提示是否开启(0开启 1不开启 默认0)
+ hintOpen: 1, // 实验提示是否开启(0开启 1不开启 默认1)
experimentHint: "", // 实验提示
experimentTarget: "", // 实验目标
experimentDescription: "", // 案例描述
|