From 21a1eaf20a5a67a6e351327a803b4ac0e87fcc74 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 23 Oct 2024 16:53:08 +0800 Subject: [PATCH] 1 --- .../setting/reading-unit/components/TableQsForm.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue b/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue index 48fec499..3ecd55da 100644 --- a/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue +++ b/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue @@ -423,7 +423,7 @@
- {{ [1, 2, 3, 4].includes(form.CustomCalculateMark) ? '请选择同级问题!' : '请选择表格问题下的子问题!' }} + {{ [1, 2, 3, 4].includes(form.CustomCalculateMark) ? $t('trials:readingUnit:qsList:message:msg1') : $t('trials:readingUnit:qsList:message:msg2') }}
@@ -976,10 +976,11 @@ export default { }) }, save() { + this.form.ClassifyAlgorithms = JSON.stringify(this.ClassifyAlgorithmsList) this.$refs.tableQsForm.validate(valid => { if (!valid) return this.loading = true - this.form.ClassifyAlgorithms = JSON.stringify(this.ClassifyAlgorithmsList) + if(this.form.QuestionName && this.$i18n.locale === 'zh'){ this.form.QuestionEnName = this.form.QuestionName; }else if(this.form.QuestionEnName && this.$i18n.locale === 'en'){