123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <view>
- <view class="{{popupCx}}">
- <view class="inputs">
- <view class="li">
- <textarea class="textarea" maxlength="100" value="{{items.remark}}" onInput="bindTextAreaBlur" placeholder="请输入任务内容" data-index="{{index}}"></textarea>
- <image mode="scaleToFill" src="../../../image/addImg.png" class="addImg" catchTap="openImg"/>
- </view>
- <view style="background:#fff;padding:0 28rpx;" a:if="{{items.file_list[0]}}" class="flex-box flex-v-ce">
- <view a:for="{{items.file_list}}" key="index" a:for-item="imgs" a:for-index="imgIndex" style="position:relative">
- <text class="detele" data-itemIndx="{{index}}" data-index="{{imgIndex}}" catchTap="deteleImg">×</text>
- <image mode="scaleToFill" class="showImg" src="{{imgs}}" data-index="{{imgIndex}}" data-item="{{items.file_list}}" catchTap="showImg"/>
- </view>
- </view>
- <view class="flex-box li margin-bottom" style="padding:15rpx 28rpx;margin-top:24rpx">
- <view class="label isBt" style="position: relative;top:10rpx;">任务积分</view>
- <text class="red" style="position: relative;top:10rpx;">+</text>
- <view class="flex-1">
- <input value="{{item.point2}}" placeholder="0" type="number" onInput="bindKeyInput" class="flex-1"/>
- </view>
- </view>
- <view class="flex-box flex-v-ce li" data-num="2" data-item="{{{id:items.reviewer_id,name:items.revieweName}}}" catchTap="openSelect">
- <view class="label isBt">审批人</view>
- <view class="flex-1">{{items.revieweName}}</view>
- <image mode="scaleToFill" src="../../../image/right.png" class="rightImg"/>
- </view>
- <view class="flex-box flex-v-ce li">
- <view class="label isBt">任务类型</view>
- <view class="flex-1 flex-box-end flex-flex-v-ce">
- <view a:for="{{types}}">
- <text a:if="{{item.code!=='JX'}}" catchTap="openType" data-id="{{item.id}}" class="van-radio {{items.pt_id==item.id? 'isTypes':''}}">{{item.name}}</text>
- </view>
- </view>
- </view>
- <view class="flex-box flex-v-ce li margin-bottom">
- <view class="label isBt">截止时间</view>
- <view class="flex-1" a:if="{{items.task_cycle==0}}" catchTap="openDate">{{items.expire_time}}</view>
- <view class="flex-1" a:else>
- <picker onChange="activeDate" value="{{columnsIndex}}" range="{{columnsArray}}" range-key="name">
- <text >{{columnsArray[columnsIndex].name}}</text>
- </picker>
- </view>
- <image mode="scaleToFill" src="../../../image/right.png" class="rightImg"/>
- </view>
- <view class="li">
- <textarea maxlength="100" value="{{item.remark}}" onInput="bindTextAreaBlur2" placeholder="请输入任务描述" data-index="{{index}}"></textarea>
- </view>
- <view class="flex-box flex-v-ce li">
- <view class="label">重复周期</view>
- <view class="flex-1">
- <picker onChange="bindObjPickerChange" value="{{arrIndex}}" range="{{objectArray}}" range-key="name">
- <view class="row-extra">{{objectArray[arrIndex].name}}</view>
- </picker>
- </view>
- <image mode="scaleToFill" src="../../../image/right.png" class="rightImg"/>
- </view>
- <view class="flex-box li" style="padding:15rpx 28rpx;">
- <view class="label2" style="position: relative;top:10rpx;">提前奖分(天)</view>
- <text class="red" style="position: relative;top:10rpx;">+</text>
- <view class="flex-box-ce flex-1">
- <input value="{{items.ahead_award_point}}" data-name="ahead_award_point" placeholder="提前奖多少分" type="number" onInput="bindKeyInput2"/>
- <input style="border-left:1px solid #f1f1f1" data-name="ahead_award_point_limit" value="{{items.ahead_award_point_limit}}" placeholder="奖分上限" type="number" onInput="bindKeyInput2"/>
- </view>
- </view>
- <view class="flex-box li" style="padding:15rpx 28rpx;">
- <view class="label2" style="position: relative;top:10rpx;">逾期扣分(天)</view>
- <text class="green" style="position: relative;top:10rpx;">-</text>
- <view class="flex-box-ce flex-1">
- <input value="{{items.timeout_deduction_point}}" data-name="timeout_deduction_point" placeholder="逾期扣多少分" type="number" onInput="bindKeyInput2"/>
- <input style="border-left:1px solid #f1f1f1" data-name="timeout_deduction_point_limit" value="{{items.timeout_deduction_point_limit}}" placeholder="扣分上限" type="number" onInput="bindKeyInput2"/>
- </view>
- </view>
- <view class="flex-box flex-v-ce li" data-num="1" catchTap="openSelect">
- <view class="label">可见范围</view>
- <view class="flex-1 font-flex-word userList">
- <block a:for="{{defaultSection}}">
- <text style="font-size:32rpx">{{item.name}},</text>
- </block>
- </view>
- <image mode="scaleToFill" src="../../../image/right.png" class="rightImg"/>
- </view>
- </view>
- <view class="btn-area">
- <button type="default" loading="{{disabled}}" class="defBtn" disabled="{{disabled}}" catchTap="formSubmit">提交</button>
- </view>
- </view>
- <view class="box" animation="{{animationInfo}}">
- <select-section-bottom defaultSection="{{defaultSection}}" onClose="onClose" onConfirm="onSelectSection" a:if="{{isShowType=='1'}}"/>
- <select-section-staff-two islead="{{true}}" selectUser="{{reviewerObj}}" onClose="onClose" onConfirm="onSelectUser2" a:if="{{isShowType=='2'}}"/>
- </view>
- </view>
|