From 10e1c92e730be1db8e1cbe19cfb6f93e393c7e37 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Tue, 6 Aug 2024 17:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=84=8F=E8=A7=81=E5=8F=8D=E9=A6=88?= =?UTF-8?q?=E3=80=91=E7=8A=B6=E6=80=81=E4=BF=AE=E6=94=B9=E4=B8=BA=E5=B7=B2?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=EF=BC=8C=E9=80=80=E5=87=BA=E5=86=8D=E6=AC=A1?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E7=8A=B6=E6=80=81=E4=BB=8D=E4=B8=BA=E6=9C=AA?= =?UTF-8?q?=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/feedBack/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/feedBack/index.vue b/src/components/feedBack/index.vue index 7bbd270d..c66ce051 100644 --- a/src/components/feedBack/index.vue +++ b/src/components/feedBack/index.vue @@ -124,7 +124,7 @@ :active-text="$fd('FeedBackStatus', 1)" :inactive-text="$fd('FeedBackStatus', 0)" :disabled="level < 8 || !isStateChange" - @change="isImgfail ? () => false : changeState" + @change="changeState" > @@ -247,9 +247,11 @@ export default { this.trialId = trialId; this.Id = Id; this.visitTaskId = visitTaskId; + console.log(visitTaskId, "visitTaskId"); if (visitTaskId) { this.isImgfail = true; } + console.log(this.isImgfail, "isImgfail"); this.setTypeOption(); if (!Id) { this.title = this.setTitle(); @@ -291,6 +293,7 @@ export default { }, // 修改状态 async changeState() { + if (this.isImgfail) return; try { let data = { IdList: [this.Id],