12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <view>
- <view class="header margin-bottom" style="padding-bottom:16rpx;">
- <view class="flex-box flex-v-ce tab border-bottom">
- <view class="flex-2">
- <picker onChange="activeItem" value="{{minuteIndex}}" range="{{minuteArray}}" range-key="name">
- <text>{{minuteArray[minuteIndex].name}}</text>
- </picker>
- </view>
- <view class="flex-2" catchTap="selectStaff">
- <text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text>
- </view>
- <view catchTap="selectSx" class="flex-1 sxBorder" style="position: relative">
- <image mode="scaleToFill" class="sxImg" src="../../../image/sx.png"/>
- </view>
- </view>
- <form onReset="onReset">
- <view style="margin-top:16rpx;">
- <view class="search flex-box flex-v-ce">
- <image mode="scaleToFill" src="../../../image/ss.png"/>
- <input class="flex-1" placeholder="请输入任务内容" onInput="bindKeyInput"/>
- <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
- </view>
- </view>
- </form>
- </view>
- <view class="main scroll">
- <scroll-view class="scroll" a:if="{{(minuteIndex==0)&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="li border-bottom" a:for="{{list}}" key="{{item.id}}">
- <view class="flex-box li-top">
- <img-box name="{{item.employee_name}}" key="{{item.id}}" a:key="{{index}}" id="{{item.employee_id}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
- <view class="flex-1" style="padding-left:16rpx;">
- <view class="flex-box-ce" style="padding-top:16rpx;">
- <text class="flex-1">{{item.employee_name}}</text>
- <text class="red" a:if="{{item.point_config.base_point>0}}">+{{item.point_config.base_point}} {{item.pt_name}}</text>
- <text a:else>{{item.point_config.base_point}} {{item.pt_name}}</text>
- </view>
- <view class="content">{{item.task_name}}</view>
- <view class="flex-box li-bottom">
- <text class="flex-1 fontColorX {{item.isCs? 'red':''}}">{{item.expire_time}} 截止</text>
- <button type="primary" class="defBtn" catchTap="openDetail" data-item="{{item}}">查看任务</button>
- </view>
- </view>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <scroll-view class="scroll" a:if="{{(minuteIndex==1||minuteIndex==2)&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="li border-bottom" a:for="{{list}}">
- <view class="flex-box li-top">
- <img-box name="{{item.employee_name}}" a:key="{{index}}" id="{{item.employee_id}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
- <view class="flex-1" style="padding-left:16rpx;">
- <view class="flex-box-ce" style="padding-top:16rpx;">
- <text class="flex-1">{{item.employee_name}}</text>
- <text class="red" a:if="{{item.point_config.base_point>0}}">+{{item.point_config.base_point}} {{item.pt_name}}</text>
- <text a:else>{{item.point_config.base_point}} {{item.pt_name}}</text>
- </view>
- <view class="content">{{item.task_name}}</view>
- <view class="flex-box li-bottom">
- <text class="flex-1 fontColorX">{{item.expire_time}} 截止</text>
- <button type="primary" class="defBtn" catchTap="openDetail" data-item="{{item}}">查看任务</button>
- <button a:if="{{minuteIndex==1}}" type="primary" class="defBtn" catchTap="openDetail2" data-item="{{item}}" style="margin-left:20rpx;">去审批</button>
- <button a:if="{{minuteIndex==2}}" type="primary" class="defBtn" catchTap="openDetail2" data-item="{{item}}" style="margin-left:20rpx;">查看审批</button>
- </view>
- </view>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <no-data a:if="{{list.length==0}}"></no-data>
- </view>
- <select-staff defaultUser="{{employee_ids}}" isAllSelect="{{false}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
- <select-zp defaultSx="{{sxObj}}" typeIndex="2" a:if="{{showZp==true}}" isShow="{{showZp}}" onClose="onClose" onConfirm="onConfirmSx"></select-zp>
- </view>
|