|
|
@@ -1737,8 +1737,10 @@ export default { |
|
|
|
this.formVisible.acceptingForm.agricultureFormVisible = this.isProposeStatus(houseApplyStatus, [this.isInRoles(role, ['town_leader', 'agriculture']) ? '29' : -99, "26"]); |
|
|
|
this.formVisible.acceptingForm.nature_resourceFormVisible = this.isProposeStatus(houseApplyStatus, [this.isInRoles(role, ['town_leader', 'nature_resource']) ? '29' : -99, "26"]); |
|
|
|
|
|
|
|
this.formEnabled.submitEnabled = this.isProposeStatus(houseApplyStatus, ["1"]); |
|
|
|
this.formVisible.editVisible = this.formEnabled.submitEnabled; |
|
|
|
if(this.type !='done') { |
|
|
|
this.formEnabled.submitEnabled = this.isProposeStatus(houseApplyStatus, ["1"]); |
|
|
|
this.formVisible.editVisible = this.formEnabled.submitEnabled; |
|
|
|
} |
|
|
|
|
|
|
|
this.houseApplyUploadComp.full = true; |
|
|
|
this.houseApplyUploadComp.readonly = true; |
|
|
@@ -3177,6 +3179,9 @@ export default { |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveNatureOptions.approveOption)) { |
|
|
|
return "说明不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveNatureOptions.approveLeader)) { |
|
|
|
return "自然资源签名不能为空"; |
|
|
|
} |
|
|
|
return false; |
|
|
|
}, |
|
|
|
validateAgricultureForm(pass) { |
|
|
@@ -3194,6 +3199,9 @@ export default { |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveAgricultureOptions.approveOption)) { |
|
|
|
return "说明不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveAgricultureOptions.approveLeader)) { |
|
|
|
return "农村农业部门签名不能为空"; |
|
|
|
} |
|
|
|
// 通过时检查打勾, 农业部门 |
|
|
|
if(pass) |
|
|
|
{ |
|
|
@@ -3246,12 +3254,18 @@ export default { |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveOtherOptions.approveOption)) { |
|
|
|
return "说明不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveOtherOptions.approveLeader)) { |
|
|
|
return "其他部门签名不能为空"; |
|
|
|
} |
|
|
|
return false; |
|
|
|
}, |
|
|
|
validateTownForm() { |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveTownOptions.approveOption)) { |
|
|
|
return "镇政府审批意见不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApproveTownOptions.approveLeader)) { |
|
|
|
return "镇政府审批签字不能为空"; |
|
|
|
} |
|
|
|
return false; |
|
|
|
}, |
|
|
|
validateAcceptingFormBase() { |
|
|
|