|
|
@@ -38,7 +38,7 @@
|
|
|
<b-table-column label="文档作业" centered>
|
|
|
<div
|
|
|
class="result"
|
|
|
- v-for="item in props.row.documentHomeworkResult"
|
|
|
+ v-for="item in props.row.stage"
|
|
|
:key="item.id"
|
|
|
>
|
|
|
{{ item.name }} : {{ item.result }}
|
|
|
@@ -48,7 +48,7 @@
|
|
|
<b-table-column label="代码作业" centered>
|
|
|
<div
|
|
|
class="result"
|
|
|
- v-for="item in props.row.codeHomeworkResult"
|
|
|
+ v-for="item in props.row.score"
|
|
|
:key="item.id"
|
|
|
>
|
|
|
{{ item.name }} : {{ item.result }}
|
|
|
@@ -58,7 +58,7 @@
|
|
|
<b-table-column label="互评作业" centered>
|
|
|
<div
|
|
|
class="result"
|
|
|
- v-for="item in props.row.reviewHomeworkResult"
|
|
|
+ v-for="item in props.row.charge"
|
|
|
:key="item.id"
|
|
|
>
|
|
|
{{ item.name }} : {{ item.result }}
|
|
|
@@ -68,10 +68,10 @@
|
|
|
<span
|
|
|
:class="[
|
|
|
'tag',
|
|
|
- props.row.finalResult > 60 ? 'is-success' : 'is-danger'
|
|
|
+ props.row.detail > 60 ? 'is-success' : 'is-danger'
|
|
|
]"
|
|
|
>
|
|
|
- {{ props.row.finalResult }}
|
|
|
+ {{ props.row.detail }}
|
|
|
</span>
|
|
|
</b-table-column>
|
|
|
</template>
|
|
|
@@ -127,7 +127,7 @@ import { getStudentCourseReviewList } from "@/api/review";
|
|
|
const data = [
|
|
|
{
|
|
|
id: 1,
|
|
|
- documentHomeworkResult: [
|
|
|
+ stage: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -144,14 +144,14 @@ const data = [
|
|
|
result: 99
|
|
|
}
|
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
+ charge: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
|
}
|
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
+ score: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -163,11 +163,11 @@ const data = [
|
|
|
result: 85
|
|
|
}
|
|
|
],
|
|
|
- finalResult: 99
|
|
|
+ detail: 99
|
|
|
},
|
|
|
{
|
|
|
id: 2,
|
|
|
- documentHomeworkResult: [
|
|
|
+ stage: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -184,14 +184,14 @@ const data = [
|
|
|
result: 99
|
|
|
}
|
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
+ charge: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
|
}
|
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
+ score: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -203,11 +203,11 @@ const data = [
|
|
|
result: 85
|
|
|
}
|
|
|
],
|
|
|
- finalResult: 99
|
|
|
+ detail: 99
|
|
|
},
|
|
|
{
|
|
|
id: 3,
|
|
|
- documentHomeworkResult: [
|
|
|
+ stage: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -224,14 +224,14 @@ const data = [
|
|
|
result: 99
|
|
|
}
|
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
+ charge: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
|
}
|
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
+ score: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -243,11 +243,11 @@ const data = [
|
|
|
result: 85
|
|
|
}
|
|
|
],
|
|
|
- finalResult: 99
|
|
|
+ detail: 99
|
|
|
},
|
|
|
{
|
|
|
id: 4,
|
|
|
- documentHomeworkResult: [
|
|
|
+ stage: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -264,14 +264,14 @@ const data = [
|
|
|
result: 99
|
|
|
}
|
|
|
],
|
|
|
- reviewHomeworkResult: [
|
|
|
+ charge: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
result: 80
|
|
|
}
|
|
|
],
|
|
|
- codeHomeworkResult: [
|
|
|
+ score: [
|
|
|
{
|
|
|
id: 1,
|
|
|
name: "第一次作业",
|
|
|
@@ -283,7 +283,7 @@ const data = [
|
|
|
result: 85
|
|
|
}
|
|
|
],
|
|
|
- finalResult: 99
|
|
|
+ detail: 99
|
|
|
}
|
|
|
];
|
|
|
|