浏览代码

新增顾问权限问题修改

yun
douzhuo 3 年前
父节点
当前提交
9c863db910
共有 2 个文件被更改,包括 8 次插入3 次删除
  1. +7
    -2
      pages/index/customer.vue
  2. +1
    -1
      pages/mine/reception/addreception.vue

+ 7
- 2
pages/index/customer.vue 查看文件

@@ -43,9 +43,12 @@




</view> </view>
<!-- checkAuthority('顾问指派顾问') -->
<view class="footer-button" v-if="item.status!=0"> <view class="footer-button" v-if="item.status!=0">
<view class="footer1" @click.stop="addTime(item)">接待延时</view> <view class="footer1" @click.stop="addTime(item)">接待延时</view>
<view class="footer1" @click.stop="assign(item)">重新指派</view>
<template v-if="checkAuthority('顾问指派顾问')">
<view class="footer1" @click.stop="assign(item)">重新指派</view>
</template>
<template v-if="endReception"> <template v-if="endReception">
<view class="footer3" @click.stop="changeEnd(item.id)">结束接待</view> <view class="footer3" @click.stop="changeEnd(item.id)">结束接待</view>
</template> </template>
@@ -55,7 +58,9 @@
<view class="centerbox-che">手机号码:<text class="shizai">{{item.phone || "--"}}</text></view> <view class="centerbox-che">手机号码:<text class="shizai">{{item.phone || "--"}}</text></view>
</view> </view>
<view class="footer-button" v-if="item.status==0"> <view class="footer-button" v-if="item.status==0">
<view class="footer3" @click.stop="assign(item)">指派顾问</view>
<template v-if="checkAuthority('顾问指派顾问')">
<view class="footer3" @click.stop="assign(item)">指派顾问</view>
</template>
</view> </view>


</view> </view>


+ 1
- 1
pages/mine/reception/addreception.vue 查看文件

@@ -218,7 +218,7 @@
if (this.isPass && !this.parames.agentId) { if (this.isPass && !this.parames.agentId) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "当前顾问正在接待,请选择其他顾问"
title: "请选择顾问~"
}) })
return; return;
} }


正在加载...
取消
保存