1 line
16 KiB
Plaintext
1 line
16 KiB
Plaintext
<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 gd-name data-v-4844bef7">{{siteInfo.name}}</view></block><block wx:if="{{buttonColor=='orange'}}"><view data-event-opts="{{[['tap',[['showRadioEv',['$event']]]]]}}" class="sign-btn orange data-v-4844bef7" bindtap="__e"><text class="font56 data-v-4844bef7">打卡</text><text class="data-v-4844bef7">{{currenTime}}</text></view></block><block wx:else><block wx:if="{{buttonColor=='green'}}"><view data-event-opts="{{[['tap',[['showRadioEv',['$event']]]]]}}" class="sign-btn green data-v-4844bef7" bindtap="__e"><text class="font56 data-v-4844bef7">已打卡</text><text class="data-v-4844bef7">{{currenTime}}</text></view></block><block wx:else><view data-event-opts="{{[['tap',[['showRadioEv',['$event']]]]]}}" class="sign-btn data-v-4844bef7" bindtap="__e"><text class="font56 data-v-4844bef7">打卡</text><text class="data-v-4844bef7">{{currenTime}}</text></view></block></block><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.$orig.is_replenish==1?'补打卡':item.g0)}}</text><block wx:if="{{item.$orig.role!==0}}"><text class="data-v-4844bef7">{{"打卡工地:"+item.$orig.worksite_name}}</text></block></view><block wx:if="{{item.$orig.role!==0&&item.$orig.status==1}}"><view class="state data-v-4844bef7">{{item.$orig.status_text}}</view></block><block wx:if="{{item.$orig.role!==0&&item.$orig.status==0}}"><view class="state color-blue data-v-4844bef7">{{item.$orig.status_text}}</view></block><block wx:if="{{item.$orig.role!==0&&item.$orig.status==-1}}"><view class="state color-red data-v-4844bef7">{{item.$orig.status_text}}</view></block></view></block><block wx:if="{{$root.g1==0}}"><view class="more-tips font24 data-v-4844bef7" style="margin-bottom:15rpx;">今日没有打卡记录</view></block></view><view class="sign-calendar data-v-4844bef7"><sign-calendar vue-id="7f58be22-2" daysIndex="{{daysIndex}}" data-ref="signCalendar" data-event-opts="{{[['^getDate',[['getDate']]]]}}" bind:getDate="__e" class="data-v-4844bef7 vue-ref" 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||ifWsNotice}}"><view class="pop-up-bg data-v-4844bef7"><view class="safety-bulletin bg-white data-v-4844bef7"><view class="title font34 data-v-4844bef7">{{ifNotice?'公告':'工地公告'}}</view><view class="txt font24 data-v-4844bef7"><rich-text nodes="{{ifNotice?notice:wsNotice}}" 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="{{ifRegister}}"><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" placeholder="请填写姓名" 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" placeholder="请填写电话号码" 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" placeholder="请填写身份证号码" data-event-opts="{{[['input',[['__set_model',['$0','card_number','$event',[]],['registerObj']]]]]}}" value="{{registerObj.card_number}}" bindinput="__e"/></view><view class="item item-other data-v-4844bef7" style="align-items:flex-start;"><view class="title data-v-4844bef7" style="margin-top:18rpx;">身份证正面</view><view class="upload-box data-v-4844bef7"><block wx:if="{{registerObj.id_front!==''}}"><view data-event-opts="{{[['tap',[['previewImage',[baseHttps+registerObj.id_front]]]]]}}" class="img data-v-4844bef7" catchtap="__e"><image src="{{baseHttps+registerObj.id_front}}" 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']]]]]}}" catchtap="__e"></image></view></block><block wx:else><view data-event-opts="{{[['tap',[['changeImg',['positive']]]]]}}" class="upload-btn data-v-4844bef7" bindtap="__e"><view class="bg data-v-4844bef7"><image src="/static/id-front.jpg" mode="aspectFill" class="data-v-4844bef7"></image></view><view class="icon data-v-4844bef7"><image src="/static/icon/icon-camera.png" mode="widthFix" class="data-v-4844bef7"></image><text class="font22 color-white data-v-4844bef7">拍摄身份证正面</text></view></view></block></view></view><view class="item item-other data-v-4844bef7" style="align-items:flex-start;"><view class="title data-v-4844bef7" style="margin-top:18rpx;">身份证反面</view><view class="upload-box data-v-4844bef7"><block wx:if="{{registerObj.id_back!==''}}"><view data-event-opts="{{[['tap',[['previewImage',[baseHttps+registerObj.id_back]]]]]}}" class="img data-v-4844bef7" catchtap="__e"><image src="{{baseHttps+registerObj.id_back}}" 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']]]]]}}" catchtap="__e"></image></view></block><block wx:else><view data-event-opts="{{[['tap',[['changeImg',['back']]]]]}}" class="upload-btn data-v-4844bef7" bindtap="__e"><view class="bg data-v-4844bef7"><image src="/static/id-back.jpg" mode="aspectFill" class="data-v-4844bef7"></image></view><view class="icon data-v-4844bef7"><image src="/static/icon/icon-camera.png" mode="widthFix" class="data-v-4844bef7"></image><text class="font22 color-white data-v-4844bef7">拍摄身份证反面</text></view></view></block></view></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><picker class="input data-v-4844bef7" mode="selector" range="{{teamList}}" value="{{teamIndex}}" range-key="name" data-event-opts="{{[['change',[['choiceTeam',['$event']]]]]}}" bindchange="__e"><view class="name data-v-4844bef7"><text class="data-v-4844bef7">{{teamList[teamIndex].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="text" placeholder="请填写证件名称" data-event-opts="{{[['input',[['__set_model',['$0','certificate','$event',[]],['registerObj']]]]]}}" value="{{registerObj.certificate}}" bindinput="__e"/></view><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">工资</view><input class="input data-v-4844bef7" type="number" placeholder="请填写工资" 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" placeholder="请填写紧急联系人" 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" placeholder="请填写联系人电话" 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" placeholder="请填写银行卡户名" 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" placeholder="请填写银行卡号" 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" placeholder="请填写开户行" data-event-opts="{{[['input',[['__set_model',['$0','bank_name','$event',[]],['registerObj']]]]]}}" value="{{registerObj.bank_name}}" bindinput="__e"/></view><view class="item item-other data-v-4844bef7" style="align-items:flex-start;"><view class="title data-v-4844bef7" style="margin-top:18rpx;">银行卡拍照</view><view class="upload-box data-v-4844bef7"><block wx:if="{{registerObj.bank_card_img!==''}}"><view data-event-opts="{{[['tap',[['previewImage',[baseHttps+registerObj.bank_card_img]]]]]}}" class="img data-v-4844bef7" catchtap="__e"><image src="{{baseHttps+registerObj.bank_card_img}}" 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','bank'],['index']]]]]}}" catchtap="__e"></image></view></block><block wx:else><view data-event-opts="{{[['tap',[['changeImg',['bank']]]]]}}" class="upload-btn data-v-4844bef7" bindtap="__e"><view class="bg data-v-4844bef7"><image src="/static/bank.jpg" mode="aspectFill" class="data-v-4844bef7"></image></view><view class="icon data-v-4844bef7"><image src="/static/icon/icon-camera.png" mode="widthFix" class="data-v-4844bef7"></image><text class="font22 color-white data-v-4844bef7">拍摄银行卡</text></view></view></block></view></view><view class="item item-other data-v-4844bef7" style="align-items:flex-start;"><view class="title data-v-4844bef7" style="margin-top:18rpx;">工作经验</view><textarea class="input textarea data-v-4844bef7" placeholder="请填写工作经验" data-event-opts="{{[['input',[['__set_model',['$0','work_experience','$event',[]],['registerObj']]]]]}}" value="{{registerObj.work_experience}}" bindinput="__e"></textarea></view><view class="item item-other data-v-4844bef7" style="align-items:flex-start;"><view class="title data-v-4844bef7" style="margin-top:18rpx;">现住地址</view><view class="addr-box data-v-4844bef7"><picker mode="region" data-event-opts="{{[['change',[['changeAddress',['$event']]]]]}}" bindchange="__e" class="data-v-4844bef7"><view class="addr-input data-v-4844bef7"><view class="input-box data-v-4844bef7"><input class="input-flex clips1 data-v-4844bef7" type="text" disabled="true" data-event-opts="{{[['input',[['__set_model',['$0','province','$event',[]],['registerObj']]]]]}}" value="{{registerObj.province}}" bindinput="__e"/><image src="/static/icon/icon-arrow-01.png" mode="widthFix" class="data-v-4844bef7"></image></view><view class="input-box data-v-4844bef7"><input class="input-flex clips1 data-v-4844bef7" type="text" disabled="true" data-event-opts="{{[['input',[['__set_model',['$0','city','$event',[]],['registerObj']]]]]}}" value="{{registerObj.city}}" bindinput="__e"/><image src="/static/icon/icon-arrow-01.png" mode="widthFix" class="data-v-4844bef7"></image></view><view class="input-box data-v-4844bef7"><input class="input-flex clips1 data-v-4844bef7" type="text" disabled="true" data-event-opts="{{[['input',[['__set_model',['$0','area','$event',[]],['registerObj']]]]]}}" value="{{registerObj.area}}" bindinput="__e"/><image src="/static/icon/icon-arrow-01.png" mode="widthFix" class="data-v-4844bef7"></image></view></view></picker><input class="input data-v-4844bef7" type="text" placeholder="请填写详细地址" data-event-opts="{{[['input',[['__set_model',['$0','address_now','$event',[]],['registerObj']]]]]}}" value="{{registerObj.address_now}}" bindinput="__e"/></view></view><view class="register-btns color-white font30 data-v-4844bef7"><view data-event-opts="{{[['tap',[['cancelRegister',['$event']]]]]}}" class="btn cancel-btn bg-99 data-v-4844bef7" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitRegister',['$event']]]]]}}" class="btn submit-btn bg-blue data-v-4844bef7" bindtap="__e">提交</view></view></view></view></block><tabbar vue-id="7f58be22-3" userType="{{userType}}" class="data-v-4844bef7" bind:__l="__l"></tabbar></view> |