Ver código fonte

录音列表播放权限

newStyle
douzhuo 2 anos atrás
pai
commit
1a4e4da4ba
1 arquivos alterados com 6 adições e 4 exclusões
  1. +6
    -4
      src/views/File/index.vue

+ 6
- 4
src/views/File/index.vue Ver arquivo

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


Carregando…
Cancelar
Salvar