|
|
@ -1,18 +1,22 @@ |
|
|
|
<!--subpages/addResi/pages/addResi/addResi.wxml--> |
|
|
|
<view class="header"> |
|
|
|
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode=""/> |
|
|
|
<image class="header-bg" src="../images/header.png" mode="widthFix" /> |
|
|
|
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" |
|
|
|
bindtap="back" mode=""/> |
|
|
|
<image class="header-bg" src="../images/header.png" mode="widthFix"/> |
|
|
|
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;"> |
|
|
|
{{formType == 'edit'?'修改人口信息':'新增人口信息'}} |
|
|
|
{{formType == 'edit' ? '修改人口信息' : '新增人口信息'}} |
|
|
|
</view> |
|
|
|
<view class="content"> |
|
|
|
<view class="h2">填写居民信息</view> |
|
|
|
<view class="tag"> 带 <b>*</b> 号为必填项</view> |
|
|
|
<view class="tag">带 <b>*</b> 号为必填项 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="content"> |
|
|
|
<view class="form_card"> |
|
|
|
<view class="title"><text class="tag"></text> 基本信息</view> |
|
|
|
<view class="title"> |
|
|
|
<text class="tag"></text> 基本信息 |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
|
<view class="label"> |
|
|
|
<text class="must">*</text> |
|
|
@ -21,7 +25,7 @@ |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangeGrid" range-key="label" value="{{index}}" range="{{gridList}}"> |
|
|
|
<view class="{{form.gridName?'':'gray'}}"> |
|
|
|
{{form.gridName?form.gridName:'请选择'}} |
|
|
|
{{form.gridName ? form.gridName : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -33,9 +37,10 @@ |
|
|
|
<view class="title">所在小区</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangevillageId" range-key="label" value="{{index}}" range="{{villageList}}"> |
|
|
|
<picker bindchange="bindPickerChangevillageId" range-key="label" value="{{index}}" |
|
|
|
range="{{villageList}}"> |
|
|
|
<view class="{{villageName?'':'gray'}}"> |
|
|
|
{{villageName?villageName:'请选择'}} |
|
|
|
{{villageName ? villageName : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -47,9 +52,10 @@ |
|
|
|
<view class="title">所在楼栋</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangebuilding" range-key="label" value="{{index}}" range="{{buildingList}}"> |
|
|
|
<picker bindchange="bindPickerChangebuilding" range-key="label" value="{{index}}" |
|
|
|
range="{{buildingList}}"> |
|
|
|
<view class="{{buildingName?'':'gray'}}"> |
|
|
|
{{buildingName?buildingName:'请选择'}} |
|
|
|
{{buildingName ? buildingName : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -63,7 +69,7 @@ |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangeUnit" range-key="label" value="{{index}}" range="{{unitList}}"> |
|
|
|
<view class="{{unitName?'':'gray'}}"> |
|
|
|
{{unitName?unitName:'请选择'}} |
|
|
|
{{unitName ? unitName : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -76,15 +82,18 @@ |
|
|
|
<view class="title">所在房屋</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangeHouse" range-key="label" value="{{index}}" range="{{houseList}}"> |
|
|
|
<picker bindchange="bindPickerChangeHouse" range-key="label" value="{{index}}" |
|
|
|
range="{{houseList}}"> |
|
|
|
<view class="{{houseName?'':'gray'}}"> |
|
|
|
{{houseName?houseName:'请选择'}} |
|
|
|
{{houseName ? houseName : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_bottom">选项中如无该房屋,请先 <text bind:tap="handelJump">新增房屋</text></view> |
|
|
|
<view class="form_bottom">选项中如无该房屋,请先 |
|
|
|
<text bind:tap="handelJump">新增房屋</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
|
<view class="label"> |
|
|
@ -92,7 +101,8 @@ |
|
|
|
<view class="title">姓名</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<input confirm-type="next" bindblur="bindNameInput" bindinput="bindNameInput" value="{{form.name}}" placeholder-class="gray" placeholder="请输入" /> |
|
|
|
<input confirm-type="next" bindblur="bindNameInput" bindinput="bindNameInput" value="{{form.name}}" |
|
|
|
placeholder-class="gray" placeholder="请输入"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
@ -103,7 +113,7 @@ |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangeGender" range-key="label" value="{{index}}" range="{{genderList}}"> |
|
|
|
<view class="{{form.gender?'':'gray'}}"> |
|
|
|
{{genderName?genderName:'请选择'}} |
|
|
|
{{genderName ? genderName : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -117,7 +127,7 @@ |
|
|
|
<view class="input"> |
|
|
|
<picker mode="date" value="{{form.birthday}}" end="{{day}}" bindchange="bindDateChange"> |
|
|
|
<view class="{{form.birthday?'':'gray'}}"> |
|
|
|
{{form.birthday?form.birthday:'请选择'}} |
|
|
|
{{form.birthday ? form.birthday : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -129,7 +139,8 @@ |
|
|
|
<view class="title">证件号</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<input confirm-type="next" bindblur="bindIdNumInput" bindinput="bindidNumInput" value="{{form.idNum}}" placeholder-class="gray" placeholder="请输入" /> |
|
|
|
<input confirm-type="next" bindblur="bindIdNumInput" bindinput="bindidNumInput" value="{{form.idNum}}" |
|
|
|
placeholder-class="gray" placeholder="请输入"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
@ -138,18 +149,22 @@ |
|
|
|
<view class="title">联系电话</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<input confirm-type="next" bindblur="bindMobileInput" bindinput="bindmobileInput" value="{{form.mobile}}" placeholder-class="gray" placeholder="请输入" /> |
|
|
|
<input confirm-type="next" bindblur="bindMobileInput" bindinput="bindmobileInput" |
|
|
|
value="{{form.mobile}}" placeholder-class="gray" placeholder="请输入"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_card m-top20"> |
|
|
|
<view class="title"><text class="tag"></text> 详细信息</view> |
|
|
|
<view class="title"> |
|
|
|
<text class="tag"></text> 详细信息 |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
|
<view class="label"> |
|
|
|
<view class="title">户籍地</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<input confirm-type="next" bindblur="bindPlaceOfDomicileInput" bindinput="bindPlaceOfDomicileInput" value="{{form.resideInfoDto.placeOfDomicile}}" placeholder-class="gray" placeholder="请输入" /> |
|
|
|
<input confirm-type="next" bindblur="bindPlaceOfDomicileInput" bindinput="bindPlaceOfDomicileInput" |
|
|
|
value="{{form.resideInfoDto.placeOfDomicile}}" placeholder-class="gray" placeholder="请输入"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
@ -157,7 +172,8 @@ |
|
|
|
<view class="title">现居地</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<input confirm-type="next" bindblur="bindCurrentResidenceInput" bindinput="bindCurrentResidenceInput" value="{{form.resideInfoDto.currentResidence}}" placeholder-class="gray" placeholder="请输入" /> |
|
|
|
<input confirm-type="next" bindblur="bindCurrentResidenceInput" bindinput="bindCurrentResidenceInput" |
|
|
|
value="{{form.resideInfoDto.currentResidence}}" placeholder-class="gray" placeholder="请输入"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
@ -167,7 +183,7 @@ |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangeNation" range-key="label" value="{{index}}" range="{{nation}}"> |
|
|
|
<view class="{{form.nation?'':'gray'}}"> |
|
|
|
{{form.nation?nation[form.nation].label:'请选择'}} |
|
|
|
{{form.nation ? nation[form.nation].label : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -178,7 +194,8 @@ |
|
|
|
<view class="title">籍贯</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<input confirm-type="next" bindblur="bindNativePlaceInput" bindinput="bindNativePlaceInput" value="{{form.resideInfoDto.nativePlace}}" placeholder-class="gray" placeholder="请输入" /> |
|
|
|
<input confirm-type="next" bindblur="bindNativePlaceInput" bindinput="bindNativePlaceInput" |
|
|
|
value="{{form.resideInfoDto.nativePlace}}" placeholder-class="gray" placeholder="请输入"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
@ -186,9 +203,10 @@ |
|
|
|
<view class="title">文化程度</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangeEducation" range-key="label" value="{{index}}" range="{{education}}"> |
|
|
|
<picker bindchange="bindPickerChangeEducation" range-key="label" value="{{index}}" |
|
|
|
range="{{education}}"> |
|
|
|
<view class="{{form.eduInfoDto.cultureLevel?'':'gray'}}"> |
|
|
|
{{form.eduInfoDto.cultureLevel?education[form.eduInfoDto.cultureLevel].label:'请选择'}} |
|
|
|
{{form.eduInfoDto.cultureLevel ? education[form.eduInfoDto.cultureLevel].label : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -199,9 +217,10 @@ |
|
|
|
<view class="title">婚姻状况</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<picker bindchange="bindPickerChangemarriage" range-key="label" value="{{index}}" range="{{marriageList}}"> |
|
|
|
<picker bindchange="bindPickerChangemarriage" range-key="label" value="{{index}}" |
|
|
|
range="{{marriageList}}"> |
|
|
|
<view class="{{form.familyInfoDto.marriage?'':'gray'}}"> |
|
|
|
{{marriageName?marriageName:'请选择'}} |
|
|
|
{{marriageName ? marriageName : '请选择'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
@ -212,23 +231,49 @@ |
|
|
|
<view class="title">宗教信仰</view> |
|
|
|
</view> |
|
|
|
<view class="input"> |
|
|
|
<input confirm-type="next" bindblur="bindReligionInput" bindinput="bindReligionInput" value="{{form.religionDto.religion}}" placeholder-class="gray" placeholder="请输入" /> |
|
|
|
<input confirm-type="next" bindblur="bindReligionInput" bindinput="bindReligionInput" |
|
|
|
value="{{form.religionDto.religion}}" placeholder-class="gray" placeholder="请输入"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_card m-top20"> |
|
|
|
<view class="title"><text class="tag"></text> 居民类别</view> |
|
|
|
<view class="title"> |
|
|
|
<text class="tag"></text> 居民类别 |
|
|
|
</view> |
|
|
|
<view class="form_item"> |
|
|
|
<view class="label" > |
|
|
|
<view class="label"> |
|
|
|
<view class="title">居民类别</view> |
|
|
|
</view> |
|
|
|
<view class="input" bind:tap="onClick3"> |
|
|
|
<view class="residentCategorySty {{residentCategorySty?'':'gray'}}" style="text-align: left;"> {{residentCategorySty?residentCategorySty:'请选择'}}</view> |
|
|
|
<view class="residentCategorySty {{residentCategorySty?'':'gray'}}" style="text-align: left;"> |
|
|
|
{{residentCategorySty ? residentCategorySty : '请选择'}} |
|
|
|
</view> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="form_item" |
|
|
|
wx:for="{{residentTypeFormCell}}" |
|
|
|
:key="index" |
|
|
|
bind:tap="openDynamicForms" |
|
|
|
data-title="{{item.title}}" |
|
|
|
data-formtype="{{item.value}}" |
|
|
|
> |
|
|
|
<view class="label"> |
|
|
|
<view class="title">{{item.title}}</view> |
|
|
|
</view> |
|
|
|
<view class="input text-right"> |
|
|
|
<image src="../../../../images/right.png" mode=""/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="bottom_btn" bind:tap="submit">提交</view> |
|
|
|
</view> |
|
|
|
<wux-select id="wux-select3" /> |
|
|
|
<wux-select id="wux-select3"/> |
|
|
|
|
|
|
|
<DynamicForms |
|
|
|
show="{{isShowDynamicForms}}" |
|
|
|
title="{{dynamicFormsTitle}}" |
|
|
|
bind:close="closeDynamicForms" |
|
|
|
bind:ok="okDynamicForms" |
|
|
|
formController="{{formController}}" |
|
|
|
/> |