feat: remployee 添加权限标识2
This commit is contained in:
parent
a368dcab24
commit
6584b867d3
|
@ -8,10 +8,9 @@
|
|||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
v-auth="'remployee.create'"
|
||||
/>
|
||||
</el-select>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="add" style="margin-left:4px"></el-button>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="add" style="margin-left:4px" v-auth="'remployee.create'"></el-button>
|
||||
<!-- <el-button type="danger" plain icon="el-icon-delete" :disabled="selection.length==0" @click="batch_del"></el-button>
|
||||
<el-button type="primary" plain :disabled="selection.length!=1" @click="permission">权限设置</el-button> -->
|
||||
</div>
|
||||
|
@ -62,11 +61,10 @@
|
|||
>
|
||||
<el-popconfirm
|
||||
title="确定删除吗?"
|
||||
v-auth="'remployee.delete'"
|
||||
@confirm="table_del(scope.row, scope.$index)"
|
||||
>
|
||||
<template #reference>
|
||||
<el-button link type="danger" size="small">删除</el-button>
|
||||
<el-button link type="danger" size="small" v-auth="'remployee.delete'">删除</el-button>
|
||||
</template>
|
||||
</el-popconfirm>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue