Browse Source

提交修改指派权限问题

message
douzhuo 2 years ago
parent
commit
fafb428428
2 changed files with 10 additions and 7 deletions
  1. +3
    -3
      pages/index/customer.vue
  2. +7
    -4
      pages/mine/reception/addreception.vue

+ 3
- 3
pages/index/customer.vue View File

@@ -136,11 +136,11 @@
</view>
</view>
<view class="footer-button" v-if="item.status!=0">
<view v-if="permissions.commonly3" class="footer1" @click.stop="addTime(item)">接待延时</view>
<view v-if="permissions.commonly4" class="footer1" @click.stop="assign(item)">重新指派</view>
<view v-if="permissions.commonly4" class="footer1" @click.stop="addTime(item)">接待延时</view>
<view v-if="permissions.commonly3" class="footer1" @click.stop="assign(item)">重新指派</view>
<view v-if="permissions.commonly5" class="footer3" @click.stop="changeEnd(item.id)">结束接待</view>
</view>
<view class="footer-button" v-if="item.status==0">
<view class="footer-button" v-if="item.status==0 && permissions.commonly3">
<view class="footer3" @click.stop="assign(item)">指派顾问</view>
</view>
</view>


+ 7
- 4
pages/mine/reception/addreception.vue View File

@@ -54,13 +54,12 @@
</view>

</view>
<view class="Pinspeak" v-if="isShow">顾问</view>
<view class="chented" v-if="isShow" @click="clickShowhid()">
<view class="Pinspeak">顾问</view>
<view class="chented" @click="clickShowhid()">
<view class="title" style="border: none;">
<view class="titletext">接待顾问</view>
<view class="titletext2"
style="font-size: 30rpx;font-weight: 400;color: #B2B2B2;line-height: 110rpx;padding-left: 10rpx;">
<!-- {{text || '请选择接待顾问'}} -->
<text v-if="text" style="color: #333333;">{{text}}</text>
<text v-else>请选择接待顾问</text>
</view>
@@ -251,7 +250,11 @@
this.parames.howMany = num;
},
clickShowhid() {
if (this.userInfo.userRoleType == 6) {
if (!this.isShow) {
uni.showToast({
icon: "none",
title: '您没有指派权限~'
})
return
}
if (this.freeList.length == 0) {


Loading…
Cancel
Save