From bc8948f2c2f2463b4db6a027156afe2d1fb958c5 Mon Sep 17 00:00:00 2001 From: xuyuanqing <392009588@qq.com> Date: Thu, 18 Jan 2024 09:12:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83?= =?UTF-8?q?=E6=9F=A5=E8=87=AA=E6=9F=A5=E6=A0=A1=E5=AF=B9=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add4.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/homesteadSurvey/add4.vue b/src/views/homesteadSurvey/add4.vue index 0e7bb0a9..1ff09dfc 100644 --- a/src/views/homesteadSurvey/add4.vue +++ b/src/views/homesteadSurvey/add4.vue @@ -279,7 +279,8 @@ export default { if(response.data.surveyStatus === "3" && businessLevel === "2"){ this.showDcsh = true; } - if(response.data.surveyStatus === "3"){ + + if(response.data.surveyStatus !== "5"){ this.showHd = true; } if(this.permission ==='true' && response.data.surveyStatus !== "3" && response.data.surveyStatus !== '5'){ @@ -487,7 +488,13 @@ export default { surveyInspectByZjddm(this.zjdzdxx.zjddm).then(response => { this.inspectDataList = response.data; this.$toast.clear(); - this.zcxdShow = true; + if(this.inspectDataList.length > 0){ + this.zcxdShow = true; + }else{ + this.$toast.success('校对数据正常'); + } + + }); }, // van-dialog 点击confirm事件不自动关闭 From f61319c0ad697b6ab3c69599cdfac5983c63345e Mon Sep 17 00:00:00 2001 From: xuyuanqing <392009588@qq.com> Date: Thu, 18 Jan 2024 09:13:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83?= =?UTF-8?q?=E6=9F=A5=E8=87=AA=E6=9F=A5=E6=A0=A1=E5=AF=B9=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add4.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/homesteadSurvey/add4.vue b/src/views/homesteadSurvey/add4.vue index 1ff09dfc..a57ec7b3 100644 --- a/src/views/homesteadSurvey/add4.vue +++ b/src/views/homesteadSurvey/add4.vue @@ -491,6 +491,7 @@ export default { if(this.inspectDataList.length > 0){ this.zcxdShow = true; }else{ + this.zcxdShow = false; this.$toast.success('校对数据正常'); }