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

1 line
2.8 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="worker-record bg-white data-v-08582d6c"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-08582d6c"><view class="info enter-info data-v-08582d6c"><text class="data-v-08582d6c">{{"工地:"+item.$orig.worksite_name}}</text><text class="data-v-08582d6c">{{"姓名:"+item.$orig.real_name}}</text></view><view class="star-rating data-v-08582d6c"><block wx:for="{{item.l0}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><image src="/static/icon//icon-star-active.png" mode="widthFix" class="data-v-08582d6c"></image></block><block wx:for="{{5-item.m0}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><image src="/static/icon/icon-star.png" mode="widthFix" class="data-v-08582d6c"></image></block></view><view class="handle-btns font24 color-blue data-v-08582d6c"><view data-event-opts="{{[['tap',[['openStar',[index,'$0'],[[['workerList','',index,'id']]]]]]]}}" class="btn data-v-08582d6c" bindtap="__e">工人评定</view><view data-event-opts="{{[['tap',[['toRecord',['$0'],[[['workerList','',index,'id']]]]]]]}}" class="btn data-v-08582d6c" bindtap="__e">评定记录</view><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['workerList','',index,'id']]]]]]]}}" class="btn data-v-08582d6c" bindtap="__e">查看详情</view></view></view></block></view><view class="more-tips font24 data-v-08582d6c">{{$root.g0==total?'没有更多数据了':'下滑获取更多'}}</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>