stat.wxml 4.2 KB

1
  1. <view class="container data-v-44536cf4"><block wx:if="{{flag}}"><view class="control data-v-44536cf4"><uni-segmented-control vue-id="46192f80-1" current="{{current}}" values="{{items}}" styleType="text" activeColor="#0082FC" data-event-opts="{{[['^clickItem',[['onClickItem']]]]}}" bind:clickItem="__e" class="data-v-44536cf4" bind:__l="__l"></uni-segmented-control></view></block><view class="header data-v-44536cf4"><view class="title data-v-44536cf4"><view class="month data-v-44536cf4">{{''+month+'月汇总'}}</view><view data-event-opts="{{[['tap',[['goToDetail',['$event']]]]]}}" class="right data-v-44536cf4" bindtap="__e"><image src="{{$root.m0}}" alt class="_img data-v-44536cf4"></image></view></view><view class="state data-v-44536cf4"><view class="err data-v-44536cf4"><view class="number data-v-44536cf4">0</view><view class="mes data-v-44536cf4">异常次数(次)</view></view><view class="success data-v-44536cf4"><view class="number data-v-44536cf4">1</view><view class="mes data-v-44536cf4">打卡成功(次)</view></view></view></view><view class="calendar data-v-44536cf4"><view class="calendar_title data-v-44536cf4">每日记录<label class="_span data-v-44536cf4">{{"("+month+"月)"}}</label></view><view class="calendar_body data-v-44536cf4"><uni-calendar vue-id="46192f80-2" showMonth="{{false}}" selected="{{list}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-44536cf4" bind:__l="__l"></uni-calendar></view><block wx:if="{{current==1}}"><view class="calendar_foot data-v-44536cf4"><block wx:for="{{list2}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="foot_item data-v-44536cf4"><view class="data-v-44536cf4">{{'规则:'+item.ruleName+" "+item.timeRange+''}}</view><view class="box data-v-44536cf4"><block wx:if="{{item.finish}}"><view class="circular data-v-44536cf4"></view></block><block wx:else><view class="circular color data-v-44536cf4"></view></block>{{''+(item.finish?"已打卡":"未打卡")+''}}<block wx:if="{{item.finish}}"><label class="_span data-v-44536cf4">{{item.updateTime}}</label></block></view></view></block></view></block><block wx:if="{{current==0}}"><view class="progress data-v-44536cf4"><view class="chart data-v-44536cf4"><progress-bar vue-id="46192f80-3" progress_txt="{{progress_txt}}" progress_total="{{progress_total}}" class="data-v-44536cf4" bind:__l="__l"></progress-bar></view><view class="look data-v-44536cf4"><view class="info data-v-44536cf4">查看明细</view><image src="{{$root.m1}}" class="_img data-v-44536cf4"></image></view></view></block></view><block wx:if="{{current==0}}"><view class="errPeople data-v-44536cf4"><view class="e_header data-v-44536cf4"><view class="left data-v-44536cf4">异常人员名单</view><view class="right data-v-44536cf4"><view class="icon data-v-44536cf4"><image src="{{$root.m2}}" class="_img data-v-44536cf4"></image></view><view class="info data-v-44536cf4">通知</view></view></view><view class="e_calendar data-v-44536cf4"><view data-event-opts="{{[['tap',[['handleDoubleLeft',['$event']]]]]}}" class="double data-v-44536cf4" bindtap="__e"><image src="{{$root.m3}}" class="_img data-v-44536cf4"></image></view><view data-event-opts="{{[['tap',[['handleLeft',['$event']]]]]}}" class="single data-v-44536cf4" bindtap="__e"><image src="{{$root.m4}}" class="_img data-v-44536cf4"></image></view><view class="time data-v-44536cf4">{{''+year+"-"+comMonth+''}}</view><view data-event-opts="{{[['tap',[['handleRight',['$event']]]]]}}" class="single2 data-v-44536cf4" bindtap="__e"><image src="{{$root.m5}}" class="_img data-v-44536cf4"></image></view><view data-event-opts="{{[['tap',[['handleDoubleRight',['$event']]]]]}}" class="double data-v-44536cf4" bindtap="__e"><image src="{{$root.m6}}" class="_img data-v-44536cf4"></image></view></view><view class="e_list data-v-44536cf4"><block wx:for="{{errList}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view class="e_box data-v-44536cf4"><view class="e_img data-v-44536cf4"><image src="{{item.peopleImg}}" class="_img data-v-44536cf4"></image></view><view class="e_name data-v-44536cf4">{{''+item.name+''}}</view><view class="e_msg data-v-44536cf4">{{'未打卡'+item.num+'次'}}</view></view></block></view></view></block></view>