diff --git a/src/views/homesteadSurvey/add4.vue b/src/views/homesteadSurvey/add4.vue index 0e7bb0a9..a57ec7b3 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,14 @@ 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.zcxdShow = false; + this.$toast.success('校对数据正常'); + } + + }); }, // van-dialog 点击confirm事件不自动关闭