1 line
2.7 KiB
Plaintext
1 line
2.7 KiB
Plaintext
<view class="pad-x120 data-v-08582d6c"><status-nav vue-id="02ae011a-1" navBarTitle="工人列表" class="data-v-08582d6c" bind:__l="__l"></status-nav><view class="content data-v-08582d6c" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="sign-record sign-record-other bg-white data-v-08582d6c"><block wx:for="{{signList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-08582d6c"><block wx:if="{{status==0}}"><view data-event-opts="{{[['tap',[['chooseEv',[index]]]]]}}" class="{{['radio','data-v-08582d6c',item.ifcheck?'checked':'']}}" bindtap="__e"></view></block><view class="{{['info','data-v-08582d6c',status==0?'hide':'']}}"><text class="data-v-08582d6c">{{"姓名:"+item.worker_name}}</text><text class="data-v-08582d6c">{{item.type_text+"打卡:"+item.created_at}}</text><text class="data-v-08582d6c">{{"打卡工地:"+item.worksite_name}}</text></view><block wx:if="{{item.status==0}}"><view class="examine-btns font24 data-v-08582d6c"><view data-event-opts="{{[['tap',[['submitEv',['$0',1],[[['signList','',index,'id']]]]]]]}}" class="btn color-blue data-v-08582d6c" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['submitEv',['$0',0],[[['signList','',index,'id']]]]]]]}}" class="btn color-99 data-v-08582d6c" bindtap="__e">退回</view></view></block><block wx:if="{{item.status==1||item.status==-1}}"><view class="{{['state','data-v-08582d6c',item.status==-1?'color-red':'']}}">{{item.status_text}}</view></block></view></block><view class="more-tips font24 data-v-08582d6c">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view></view><block wx:if="{{showEvaluate}}"><view class="pop-up-bg data-v-08582d6c"><view class="sign-cate bg-white data-v-08582d6c"><view class="title font34 data-v-08582d6c">工人评定</view><view class="txt evaluate-txt font28 data-v-08582d6c"><view class="evaluate-tips data-v-08582d6c">请根据工人本月的表现情况进行评定</view><block wx:for="{{allStars}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="evaluate-stars data-v-08582d6c"><image src="{{index<=curStars-1?'/static/icon/icon-stars-active.png':'/static/icon/icon-stars.png'}}" mode="widthFix" data-event-opts="{{[['tap',[['changeStars',[index]]]]]}}" bindtap="__e" class="data-v-08582d6c"></image></view></block></view><view class="sign-cate-btns color-white font30 data-v-08582d6c"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn data-v-08582d6c" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn data-v-08582d6c" bindtap="__e">确认</view></view></view></view></block><tabbar vue-id="02ae011a-2" userType="{{userType}}" current="2" class="data-v-08582d6c" bind:__l="__l"></tabbar></view> |