123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <view>
- <view class="{{popupCx}}">
- <view class="flex-box flex-v-ce selectItems border-bottom">
- <view data-index="1" class="{{dataIndex == 1? 'active':''}} flex-1" catchTap="activeItem">奖扣完成情况</view>
- <view data-index="2" class="{{dataIndex == 2? 'active':''}} flex-1" catchTap="activeItem" a:if="{{false}}">奖扣执行对比</view>
- </view>
- <view class="flex-box flex-v-ce tab">
- <view class="flex-1" onTap="openDate">
- <text class="{{showDate? 'activeView':''}}">{{month}}</text>
- </view>
- <view class="flex-1" onTap="selectTissue">
- <text class="{{showTissue? 'activeView':''}}" a:if="{{tissueValName}}">{{tissueValName}}</text>
- </view>
- <view class="flex-1" a:if="{{dataIndex==2}}">
- <picker onChange="bindPickerChange" value="{{activeIndex}}" range="{{array}}" range-key="name">
- <text class="picker">{{array[activeIndex].name}}</text>
- </picker>
- </view>
- </view>
- <block a:if="{{dataIndex == 2}}">
- <view class="flex-box flex-v-ce titles">
- <view class="flex-2" style="font-size:28rpx">管理者
- <text class="text2" catchTap="showText">?</text></view>
- <view class="flex-1">人均奖分(次)</view>
- <view class="flex-1">人均扣分(次)</view>
- </view>
- <view class="main">
- <scroll-view scroll-y="{{true}}" style="height: calc(100vh - 2.7rem);" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
- <view catchTap="openDetail" data-item="{{item}}" class="flex-box flex-v-ce item border-bottom" a:for="{{list}}">
- <view class="flex-2 flex-box flex-v-ce">
- <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
- <view class="users">
- <view class="name">{{item.name}}</view>
- <view class="num2">管理{{item.scope_count}}人</view>
- </view>
- </view>
- <view class="flex-1">{{item.reward_count}}</view>
- <view class="flex-1">{{item.deduct_count}}</view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <no-data a:if="{{list.length==0}}" content="暂无数据"></no-data>
- </view>
- </block>
- <block a:else>
- <view class="flex-box flex-v-ce staff-all">
- <view class="flex-1"></view>
- <label class="flex-box-ce">
- <text class="rule-all-text">只看全部达标</text>
- <checkbox onChange="ruleActiveAll" checked="{{isAllChecked}}"></checkbox>
- </label>
- </view>
- <scroll-view scroll-y="{{true}}" style="height: calc(100vh - 2.5rem);" a:if="{{listTwo.length>0}}" onScrollToLower="onScrollToLower2">
- <view class="headed-box margin-top" a:for="{{listTwo}}" catchTap="openDetail" data-item="{{item}}">
- <view class="flex-box flex-v-ce">
- <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
- <view class="name">{{item.name}}</view>
- <text class="index" a:if="{{item.status==1}}">全部达标</text>
- </view>
- <view class="flex-box flex-v-ce target_items">
- <view class="flex-1">
- <view class="num">{{item.reward.point}}</view>
- <view class="jiangfen">奖分</view>
- <view class="target">目标{{item.reward.target}}</view>
- </view>
- <view class="flex-1">
- <view class="num">{{item.deduction.point}}</view>
- <view class="jiangfen">扣分</view>
- <view class="target">目标{{item.deduction.target}}</view>
- </view>
- <view class="flex-1">
- <view class="num" a:if="{{item.ratio.enable==1}}">{{item.ratio.reward_ratio }}:1</view>
- <view class="num" a:else>-</view>
- <view class="jiangfen">奖扣比例</view>
- <view class="target">目标{{item.ratio.target}}:1</view>
- </view>
- <view class="flex-1">
- <view class="num">{{item.exec.count}}</view>
- <view class="jiangfen">奖扣人次</view>
- <view class="target">目标{{item.exec.target}}</view>
- </view>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData2}}">没有更多咯</view>
- </scroll-view>
- <no-data a:if="{{listTwo.length==0}}" content="暂无数据"></no-data>
- </block>
- </view>
- <select-section defaultSection="{{tissueVal}}" isShow="{{showTissue}}" a:if="{{showTissue==true}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
- </view>
|