+
筛选
-
-
+
+
{{ scope.$index + (page - 1) * pageSize + 1 }}
-
+
-
-
+
+
-
+
- 成绩管理
+ 成绩管理
@@ -253,10 +225,11 @@ export default {
\ No newline at end of file
diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue
index 8e080a5..65574b5 100644
--- a/src/pages/achievement/show/index.vue
+++ b/src/pages/achievement/show/index.vue
@@ -218,9 +218,14 @@ export default {
index++
}
})
- e.lcStudentAnswer.map((n, i) => {
- e.answer += `${i + 1}.${n.userAnswer || '未填写'};`
- })
+ // lcStudentAnswer是后来特意给沙盘项目的且或判分点加的字段,其他系统都没有这个字段,因此如果没有这个字段,则直接显示老的lcRuleRecords
+ if (e.lcStudentAnswer) {
+ e.lcStudentAnswer.map((n, i) => {
+ e.answer += `${i + 1}.${n.userAnswer || '未填写'};`
+ })
+ } else {
+ e.lcStudentAnswer = e.lcRuleRecords
+ }
})
} else { // python系统显示图片(从userScores里取)
list.forEach(e => {
@@ -234,7 +239,7 @@ export default {
this.expData = list
this.loading = false
},
- exportPage () {
+ async exportPage () {
const form = Object.assign(this.form, this.infoData)
const list = JSON.parse(JSON.stringify(this.expData))
list.map((e, i) => {
@@ -387,6 +392,7 @@ samp {
padding: 10px 16px;
font-size: 14px;
color: #333;
+ white-space: pre-wrap;
&.edit {
color: #abb3c6;
diff --git a/src/pages/assessment/add/index.vue b/src/pages/assessment/add/index.vue
index 0a92046..3afcde0 100644
--- a/src/pages/assessment/add/index.vue
+++ b/src/pages/assessment/add/index.vue
@@ -1,33 +1,24 @@
-
+
-
+
- {{ form.id ? "更新" : "创建" }}
+ {{ form.id ? "更新" : "创建" }}
-
+
-
+
-
+