|
|
|
@ -72,159 +72,32 @@ |
|
|
|
{{ scope.row.gender == null ? '--' : scope.row.gender == 1 ? '男' : scope.row.gender == 2 ? '女' : |
|
|
|
'--' }} |
|
|
|
</div> |
|
|
|
<div v-else-if="item.columnName == 'birthday'"> |
|
|
|
{{ |
|
|
|
scope.row.birthday |
|
|
|
? scope.row.birthday.substr(0, 10) |
|
|
|
: "" |
|
|
|
}} |
|
|
|
<div v-else-if="item.columnName == 'gridName'"> |
|
|
|
<template > |
|
|
|
<div class="resiCategoryInfoBox"> |
|
|
|
{{ scope.row.agencyName + scope.row.homeName }} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
<div v-else-if="item.columnName == 'idNum'"> |
|
|
|
{{ |
|
|
|
scope.row.idNum |
|
|
|
? `${scope.row.idNum.substr(0, 11)}` + |
|
|
|
"******" + |
|
|
|
`${scope.row.idNum.substr(16, 2)}` |
|
|
|
: "--" |
|
|
|
}} |
|
|
|
<div v-else-if="item.columnName == 'categoryNames'"> |
|
|
|
<template v-if="scope.row.categoryInfo"> |
|
|
|
<div class="resiCategoryInfoBox"> |
|
|
|
{{ scope.row.categoryInfo.categoryNames }} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
<div v-else-if="item.columnName == 'mobile'"> |
|
|
|
{{ |
|
|
|
scope.row.mobile |
|
|
|
? `${scope.row.mobile.substr(0, 3)}` + |
|
|
|
"******" + |
|
|
|
`${scope.row.mobile.substr(7, 4)}` |
|
|
|
: "--" |
|
|
|
}} |
|
|
|
<div v-else-if="item.columnName == 'householdSituationName'"> |
|
|
|
<template v-if="scope.row.home"> |
|
|
|
<div > |
|
|
|
{{ scope.row.home.householdSituationName || '' }} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
<div v-else-if="item.columnName == 'categoryInfo'"> |
|
|
|
<template v-if="scope.row.categoryInfo"> |
|
|
|
<div class="resiCategoryInfoBox"> |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.specialSupportFlag == |
|
|
|
1 |
|
|
|
? "特扶人员 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.chronicDiseaseFlag == |
|
|
|
1 |
|
|
|
? "慢病 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.dementedFlag == 1 |
|
|
|
? "失智老人 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.disabilityFlag == 1 |
|
|
|
? "残疾 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.disabledFlag == 1 |
|
|
|
? "失能老人 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.emptyNesterFlag == 1 |
|
|
|
? "空巢老人 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.ensureHouseFlag == 1 |
|
|
|
? "保障房人员 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.fertileWomanFlag == 1 |
|
|
|
? "育龄妇女 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.floatingFlag == 1 |
|
|
|
? "流动人口 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.liveAloneFlag == 1 |
|
|
|
? "独居老人 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.oldPeopleFlag == 1 |
|
|
|
? "老年人 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.partyFlag == 1 |
|
|
|
? "党员 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo |
|
|
|
.petitionOfficerFlag == 1 |
|
|
|
? "信访人员 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.seriousIllnessFlag == |
|
|
|
1 |
|
|
|
? "大病 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.specialCrowdFlag == 1 |
|
|
|
? "特殊人群 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo |
|
|
|
.subsistenceAllowanceFlag == 1 |
|
|
|
? "低保人员 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.tenantFlag == 1 |
|
|
|
? "租户 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.unemployedFlag == 1 |
|
|
|
? "失业 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.unitedFrontFlag == 1 |
|
|
|
? "统战人员 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.veteranFlag == 1 |
|
|
|
? "退役军人 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.volunteerFlag == 1 |
|
|
|
? "志愿者 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.publicWelfareFlag == 1 |
|
|
|
? "公益岗 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.buildingChiefFlag == 1 |
|
|
|
? "楼长 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
{{ |
|
|
|
scope.row.categoryInfo.unitChiefFlag == 1 |
|
|
|
? "单元长 " |
|
|
|
: "" |
|
|
|
}} |
|
|
|
<div v-else-if="item.columnName == 'resiHouseRel'"> |
|
|
|
<template v-if="scope.row.home"> |
|
|
|
<div > |
|
|
|
{{ scope.row.home.resiHouseRel != null ? scope.row.home.resiHouseRel == |
|
|
|
0 ? "自住" : scope.row.home.resiHouseRel == 1 ? '租住' : '' : '' }} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
@ -335,7 +208,7 @@ |
|
|
|
<el-form :model="checkPasswordFrom" :rules="checkPasswordRulse" ref="checkPasswordFrom"> |
|
|
|
<el-form-item label="密码" prop="password"> |
|
|
|
<el-input v-model="checkPasswordFrom.password" autocomplete="off" type="password" |
|
|
|
placeholder="请输入当前账号密码"></el-input> |
|
|
|
placeholder="请输入当前账号密码" @keydown.native.enter="handelClickCheckPassword"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
@ -421,17 +294,24 @@ export default { |
|
|
|
editTableName: {}, |
|
|
|
formName: "", |
|
|
|
tableHeader: [ |
|
|
|
{ columnName: "gridName", label: "地址", width: 180 }, |
|
|
|
// { columnName: "homeName", label: "所属房屋", width: 150 }, |
|
|
|
{ columnName: "doorName", label: "门牌号", width: 80 }, |
|
|
|
{ columnName: "name", label: "姓名", width: 80 }, |
|
|
|
{ columnName: "birthday", label: "生日", width: 100 }, |
|
|
|
{ columnName: "gender", label: "性别", width: 50 }, |
|
|
|
{ columnName: "nationalityName", label: "国籍", width: 50 }, |
|
|
|
{ columnName: "agencyName", label: "所属组织", width: 150 }, |
|
|
|
{ columnName: "gridName", label: "所属网格", width: 150 }, |
|
|
|
{ columnName: "homeName", label: "所属房屋", width: 150 }, |
|
|
|
// { columnName: "agencyName", label: "所属组织", width: 150 }, |
|
|
|
{ columnName: "idTypeName", label: "证件类型", width: 80 }, |
|
|
|
{ columnName: "idNum", label: "证件号", width: 170 }, |
|
|
|
{ columnName: "categoryInfo", label: "居民分类" }, |
|
|
|
{ columnName: "mobile", label: "联系电话", width: 110 }, |
|
|
|
{ columnName: "categoryNames", label: "居民分类" , width: 180}, |
|
|
|
{ columnName: "nationalityName", label: "国籍", width: 50 }, |
|
|
|
{ columnName: "nationName", label: "民族", width: 50 }, |
|
|
|
{ columnName: "householdSituationName", label: "人户状况", width: 100 }, |
|
|
|
{ columnName: "careerStatusName", label: "就业状况", width: 100 }, |
|
|
|
{ columnName: "resiHouseRel", label: "人房关系", width: 80 }, |
|
|
|
// { columnName: "mobile", label: "联系电话", width: 110 }, |
|
|
|
{ columnName: "updatedTime", label: "更新时间", width: 180 }, |
|
|
|
{ columnName: "updatedByName", label: "更新人", width: 80 }, |
|
|
|
|
|
|
|
], |
|
|
|
tabsList: [], |
|
|
|
selection: [], |
|
|
|
@ -915,7 +795,7 @@ export default { |
|
|
|
// this.dialogVisible = true; |
|
|
|
// this.$refs.baseForm.old_from(data); |
|
|
|
this.showCheckPassword = false |
|
|
|
this.$router.push({ name: 'edit-resi', query: { id: this.editUserId } , params: { idNum: data.idNum,mobile:data.mobile } }); |
|
|
|
this.$router.push({ name: 'edit-resi', query: { id: this.editUserId }, params: { idNum: data.idNum, mobile: data.mobile } }); |
|
|
|
this.checkPasswordFrom.password = '' |
|
|
|
} else { |
|
|
|
this.$message.error(msg); |
|
|
|
|