From 6d013619174ac9f6219d65d8bd904934f69f47ef Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 21 May 2024 14:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=85=E7=89=87=E5=8D=95=E5=85=83=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ArbitrationRules.vue | 35 +++++++++++++++++++ .../reading-unit/components/ReadingRules.vue | 24 ++++++------- 2 files changed, 47 insertions(+), 12 deletions(-) diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue b/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue index 82183e65..6121d1cb 100644 --- a/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue +++ b/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue @@ -316,6 +316,27 @@ :disabled="OtherInfo.IsSign" > + + + + + + @@ -478,6 +499,15 @@ export default { }, JudgyInfo: {}, JudgeDifferenceValueQRules: { + JudgeDifferenceType: [ + { + required: true, + message: this.$t( + "trials:trials-list:setitng:JudgeDifferenceTypeRequired" + ), + trigger: "blur", + }, + ], JudgeDifferenceValue: [ { required: true, @@ -555,6 +585,7 @@ export default { if (value !== 1) { this.QuestionList.forEach((item) => { item.JudgeDifferenceValue = 0; + item.JudgeDifferenceType = 0; }); } }, @@ -741,6 +772,7 @@ export default { AnswerCombination: [], JudgeType: 0, JudgeDifferenceValue: 0, + JudgeDifferenceType: 0, }) .then((res) => { this.$set(this.QuestionList[index], "AnswerGroup2List", []); @@ -798,6 +830,9 @@ export default { JudgeDifferenceValue: Number( this.QuestionList[index].JudgeDifferenceValue ), + JudgeDifferenceType: Number( + this.QuestionList[index].JudgeDifferenceType + ), }) .then((res) => { this.$message.success(this.$t("trials:adRules:message:msg9")); // '应用成功' diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue index 0b6b618e..601ad301 100644 --- a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue +++ b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue @@ -55,19 +55,19 @@ @@ -77,19 +77,19 @@ @@ -585,8 +585,8 @@ export default { IsUrgent: false, TrialCriterionAdditionalAssessmentTypeList: [], CriterionModalitys: null, - ReadingImageDownload: null, - ReadingImageUpload: null, + ImageDownloadEnum: null, + ImageUploadEnum: null, }, rules: { IsAutoCreate: [ @@ -617,14 +617,14 @@ export default { trigger: ["blur", "change"], }, ], - ReadingImageDownload: [ + ImageDownloadEnum: [ { required: true, message: this.$t("common:ruleMessage:select"), trigger: ["blur", "change"], }, ], - ReadingImageUpload: [ + ImageUploadEnum: [ { required: true, message: this.$t("common:ruleMessage:select"),