building-sign/unpackage/dist/dev/mp-weixin/pages/worker/sign/sign.wxml

2 lines
12 KiB
Plaintext
Raw Normal View History

2022-12-08 10:07:45 +00:00
<view class="pad-x100 data-v-4844bef7"><status-nav vue-id="7f58be22-1" ifReturn="{{false}}" navBarTitle="打卡小程序" titleColor="{{titleColor}}" backgroudColor="{{backgroudColor}}" class="data-v-4844bef7" bind:__l="__l"></status-nav><view class="content data-v-4844bef7"><view class="sign-top font24 color-white data-v-4844bef7" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><image src="/static/sign-bg.jpg" mode="aspectFill" class="data-v-4844bef7"></image><block wx:if="{{isLoding}}"><view class="name font30 data-v-4844bef7">{{siteInfo.name}}</view></block><view data-event-opts="{{[['tap',[['showRadioEv',['$event']]]]]}}" class="{{['sign-btn','data-v-4844bef7',finish?'finish':'']}}" bindtap="__e"><text class="font56 data-v-4844bef7">{{finish?'已打卡':'打卡'}}</text><text class="data-v-4844bef7">{{currenTime}}</text></view><view class="sign-site data-v-4844bef7"><view class="sign-time data-v-4844bef7"><text class="data-v-4844bef7">{{currentDate}}</text><text class="data-v-4844bef7">{{currentWeek}}</text></view><block wx:if="{{isLoding}}"><view class="position data-v-4844bef7"><block wx:if="{{!siteInfo.name}}"><view class="warning data-v-4844bef7"><image src="/static/icon/icon-warning.png" mode="aspectFit" class="data-v-4844bef7"></image><text class="color-yellow data-v-4844bef7">不在范围内</text></view></block><view data-event-opts="{{[['tap',[['getLocationEv',[1]]]]]}}" class="position-btn data-v-4844bef7" bindtap="__e"><image src="/static/icon/icon-position.png" mode="aspectFit" class="data-v-4844bef7"></image><text class="data-v-4844bef7">重新定位</text></view></view></block></view></view><view class="sign-record bg-white data-v-4844bef7"><view class="title data-v-4844bef7"><image src="/static/icon/icon-sign.png" mode="aspectFit" class="data-v-4844bef7"></image><text class="color-blue font28 data-v-4844bef7">今日打卡记录</text></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-4844bef7"><view class="info data-v-4844bef7"><text class="data-v-4844bef7">{{item.$orig.type_text+"打卡:"+item.g0}}</text><text class="data-v-4844bef7">{{"打卡工地:"+item.$orig.worksite_name}}</text></view><view class="{{['state','data-v-4844bef7',item.$orig.state==1?'color-blue':'']}}">{{item.$orig.status_text}}</view></view></block></view><view class="sign-calendar data-v-4844bef7"><sign-calendar vue-id="7f58be22-2" class="data-v-4844bef7" bind:__l="__l"></sign-calendar></view></view><block wx:if="{{showRadio}}"><view class="pop-up-bg data-v-4844bef7"><view class="sign-cate bg-white data-v-4844bef7"><view class="title font34 data-v-4844bef7">请确认打卡类型</view><view class="txt font28 data-v-4844bef7"><block wx:for="{{radioList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeSignType',[index]]]]]}}" class="radio-item data-v-4844bef7" bindtap="__e"><view class="{{['data-v-4844bef7',radioIndex==index?'checked':'']}}"></view><view class="data-v-4844bef7">{{item.title}}</view></view></block></view><view class="sign-cate-btns color-white font30 data-v-4844bef7"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn data-v-4844bef7" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['signEv',['$event']]]]]}}" class="btn data-v-4844bef7" bindtap="__e">确认</view></view></view></view></block><block wx:if="{{ifNotice}}"><view class="pop-up-bg data-v-4844bef7"><view class="safety-bulletin bg-white data-v-4844bef7"><view class="title font34 data-v-4844bef7">公告</view><view class="txt font24 data-v-4844bef7"><rich-text nodes="{{notice}}" class="data-v-4844bef7"></rich-text></view><view data-event-opts="{{[['tap',[['closeNotice',['$event']]]]]}}" class="close-btn font30 color-66 data-v-4844bef7" bindtap="__e">关闭</view></view></view></block><block wx:if="{{!isRead&&safetyBulletin!==''}}"><view class="pop-up-bg data-v-4844bef7"><view class="safety-bulletin bg-white data-v-4844bef7"><view class="title font34 data-v-4844bef7">安全告知</view><view class="
(正反面)</text></view><view class="upload-box data-v-4844bef7"><block wx:if="{{idImgList[0]!==''}}"><view data-event-opts="{{[['tap',[['previewImage',['$0'],['idImgList.__$n0']]]]]}}" class="img data-v-4844bef7" bindtap="__e"><image src="{{idImgList[0]}}" mode="widthFix" class="data-v-4844bef7"></image><image class="del-btn data-v-4844bef7" src="/static/icon/icon-del.png" mode="widthFix" data-event-opts="{{[['tap',[['delImg',['$0','positive'],['index']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{idImgList[0]==''}}"><view data-event-opts="{{[['tap',[['changeImg',['positive']]]]]}}" class="upload-btn data-v-4844bef7" bindtap="__e"><image src="/static/icon/icon-release.png" mode="widthFix" class="data-v-4844bef7"></image><text class="font22 color-99 data-v-4844bef7">身份证正面</text></view></block><block wx:if="{{idImgList[1]!==''}}"><view data-event-opts="{{[['tap',[['previewImage',['$0'],['idImgList.__$n1']]]]]}}" class="img data-v-4844bef7" bindtap="__e"><image src="{{idImgList[1]}}" mode="widthFix" class="data-v-4844bef7"></image><image class="del-btn data-v-4844bef7" src="/static/icon/icon-del.png" mode="widthFix" data-event-opts="{{[['tap',[['delImg',['$0','back'],['index']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{idImgList[1]==''}}"><view data-event-opts="{{[['tap',[['changeImg',['back']]]]]}}" class="upload-btn data-v-4844bef7" bindtap="__e"><image src="/static/icon/icon-release.png" mode="widthFix" class="data-v-4844bef7"></image><text class="font22 color-99 data-v-4844bef7">身份证反面</text></view></block></view></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">现住地址</view><input class="input data-v-4844bef7" type="text" data-event-opts="{{[['input',[['__set_model',['$0','address','$event',[]],['registerObj']]]]]}}" value="{{registerObj.address}}" bindinput="__e"/></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">技术岗位</view><picker class="input data-v-4844bef7" mode="selector" range="{{positionList}}" value="{{positionIndex}}" range-key="name" data-event-opts="{{[['change',[['choicePosition',['$event']]]]]}}" bindchange="__e"><view class="name data-v-4844bef7"><text class="data-v-4844bef7">{{positionList[positionIndex].name}}</text><image src="/static/icon/icon-arrow-01.png" mode="aspectFit" class="data-v-4844bef7"></image></view></picker></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">工资</view><input class="input data-v-4844bef7" type="number" data-event-opts="{{[['input',[['__set_model',['$0','pay','$event',[]],['registerObj']]]]]}}" value="{{registerObj.pay}}" bindinput="__e"/></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">紧急联系人</view><input class="input data-v-4844bef7" type="text" data-event-opts="{{[['input',[['__set_model',['$0','emergency_contact','$event',[]],['registerObj']]]]]}}" value="{{registerObj.emergency_contact}}" bindinput="__e"/></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">联系人电话</view><input class="input data-v-4844bef7" type="number" data-event-opts="{{[['input',[['__set_model',['$0','emergency_phone','$event',[]],['registerObj']]]]]}}" value="{{registerObj.emergency_phone}}" bindinput="__e"/></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">银行卡户名</view><input class="input data-v-4844bef7" type="text" data-event-opts="{{[['input',[['__set_model',['$0','bank_card_name','$event',[]],['registerObj']]]]]}}" value="{{registerObj.bank_card_name}}" bindinput="__e"/></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">银行卡号</view><input class="input data-v-4844bef7" type="number" data-event-opts="{{[['input',[['__set_model',['$0','bank_card_number','$event',[]],['registerObj']]]]]}}" value="{{registerObj.bank_card_number}}" bindinput="__e"/></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">开户行</view><input class="input data-v-4844bef7" type="text" data-event-o