From 3e4e9f5329916c9966246450b475cc7fa005e8c6 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Thu, 30 May 2024 13:33:30 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B5=9B=E4=BA=8B=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/match/details/index.vue | 30 +-
src/pages/match/list/index.vue | 8 +-
src/pages/record/show/index.vue | 16 +-
src/pages/station/preview/index.vue | 1132 +++++++++++++--------------
4 files changed, 564 insertions(+), 622 deletions(-)
diff --git a/src/pages/match/details/index.vue b/src/pages/match/details/index.vue
index e225141..836c5f0 100644
--- a/src/pages/match/details/index.vue
+++ b/src/pages/match/details/index.vue
@@ -76,7 +76,7 @@
- 每个团队参赛人数限制:{{ rule.customNumber || '不限制' }} 每个团队参赛人数限制:{{ rule.teamNumLimit ? rule.customNumber : '不限制' }} 团队成绩计算方式:{{ teamCalculationMethods.find(e => e.id == rule.teamCalculationMethod) &&
teamCalculationMethods.find(e => e.id == rule.teamCalculationMethod).name }}
{ n.index = index + // 下面几行是导出的时候后端需要的字段 + e.assessmentPoint += `${index}.${n.name};${n.ruleOperation === '或' ? '\n或\n' : ''}` + e.referenceAnswer += `${index}.${n.ruleAnswer};${n.ruleOperation === '或' ? '\n或\n' : ''}` + if (!n.userAnswer) n.userAnswer = '未填写' if (n.ruleOperation === '或') { index = 1 } else { index++ } - e.assessmentPoint += `${i + 1}.${n.name}` - e.referenceAnswer += `${i + 1}.${n.ruleAnswer}` - if (!n.userAnswer) n.userAnswer = '未填写' - e.answer += `${i + 1}.${n.userAnswer}` + }) + e.lcStudentAnswer.map((n, i) => { + e.answer += `${i + 1}.${n.userAnswer};` }) }) } else { // python系统显示图片(从userScores里取) @@ -301,10 +304,9 @@ export default { e.id = i + 1 if (e.referenceAnswer && typeof e.referenceAnswer === 'string') e.referenceAnswer = e.referenceAnswer.replace(/<[^>]+>/g, '').replace(/( |&|%s)/g, '').replace(/>/g, '>').replace(/]+>/g, '').replace(/( |&|%s)/g, '').replace(/>/g, '>').replace(/]+>/g, '') - // } form.purpose = form.purpose.replace(/<[^>]+>/g, '') this.$post(this.isLc ? this.api.exportBankExperimentReport : this.api.exportLabReport, { ...form, diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue index a60990a..2ad7b80 100644 --- a/src/pages/station/preview/index.vue +++ b/src/pages/station/preview/index.vue @@ -2,157 +2,92 @@
- + {{ currentPage }} / {{ pageCount }} - +
-
-
-
+
+
+
-
-
-
+ src="@/assets/img/exts/word.png" alt="">
+
+
+
{{ section.name }}
+
{{ i + 1 }}. {{ item.projectName }} + @click.stop="studySection(item)">
{{ item.createTime }}
暂无数据
+暂无数据
该课程订阅期限已到期,请联系院校管理员续费