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.
182 lines
9.7 KiB
182 lines
9.7 KiB
<view class="container">
|
|
<view class="basic-info">
|
|
<view class="list-item ">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">姓名</view>
|
|
</view>
|
|
<view class="right">
|
|
<input confirm-type="next" disabled="{{title}}" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{form.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view>
|
|
<view class="list-item gray ">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">身份证号</view>
|
|
</view>
|
|
<view class="right">
|
|
<input confirm-type="next" disabled="{{title}}" bindblur="bindRealidentityNoInput" bindinput="bindRealidentityNoInput" value="{{form.identityNo}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view>
|
|
<view class="list-item ">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">手机号码</view>
|
|
</view>
|
|
<view class="right">
|
|
<input confirm-type="next" bindblur="bindRealMobileInput" bindinput="bindRealMobileInput" value="{{form.mobile}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view>
|
|
<view class="list-item gray">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">工作单位</view>
|
|
</view>
|
|
<view class="right">
|
|
<input confirm-type="next" bindblur="bindWorkUnitInput" bindinput="bindWorkUnitInput" value="{{form.workUnit}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view>
|
|
<view class="list-item ">
|
|
<view class="left">
|
|
<!-- <text class="must">*</text> -->
|
|
<view class="title">单位性质</view>
|
|
</view>
|
|
<view class="right">
|
|
<picker range="{{selectOption}}" range-key="label" bindchange="handleChangeWorkType">
|
|
<view class="{{form.workType?'':'gray-font'}}">{{form.workType?form.workType:'请选择'}}</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="list-item" wx:if="{{form.workType == '其他'}}">
|
|
<view class="left">
|
|
<!-- <text class="must">*</text> -->
|
|
<view class="title">单位性质(其他)</view>
|
|
</view>
|
|
<view class="right">
|
|
<input confirm-type="next" bindblur="bindWorkTypeTextInput" bindinput="bindWorkTypeTextInput" value="{{workTypeText}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view>
|
|
<view class="list-item gray">
|
|
<view class="left">
|
|
<!-- <text class="must">*</text> -->
|
|
<view class="title">所属行业</view>
|
|
</view>
|
|
<view class="right">
|
|
<!-- <picker bindchange="bindMultiPickerWorkIndustryChange"
|
|
value="{{form.workIndustry}}" range="{{workIndustryArr}}" range-key="label">
|
|
<view class="picker">
|
|
<van-button type="primary" wx:if="{{form.workIndustry}}" >
|
|
{{workIndustryArr[form.workIndustry].label}}
|
|
</van-button>
|
|
<van-button wx:else class="gray-font">
|
|
请选择
|
|
</van-button>
|
|
</view>
|
|
</picker> -->
|
|
<input confirm-type="next" bindblur="bindWorkIndustryInput" bindinput="bindWorkIndustryInput" value="{{form.workIndustry}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view>
|
|
<!-- <view class="list-item gray" wx:if="{{form.workIndustry=='5'}}">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">所属行业(其他)</view>
|
|
</view>
|
|
<view class="right">
|
|
<input confirm-type="next" bindblur="bindworkIndustryTextInput" bindinput="bindworkIndustryTextInput" value="{{form.workIndustryText}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view> -->
|
|
|
|
<view class="list-item ">
|
|
<view class="left">
|
|
<view class="title">是否居住在市北</view>
|
|
</view>
|
|
<view class="right">
|
|
<radio-group class="radio-group" bindchange="bindFlagshibeiChange">
|
|
<radio checked="{{form.shibei == 1}}" value="1" class="radio" checked="true">是</radio>
|
|
<radio checked="{{form.shibei == 0}}" value="0" class="radio">否</radio>
|
|
</radio-group>
|
|
</view>
|
|
</view>
|
|
<view class="list-item gray" wx:if="{{form.shibei==1}}">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">常住社区名称</view>
|
|
</view>
|
|
<picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{newArr}}">
|
|
<view class="picker">
|
|
<van-button type="primary" wx:if="{{changeFlag}}">
|
|
{{newArr[0][multiIndex[0]]}},{{newArr[1][multiIndex[1]]}}
|
|
</van-button>
|
|
<van-button wx:else class=" gray-font">
|
|
请选择
|
|
</van-button>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
|
|
<view class="list-item " wx:if="{{form.shibei == '1'}}">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">居住小区名称</view>
|
|
</view>
|
|
<view class="right">
|
|
<input confirm-type="next" bindblur="bindvillageNameInput" bindinput="bindvillageNameInput" value="{{form.villageName}}" placeholder-class="placeholder-style" placeholder="请输入" />
|
|
</view>
|
|
</view>
|
|
<!-- <view class="list-item " wx:if="{{form.shibei == '1'}}">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title" style="text-overflow:ellipsis; white-space:nowrap; overflow:hidden;">包联单位</view>
|
|
</view>
|
|
<picker mode="multiSelector" bindchange="bindMultiPickerChangeC" bindcolumnchange="bindMultiPickerColumnChangeC" value="{{multiIndexC}}" range="{{newArrC}}">
|
|
<view class="picker">
|
|
<van-button type="primary" wx:if="{{changeFlagC}}" style="text-overflow:ellipsis; white-space:nowrap; overflow:hidden;margin-left: 20rpx;">
|
|
{{newArrC[0][multiIndexC[0]]}},{{newArrC[1][multiIndexC[1]]}}
|
|
</van-button>
|
|
<van-button wx:else class=" gray-font">
|
|
请选择
|
|
</van-button>
|
|
</view>
|
|
</picker>
|
|
</view> -->
|
|
<view class="list-item ">
|
|
<view class="left">
|
|
<text class="must">*</text>
|
|
<view class="title">是否为中共党员</view>
|
|
</view>
|
|
<view class="right">
|
|
<radio-group class="radio-group" bindchange="bindFlagpartyFlagChange">
|
|
<radio checked="{{form.partyFlag == 1}}" value="1" class="radio" checked="true">是</radio>
|
|
<radio checked="{{form.partyFlag == 0}}" value="0" class="radio">否</radio>
|
|
</radio-group>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="buttons fixed">
|
|
<button hover-class="hover-class" class="btn2" bindtap="navigateToIndex" wx:if="{{!title}}">进入首页</button>
|
|
<button hover-class="hover-class" class="btn2" bindtap="dispose" wx:else>保存</button>
|
|
<!-- <button hover-class="hover-class" class="btn2" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">进入首页</button> -->
|
|
</view>
|
|
</view>
|
|
<wux-picker cols="1" options="{{selectOption}}" value="{{form.workType}}" visible="{{selectedStatus}}" bind:confirm="pickerConfirm" controlled bind:cancel="pickerCancel">
|
|
</wux-picker>
|
|
<modal hidden="{{!workTypeInput}}" title="请输入单位性质" confirm-text="确定" cancel-text="取消" bindcancel="cancelDlaog" bindconfirm="confirmDlaog">
|
|
<!-- <input type='text'placeholder="请输入" /> -->
|
|
<input confirm-type="next" bindblur="bindWorkTypeTextInput" bindinput="bindWorkTypeTextInput" value="{{workTypeText}}" placeholder-class="placeholder-style" placeholder="请输入" auto-focus />
|
|
</modal>
|
|
<!-- <modal hidden="{{!WorkIndustryInput}}" title="请输入所属行业" confirm-text="确定" cancel-text="取消" bindcancel="cancelDlaog" bindconfirm="confirmDlaog">
|
|
<input confirm-type="next" bindblur="bindworkIndustryTextInput" bindinput="bindworkIndustryTextInput" value="{{form.workIndustryText}}" placeholder-class="placeholder-style" placeholder="请输入" auto-focus/>
|
|
</modal> -->
|
|
<!-- 中间弹窗 -->
|
|
<view class="popup-box" wx:if="{{visible}}" bindtap="closePopup"></view>
|
|
<view class="info-center" style="top:{{height*0.6}}rpx;height:auto" wx:if="{{visible}}">
|
|
<view style="display: flex;justify-content: center;font-size: 36rpx;margin: 96rpx 0;">
|
|
<view>
|
|
是否确认提交?
|
|
</view>
|
|
</view>
|
|
<view style="display: flex;justify-content:space-around;margin-bottom:30rpx">
|
|
<view class="cancal" bindtap="closePopup">取消</view>
|
|
<view class="determine" bindtap="navigateToIndex">确定</view>
|
|
</view>
|
|
</view>
|