diff --git a/pages/apply/subPages/SK/riskVerifyEditNew.vue b/pages/apply/subPages/SK/riskVerifyEditNew.vue index 76c3687..384060e 100644 --- a/pages/apply/subPages/SK/riskVerifyEditNew.vue +++ b/pages/apply/subPages/SK/riskVerifyEditNew.vue @@ -31,7 +31,7 @@ - 隐患照片: + @@ -65,23 +65,22 @@ - - - + - + + - + - + @@ -516,6 +515,7 @@ } else if (this.selectorInfo.name == 'Nav_Question') { this.model.Nav_Question = e; this.model.CHECK_QUESTION_ID = e.ID; + this.model.RECTIFICATION_MEASURES = e.DEMAND } else if (this.selectorInfo.name == 'Nav_CheckType') { this.model.Nav_CheckType = e; this.model.CHECK_TYPE_ID = e.ID; @@ -556,6 +556,7 @@ }) return } + if (!this.model.Nav_Question||!this.model.Nav_Question.DESCREPTION) { uni.showToast({ title: '请选择隐患描述', @@ -563,6 +564,13 @@ }) return } + if(!this.model.RECTIFICATION_MEASURES){ + uni.showToast({ + title: '请填写整改措施', + icon: 'none' + }) + return + } if (!this.model.HIDDEN_LEVELName) { uni.showToast({ title: '请选择隐患等级', @@ -570,27 +578,28 @@ }) return } - if (!this.model.DEPARTMENT_TYPEName) { - uni.showToast({ - title: '请选择检查层级', - icon: 'none' - }) - return - } - if (!this.model.Nav_CheckType||!this.model.Nav_CheckType.NAME) { - uni.showToast({ - title: '请选择检查类型', - icon: 'none' - }) - return - } - if (!this.model.PLANCHECKFREQUENCYName) { - uni.showToast({ - title: '请选择检查周期', - icon: 'none' - }) - return - } + + // if (!this.model.DEPARTMENT_TYPEName) { + // uni.showToast({ + // title: '请选择检查层级', + // icon: 'none' + // }) + // return + // } + // if (!this.model.Nav_CheckType||!this.model.Nav_CheckType.NAME) { + // uni.showToast({ + // title: '请选择检查类型', + // icon: 'none' + // }) + // return + // } + // if (!this.model.PLANCHECKFREQUENCYName) { + // uni.showToast({ + // title: '请选择检查周期', + // icon: 'none' + // }) + // return + // } if (!this.model.Nav_RecitifyUser||!this.model.Nav_RecitifyUser.NAME) { uni.showToast({ title: '请选择整改责任人',