| 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">{{''+fail_count+''}}</view><view class="mes data-v-44536cf4">异常次数(次)</view></view><view class="success data-v-44536cf4"><view class="number data-v-44536cf4">{{''+success_count+''}}</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="{{selectList}}" 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="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="foot_item data-v-44536cf4"><view class="data-v-44536cf4">{{'规则:'+item.$orig.ruleName+" "+item.$orig.timeRange+''}}</view><view class="box data-v-44536cf4"><block wx:if="{{item.$orig.finish}}"><view class="circular data-v-44536cf4"></view></block><block wx:else><view class="circular color data-v-44536cf4"></view></block>{{''+(item.$orig.finish?"已打卡":"未打卡")+''}}<block wx:if="{{item.$orig.finish}}"><label class="_span data-v-44536cf4">{{item.m1}}</label></block></view></view></block></view></block><block wx:if="{{current==0}}"><view class="progress data-v-44536cf4"><view class="chart data-v-44536cf4"><block wx:if="{{showBar}}"><progress-bar vue-id="46192f80-3" progress_txt="{{progress_txt}}" progress_total="{{progress_total}}" class="data-v-44536cf4" bind:__l="__l"></progress-bar></block></view><view data-event-opts="{{[['tap',[['handleLookDetail',['$event']]]]]}}" class="look data-v-44536cf4" bindtap="__e"><view class="info data-v-44536cf4">查看明细</view><image src="{{$root.m2}}" 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 data-event-opts="{{[['tap',[['handleInform',['$event']]]]]}}" class="icon data-v-44536cf4" bindtap="__e"><image src="{{$root.m3}}" class="_img data-v-44536cf4"></image></view><view data-event-opts="{{[['tap',[['handleInform',['$event']]]]]}}" class="info data-v-44536cf4" bindtap="__e">通知</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.m4}}" class="_img data-v-44536cf4"></image></view><view data-event-opts="{{[['tap',[['handleLeft',['$event']]]]]}}" class="single data-v-44536cf4" bindtap="__e"><image src="{{$root.m5}}" 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.m6}}" class="_img data-v-44536cf4"></image></view><view data-event-opts="{{[['tap',[['handleDoubleRight',['$event']]]]]}}" class="double data-v-44536cf4" bindtap="__e"><image src="{{$root.m7}}" class="_img data-v-44536cf4"></image></view></view><block wx:if="{{errList.length}}"><view class="e_list data-v-44536cf4"><block wx:for="{{errList}}" wx:for-item="item" wx:for-index="__i1__" wx:key="userId"><view class="e_box data-v-44536cf4"><view class="e_img data-v-44536cf4"><image src="{{item.headImage||'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_bt%2F0%2F13579194276%2F1000&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1671596163&t=52c9def84f0fa7832bfc5824364917e0'}}" 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.times+'次'}}</view></view></block></view></block><block wx:else><view class="e_list2 data-v-44536cf4"><image src="{{$root.m8}}" class="_img data-v-44536cf4"></image><view class="info data-v-44536cf4">暂无数据</view></view></block></view></block></view>
|