1 |
- <view class="addbox data-v-f998c27c"><uni-forms vue-id="397e8af8-1" rules="{{rules}}" modelValue="{{datainfo}}" data-ref="form" class="data-v-f998c27c vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="ftit data-v-f998c27c">基本信息</view><view class="fbox data-v-f998c27c"><block wx:if="{{roles!='teacher'&&pagetype=='add'}}"><picker range-key="dictLabel" range="{{classlist}}" value="{{classidx}}" data-event-opts="{{[['change',[['bindDateChangeb',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-2')+','+('397e8af8-1')}}" name="className" label="班级" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{datainfo.className}}"><view class="f15 flex1 txr co16 data-v-f998c27c">{{datainfo.className}}</view></block><block wx:else><view class="f15 flex1 txr coa data-v-f998c27c">请选择班级</view></block></uni-forms-item></picker></block><picker range-key="dictLabel" disabled="{{pagetype=='update'||!teaflag}}" range="{{teacherlist}}" value="{{nameidx}}" data-event-opts="{{[['change',[['bindDateChangef',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-3')+','+('397e8af8-1')}}" name="name" disabled="{{pagetype=='update'||!teaflag}}" required="{{true}}" label="老师" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{datainfo.name}}"><view class="f15 flex1 txr co16 data-v-f998c27c">{{datainfo.name}}</view></block><block wx:else><view class="f15 flex1 txr coa data-v-f998c27c">请选择老师</view></block></uni-forms-item></picker><uni-forms-item vue-id="{{('397e8af8-4')+','+('397e8af8-1')}}" label="身份证号" name="idCard" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput vue-id="{{('397e8af8-5')+','+('397e8af8-4')}}" inputBorder="{{false}}" placeholder="请输入身份证号" value="{{datainfo.idCard}}" data-event-opts="{{[['^blur',[['getIdcardInfo']]],['^input',[['__set_model',['$0','idCard','$event',[]],['datainfo']]]]]}}" bind:blur="__e" bind:input="__e" class="data-v-f998c27c" bind:__l="__l"></uni-easyinput></uni-forms-item><picker range-key="text" range="{{sexrange}}" value="{{sexidx}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-6')+','+('397e8af8-1')}}" name="sex" required="{{true}}" label="性别" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{datainfo.sex}}"><view class="f15 flex1 txr co16 data-v-f998c27c">{{datainfo.sex==1?'男':'女'}}</view></block><block wx:else><view class="f15 flex1 txr coa data-v-f998c27c">请选择性别</view></block></uni-forms-item></picker><uni-forms-item vue-id="{{('397e8af8-7')+','+('397e8af8-1')}}" label="年龄" name="age" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('397e8af8-8')+','+('397e8af8-7')}}" inputBorder="{{false}}" placeholder="请输入年龄" value="{{datainfo.age}}" data-event-opts="{{[['^input',[['__set_model',['$0','age','$event',[]],['datainfo']]]]]}}" class="data-v-f998c27c" bind:__l="__l"></uni-easyinput></uni-forms-item><picker range-key="dictLabel" range="{{outlook}}" value="{{lookidx}}" data-event-opts="{{[['change',[['bindDateChangea',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-9')+','+('397e8af8-1')}}" name="politicalStatus" label="政治面貌" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['f15','flex1','txr','data-v-f998c27c',datainfo.politicalStatus?'co16':'coa']}}">{{datainfo.politicalStatus||'请选择政治面貌'}}</view></uni-forms-item></picker><picker range-key="dictLabel" range="{{zctitle}}" value="{{zcidx}}" data-event-opts="{{[['change',[['bindDateChangec',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-10')+','+('397e8af8-1')}}" name="professional" label="职称" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['f15','flex1','txr','data-v-f998c27c',datainfo.professional?'co16':'coa']}}">{{datainfo.professional||'请选择职称'}}</view></uni-forms-item></picker><uni-forms-item vue-id="{{('397e8af8-11')+','+('397e8af8-1')}}" label="联系方式" name="phone" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('397e8af8-12')+','+('397e8af8-11')}}" inputBorder="{{false}}" placeholder="请输入联系方式" value="{{datainfo.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['datainfo']]]]]}}" class="data-v-f998c27c" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('397e8af8-13')+','+('397e8af8-1')}}" label="居住地址" name="phone" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['getMapFn',['$event']]]]]}}" class="flexc flex1 data-v-f998c27c" bindtap="__e"><view class="{{['flex1','f15','txr','data-v-f998c27c',datainfo.address?'co16':'coa']}}">{{datainfo.address||'请选择居住地址'}}</view><image class="ilrmgr data-v-f998c27c" src="{{rimg}}"></image></view></uni-forms-item></view><view class="ftit data-v-f998c27c">职业信息</view><view class="fbox data-v-f998c27c"><picker mode="date" data-event-opts="{{[['change',[['bindDateChanged',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-14')+','+('397e8af8-1')}}" name="onBoardTime" label="入职时间" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['f15','flex1','txr','data-v-f998c27c',datainfo.onBoardTime?'co16':'coa']}}">{{datainfo.onBoardTime||'请选择入职时间'}}</view></uni-forms-item></picker><picker mode="date" data-event-opts="{{[['change',[['bindDateChangee',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-15')+','+('397e8af8-1')}}" name="jobTime" required="{{true}}" label="参加工作时间" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['f15','flex1','txr','data-v-f998c27c',datainfo.jobTime?'co16':'coa']}}">{{datainfo.jobTime||'请选择参加工作时间'}}</view></uni-forms-item></picker></view><view class="ftit data-v-f998c27c">照片信息</view><view class="fbox data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-16')+','+('397e8af8-1')}}" label="证件照" name="identificationPhoto" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex1 data-v-f998c27c"></view><view class="imgs data-v-f998c27c"><block wx:for="{{zjfile}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getPreview',['$0',index],['zjfile']]]]]}}" class="photos data-v-f998c27c" bindtap="__e"><image class="addimg data-v-f998c27c" src="{{baseUrl+item}}"></image><image class="del data-v-f998c27c" src="{{delimg}}" data-event-opts="{{[['tap',[['delimgFn',['zj',index]]]]]}}" catchtap="__e"></image></view></block><block wx:if="{{$root.g0<9}}"><image class="photos data-v-f998c27c" src="{{addimg}}" data-event-opts="{{[['tap',[['getphotoFn',['zj']]]]]}}" catchtap="__e"></image></block></view></uni-forms-item><uni-forms-item vue-id="{{('397e8af8-17')+','+('397e8af8-1')}}" label="门禁照" name="entrancePermit" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex1 data-v-f998c27c"></view><view class="imgs data-v-f998c27c"><block wx:for="{{mjfile}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getPreview',['$0',index],['mjfile']]]]]}}" class="photos data-v-f998c27c" bindtap="__e"><image class="addimg data-v-f998c27c" src="{{baseUrl+item}}"></image><image class="del data-v-f998c27c" src="{{delimg}}" data-event-opts="{{[['tap',[['delimgFn',['mj',index]]]]]}}" catchtap="__e"></image></view></block><block wx:if="{{$root.g1<9}}"><image class="photos data-v-f998c27c" src="{{addimg}}" data-event-opts="{{[['tap',[['getphotoFn',['mj']]]]]}}" catchtap="__e"></image></block></view></uni-forms-item></view><view class="ftit data-v-f998c27c">资质信息</view><view class="fbox data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-18')+','+('397e8af8-1')}}" label="毕业证明照" name="identificationPhoto" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex1 data-v-f998c27c"></view><view class="imgs data-v-f998c27c"><block wx:for="{{byzmfile}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getPreview',['$0',index],['byzmfile']]]]]}}" class="photos data-v-f998c27c" bindtap="__e"><image class="addimg data-v-f998c27c" src="{{baseUrl+item}}"></image><image class="del data-v-f998c27c" src="{{delimg}}" data-event-opts="{{[['tap',[['delimgFn',['byzm',index]]]]]}}" catchtap="__e"></image></view></block><block wx:if="{{$root.g2<9}}"><image class="photos data-v-f998c27c" src="{{addsimg}}" data-event-opts="{{[['tap',[['getphotoFn',['byzm']]]]]}}" catchtap="__e"></image></block></view></uni-forms-item><uni-forms-item vue-id="{{('397e8af8-19')+','+('397e8af8-1')}}" label="毕业证书照" name="entrancePermit" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex1 data-v-f998c27c"></view><view class="imgs data-v-f998c27c"><block wx:for="{{byzsfile}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getPreview',['$0',index],['byzsfile']]]]]}}" class="photos data-v-f998c27c" bindtap="__e"><image class="addimg data-v-f998c27c" src="{{baseUrl+item}}"></image><image class="del data-v-f998c27c" src="{{delimg}}" data-event-opts="{{[['tap',[['delimgFn',['byzs',index]]]]]}}" catchtap="__e"></image></view></block><block wx:if="{{$root.g3<9}}"><image class="photos data-v-f998c27c" src="{{addsimg}}" data-event-opts="{{[['tap',[['getphotoFn',['byzs']]]]]}}" catchtap="__e"></image></block></view></uni-forms-item><uni-forms-item vue-id="{{('397e8af8-20')+','+('397e8af8-1')}}" label="教资证明照" name="entrancePermit" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex1 data-v-f998c27c"></view><view class="imgs data-v-f998c27c"><block wx:for="{{jzzmfile}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getPreview',['$0',index],['jzzmfile']]]]]}}" class="photos data-v-f998c27c" bindtap="__e"><image class="addimg data-v-f998c27c" src="{{baseUrl+item}}"></image><image class="del data-v-f998c27c" src="{{delimg}}" data-event-opts="{{[['tap',[['delimgFn',['jzzm',index]]]]]}}" catchtap="__e"></image></view></block><block wx:if="{{$root.g4<9}}"><image class="photos data-v-f998c27c" src="{{addsimg}}" data-event-opts="{{[['tap',[['getphotoFn',['jzzm']]]]]}}" catchtap="__e"></image></block></view></uni-forms-item><uni-forms-item vue-id="{{('397e8af8-21')+','+('397e8af8-1')}}" label="职称证明照" name="entrancePermit" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex1 data-v-f998c27c"></view><view class="imgs data-v-f998c27c"><block wx:for="{{zczmfile}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getPreview',['$0',index],['zczmfile']]]]]}}" class="photos data-v-f998c27c" bindtap="__e"><image class="addimg data-v-f998c27c" src="{{baseUrl+item}}"></image><image class="del data-v-f998c27c" src="{{delimg}}" data-event-opts="{{[['tap',[['delimgFn',['zczm',index]]]]]}}" catchtap="__e"></image></view></block><block wx:if="{{$root.g5<9}}"><image class="photos data-v-f998c27c" src="{{addsimg}}" data-event-opts="{{[['tap',[['getphotoFn',['zczm']]]]]}}" catchtap="__e"></image></block></view></uni-forms-item></view><view class="ftit data-v-f998c27c">其他信息</view><view class="fbox data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-22')+','+('397e8af8-1')}}" label="身高" name="height" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('397e8af8-23')+','+('397e8af8-22')}}" inputBorder="{{false}}" placeholder="请输入身高" value="{{datainfo.height}}" data-event-opts="{{[['^input',[['__set_model',['$0','height','$event',[]],['datainfo']]]]]}}" class="data-v-f998c27c" bind:__l="__l"></uni-easyinput><view class="f16 co16 ml6 data-v-f998c27c">cm</view></uni-forms-item><uni-forms-item vue-id="{{('397e8af8-24')+','+('397e8af8-1')}}" label="体重" name="weight" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('397e8af8-25')+','+('397e8af8-24')}}" inputBorder="{{false}}" placeholder="请输入体重" value="{{datainfo.weight}}" data-event-opts="{{[['^input',[['__set_model',['$0','weight','$event',[]],['datainfo']]]]]}}" class="data-v-f998c27c" bind:__l="__l"></uni-easyinput><view class="f16 co16 ml6 data-v-f998c27c">kg</view></uni-forms-item><picker range-key="dictLabel" range="{{bloodrange}}" value="{{bloodidx}}" data-event-opts="{{[['change',[['bindDateChangeg',['$event']]]]]}}" bindchange="__e" class="data-v-f998c27c"><uni-forms-item vue-id="{{('397e8af8-26')+','+('397e8af8-1')}}" name="bloodType" label="血型" class="data-v-f998c27c" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['f15','flex1','txr','data-v-f998c27c',datainfo.bloodType?'co16':'coa']}}">{{datainfo.bloodType||'请选择血型'}}</view><image class="ilrmgr data-v-f998c27c" src="{{rimg}}"></image></uni-forms-item></picker></view><view class="fbtns data-v-f998c27c"><view data-event-opts="{{[['tap',[['getSubmit',['$event']]]]]}}" class="rebtn data-v-f998c27c" bindtap="__e">确认</view></view></uni-forms></view>
|