1 line
8.3 KiB
Plaintext
1 line
8.3 KiB
Plaintext
<view class="pad-x120 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><view class="sign-time data-v-4844bef7"><text class="data-v-4844bef7">{{currentDate}}</text><text class="data-v-4844bef7">{{currentWeek}}</text></view><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><block wx:if="{{isLoding}}"><view class="sign-site data-v-4844bef7"><view class="name data-v-4844bef7">{{siteInfo.name}}</view><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></view></block></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><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="txt font24 data-v-4844bef7"><rich-text nodes="{{safetyBulletin}}" class="data-v-4844bef7"></rich-text></view><view data-event-opts="{{[['tap',[['closeSafetyBulletin',['$event']]]]]}}" class="close-btn font30 color-66 data-v-4844bef7" bindtap="__e">关闭</view></view></view></block><block wx:if="{{isNotice}}"><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 notice-msg font28 data-v-4844bef7">{{"不通过原因:"+noticeInfo.msg}}</view><view class="sign-cate-btns color-white font30 data-v-4844bef7"><view data-event-opts="{{[['tap',[['closeEdit',['$event']]]]]}}" class="btn data-v-4844bef7" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['editEv',['$event']]]]]}}" class="btn data-v-4844bef7" bindtap="__e">修改</view></view></view></view></block><block wx:if="{{userInfo.checking==0&&userInfo.role==0}}"><view class="pop-up-bg data-v-4844bef7"><view class="register-information font24 bg-white data-v-4844bef7"><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','real_name','$event',[]],['registerObj']]]]]}}" value="{{registerObj.real_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','mobile','$event',[]],['registerObj']]]]]}}" value="{{registerObj.mobile}}" 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','card_number','$event',[]],['registerObj']]]]]}}" value="{{registerObj.card_number}}" 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-opts="{{[['input',[['__set_model',['$0','bank_name','$event',[]],['registerObj']]]]]}}" value="{{registerObj.bank_name}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['submitRegister',['$event']]]]]}}" class="submit-btn bg-blue color-white font30 data-v-4844bef7" bindtap="__e">提交</view></view></view></block><tabbar vue-id="7f58be22-2" userType="{{userType}}" class="data-v-4844bef7" bind:__l="__l"></tabbar></view> |