You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
7.9 KiB
Plaintext

<view class="data-v-820c7c58"><u-toast vue-id="203ef9b2-1" data-ref="uToast" class="data-v-820c7c58 vue-ref" bind:__l="__l"></u-toast><view class="top data-v-820c7c58"><swiper class="screen-swiper data-v-820c7c58" indicator-dots="{{true}}" circular="{{true}}" autoplay="{{true}}" interval="5000" duration="1500"><block wx:for="{{swiperList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-820c7c58"><image style="object-fit:contain;width:100%;height:100%;" src="{{item.url}}" mode="aspectFill" class="data-v-820c7c58"></image></swiper-item></block></swiper></view><view class="content data-v-820c7c58"><u-form vue-id="203ef9b2-2" model="{{form}}" data-ref="uForm" class="data-v-820c7c58 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('203ef9b2-3')+','+('203ef9b2-2')}}" label="身份证" prop="identityCard" label-position="top" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('203ef9b2-4')+','+('203ef9b2-3')}}" maxlength="18" value="{{form.identityCard}}" data-event-opts="{{[['^input',[['__set_model',['$0','identityCard','$event',[]],['form']],['getGenderFromIdCard']]]]}}" bind:input="__e" class="data-v-820c7c58" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('203ef9b2-5')+','+('203ef9b2-2')}}" label="姓名" prop="staffName" label-position="top" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('203ef9b2-6')+','+('203ef9b2-5')}}" value="{{form.staffName}}" data-event-opts="{{[['^input',[['__set_model',['$0','staffName','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('203ef9b2-7')+','+('203ef9b2-2')}}" label="性别" label-position="top" prop="sex" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-radio-group bind:input="__e" vue-id="{{('203ef9b2-8')+','+('203ef9b2-7')}}" disabled="{{true}}" value="{{form.sex}}" data-event-opts="{{[['^input',[['__set_model',['$0','sex','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{sexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-radio vue-id="{{('203ef9b2-9-'+index)+','+('203ef9b2-8')}}" name="{{item.name}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}">{{''+item.label+''}}</u-radio></block></u-radio-group></u-form-item><u-form-item vue-id="{{('203ef9b2-10')+','+('203ef9b2-2')}}" label="手机号" prop="mobilePhone" label-position="top" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('203ef9b2-11')+','+('203ef9b2-10')}}" type="number" maxlength="11" value="{{form.mobilePhone}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobilePhone','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('203ef9b2-12')+','+('203ef9b2-2')}}" label="紧急联系人" label-position="top" prop="urgentName" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('203ef9b2-13')+','+('203ef9b2-12')}}" value="{{form.urgentName}}" data-event-opts="{{[['^input',[['__set_model',['$0','urgentName','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('203ef9b2-14')+','+('203ef9b2-2')}}" label="紧急联系人电话" label-position="top" prop="urgentPhone" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('203ef9b2-15')+','+('203ef9b2-14')}}" type="number" maxlength="11" value="{{form.urgentPhone}}" data-event-opts="{{[['^input',[['__set_model',['$0','urgentPhone','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('203ef9b2-16')+','+('203ef9b2-2')}}" label="紧急联系人关系" label-position="top" prop="urgentRelationship" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-radio-group bind:input="__e" vue-id="{{('203ef9b2-17')+','+('203ef9b2-16')}}" value="{{form.urgentRelationship}}" data-event-opts="{{[['^input',[['__set_model',['$0','urgentRelationship','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{relList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-radio vue-id="{{('203ef9b2-18-'+index)+','+('203ef9b2-17')}}" name="{{item.name}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}">{{''+item.label+''}}</u-radio></block></u-radio-group><view class="prompt data-v-820c7c58">优先选择配偶,父母,子女,兄弟姐妹</view></u-form-item><u-form-item vue-id="{{('203ef9b2-19')+','+('203ef9b2-2')}}" label="入场时间" prop="email" label-position="top" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><picker mode="date" start="{{currentDate}}" value="{{date}}" data-event-opts="{{[['change',[['handleDate',['$event']]]]]}}" bindchange="__e" class="data-v-820c7c58"><view class="uni-input data-v-820c7c58">{{date}}</view></picker></u-form-item><u-form-item vue-id="{{('203ef9b2-20')+','+('203ef9b2-2')}}" label="外包服务商" label-position="top" prop="remark" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('203ef9b2-21')+','+('203ef9b2-20')}}" value="{{form.remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','remark','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('203ef9b2-22')+','+('203ef9b2-2')}}" label="服务类型" prop="job" label-position="top" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><u-radio-group bind:input="__e" vue-id="{{('203ef9b2-23')+','+('203ef9b2-22')}}" value="{{form.job}}" data-event-opts="{{[['^input',[['__set_model',['$0','job','$event',[]],['form']]]]]}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{typeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-radio vue-id="{{('203ef9b2-24-'+index)+','+('203ef9b2-23')}}" name="{{item.name}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}">{{''+item.label+''}}</u-radio></block></u-radio-group></u-form-item><u-form-item vue-id="{{('203ef9b2-25')+','+('203ef9b2-2')}}" label="照片" prop="cj" label-position="top" required="{{true}}" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['handlePhoto',['$event']]]]]}}" class="photo data-v-820c7c58" bindtap="__e"><block wx:if="{{!photo}}"><text style="font-size:12px;color:#409eff;" class="data-v-820c7c58">点击上传</text></block><block wx:else><image style="width:100%;height:100%;" src="{{photo}}" class="_img data-v-820c7c58"></image></block></view><view class="prompt data-v-820c7c58" style="color:red;">用于门禁出入</view></u-form-item></u-form></view><view class="agreement data-v-820c7c58" style="width:100%;text-align:center;margin:22px 0;"><u-checkbox bind:input="__e" vue-id="203ef9b2-26" value="{{check}}" data-event-opts="{{[['^input',[['__set_model',['','check','$event',[]]]]]]}}" class="data-v-820c7c58" bind:__l="__l"></u-checkbox>点击勾选<text data-event-opts="{{[['tap',[['agreementshow2',['$event']]]]]}}" style="color:#409EFF;" catchtap="__e" class="data-v-820c7c58">《用户服务协议》</text>和<text data-event-opts="{{[['tap',[['agreementshow',['$event']]]]]}}" style="color:#409EFF;" catchtap="__e" class="data-v-820c7c58">《隐私政策》</text></view><view class="center data-v-820c7c58"><u-button vue-id="203ef9b2-27" type="primary" shape="square" loadingShow="{{loadingShow}}" ripple="{{true}}" data-event-opts="{{[['^click',[['save']]]]}}" bind:click="__e" class="data-v-820c7c58" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></view></view>