|
|
@@ -1,7 +1,18 @@
|
|
|
<template>
|
|
|
<view class="page" :style="{height:height}">
|
|
|
|
|
|
- <view :style="{marginTop:'24rpx'}" class="scroll-Y">
|
|
|
+ <view class="roleNameView">
|
|
|
+ <text>当前身份:<text class="roleName">{{userInfo.roleName}}</text></text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="dataNullView flex-col" v-if="roleBindRuleList.length===0">
|
|
|
+ <view class="flex-row justify-center">
|
|
|
+ <image class="dataNullImage" src="/static/zhanwu.png"></image>
|
|
|
+ </view>
|
|
|
+ <text class="roleHint">当前角色没有拓客规则,请联系拓客经理处理</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view :style="{marginTop:'24rpx'}" class="scroll-Y" v-else>
|
|
|
<view class="flex-col outView " :class="{select:item.select}" v-for="(item,index) in roleBindRuleList" @click="selectRule(item,index)">
|
|
|
<view class="flex-row justify-between">
|
|
|
<text class="title">{{item.title}}</text>
|
|
|
@@ -13,7 +24,7 @@
|
|
|
<view class="flex-row award ">
|
|
|
<text class="awardItem">注册现金:{{item.awardAmount}}元</text>
|
|
|
</view>
|
|
|
- <view class="flex-row award ">
|
|
|
+ <view class="flex-row award justify-between">
|
|
|
<text class="awardItem">消费现金:{{item.consumeAmount}}元</text>
|
|
|
<text class="awardItem">消费比例:{{item.consumeRatio * 100}}%</text>
|
|
|
</view>
|
|
|
@@ -21,7 +32,7 @@
|
|
|
</view>
|
|
|
<view class="flex-row justify-between awardView">
|
|
|
<text>间推:</text>
|
|
|
- <view class="flex-row award ">
|
|
|
+ <view class="flex-row award justify-between">
|
|
|
<text class="awardItem">间推现金:{{item.indirectAmount}}元</text>
|
|
|
<text class="awardItem">间推比例:{{item.indirectRatio * 100}}%</text>
|
|
|
</view>
|