feat: remployee 添加权限标识
This commit is contained in:
parent
007d5828b6
commit
0b72e2dcc1
|
|
@ -8,6 +8,7 @@
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.name"
|
:label="item.name"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
|
v-auth="'remployee.create'"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</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"></el-button>
|
||||||
|
|
@ -55,11 +56,13 @@
|
||||||
link
|
link
|
||||||
type="warning"
|
type="warning"
|
||||||
size="small"
|
size="small"
|
||||||
|
v-auth="'remployee.update'"
|
||||||
@click="table_edit(scope.row, scope.$index)"
|
@click="table_edit(scope.row, scope.$index)"
|
||||||
>编辑</el-button
|
>编辑</el-button
|
||||||
>
|
>
|
||||||
<el-popconfirm
|
<el-popconfirm
|
||||||
title="确定删除吗?"
|
title="确定删除吗?"
|
||||||
|
v-auth="'remployee.delete'"
|
||||||
@confirm="table_del(scope.row, scope.$index)"
|
@confirm="table_del(scope.row, scope.$index)"
|
||||||
>
|
>
|
||||||
<template #reference>
|
<template #reference>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue