123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <view>
- <view class="header margin-bottom">
- <!-- <view class="flex-box flex-v-ce selectItems border-bottom">
- <view data-index="1" class="{{activeIndex == 1? 'active':''}} flex-1" catchTap="activeItem">待复核</view>
- <view data-index="2" class="{{activeIndex == 2? 'active':''}} flex-1" catchTap="activeItem">已复核</view>
- <view class="selectImg" a:if="{{activeIndex == 2}}">
- <picker class="picker" onChange="bindObjPickerChange" value="{{arrIndex}}" range="{{objectArray}}" range-key="name">
- <view style="padding:20rpx 30rpx;">
- <image mode="scaleToFill" src="../../../image/sx.png"/>
- </view>
- </picker>
- </view>
- </view> -->
- <view class="flex-box flex-v-ce tab border-bottom">
- <view class="flex-1">
- <picker onChange="activeItem" value="{{minuteIndex}}" range="{{minuteArray}}" range-key="name">
- <text>{{minuteArray[minuteIndex].name}}</text>
- </picker>
- </view>
- <view class="flex-1" catchTap="selectStaff">
- <text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text>
- </view>
- <view class="flex-1" a:if="{{minuteIndex==1}}">
- <picker class="picker" onChange="bindObjPickerChange" value="{{arrIndex}}" range="{{objectArray}}" range-key="name">
- <text>{{objectArray[arrIndex].name}}</text>
- </picker>
- </view>
- </view>
- <form onReset="onReset" class="flex-box-ce" style="padding:16rpx 28rpx;">
- <view class="search flex-box flex-v-ce">
- <image mode="scaleToFill" src="../../../image/ss.png"/>
- <input placeholder="输入关键字查找" onInput="bindKeyInput" onConfirm="bindKeyInput" class="flex-1"/>
- <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
- </view>
- <button style="width: 100px;" a:if="{{minuteIndex == 0}}" size="mini" type="primary" catchTap="openPl">批量复核</button>
- </form>
- <!-- <view class="staff-all" a:if="{{isPl}}">
- <label class="flex-box-ce">
- <checkbox onChange="ruleActiveAll" disabled="{{item.disabled}}" checked="{{isAllChecked}}"></checkbox>
- <text class="rule-all-text">全选</text>
- </label>
- </view> -->
- </view>
-
-
-
- <view class="main scroll">
- <no-bata a:if="{{dataList.length==0}}"></no-bata>
- <scroll-view class="scroll" scroll-y="{{true}}" a:if="{{dataList.length>0}}" onScrollToLower="onScrollToLower">
- <view class="flex-box li border-bottom" a:for="{{dataList}}" data-item="{{item}}" catchTap="openDetail">
- <view style="padding-right:28rpx;padding-top:20rpx;" a:if="{{isPl}}">
- <checkbox checked="{{item.checked}}" name="{{item.id}}"></checkbox>
- </view>
- <view class="flex-box flex-1">
- <img-box name="{{item.employee_name}}" id="{{item.employee_id}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
- <view class="flex-1 main-right">
- <view class="name flex-box-ce">
- <text class="flex-1">{{item.employee_name}}</text>
- <block a:if="{{minuteIndex == 1}}">
- <text class="greenBox" style="font-size:0.28rem" a:if="{{item.dc_status == 1}}">通过</text>
- <text class="redBox" style="font-size:0.28rem" a:if="{{item.dc_status == 2}}">不通过</text>
- </block>
- </view>
- <view class="context" style="height:80rpx">{{item.remark}}</view>
- <view class="flex-box flex-v-ce" style="padding-bottom:20rpx">
- <view class="date flex-1">{{item.event_time}}</view>
- <view class="flex-box flex-v-ce" a:if="{{minuteIndex == 0&&!isPl}}">
- <text catchTap="openBh" data-index="1" data-item="{{item}}" class="text">通过</text>
- <text catchTap="openBh" data-index="2" data-item="{{item}}" class="red">不通过</text>
- </view>
- <block a:if="{{minuteIndex == 1}}">
- <view class="red da" a:if="{{item.point>0}}">+{{item.point}} {{item.pt_id==3? 'B分':'A分'}}</view>
- <view class="green da" a:else>{{item.point}} {{item.pt_id==3? 'B分':'A分'}}</view>
- <!-- <text class="greenBox" style="font-size:0.28rem" a:if="{{item.dc_status == 1}}">通过</text>
- <text class="redBox" style="font-size:0.28rem" a:if="{{item.dc_status == 2}}">不通过</text> -->
- </block>
- </view>
- </view>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- <view style="height:60px">
-
- </view>
- </scroll-view>
- </view>
- <view class="flex-box-ce footer " style="padding-bottom:0.3rem" a:if="{{isPl}}">
- <view class="flex-1" catchTap="selectAll">全选</view>
- <!-- <view class="flex-1 red" catchTap="openBh" style="border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1;">批量驳回</view> -->
- <view class="flex-2 blue" style="border-left:1px solid #f1f1f1" catchTap="openTg">批量通过</view>
- </view>
- <!-- 弹出框 -->
- <view class="windows" a:if="{{isBh}}">
- <view class="windows-box">
- <view class="windows-title">确认不通过</view>
- <view class="windows-content">
- <textarea value="{{textArea}}" onInput="bindTextAreaBlur" maxlength="50" placeholder="请输入不通过原因"/>
- </view>
- <view class="windows-btn flex-box flex-v-ce">
- <view class="flex-1" catchTap="closeBh">取消</view>
- <button type="default" loading="{{disabled}}" class="flex-1" disabled="{{disabled}}" catchTap="confirmBh">确定</button>
- </view>
- </view>
- </view>
- <!-- 结果弹窗 -->
- <view class="windows" a:if="{{isResult}}">
- <view class="windows-box" style="margin-top:15%">
- <view class="windows-title">复核结果</view>
- <block a:if="{{!isShowError}}">
- <view class="windows-content" style="padding:20rpx;">
- <progress percent="{{percentage}}" show-info stroke-width="10" />
- <view class="resultsBox">
- <view class="flex-box-ce results">
- <view style="width:60rpx;padding:0;text-align:center"></view>
- <view class="flex-1">奖扣对象</view>
- <view class="flex-2">事件内容</view>
- <view class="flex-1">积分</view>
- <view class="flex-2">处理结果</view>
- </view>
- <view a:for="{{results}}" class="flex-box-ce results">
- <view style="width:60rpx;padding:0;text-align:center">{{results.length-index}}</view>
- <view class="flex-1">{{item.name}}</view>
- <view class="flex-2" style="padding: 0.1rem 0.1rem;">{{item.remark}}</view>
- <view class="flex-1">
- {{ item.point>0? '+'+item.point:item.point }}
- <text>{{ item.pt_id==3? 'B分':'A分' }}</text>
- </view>
- <view class="green flex-2" a:if="{{item.msg=='提交成功'}}">{{item.msg}}</view>
- <view class="red flex-2" a:else>{{item.msg}}</view>
- </view>
- </view>
- </view>
- <view class="windows-btn flex-box flex-v-ce" a:if="{{results.length==resultList.length}}">
- <button type="default" class="flex-1" catchTap="closeTc">确定</button>
- </view>
- </block>
- <view a:else class="windows-content" style="padding:20rpx;">
- <view style="text-align: center;margin-bottom:20rpx" class="red">服务器繁忙,请稍后再试</view>
- <view class="windows-btn flex-box flex-v-ce">
- <button type="default" class="flex-1" catchTap="closeTc">确定</button>
- </view>
- </view>
- </view>
- </view>
- <select-staff defaultUser="{{employee_ids}}" isAllSelect="{{false}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
- </view>
|