Преглед на файлове

提交修改指派权限问题

message
douzhuo преди 2 години
родител
ревизия
fafb428428
променени са 2 файла, в които са добавени 10 реда и са изтрити 7 реда
  1. +3
    -3
      pages/index/customer.vue
  2. +7
    -4
      pages/mine/reception/addreception.vue

+ 3
- 3
pages/index/customer.vue Целия файл

@@ -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 Целия файл

@@ -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) {


Зареждане…
Отказ
Запис