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