From 2c4dd7f537ce3a8f683bc24dc7d2d6a7cf562a79 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 23 Sep 2025 13:48:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=BA=BF=E7=97=85=E7=81=B6=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E5=9C=A8=E5=9F=BA=E7=BA=BF=E6=98=AF1-99=EF=BC=8C?= =?UTF-8?q?=E5=90=8E=E7=BB=AD=E9=9A=8F=E8=AE=BF=E6=97=B6=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E6=98=AF:0-99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/PCWG/QuestionForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue b/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue index 385b298..e9c8825 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/PCWG/QuestionForm.vue @@ -207,7 +207,7 @@ export default { const reg = /^(?:[1-9]|[1-9][0-9])$/ if (!value) { callback(new Error(this.$t('common:ruleMessage:specify'))) - } else if (!reg.test(value) || (parseInt(value) > 99 || parseInt(value) < 0)) { + } else if (!reg.test(value) || (parseInt(value) > 99 || (this.isBaseLineTask && parseInt(value) <= 0) || (!this.isBaseLineTask && parseInt(value) < 0))) { callback(new Error(this.$t('trials:readingPGWC:warnning:msg1'))) } else if (!this.isBaseLineTask && parseInt(value) > parseInt(this.questionForm.BaseLineLesionNumber)) { @@ -221,7 +221,7 @@ export default { if (this.focusQs && !this.isBaseLineTask && this.focusQs.QuestionMark === 11 && (parseInt(value) > parseInt(this.questionForm.BaseLineLesionNumber))) { // '基线病灶初始数量为' callback(new Error(this.$t('trials:reading:pcwg:msg6') + this.questionForm.BaseLineLesionNumber)) - } else if (this.focusQs && this.focusQs.QuestionMark === 11 && (parseInt(value) > 99 || parseInt(value) < 0)) { + } else if (this.focusQs && this.focusQs.QuestionMark === 11 && (parseInt(value) > 99 || (this.isBaseLineTask && parseInt(value) <= 0) || (!this.isBaseLineTask && parseInt(value) < 0))) { callback(new Error(this.$t('trials:readingPGWC:warnning:msg1'))) } else { callback()