This commit is contained in:
shijing 2024-10-17 15:41:48 +08:00
commit a6a4ef7186
1 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@
:value="item.id" :value="item.id"
/> />
</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" 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="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> --> <el-button type="primary" plain :disabled="selection.length!=1" @click="permission">权限设置</el-button> -->
</div> </div>
@ -55,6 +55,7 @@
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
> >
@ -63,7 +64,7 @@
@confirm="table_del(scope.row, scope.$index)" @confirm="table_del(scope.row, scope.$index)"
> >
<template #reference> <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> </template>
</el-popconfirm> </el-popconfirm>
</template> </template>