|
|
@@ -5,7 +5,7 @@ |
|
|
|
left-arrow |
|
|
|
fixed |
|
|
|
placeholder |
|
|
|
@click-left="$router.back(-1)" |
|
|
|
@click-left="goBack()" |
|
|
|
z-index="998" |
|
|
|
> |
|
|
|
<template #right> |
|
|
@@ -104,7 +104,7 @@ |
|
|
|
<van-field :rules="[{ required: true }]" required :readonly="!formEnabled.baseApplyForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyCurrentSituation.landPerArea" label="人均宅基地面积" placeholder="人均宅基地面积" input-align="right" label-width="auto" type="number"><template #right-icon>㎡</template></van-field> |
|
|
|
<van-field :rules="[{ required: true }]" required :readonly="!formEnabled.baseApplyForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyCurrentSituation.landCertificateNo" label="不动产单元号" placeholder="不动产单元号" input-align="right"/> |
|
|
|
<van-field :rules="[{ required: true }]" required :readonly="!formEnabled.baseApplyForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyCurrentSituation.buildingArea" label="建筑面积" placeholder="建筑面积㎡" input-align="right" type="number"><template #right-icon>㎡</template></van-field> |
|
|
|
<van-field :rules="[{ required: true }]" required :readonly="!formEnabled.baseApplyForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyCurrentSituation.buildingPerArea" label="人均建筑面积" placeholder="人均建筑面积" input-align="right" type="number"><template #right-icon>㎡</template></van-field> |
|
|
|
<van-field :rules="[{ required: true }]" required :readonly="!formEnabled.baseApplyForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyCurrentSituation.buildingPerArea" label="人均建筑面积" placeholder="人均建筑面积" input-align="right" label-width="auto" type="number"><template #right-icon>㎡</template></van-field> |
|
|
|
<van-field :rules="[{ required: true }]" required :readonly="!formEnabled.baseApplyForm.baseFormEnabled" v-model="applicationDetail.tHouseApplyCurrentSituation.houseCertificateNo" label="宅基地证书号" placeholder="宅基地证书号" input-align="right"/> |
|
|
|
<field-select |
|
|
|
v-model="applicationDetail.tHouseApplyCurrentSituation.landIsposal" |
|
|
@@ -1423,7 +1423,7 @@ export default { |
|
|
|
this.formEnabled.baseApplyForm.groupFormEnabled = hasGroupLevel && this.isProposeStatus(houseApplyStatus, ['32']) && this.isInRoles(role, 'village_group_leader'); |
|
|
|
this.formEnabled.baseApplyForm.villageFormEnabled = this.isProposeStatus(houseApplyStatus, ["31"]) && this.isInRoles(role, 'village_leader'); |
|
|
|
this.formEnabled.baseApplyForm.townFormEnabled = this.isProposeStatus(houseApplyStatus, ['8']) && this.isInRoles(role, 'town_leader'); |
|
|
|
|
|
|
|
console.log(this.isProposeStatus(houseApplyStatus, ['8']) && this.isInRoles(role, 'town_leader')+'11111111'); |
|
|
|
this.formEnabled.landscopeEnabled = this.isProposeStatus(houseApplyStatus, ['10', '12']); |
|
|
|
this.formEnabled.landscopeForm.baseFormEnabled = this.isProposeStatus(houseApplyStatus, ['10', '12']); |
|
|
|
|
|
|
@@ -1648,6 +1648,7 @@ export default { |
|
|
|
}, |
|
|
|
//添加家庭成员 |
|
|
|
addFamily(){ |
|
|
|
this.applicationDetail.tHouseApplyProposer.members++; |
|
|
|
this.applicationDetail.tHouseApplyFamilyMembers.push({ |
|
|
|
//applyProposerId: this.applicationDetail.tHouseApplyFamilyMembers[0].applyProposerId, |
|
|
|
memberName:'', |
|
|
@@ -1659,12 +1660,17 @@ export default { |
|
|
|
}, |
|
|
|
//删除家庭成员 |
|
|
|
deleteFamily(index){ |
|
|
|
this.applicationDetail.tHouseApplyProposer.members--; |
|
|
|
this.applicationDetail.tHouseApplyFamilyMembers.splice(index,1) |
|
|
|
}, |
|
|
|
// 获取户型配置 |
|
|
|
getHouseList() { |
|
|
|
return houseList(); |
|
|
|
}, |
|
|
|
//返回上一步操作 |
|
|
|
goBack(){ |
|
|
|
this.$router.push({name: this.$router.back(-1)}); |
|
|
|
}, |
|
|
|
// 当地图绘制完成时 |
|
|
|
onMapDrawFinished(data) { |
|
|
|
this.drawInsert = data; |
|
|
@@ -2208,9 +2214,6 @@ export default { |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposer.members)) { |
|
|
|
return "家庭人口数不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposer.applyReasion)) { |
|
|
|
return "申请理由不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposer.existHomestead)) { |
|
|
|
return "是否已有宅基地不能为空"; |
|
|
|
} |
|
|
@@ -2249,6 +2252,9 @@ export default { |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyCurrentSituation.buildingPerArea)) { |
|
|
|
return "人均建筑面积不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyCurrentSituation.landCertificateNo)) { |
|
|
|
return "不动产单元号不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyCurrentSituation.landIsposal)) { |
|
|
|
return "处置情况不能为空"; |
|
|
|
} |
|
|
@@ -2264,23 +2270,17 @@ export default { |
|
|
|
return "处置情况不能为空"; |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyCurrentSituation.landCertificateNo)) { |
|
|
|
return "宅基地证书号不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyCurrentSituation.houseCertificateNo)) { |
|
|
|
return "不动产单元号不能为空"; |
|
|
|
return "宅基地证书号不能为空"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.landArea)) { |
|
|
|
return "拟建宅基地面积不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.buildingLandArea)) { |
|
|
|
return "房基占地面积不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.location)) { |
|
|
|
return "拟建位置不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.landArea)) { |
|
|
|
return "拟建宅基地面积不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.east)) { |
|
|
|
return "东至不能为空"; |
|
|
|
} |
|
|
@@ -2296,18 +2296,21 @@ export default { |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.buildingArea)) { |
|
|
|
return "住房建筑面积不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.buildingLandArea)) { |
|
|
|
return "房基占地面积不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.buildingFloors)) { |
|
|
|
return "建筑层数不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.buildingHight)) { |
|
|
|
return "建筑高度不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.housingStructure)) { |
|
|
|
return "土地类型不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.isAdvice)) { |
|
|
|
return "征求相邻权利人意见不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.housingStructure)) { |
|
|
|
return "房屋构造不能为空"; |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.buildingType)) { |
|
|
|
return "建房类型不能为空"; |
|
|
|
} |
|
|
@@ -2317,7 +2320,7 @@ export default { |
|
|
|
if(this.applicationDetail.tHouseApplyProposedSituation.geographicType == '10') |
|
|
|
{ |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposedSituation.constructionLandArea)) { |
|
|
|
return "建设用地不能为空"; |
|
|
|
return "建设用地面积不能为空"; |
|
|
|
} |
|
|
|
} |
|
|
|
else if(this.applicationDetail.tHouseApplyProposedSituation.geographicType == '20') |
|
|
@@ -2341,6 +2344,9 @@ export default { |
|
|
|
return "房屋户型不能为空"; |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.checkString(this.applicationDetail.tHouseApplyProposer.applyReasion)) { |
|
|
|
return "申请理由不能为空"; |
|
|
|
} |
|
|
|
|
|
|
|
return false; |
|
|
|
}, |
|
|
|