修改
This commit is contained in:
parent
82df58edd5
commit
b03e88bded
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@ dist_electron
|
||||
# local env files
|
||||
.env.local
|
||||
.env.*.local
|
||||
.history
|
||||
|
||||
# Log files
|
||||
npm-debug.log*
|
||||
|
@ -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>
|
||||
删除
|
||||
|
Loading…
Reference in New Issue
Block a user