|
|
|
@ -40,20 +40,25 @@ |
|
|
|
src="../../../assets/img/arrow-down.png" /> |
|
|
|
</div> --> |
|
|
|
<resi-search ref="myResiSearch" /> |
|
|
|
<el-row class="resi-search"> |
|
|
|
<el-row class="resi-search"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-button size="small" |
|
|
|
class="diy-button--blue" |
|
|
|
@click="handleSearchFrom">查询</el-button> |
|
|
|
<!-- --> |
|
|
|
<el-button style="margin-left:10px" |
|
|
|
size="small" |
|
|
|
class="diy-button--white" |
|
|
|
@click="">重置</el-button> |
|
|
|
<!-- resetSearchForm --> |
|
|
|
<el-button |
|
|
|
size="small" |
|
|
|
class="diy-button--blue" |
|
|
|
@click="handleSearchFrom" |
|
|
|
>查询</el-button |
|
|
|
> |
|
|
|
<!-- --> |
|
|
|
<el-button |
|
|
|
style="margin-left: 10px" |
|
|
|
size="small" |
|
|
|
class="diy-button--white" |
|
|
|
@click="" |
|
|
|
>重置</el-button |
|
|
|
> |
|
|
|
<!-- resetSearchForm --> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="m-table"> |
|
|
|
@ -281,7 +286,6 @@ |
|
|
|
:visible.sync="dialogVisible" |
|
|
|
width="986px" |
|
|
|
top="5vh" |
|
|
|
height="750px" |
|
|
|
append-to-body |
|
|
|
class="dialog-h" |
|
|
|
:close-on-click-modal="false" |
|
|
|
@ -683,7 +687,7 @@ export default { |
|
|
|
}, |
|
|
|
}); |
|
|
|
}, |
|
|
|
handleSearchFrom(){ |
|
|
|
handleSearchFrom() { |
|
|
|
console.log(this.$refs.myResiSearch.form); |
|
|
|
}, |
|
|
|
// 是否可以选中 |
|
|
|
@ -1036,6 +1040,7 @@ export default { |
|
|
|
console.log(tab, event); |
|
|
|
}, |
|
|
|
async handleLook(row) { |
|
|
|
this.formName = "居民详情"; |
|
|
|
console.log(row); |
|
|
|
this.lookInfo.userId = row.icResiUserId; |
|
|
|
this.lookInfo.gridName = row.GRID_ID; |
|
|
|
@ -1054,6 +1059,7 @@ export default { |
|
|
|
this.disabled = false; |
|
|
|
this.editAgencyId = row.ORG_ID; |
|
|
|
this.editUserId = row.icResiUserId; |
|
|
|
this.formName = "编辑居民"; |
|
|
|
await this.getFormList("edit"); |
|
|
|
await this.getrowInfo(row.icResiUserId); |
|
|
|
}, |
|
|
|
@ -1061,6 +1067,7 @@ export default { |
|
|
|
this.$refs.baseForm.resetForm(); |
|
|
|
}, |
|
|
|
async handleAdd() { |
|
|
|
this.formName = "新增居民"; |
|
|
|
await this.getFormList(); |
|
|
|
this.dialogVisible = true; |
|
|
|
}, |
|
|
|
@ -1164,49 +1171,56 @@ export default { |
|
|
|
|
|
|
|
async handleSUbmit() { |
|
|
|
const _baseForm = this.$refs.baseForm.submit_from(); |
|
|
|
_baseForm.partyFlag = parseInt(_baseForm.partyFlag),//党员 |
|
|
|
_baseForm.subsistenceAllowanceFlag = parseInt(_baseForm.subsistenceAllowanceFlag), //低保 |
|
|
|
_baseForm.ensureHouseFlag = parseInt(_baseForm.ensureHouseFlag), //保障房 |
|
|
|
_baseForm.unemployedFlag = parseInt(_baseForm.unemployedFlag),//失业 |
|
|
|
_baseForm.fertileWomanFlag = parseInt(_baseForm.fertileWomanFlag), //育龄妇女 |
|
|
|
_baseForm.veteranFlag = parseInt(_baseForm.veteranFlag), //退役军人 |
|
|
|
_baseForm.unitedFrontFlag = parseInt(_baseForm.unitedFrontFlag),//统战人员 |
|
|
|
_baseForm.petitionOfficerFlag = parseInt(_baseForm.petitionOfficerFlag),//信访人员 |
|
|
|
_baseForm.volunteerFlag = parseInt(_baseForm.volunteerFlag), //志愿者 |
|
|
|
_baseForm.bereavedPersonFlag = parseInt(_baseForm.bereavedPersonFlag), //失独 |
|
|
|
_baseForm.tenantFlag = parseInt(_baseForm.tenantFlag), //租户 |
|
|
|
_baseForm.floatingFlag = parseInt(_baseForm.floatingFlag),//流动人口 |
|
|
|
_baseForm.specialCrowdFlag = parseInt(_baseForm.specialCrowdFlag),//特殊人群 |
|
|
|
_baseForm.oldPeopleFlag = parseInt(_baseForm.oldPeopleFlag), //老年人 |
|
|
|
_baseForm.emptyNesterFlag = parseInt(_baseForm.emptyNesterFlag), //空巢 |
|
|
|
_baseForm.liveAloneFlag = parseInt(_baseForm.liveAloneFlag), //独居老人 |
|
|
|
_baseForm.disabledFlag = parseInt(_baseForm.disabledFlag), //失能老人 |
|
|
|
_baseForm.dementedFlag = parseInt(_baseForm.dementedFlag), //失智老人 |
|
|
|
_baseForm.disabilityFlag = parseInt(_baseForm.disabilityFlag),//是否残疾 |
|
|
|
_baseForm.seriousIllnessFlag = parseInt(_baseForm.seriousIllnessFlag), //大病 |
|
|
|
_baseForm.chronicDiseaseFlag = parseInt(_baseForm.chronicDiseaseFlag) //慢病 |
|
|
|
if(_baseForm.hobbyInfoDto.hobbyCode = []) { |
|
|
|
_baseForm.hobbyInfoDto.hobbyCode = '' |
|
|
|
(_baseForm.partyFlag = parseInt(_baseForm.partyFlag)), //党员 |
|
|
|
(_baseForm.subsistenceAllowanceFlag = parseInt( |
|
|
|
_baseForm.subsistenceAllowanceFlag |
|
|
|
)), //低保 |
|
|
|
(_baseForm.ensureHouseFlag = parseInt(_baseForm.ensureHouseFlag)), //保障房 |
|
|
|
(_baseForm.unemployedFlag = parseInt(_baseForm.unemployedFlag)), //失业 |
|
|
|
(_baseForm.fertileWomanFlag = parseInt(_baseForm.fertileWomanFlag)), //育龄妇女 |
|
|
|
(_baseForm.veteranFlag = parseInt(_baseForm.veteranFlag)), //退役军人 |
|
|
|
(_baseForm.unitedFrontFlag = parseInt(_baseForm.unitedFrontFlag)), //统战人员 |
|
|
|
(_baseForm.petitionOfficerFlag = parseInt( |
|
|
|
_baseForm.petitionOfficerFlag |
|
|
|
)), //信访人员 |
|
|
|
(_baseForm.volunteerFlag = parseInt(_baseForm.volunteerFlag)), //志愿者 |
|
|
|
(_baseForm.bereavedPersonFlag = parseInt(_baseForm.bereavedPersonFlag)), //失独 |
|
|
|
(_baseForm.tenantFlag = parseInt(_baseForm.tenantFlag)), //租户 |
|
|
|
(_baseForm.floatingFlag = parseInt(_baseForm.floatingFlag)), //流动人口 |
|
|
|
(_baseForm.specialCrowdFlag = parseInt(_baseForm.specialCrowdFlag)), //特殊人群 |
|
|
|
(_baseForm.oldPeopleFlag = parseInt(_baseForm.oldPeopleFlag)), //老年人 |
|
|
|
(_baseForm.emptyNesterFlag = parseInt(_baseForm.emptyNesterFlag)), //空巢 |
|
|
|
(_baseForm.liveAloneFlag = parseInt(_baseForm.liveAloneFlag)), //独居老人 |
|
|
|
(_baseForm.disabledFlag = parseInt(_baseForm.disabledFlag)), //失能老人 |
|
|
|
(_baseForm.dementedFlag = parseInt(_baseForm.dementedFlag)), //失智老人 |
|
|
|
(_baseForm.disabilityFlag = parseInt(_baseForm.disabilityFlag)), //是否残疾 |
|
|
|
(_baseForm.seriousIllnessFlag = parseInt(_baseForm.seriousIllnessFlag)), //大病 |
|
|
|
(_baseForm.chronicDiseaseFlag = parseInt(_baseForm.chronicDiseaseFlag)); //慢病 |
|
|
|
if ((_baseForm.hobbyInfoDto.hobbyCode = [])) { |
|
|
|
_baseForm.hobbyInfoDto.hobbyCode = ""; |
|
|
|
} else { |
|
|
|
_baseForm.hobbyInfoDto.hobbyCode.forEach(element => { |
|
|
|
_baseForm.hobbyInfoDto.hobbyCode = _baseForm.hobbyInfoDto.hobbyCode + ',' + element |
|
|
|
_baseForm.hobbyInfoDto.hobbyCode.forEach((element) => { |
|
|
|
_baseForm.hobbyInfoDto.hobbyCode = |
|
|
|
_baseForm.hobbyInfoDto.hobbyCode + "," + element; |
|
|
|
}); |
|
|
|
} |
|
|
|
if(_baseForm.volunteerDto.volunteerCategory = []) { |
|
|
|
_baseForm.volunteerDto.volunteerCategory = '' |
|
|
|
if ((_baseForm.volunteerDto.volunteerCategory = [])) { |
|
|
|
_baseForm.volunteerDto.volunteerCategory = ""; |
|
|
|
} else { |
|
|
|
_baseForm.volunteerDto.volunteerCategory.forEach(element => { |
|
|
|
_baseForm.volunteerDto.volunteerCategory = _baseForm.volunteerDto.volunteerCategory + ',' + element |
|
|
|
_baseForm.volunteerDto.volunteerCategory.forEach((element) => { |
|
|
|
_baseForm.volunteerDto.volunteerCategory = |
|
|
|
_baseForm.volunteerDto.volunteerCategory + "," + element; |
|
|
|
}); |
|
|
|
} |
|
|
|
if(_baseForm.specialDto.specialCategoryCode = []) { |
|
|
|
_baseForm.specialDto.specialCategoryCode = '' |
|
|
|
if ((_baseForm.specialDto.specialCategoryCode = [])) { |
|
|
|
_baseForm.specialDto.specialCategoryCode = ""; |
|
|
|
} else { |
|
|
|
_baseForm.specialDto.specialCategoryCode.forEach(element => { |
|
|
|
_baseForm.specialDto.specialCategoryCode = _baseForm.specialDto.specialCategoryCode + ',' + element |
|
|
|
_baseForm.specialDto.specialCategoryCode.forEach((element) => { |
|
|
|
_baseForm.specialDto.specialCategoryCode = |
|
|
|
_baseForm.specialDto.specialCategoryCode + "," + element; |
|
|
|
}); |
|
|
|
} |
|
|
|
this.submitAdd(_baseForm) |
|
|
|
this.submitAdd(_baseForm); |
|
|
|
}, |
|
|
|
handleDel(row) { |
|
|
|
let params = { |
|
|
|
@ -1550,7 +1564,7 @@ export default { |
|
|
|
.dialog-h-content { |
|
|
|
max-height: calc(83vh - 80px); |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 0 10px 0px 79px; |
|
|
|
padding: 50px 80px; |
|
|
|
overflow: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|