|
|
@@ -62,11 +62,13 @@ |
|
|
|
@current-change="handleCurrentChange" |
|
|
|
> |
|
|
|
<template slot-scope="{ row }" slot="menu"> |
|
|
|
<i |
|
|
|
<template v-if="permissions['file_index_start']"> |
|
|
|
<i |
|
|
|
class="el-icon-video-play" |
|
|
|
@click="openPlayer(row)" |
|
|
|
style="font-size: 20px; cursor: pointer" |
|
|
|
></i> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</avue-crud> |
|
|
|
</div> |
|
|
@@ -153,9 +155,9 @@ export default { |
|
|
|
created() { |
|
|
|
// 获取显隐的列表 |
|
|
|
this.setTableOption(); |
|
|
|
this.file_index_upload = this.permissions["file_index_upload"]; |
|
|
|
this.file_index_edit = this.permissions["file_index_edit"]; |
|
|
|
this.file_index_start = this.permissions["file_index_start"]; |
|
|
|
// this.file_index_upload = this.permissions["file_index_upload"]; |
|
|
|
// this.file_index_edit = this.permissions["file_index_edit"]; |
|
|
|
// this.file_index_start = this.permissions["file_index_start"]; |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.audio = {}; |
|
|
|