|
|
@@ -14,7 +14,9 @@
|
|
|
题目描述:{{ problem ? problem.description : "" }}
|
|
|
</template>
|
|
|
<template slot="extraContent">
|
|
|
- 题目进行阶段:{{ status }}
|
|
|
+ <b-tag type="is-info" style="margin-right: 5px" size="is-medium"
|
|
|
+ >阶段:{{ status }}</b-tag
|
|
|
+ >
|
|
|
</template>
|
|
|
</page-header>
|
|
|
|
|
|
@@ -45,13 +47,15 @@
|
|
|
</b-table-column>
|
|
|
|
|
|
<b-table-column label="互评负责组" centered>
|
|
|
- <span v-for="groupId in props.row.reviewGroup" :key="groupId"
|
|
|
- >{{ groupId }} </span
|
|
|
+ <span v-for="group in props.row.reviewGroup" :key="group.id"
|
|
|
+ >{{ group.id }} </span
|
|
|
>
|
|
|
</b-table-column>
|
|
|
|
|
|
<b-table-column label="分数" centered>
|
|
|
- {{ props.row.result }}
|
|
|
+ {{
|
|
|
+ props.row.result === null ? "暂无成绩" : props.row.result
|
|
|
+ }}
|
|
|
</b-table-column>
|
|
|
<b-table-column field="difficulty" label="详情" centered
|
|
|
><router-link
|
|
|
@@ -78,6 +82,21 @@
|
|
|
<br />
|
|
|
<strong>git地址:</strong
|
|
|
><small>{{ props.row.url }}</small> <br />
|
|
|
+ <strong>互评小组:</strong
|
|
|
+ ><small>
|
|
|
+ <li
|
|
|
+ v-for="reviewGroupp of props.row.reviewGroup"
|
|
|
+ :key="reviewGroupp.id"
|
|
|
+ >
|
|
|
+ ID : {{ reviewGroupp.id }}   小组成员:
|
|
|
+ <small
|
|
|
+ v-for="member of reviewGroupp.members"
|
|
|
+ :key="member.id"
|
|
|
+ >
|
|
|
+ {{ member.username }} 
|
|
|
+ </small>
|
|
|
+ </li>
|
|
|
+ </small>
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|