|
@@ -1,7 +1,6 @@
|
|
|
<view>
|
|
|
<view class="{{popupCx}}">
|
|
|
<view class="inputs">
|
|
|
-
|
|
|
<!-- <view class="flex-box flex-v-ce li" style="padding:26rpx 28rpx;">
|
|
|
<view class="label">指定规则</view>
|
|
|
<view class="flex-1"></view>
|
|
@@ -13,7 +12,6 @@
|
|
|
<view class="flex-1" a:else></view>
|
|
|
<image mode="scaleToFill" src="../../../image/right.png" class="rightImg"/>
|
|
|
</view> -->
|
|
|
-
|
|
|
<view class="li">
|
|
|
<textarea class="textarea" maxlength="20" value="{{items.task_name}}" onInput="bindTextAreaBlur" placeholder="请输入任务内容"></textarea>
|
|
|
<image mode="scaleToFill" src="../../../image/addImg.png" class="addImg" catchTap="openImg"/>
|
|
@@ -33,18 +31,24 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
<view class="flex-box flex-v-ce li" style="padding:26rpx 28rpx;">
|
|
|
<view class="label">指定规则</view>
|
|
|
<view class="flex-1"></view>
|
|
|
<switch onChange="switchChange" checked="{{items.checked}}" color="#26A2FF"></switch>
|
|
|
</view>
|
|
|
|
|
|
- <view class="flex-box flex-v-ce li" data-ruleId="{{items.item_id}}" a:if="{{items.checked}}" data-num="3" catchTap="openSelect">
|
|
|
+ <view class="flex-box flex-v-ce li" data-ruleId="{{items.item_id}}" a:if="{{items.checked}}" data-num="3" catchTap="openSelect">
|
|
|
<view class="label isBt">选择规则</view>
|
|
|
<view class="flex-1" a:if="{{selectRule}}">已选择1条</view>
|
|
|
<view class="flex-1" a:else></view>
|
|
|
<image mode="scaleToFill" src="../../../image/right.png" class="rightImg"/>
|
|
|
</view>
|
|
|
+ <view class="flex-box flex-v-ce li" a:else data-ruleId="{{items.rule_id2}}" data-num="4" catchTap="openSelect">
|
|
|
+ <view class="label isBt">选择分类</view>
|
|
|
+ <view class="flex-1">{{items.rule_name}}</view>
|
|
|
+ <image mode="scaleToFill" src="../../../image/right.png" class="rightImg"/>
|
|
|
+ </view>
|
|
|
|
|
|
<view class="flex-box li margin-bottom" style="padding:15rpx 28rpx;margin-top:24rpx" a:if="{{items.checked}}">
|
|
|
<view class="label isBt" style="position: relative;top:8rpx;">任务积分</view>
|
|
@@ -56,7 +60,7 @@
|
|
|
<input a:else value="{{items.base_point}}" placeholder="0" type="number" onInput="bindKeyInput1" class="flex-1"/>
|
|
|
<view class="picker-box" catchTap="bindPickerChange" a:if="{{selectRule.range_type!=1}}">
|
|
|
<view class="{{isArrindex==true? 'picker-right':'picker-left'}} yuan"></view>
|
|
|
- <view class="flex-box flex-v-ce" class="picker">
|
|
|
+ <view class="flex-box flex-v-ce">
|
|
|
<text class="red flex-1">奖</text>
|
|
|
<text class="green flex-1">扣</text>
|
|
|
</view>
|
|
@@ -69,6 +73,7 @@
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
<view class="flex-box li margin-bottom" style="padding:15rpx 28rpx;margin-top:24rpx" a:else>
|
|
|
<view class="label isBt" style="position: relative;top:10rpx;">任务积分</view>
|
|
|
<text class="red" style="position: relative;top:10rpx;">+</text>
|
|
@@ -137,6 +142,7 @@
|
|
|
</view>
|
|
|
<view class="box" animation="{{animationInfo}}">
|
|
|
<select-rule defaultId="{{defaultRuleId}}" isGzType="{{isGzType}}" onConfirm="onSelectItem" onClose="onClose" a:if="{{isShowType=='3'}}"/>
|
|
|
+ <select-type defaultId="{{defaultRuleId}}" isGzType="{{isGzType}}" onConfirm="onSelectType" onClose="onClose" a:if="{{isShowType=='4'}}"/>
|
|
|
<select-section-staff isLeadership="{{true}}" isBoss="{{true}}" selectUser="{{users}}" onClose="onClose" onConfirm="onSelectUser" a:if="{{isShowType=='1'}}"/>
|
|
|
<select-section-staff-two islead="{{true}}" selectUser="{{reviewerObj}}" onClose="onClose" onConfirm="onSelectUser2" a:if="{{isShowType=='2'}}"/>
|
|
|
</view>
|