变更日志节点标识

This commit is contained in:
zjl 2024-09-02 14:14:28 +08:00
parent 7a59fe2140
commit ff931597fd
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@
@selection-change="onSelectionChange" @selection-change="onSelectionChange"
> >
<template #tableTitle> <template #tableTitle>
<el-button type="danger" @click="handleDelete()" :disabled="!selectionData.length" v-perm="['sys:loginlog:batchDelete']"> <el-button type="danger" @click="handleDelete()" :disabled="!selectionData.length" v-perm="['sys:loginLog:batchDelete']">
<template #icon> <template #icon>
<el-icon class="el-input__icon"> <el-icon class="el-input__icon">
<Delete /> <Delete />
@ -69,14 +69,14 @@ const editVisible=ref(false)
icon:'View', icon:'View',
type: 'warning', type: 'warning',
onClick: handleInfo.bind(null, record), onClick: handleInfo.bind(null, record),
auth: ['sys:loginlog:detail'], auth: ['sys:loginLog:detail'],
}, },
{ {
label: '删除', label: '删除',
icon:'Delete', icon:'Delete',
type: 'danger', type: 'danger',
onClick: handleDelete.bind(null, record), onClick: handleDelete.bind(null, record),
auth: ['sys:loginlog:delete'], auth: ['sys:loginLog:delete'],
}, },
], ],
}); });

View File

@ -13,7 +13,7 @@
@selection-change="onSelectionChange" @selection-change="onSelectionChange"
> >
<template #tableTitle> <template #tableTitle>
<el-button type="danger" @click="handleDelete()" :disabled="!selectionData.length" v-perm="['sys:operlog:batchDelete']"> <el-button type="danger" @click="handleDelete()" :disabled="!selectionData.length" v-perm="['sys:operLog:batchDelete']">
<template #icon> <template #icon>
<el-icon class="el-input__icon"> <el-icon class="el-input__icon">
<Delete /> <Delete />
@ -69,14 +69,14 @@ const editVisible=ref(false)
icon:'View', icon:'View',
type: 'warning', type: 'warning',
onClick: handleInfo.bind(null, record), onClick: handleInfo.bind(null, record),
auth: ['sys:operlog:detail'], auth: ['sys:operLog:detail'],
}, },
{ {
label: '删除', label: '删除',
icon:'Delete', icon:'Delete',
type: 'danger', type: 'danger',
onClick: handleDelete.bind(null, record), onClick: handleDelete.bind(null, record),
auth: ['sys:operlog:delete'], auth: ['sys:operLog:delete'],
}, },
], ],
}); });