证书权限
This commit is contained in:
parent
7787db239c
commit
9c48cf47af
|
|
@ -412,7 +412,7 @@ export const asyncRoutes = [
|
||||||
path: 'certificate',
|
path: 'certificate',
|
||||||
name: 'certificate',
|
name: 'certificate',
|
||||||
component: () => import('@/views/testvideo/certificate.vue'),
|
component: () => import('@/views/testvideo/certificate.vue'),
|
||||||
meta: { title: '证书列表', perms: ['video_view'] }
|
meta: { title: '证书列表', perms: ['certificate'] }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'videolist',
|
path: 'videolist',
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="top"
|
placement="top"
|
||||||
width="160"
|
width="160"
|
||||||
v-if="checkPermission(['certificate_import'])"
|
v-if="checkPermission(['certificate_create'])"
|
||||||
v-model="popovervisible"
|
v-model="popovervisible"
|
||||||
>
|
>
|
||||||
<p>导入证书</p>
|
<p>导入证书</p>
|
||||||
|
|
@ -87,9 +87,9 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="success" size="small" @click="handleShow(scope.row)" icon="el-icon-picture"></el-button>
|
<el-button type="success" size="small" @click="handleShow(scope.row)" icon="el-icon-picture"></el-button>
|
||||||
<el-button type="primary" size="small" @click="handleEdit(scope)" icon="el-icon-edit"
|
<el-button type="primary" size="small" @click="handleEdit(scope)" icon="el-icon-edit"
|
||||||
:disabled="!checkPermission(['certificate_update'])"></el-button>
|
:disabled="!checkPermission(['certificate_create'])"></el-button>
|
||||||
<el-button type="danger" size="small" @click="handleDelete(scope)" icon="el-icon-delete"
|
<el-button type="danger" size="small" @click="handleDelete(scope)" icon="el-icon-delete"
|
||||||
:disabled="!checkPermission(['certificate_delete'])"></el-button>
|
:disabled="!checkPermission(['certificate_create'])"></el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue