角色页面中增加了新增与删除角色时调用后端的过程;对显示效果进行了微调

This commit is contained in:
GYYM
2024-10-24 13:24:54 +08:00
parent 3af786876e
commit 3c11b85ce3
7 changed files with 54 additions and 27 deletions

View File

@@ -7,11 +7,11 @@
>
<!-- 表格 header 按钮 -->
<template #tableHeader='scope'>
<el-button type='primary' :icon='CirclePlus' @click="openDrawer('新增用户')">新增用户</el-button>
<el-button type='primary' :icon='Download' plain @click='downloadFile'>导出用户数据</el-button>
<el-button type='primary' :icon='CirclePlus' @click="openDrawer('新增用户')">新增</el-button>
<el-button type='primary' :icon='Download' plain @click='downloadFile'>导出数据</el-button>
<el-button type='danger' :icon='Delete' plain :disabled='!scope.isSelected'
@click='batchDelete(scope.selectedListIds)'>
批量删除角色
批量删除
</el-button>
</template>
<!-- 表格操作 -->