| | |
| | | <!-- </el-icon>--> |
| | | <!-- 查询--> |
| | | <!-- </el-button>--> |
| | | <!-- <el-button size="default" type="success" class="ml10" @click="onOpenDialogRef('新增', '')">--> |
| | | <!-- <el-icon>--> |
| | | <!-- <ele-FolderAdd />--> |
| | | <!-- </el-icon>--> |
| | | <!-- 新增角色--> |
| | | <!-- </el-button>--> |
| | | <el-button size="default" type="success" class="ml10" @click="onOpenDialogRef('新增', '')"> |
| | | <el-icon> |
| | | <ele-FolderAdd /> |
| | | </el-icon> |
| | | 新增角色 |
| | | </el-button> |
| | | </div> |
| | | <el-table :data="tableData.data" style="width: 100%"> |
| | | <el-table-column type="index" label="序号" width="60" /> |
| | |
| | | type: 'warning' |
| | | }) |
| | | .then(async () => { |
| | | let res = await useRoleApi().deleteRole({ roleId: row.roleId }); |
| | | let res = await useRoleApi().deleteRole({ roleId: row.id }); |
| | | if (res.data.code === 100) { |
| | | ElMessage({ |
| | | type: 'success', |