|
@@ -25,8 +25,7 @@
|
25
|
25
|
<div class="totalCustom">
|
26
|
26
|
<i class="el-icon-user-solid" /> 共<span>{{total}}</span>个成员
|
27
|
27
|
</div>
|
28
|
|
- <!-- mock -->
|
29
|
|
- <div v-if="isAdmin" class="totalCustom ml-20">
|
|
28
|
+ <div class="totalCustom ml-20">
|
30
|
29
|
待分配许可<span>{{ waitForAssignNum }}</span>
|
31
|
30
|
<el-tooltip class="disinblock" popper-class="member-tooltip">
|
32
|
31
|
<div slot="content">
|
|
@@ -39,9 +38,8 @@
|
39
|
38
|
</div>
|
40
|
39
|
</template>
|
41
|
40
|
</div>
|
42
|
|
- <!-- mock -->
|
|
41
|
+
|
43
|
42
|
<batchAssign
|
44
|
|
- v-if="isAdmin"
|
45
|
43
|
ref="batchAssign"
|
46
|
44
|
:waitForAssignNum="waitForAssignNum"
|
47
|
45
|
@updateAssignNum="handleGetWaitForAssignNum"
|
|
@@ -134,8 +132,7 @@
|
134
|
132
|
<template slot-scope="scope">
|
135
|
133
|
<span class="c-00B38A pointer" @click="detailEvent(scope.row)">详情</span>
|
136
|
134
|
<span class="c-00B38A pointer ml-3" @click="onClickInfoBind(scope.row)">信息绑定</span>
|
137
|
|
- <!-- mock -->
|
138
|
|
- <template v-if="isAdmin">
|
|
135
|
+ <template>
|
139
|
136
|
<span v-if="scope.row.is_active == 1" class="c-00B38A pointer ml-3" @click="onClickTransfer(scope.row)">转移许可</span>
|
140
|
137
|
<span v-else class="c-00B38A pointer ml-3" @click="onClickAssign(scope.row)">分配许可</span>
|
141
|
138
|
</template>
|
|
@@ -315,10 +312,6 @@ export default {
|
315
|
312
|
isShowCustomerData() {
|
316
|
313
|
return this.user_ids && this.user_ids.length
|
317
|
314
|
},
|
318
|
|
- // mock
|
319
|
|
- isAdmin() {
|
320
|
|
- return this.$cookie.getCookie('isSuperManage') == 1
|
321
|
|
- }
|
322
|
315
|
},
|
323
|
316
|
created () {
|
324
|
317
|
this.height = document.documentElement.clientHeight - 200 > 400 ? document.documentElement.clientHeight - 200 : 400
|