人口基本信息-房屋中同住人的新增与修改

人口基本信息-人口选择页面的去脱敏Bug修改
人口基本信息-人口选择页面增加新增人员功能
This commit is contained in:
java_cuibaocheng@163.com 2023-11-16 15:20:47 +08:00
parent 93c518e608
commit 1e829d12e8
3 changed files with 3 additions and 8 deletions

View File

@ -156,12 +156,6 @@ public class HouseServiceImpl extends AbstractService implements IHouseService {
populationdao.deleteById(populationVO.getPopulationId());
}
}
populationdao.deleteById(houseId);
for (PopulationVO populationVO : populationVOList) {
if(!"1".equals(populationVO.getOutHouse())) {
populationService.save(token, populationVO);
}
}
}
}

View File

@ -525,7 +525,7 @@
}
}
if (!exists) {
cohabitArray.push({populationInfoId: list[i].populationInfoId, cardNum: list[i].idcard, phone: list[i].phone, name: list[i].name, outHouse: "0"});
cohabitArray.push({populationId: "xxxx", populationInfoId: list[i].populationInfoId, cardNum: list[i].idcard, phone: list[i].phone, name: list[i].name, outHouse: "0"});
}
}
reloadCohabit();

View File

@ -401,6 +401,7 @@
<label class="layui-form-label">姓名</label>
<div class="layui-input-block">
<input type="hidden" class="layui-input" value="{{item.populationInfoId}}" maxLength="255">
<input type="hidden" class="layui-input" value="{{item.populationId}}" maxLength="255">
<input type="text" readonly class="layui-input" value="{{item.name}}" placeholder="请输入姓名" maxLength="255">
</div>
</div>
@ -808,7 +809,7 @@
}
}
if (!exists) {
cohabitArray.push({populationInfoId: list[i].populationInfoId, cardNum: list[i].idcard, phone: list[i].phone, name: list[i].name, outHouse: "0"});
cohabitArray.push({populationId: "", populationInfoId: list[i].populationInfoId, cardNum: list[i].idcard, phone: list[i].phone, name: list[i].name, outHouse: "0"});
}
}
reloadCohabit();