|
@@ -28,16 +28,22 @@
|
|
@command="handleCommand($event, item)"
|
|
@command="handleCommand($event, item)"
|
|
class="seats_item_dropdown"
|
|
class="seats_item_dropdown"
|
|
trigger="click"
|
|
trigger="click"
|
|
- v-if="item.State === '8' && globalState.callCenterIsSignIn"
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ ['8', '2'].includes(item.State) && globalState.callCenterIsSignIn
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<el-icon class="seats_item_more" size="18">
|
|
<el-icon class="seats_item_more" size="18">
|
|
<Operation />
|
|
<Operation />
|
|
</el-icon>
|
|
</el-icon>
|
|
<template #dropdown>
|
|
<template #dropdown>
|
|
<el-dropdown-menu>
|
|
<el-dropdown-menu>
|
|
- <el-dropdown-item command="listen">监 听</el-dropdown-item>
|
|
|
|
- <el-dropdown-item command="interject">强 插</el-dropdown-item>
|
|
|
|
- <el-dropdown-item command="cut">强 拆</el-dropdown-item>
|
|
|
|
|
|
+ <el-dropdown-item command="listen" v-if="item.State == '8'"
|
|
|
|
+ >监 听</el-dropdown-item
|
|
|
|
+ >
|
|
|
|
+ <template v-if="item.State == '2'">
|
|
|
|
+ <el-dropdown-item command="interject">强 插</el-dropdown-item>
|
|
|
|
+ <el-dropdown-item command="cut">强 拆</el-dropdown-item>
|
|
|
|
+ </template>
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
</template>
|
|
</template>
|
|
</el-dropdown>
|
|
</el-dropdown>
|