|
@@ -1,179 +1,189 @@
|
|
|
<view class="home">
|
|
|
- <form bindsubmit="formSubmit">
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">姓名</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <input name="username" disabled value="{{ info.miniName }}" placeholder="请输入姓名" placeholder-style="font-size:25rpx" />
|
|
|
- </view>
|
|
|
+
|
|
|
+ <view wx:if="{{loadvisible&&!visible}}" class="needAuth">
|
|
|
+
|
|
|
+ <van-button type="primary" size="large" wx:if="{{canIUse}}" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">授权登录</van-button>
|
|
|
+ <view wx:else>请升级微信版本</view>
|
|
|
+ <view class="needAuth1">请你授权程序,确保正常使用小程序功能。</view>
|
|
|
+
|
|
|
</view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">性别</view>
|
|
|
- <radio-group name="{{item.name}}" data-index='{{index}}' data-idx='{{item.Id}}' data-questTypes='{{item.QuestType}}'>
|
|
|
- <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" checked="{{item.checked}}" wx:for-index="idx" wx:for="{{parameter}}">
|
|
|
- <radio value="{{ item.value }}" />{{item.name}}
|
|
|
- </label>
|
|
|
- </radio-group>
|
|
|
- </view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">工作单位</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <input class="" name="studentDept" value="{{ studentDept }}" placeholder="请输入工作单位" placeholder-style="font-size:25rpx" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">文化程度</view>
|
|
|
- <picker bindchange="kaihuListChange" name="culture" value="{{kaihuindex}}" range-key="{{'name'}}" range="{{kaihuList}}">
|
|
|
- <view class="weui-input aaa">
|
|
|
- {{kaihutext == null? '请选择':kaihutext}}
|
|
|
+
|
|
|
+ <form bindsubmit="formSubmit" wx:if="{{loadvisible&&visible}}">
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">姓名</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <input name="username" disabled value="{{ info.miniName }}" placeholder="请输入姓名" placeholder-style="font-size:25rpx" />
|
|
|
</view>
|
|
|
- </picker>
|
|
|
- </view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">毕业学校</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <input class="" name="school" value="{{ info.school }}" placeholder="请输入毕业学校" placeholder-style="font-size:25rpx" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">所学专业</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <input class="" name="mcajor" value="{{info.mcajor}}" placeholder="请输入所学专业" placeholder-style="font-size:25rpx" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">现任职务</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <picker bindchange="jobChange" range-key="{{'dictLabel'}}" name="studentDuty" value="{{zwIndex+1}}" range="{{jobArr}}">
|
|
|
- <view class="weui-input aaa">
|
|
|
- <!-- {{jobtext == null?'请选择':jobtext}} -->
|
|
|
- {{jobArr[zwIndex].dictLabel}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <!-- <input class="" disabled name="studentDuty" value="{{ studentDuty }}" placeholder="请输入现任职务" placeholder-style="font-size:25rpx" /> -->
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 是否党员 -->
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
- </view>
|
|
|
- <view class="xingbie">是否党员</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <picker bindchange="dyChange" range-key="{{item}}" name="isdy" value="{{dyIndex}}" range="{{dyArr}}">
|
|
|
- <view class="weui-input aaa">
|
|
|
- <!-- {{dytext == null?'请选择':dytext}} -->
|
|
|
- {{dyArr[dyIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <!-- <input class="" disabled name="studentDuty" value="{{ studentDuty }}" placeholder="请输入现任职务" placeholder-style="font-size:25rpx" /> -->
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <!-- 是否网格长 -->
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">性别</view>
|
|
|
+ <radio-group name="{{item.name}}" data-index='{{index}}' data-idx='{{item.Id}}' data-questTypes='{{item.QuestType}}'>
|
|
|
+ <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" checked="{{item.checked}}" wx:for-index="idx" wx:for="{{parameter}}">
|
|
|
+ <radio value="{{ item.value }}" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
+ </view>
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">工作单位</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <input class="" name="studentDept" value="{{ studentDept }}" placeholder="请输入工作单位" placeholder-style="font-size:25rpx" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="xingbie">是否网格长</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <picker bindchange="wgzChange" range-key="{{item}}" name="isdy" value="{{wgzIndex}}" range="{{wgzArr}}">
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">文化程度</view>
|
|
|
+ <picker bindchange="kaihuListChange" name="culture" value="{{kaihuindex}}" range-key="{{'name'}}" range="{{kaihuList}}">
|
|
|
<view class="weui-input aaa">
|
|
|
- <!-- {{wgztext == null?'请选择':wgztext}} -->
|
|
|
- {{wgzArr[wgzIndex]}}
|
|
|
+ {{kaihutext == null? '请选择':kaihutext}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <!-- 是否楼栋长 -->
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">毕业学校</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <input class="" name="school" value="{{ info.school }}" placeholder="请输入毕业学校" placeholder-style="font-size:25rpx" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="xingbie">是否楼栋长</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <picker bindchange="ldzChange" range-key="{{item}}" name="isld" value="{{ldzIndex}}" range="{{ldzArr}}">
|
|
|
- <view class="weui-input aaa">
|
|
|
- <!-- {{ldztext == null?'请选择':ldztext}} -->
|
|
|
- {{ldzArr[ldzIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">所学专业</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <input class="" name="mcajor" value="{{info.mcajor}}" placeholder="请输入所学专业" placeholder-style="font-size:25rpx" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <!-- 是否单元长 -->
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">现任职务</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <picker bindchange="jobChange" range-key="{{'dictLabel'}}" name="studentDuty" value="{{zwIndex+1}}" range="{{jobArr}}">
|
|
|
+ <view class="weui-input aaa">
|
|
|
+ <!-- {{jobtext == null?'请选择':jobtext}} -->
|
|
|
+ {{jobArr[zwIndex].dictLabel}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <!-- <input class="" disabled name="studentDuty" value="{{ studentDuty }}" placeholder="请输入现任职务" placeholder-style="font-size:25rpx" /> -->
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="xingbie">是否单元长</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <picker bindchange="dyzChange" range-key="{{item}}" name="isld" value="{{dyzIndex}}" range="{{dyzArr}}">
|
|
|
- <view class="weui-input aaa">
|
|
|
- <!-- {{dyztext == null?'请选择':dyztext}} -->
|
|
|
- {{dyzArr[dyzIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <!-- 是否党员 -->
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">是否党员</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <picker bindchange="dyChange" range-key="{{item}}" name="isdy" value="{{dyIndex}}" range="{{dyArr}}">
|
|
|
+ <view class="weui-input aaa">
|
|
|
+ <!-- {{dytext == null?'请选择':dytext}} -->
|
|
|
+ {{dyArr[dyIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <!-- <input class="" disabled name="studentDuty" value="{{ studentDuty }}" placeholder="请输入现任职务" placeholder-style="font-size:25rpx" /> -->
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <!-- 是否公益岗 -->
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ <!-- 是否网格长 -->
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">是否网格长</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <picker bindchange="wgzChange" range-key="{{item}}" name="isdy" value="{{wgzIndex}}" range="{{wgzArr}}">
|
|
|
+ <view class="weui-input aaa">
|
|
|
+ <!-- {{wgztext == null?'请选择':wgztext}} -->
|
|
|
+ {{wgzArr[wgzIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="xingbie">是否公益岗</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <picker bindchange="gygChange" range-key="{{item}}" name="isld" value="{{gygIndex}}" range="{{gygArr}}">
|
|
|
- <view class="weui-input aaa">
|
|
|
- <!-- {{gygtext == null?'请选择':gygtext}} -->
|
|
|
- {{gygArr[gygIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <!-- 是否楼栋长 -->
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">是否楼栋长</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <picker bindchange="ldzChange" range-key="{{item}}" name="isld" value="{{ldzIndex}}" range="{{ldzArr}}">
|
|
|
+ <view class="weui-input aaa">
|
|
|
+ <!-- {{ldztext == null?'请选择':ldztext}} -->
|
|
|
+ {{ldzArr[ldzIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx;"> </image>
|
|
|
+ <!-- 是否单元长 -->
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">是否单元长</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <picker bindchange="dyzChange" range-key="{{item}}" name="isld" value="{{dyzIndex}}" range="{{dyzArr}}">
|
|
|
+ <view class="weui-input aaa">
|
|
|
+ <!-- {{dyztext == null?'请选择':dyztext}} -->
|
|
|
+ {{dyzArr[dyzIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="xingbie">任职时间</view>
|
|
|
- <view class='weui-input aaa' style="font-size: 26rpx; line-height: 56rpx;" catchtap="share1">
|
|
|
- {{tenure == null ? '':tenure }}
|
|
|
- <view wx:if='{{!tenure}}' style="color:#808080;display: inline-block;height:60rpx;line-height:60rpx;font-size:25rpx">{{headmasterText}}</view>
|
|
|
+ <!-- 是否公益岗 -->
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">是否公益岗</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <picker bindchange="gygChange" range-key="{{item}}" name="isld" value="{{gygIndex}}" range="{{gygArr}}">
|
|
|
+ <view class="weui-input aaa">
|
|
|
+ <!-- {{gygtext == null?'请选择':gygtext}} -->
|
|
|
+ {{gygArr[gygIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <van-popup show="{{postshow}}" position="bottom" custom-style="height: 50%;">
|
|
|
- <!-- <van-datetime-picker bind:confirm="onConfirm" bind:cancel='onClose' type="date" value="{{currentDate}}" bind:input="onInput" min-date="{{ minDate }}" formatter="{{ formatter }}" /> -->
|
|
|
- <van-datetime-picker bind:confirm="onConfirm" bind:cancel='onClose' min-date="{{minDate}}" max-date="{{currentDate}}" type="date" value="{{currentDate}}" formatter="{{formatter}}" />
|
|
|
- </van-popup>
|
|
|
- </view>
|
|
|
- <view class='fwb'>
|
|
|
- <view class="red-image">
|
|
|
- <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx;"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">任职时间</view>
|
|
|
+ <view class='weui-input aaa' style="font-size: 26rpx; line-height: 56rpx;" catchtap="share1">
|
|
|
+ {{tenure == null ? '':tenure }}
|
|
|
+ <view wx:if='{{!tenure}}' style="color:#808080;display: inline-block;height:60rpx;line-height:60rpx;font-size:25rpx">{{headmasterText}}</view>
|
|
|
+ </view>
|
|
|
+ <van-popup show="{{postshow}}" position="bottom" custom-style="height: 50%;">
|
|
|
+ <!-- <van-datetime-picker bind:confirm="onConfirm" bind:cancel='onClose' type="date" value="{{currentDate}}" bind:input="onInput" min-date="{{ minDate }}" formatter="{{ formatter }}" /> -->
|
|
|
+ <van-datetime-picker bind:confirm="onConfirm" bind:cancel='onClose' min-date="{{minDate}}" max-date="{{currentDate}}" type="date" value="{{currentDate}}" formatter="{{formatter}}" />
|
|
|
+ </van-popup>
|
|
|
+ </view>
|
|
|
+ <view class='fwb'>
|
|
|
+ <view class="red-image">
|
|
|
+ <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
|
|
|
+ </view>
|
|
|
+ <view class="xingbie">联系电话</view>
|
|
|
+ <view class='weui-input'>
|
|
|
+ <input class="" name="studentPhone" value="{{ studentPhone }}" placeholder="请输入联系电话" placeholder-style="font-size:25rpx" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="xingbie">联系电话</view>
|
|
|
- <view class='weui-input'>
|
|
|
- <input class="" name="studentPhone" value="{{ studentPhone }}" placeholder="请输入联系电话" placeholder-style="font-size:25rpx" />
|
|
|
+ <view style="margin-top: 100rpx;margin-bottom:100rpx">
|
|
|
+ <van-button round formType="submit">提交报到信息</van-button>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view style="margin-top: 100rpx;margin-bottom:100rpx">
|
|
|
- <van-button round formType="submit">提交报到信息</van-button>
|
|
|
- </view>
|
|
|
- </form>
|
|
|
+ </form>
|
|
|
+
|
|
|
</view>
|