You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							271 lines
						
					
					
						
							10 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							271 lines
						
					
					
						
							10 KiB
						
					
					
				| <!--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" /> | |
|   <view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;"> | |
|     {{formType == 'edit' ? '修改人口信息' : '新增人口信息'}} | |
|   </view> | |
|   <view class="content"> | |
|     <view class="h2">填写居民信息</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="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">所在网格</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangeGrid" range-key="label" value="{{index}}" range="{{gridList}}"> | |
|           <view class="{{form.gridName?'':'gray'}}"> | |
|             {{form.gridName ? form.gridName : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">所在小区</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangevillageId" range-key="label" value="{{index}}" range="{{villageList}}"> | |
|           <view class="{{villageName?'':'gray'}}"> | |
|             {{villageName ? villageName : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">所在楼栋</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangebuilding" range-key="label" value="{{index}}" range="{{buildingList}}"> | |
|           <view class="{{buildingName?'':'gray'}}"> | |
|             {{buildingName ? buildingName : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">所在单元</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangeUnit" range-key="label" value="{{index}}" range="{{unitList}}"> | |
|           <view class="{{unitName?'':'gray'}}"> | |
|             {{unitName ? unitName : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_house"> | |
|       <view class="form_item"> | |
|         <view class="label "> | |
|           <text class="must">*</text> | |
|           <view class="title">所在房屋</view> | |
|         </view> | |
|         <view class="input"> | |
|           <picker bindchange="bindPickerChangeHouse" range-key="label" value="{{index}}" range="{{houseList}}"> | |
|             <view class="{{houseName?'':'gray'}}"> | |
|               {{houseName ? houseName : '请选择'}} | |
|             </view> | |
|           </picker> | |
|           <image src="../../../../images/right.png" mode="" /> | |
|         </view> | |
|       </view> | |
|       <view class="form_bottom">选项中如无该房屋,请先 | |
|         <text bind:tap="handelJump">新增房屋</text> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">姓名</view> | |
|       </view> | |
|       <view class="input"> | |
|         <input confirm-type="next" bindblur="bindNameInput" bindinput="bindNameInput" value="{{form.name}}" placeholder-class="gray" placeholder="请输入" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">性别</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangeGender" range-key="label" value="{{index}}" range="{{genderList}}"> | |
|           <view class="{{form.gender?'':'gray'}}"> | |
|             {{genderName ? genderName : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">出生日期</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker mode="date" value="{{form.birthday}}" end="{{day}}" bindchange="bindDateChange"> | |
|           <view class="{{form.birthday?'':'gray'}}"> | |
|             {{form.birthday ? form.birthday : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">证件号</view> | |
|       </view> | |
|       <view class="input"> | |
|         <input confirm-type="next" bindblur="bindIdNumInput" bindinput="bindidNumInput" value="{{form.idNum}}" placeholder-class="gray" placeholder="请输入" /> | |
|         <block wx:if="{{resiId}}"> | |
| 
 | |
|           <view bind:tap="showData" wx:if="{{isShowIdNum}}" data-key='idNum'> | |
|             <van-icon name="closed-eye" /> | |
|           </view> | |
|           <view bind:tap="hideData" wx:else data-key='idNum'> | |
|             <van-icon name="eye-o" /> | |
|           </view> | |
|         </block> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <text class="must">*</text> | |
|         <view class="title">联系电话</view> | |
|       </view> | |
|       <view class="input"> | |
|         <input confirm-type="next" bindblur="bindMobileInput" bindinput="bindmobileInput" value="{{form.mobile}}" placeholder-class="gray" placeholder="请输入" /> | |
|         <block wx:if="{{resiId}}"> | |
|           <view bind:tap="showData" wx:if="{{isShowIdTel}}" data-key='mobile'> | |
|             <van-icon name="closed-eye" /> | |
|           </view> | |
|           <view bind:tap="hideData" wx:else data-key='mobile'> | |
|             <van-icon name="eye-o" /> | |
|           </view> | |
|         </block> | |
|       </view> | |
|     </view> | |
|   </view> | |
|   <view class="form_card m-top20"> | |
|     <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="请输入" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <view class="title">现居地</view> | |
|       </view> | |
|       <view class="input"> | |
|         <input confirm-type="next" bindblur="bindCurrentResidenceInput" bindinput="bindCurrentResidenceInput" value="{{form.resideInfoDto.currentResidence}}" placeholder-class="gray" placeholder="请输入" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <view class="title">民族</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangeNation" range-key="label" value="{{index}}" range="{{nation}}"> | |
|           <view class="{{form.nation?'':'gray'}}"> | |
|             {{form.nation ? nation[form.nation].label : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <view class="title">籍贯</view> | |
|       </view> | |
|       <view class="input"> | |
|         <input confirm-type="next" bindblur="bindNativePlaceInput" bindinput="bindNativePlaceInput" value="{{form.resideInfoDto.nativePlace}}" placeholder-class="gray" placeholder="请输入" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <view class="title">文化程度</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangeEducation" range-key="label" value="{{index}}" range="{{education}}"> | |
|           <view class="{{form.eduInfoDto.cultureLevel?'':'gray'}}"> | |
|             {{form.eduInfoDto.cultureLevel ? education[form.eduInfoDto.cultureLevel].label : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item"> | |
|       <view class="label"> | |
|         <view class="title">婚姻状况</view> | |
|       </view> | |
|       <view class="input"> | |
|         <picker bindchange="bindPickerChangemarriage" range-key="label" value="{{index}}" range="{{marriageList}}"> | |
|           <view class="{{form.familyInfoDto.marriage?'':'gray'}}"> | |
|             {{marriageName ? marriageName : '请选择'}} | |
|           </view> | |
|         </picker> | |
|         <image src="../../../../images/right.png" mode="" /> | |
|       </view> | |
|     </view> | |
|     <view class="form_item "> | |
|       <view class="label"> | |
|         <view class="title">宗教信仰</view> | |
|       </view> | |
|       <view class="input"> | |
|         <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="form_item"> | |
|       <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> | |
|         <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" /> | |
| 
 | |
| <DynamicForms show="{{isShowDynamicForms}}" title="{{dynamicFormsTitle}}" bind:close="closeDynamicForms" bind:ok="okDynamicForms" formController="{{formController}}" /> |