Explorar el Código

新增顾问权限问题修改

yun
douzhuo hace 1 año
padre
commit
9c863db910
Se han modificado 2 ficheros con 8 adiciones y 3 borrados
  1. +7
    -2
      pages/index/customer.vue
  2. +1
    -1
      pages/mine/reception/addreception.vue

+ 7
- 2
pages/index/customer.vue Ver fichero

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


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


+ 1
- 1
pages/mine/reception/addreception.vue Ver fichero

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


Cargando…
Cancelar
Guardar