This commit is contained in:
陈红丽 2024-11-13 16:16:32 +08:00
parent 82df58edd5
commit b03e88bded
2 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -8,6 +8,7 @@ dist_electron
# local env files
.env.local
.env.*.local
.history
# Log files
npm-debug.log*

View File

@ -19,7 +19,7 @@
>
<template #tableTitle>
<a-space>
<a-button type="primary" @click="handleAdd" v-perm="['sys:level:add']">
<a-button type="primary" @click="handleAdd" v-perm="['sys:position:add']">
<template #icon>
<PlusOutlined />
</template>
@ -30,7 +30,7 @@
type="danger"
@click="handleDelete()"
:disabled="!selectionData.length"
v-perm="['sys:level:batchDelete']"
v-perm="['sys:position:batchDelete']"
>
<template #icon>
<DeleteOutlined />
@ -42,7 +42,7 @@
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<a-space>
<a-button type="primary" @click="handleEdit(record.id)" v-perm="['sys:level:update']">
<a-button type="primary" @click="handleEdit(record.id)" v-perm="['sys:position:update']">
<template #icon><EditOutlined /></template>
编辑
</a-button>
@ -50,7 +50,7 @@
type="primary"
danger
@click="handleDelete(record.id)"
v-perm="['sys:level:delete']"
v-perm="['sys:position:delete']"
>
<template #icon><DeleteOutlined /></template>
删除