+
+
+
批量删除
diff --git a/src/pages/achievement/list/index.vue b/src/pages/achievement/list/index.vue
index cba500c..a6c9192 100644
--- a/src/pages/achievement/list/index.vue
+++ b/src/pages/achievement/list/index.vue
@@ -69,19 +69,19 @@
-
-
+
+
-
+
{{ scope.row.permissions == 2 ? "竞赛" : projectType.find(n => n.id === scope.row.permissions).name }}
-
-
+
+
-
+
成绩管理
删除
diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue
index fe2aa84..c4f6b5f 100644
--- a/src/pages/achievement/show/index.vue
+++ b/src/pages/achievement/show/index.vue
@@ -21,7 +21,7 @@
-
+
@@ -38,7 +38,7 @@
-
+
@@ -59,19 +59,23 @@
{{ scope.$index + 1 }}
-
+
-
+
+ {{index+1}}. {{item.userAnswer}}
+
-
+
+ {{index+1}}. {{item.ruleAnswer}}
+
-
+
@@ -157,9 +161,9 @@ export default {
let data = {
recordId: this.id
};
- this.$get(this.api.queryVirtualReport, data).then(res => {
- this.form = res.data.report;
- let expData = res.data.data;
+ this.$get(this.api.experimentOverview, data).then(res => {
+ this.form = res.report;
+ let expData = res.userScores;
let form = this.form;
let score = form.score;
@@ -193,12 +197,13 @@ export default {
let data = {
studentId: this.studentId,
projectId: this.projectId,
- recordId: this.id,
+ // recordId: this.id,
reportId: this.reportId
};
- this.$get(this.api.queryArchievement, data).then(res => {
- this.form = res.data.report ? res.data.report : {};
- let expData = res.data.data;
+ this.$get(this.api.experimentOverview, data).then(res => {
+ console.log(res)
+ this.form = res.report ? res.report : {};
+ let expData = res.userScores;
let form = this.form;
let score = form.score;
diff --git a/src/pages/achievement/vir/index.vue b/src/pages/achievement/vir/index.vue
index 59462d3..701c7c3 100644
--- a/src/pages/achievement/vir/index.vue
+++ b/src/pages/achievement/vir/index.vue
@@ -110,10 +110,11 @@ export default {
});
},
show(row) {
+ console.log(row)
if (this.permissions) {
- this.$router.push(`show?id=${row.recordId}&projectId=${this.projectId}&reportId=${row.reportId}`);
+ this.$router.push(`show?id=${row.projectId}&projectId=${this.projectId}&reportId=${row.reportId}`);
} else {
- this.$router.push(`show?id=${row.recordId}&type=1`);
+ this.$router.push(`show?id=${row.projectId}&type=1`);
}
},
exportData() {
diff --git a/src/pages/assessment/add/index.vue b/src/pages/assessment/add/index.vue
index 26e8c7b..864f0f1 100644
--- a/src/pages/assessment/add/index.vue
+++ b/src/pages/assessment/add/index.vue
@@ -9,6 +9,7 @@