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

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

@@ -8,10 +8,10 @@
<!-- :requestApi="getRoleList" -->
<!-- 表格 header 按钮 -->
<template #tableHeader='scope'>
<el-button type='primary' :icon='CirclePlus' >新增设备</el-button>
<el-button type='primary' :icon='Download' plain >导出设备数据</el-button>
<el-button type='primary' :icon='CirclePlus' >新增</el-button>
<el-button type='primary' :icon='Download' plain >导出数据</el-button>
<el-button type='danger' :icon='Delete' plain :disabled='!scope.isSelected'>
批量删除设备
批量删除
</el-button>
</template>
<!-- 表格操作 -->