Browse Source

录音列表播放权限

newStyle
douzhuo 2 years ago
parent
commit
1a4e4da4ba
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      src/views/File/index.vue

+ 6
- 4
src/views/File/index.vue View File

@@ -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 = {};


Loading…
Cancel
Save