|
@@ -8,7 +8,6 @@
|
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
|
- v-hasPermi="['live:live:add']"
|
|
|
|
|
>新增</el-button
|
|
>新增</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -144,7 +143,6 @@
|
|
|
<el-button
|
|
<el-button
|
|
|
icon="el-icon-download"
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
- v-hasPermi="['live:live:export']"
|
|
|
|
|
@click="handleExport"
|
|
@click="handleExport"
|
|
|
>导出</el-button
|
|
>导出</el-button
|
|
|
>
|
|
>
|
|
@@ -166,21 +164,18 @@
|
|
|
plain
|
|
plain
|
|
|
size="mini"
|
|
size="mini"
|
|
|
@click="handleShelf"
|
|
@click="handleShelf"
|
|
|
- v-hasPermi="['live:live:operation']"
|
|
|
|
|
>上架</el-button
|
|
>上架</el-button
|
|
|
>
|
|
>
|
|
|
<el-button
|
|
<el-button
|
|
|
plain
|
|
plain
|
|
|
size="mini"
|
|
size="mini"
|
|
|
@click="handleUnshelf"
|
|
@click="handleUnshelf"
|
|
|
- v-hasPermi="['live:live:operation']"
|
|
|
|
|
>下架</el-button
|
|
>下架</el-button
|
|
|
>
|
|
>
|
|
|
<el-button
|
|
<el-button
|
|
|
plain
|
|
plain
|
|
|
size="mini"
|
|
size="mini"
|
|
|
@click="handleDeleteSelected"
|
|
@click="handleDeleteSelected"
|
|
|
- v-hasPermi="['live:live:operation']"
|
|
|
|
|
>删除</el-button
|
|
>删除</el-button
|
|
|
>
|
|
>
|
|
|
<!-- <el-dropdown>-->
|
|
<!-- <el-dropdown>-->
|
|
@@ -290,7 +285,6 @@
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
v-if="scope.row.status != 2"
|
|
v-if="scope.row.status != 2"
|
|
|
@click="handleUpdate(scope.row)"
|
|
@click="handleUpdate(scope.row)"
|
|
|
- v-hasPermi="['live:live:edit', 'live:live:operation']"
|
|
|
|
|
>修改</el-button
|
|
>修改</el-button
|
|
|
>
|
|
>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -298,7 +292,6 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-setting"
|
|
icon="el-icon-setting"
|
|
|
@click="handleConfig(scope.row)"
|
|
@click="handleConfig(scope.row)"
|
|
|
- v-hasPermi="['live:config:list']"
|
|
|
|
|
>配置</el-button
|
|
>配置</el-button
|
|
|
>
|
|
>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -306,7 +299,6 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-service"
|
|
icon="el-icon-service"
|
|
|
@click="handleManage(scope.row)"
|
|
@click="handleManage(scope.row)"
|
|
|
- v-hasPermi="['live:console:list']"
|
|
|
|
|
>进入直播间</el-button
|
|
>进入直播间</el-button
|
|
|
>
|
|
>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -314,7 +306,6 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
|
@click="handleClearCache(scope.row)"
|
|
@click="handleClearCache(scope.row)"
|
|
|
- v-hasPermi="['live:live:edit']"
|
|
|
|
|
>清理缓存</el-button
|
|
>清理缓存</el-button
|
|
|
>
|
|
>
|
|
|
<el-dropdown trigger="hover">
|
|
<el-dropdown trigger="hover">
|
|
@@ -332,14 +323,12 @@
|
|
|
<el-dropdown-item
|
|
<el-dropdown-item
|
|
|
v-if="scope.row.status != 2"
|
|
v-if="scope.row.status != 2"
|
|
|
@click.native="handleStart(scope.row)"
|
|
@click.native="handleStart(scope.row)"
|
|
|
- v-hasPermi="['live:live:operation']"
|
|
|
|
|
>
|
|
>
|
|
|
<i class="el-icon-monitor"></i> 去直播
|
|
<i class="el-icon-monitor"></i> 去直播
|
|
|
</el-dropdown-item>
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item
|
|
<el-dropdown-item
|
|
|
v-if="scope.row.status == 2"
|
|
v-if="scope.row.status == 2"
|
|
|
@click.native="handleEnded(scope.row)"
|
|
@click.native="handleEnded(scope.row)"
|
|
|
- v-hasPermi="['live:live:operation']"
|
|
|
|
|
>
|
|
>
|
|
|
<i class="el-icon-service"></i> 结束
|
|
<i class="el-icon-service"></i> 结束
|
|
|
</el-dropdown-item>
|
|
</el-dropdown-item>
|
|
@@ -581,7 +570,6 @@
|
|
|
plain
|
|
plain
|
|
|
size="mini"
|
|
size="mini"
|
|
|
@click="addUserTag(scope.row,scope.$index)"
|
|
@click="addUserTag(scope.row,scope.$index)"
|
|
|
- v-hasPermi="['qw:externalContact:addTag']"
|
|
|
|
|
>选择标签</el-button>
|
|
>选择标签</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|