|
|
@@ -130,9 +130,9 @@
|
|
|
<el-checkbox :indeterminate="isIndeterminate" v-model="allChecked" @change="toggleSelectAll">
|
|
|
{{ multipleSelection.length > 0 ? `已选 ${multipleSelection.length} 条` : '选中本页' }}
|
|
|
</el-checkbox>
|
|
|
- <el-button plain size="mini" @click="handleShelf">上架</el-button>
|
|
|
- <el-button plain size="mini" @click="handleUnshelf">下架</el-button>
|
|
|
- <el-button plain size="mini" @click="handleDeleteSelected">删除</el-button>
|
|
|
+ <el-button plain size="mini" @click="handleShelf" v-hasPermi="['live:live:operation']">上架</el-button>
|
|
|
+ <el-button plain size="mini" @click="handleUnshelf" v-hasPermi="['live:live:operation']">下架</el-button>
|
|
|
+ <el-button plain size="mini" @click="handleDeleteSelected" v-hasPermi="['live:live:operation']">删除</el-button>
|
|
|
<!-- <el-dropdown>-->
|
|
|
<!-- <el-button plain size="mini">-->
|
|
|
<!-- 更多操作<i class="el-icon-arrow-down el-icon--right"></i>-->
|
|
|
@@ -200,7 +200,7 @@
|
|
|
icon="el-icon-edit"
|
|
|
v-if="scope.row.status != 2"
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
- v-hasPermi="['live:live:edit']"
|
|
|
+ v-hasPermi="['live:live:edit', 'live:live:operation']"
|
|
|
>修改</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
@@ -231,12 +231,14 @@
|
|
|
<el-dropdown-item
|
|
|
v-if="scope.row.status != 2"
|
|
|
@click.native="handleStart(scope.row)"
|
|
|
+ v-hasPermi="['live:live:operation']"
|
|
|
>
|
|
|
<i class="el-icon-monitor"></i> 去直播
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item
|
|
|
v-if="scope.row.status == 2"
|
|
|
@click.native="handleEnded(scope.row)"
|
|
|
+ v-hasPermi="['live:live:operation']"
|
|
|
>
|
|
|
<i class="el-icon-service"></i> 结束
|
|
|
</el-dropdown-item>
|