|
|
@@ -64,7 +64,7 @@
|
|
|
</div>
|
|
|
<template v-if="modalObj.type === 'add'">
|
|
|
<!-- 客户分配数据 -->
|
|
|
- <div class="customer-modal-content-list" v-for="item in modalObj.showModalList" v-if="item.userUU !== thisUser.userUU">
|
|
|
+ <div class="customer-modal-content-list" v-for="item in modalObj.showModalList">
|
|
|
<span class="item inline-block" style="width: 28%;" @click="checkItem(item)">
|
|
|
<label class="mobile-cart-check" :class="{'active': item.distribute}"></label>
|
|
|
</span>
|
|
|
@@ -75,7 +75,7 @@
|
|
|
|
|
|
<template v-else>
|
|
|
<!-- 客户转移 && 当前用户是管理员时 -->
|
|
|
- <div class="customer-modal-content-list" v-for="item in modalObj.showModalList" v-if="thisUser.sys && (item.userUU !== thisUser.userUU)">
|
|
|
+ <div class="customer-modal-content-list" v-for="item in modalObj.showModalList" v-if="thisUser.sys">
|
|
|
<span class="item inline-block" style="width: 28%;" @click="checkItem(item)">
|
|
|
<label class="mobile-cart-check" :class="{'active': item.transfer}"></label>
|
|
|
</span>
|
|
|
@@ -83,7 +83,7 @@
|
|
|
<span class="item inline-block" style="width: 40%;text-align: center;">{{item.userName}}</span>
|
|
|
</div>
|
|
|
<!-- 客户转移 && 当前用户是被管理员转移权限时 -->
|
|
|
- <div class="customer-modal-content-list" v-for="item in modalObj.showModalList" v-if="(!thisUser.sys && thisUser.transfer) && (item.userUU !== thisUser.userUU)">
|
|
|
+ <div class="customer-modal-content-list" v-for="item in modalObj.showModalList" v-if="!thisUser.sys && thisUser.transfer">
|
|
|
<span class="item inline-block" style="width: 28%;" @click="checkItem(item)">
|
|
|
<label class="mobile-cart-check" :class="{'active': item.transfer}"></label>
|
|
|
</span>
|
|
|
@@ -91,7 +91,7 @@
|
|
|
<span class="item inline-block" style="width: 40%;text-align: center;">{{item.userName}}</span>
|
|
|
</div>
|
|
|
<!-- 客户转移 && 当前用户是非管理员,但有查看权限时 -->
|
|
|
- <div class="customer-modal-content-list" v-for="item in modalObj.showModalList" v-if="(!thisUser.sys && !thisUser.transfer) && (!item.distribute && thisUser.userUU !== item.userUU)">
|
|
|
+ <div class="customer-modal-content-list" v-for="item in modalObj.showModalList" v-if="(!thisUser.sys && !thisUser.transfer) && !item.distribute ">
|
|
|
<span class="item inline-block" style="width: 28%;" @click="checkItem(item)">
|
|
|
<label class="mobile-cart-check" :class="{'active': item.transfer}"></label>
|
|
|
</span>
|