data scope

This commit is contained in:
ailanyin
2023-05-17 15:06:04 +08:00
parent 0a22241c92
commit 198c23cc5e

View File

@ -113,7 +113,7 @@
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="角色编号" prop="roleId" width="120" />
<el-table-column label="角色编号" prop="roleId" width="180" />
<el-table-column
label="角色名称"
prop="roleName"
@ -126,6 +126,11 @@
:show-overflow-tooltip="true"
width="150"
/>
<el-table-column label="权限范围" prop="dataScope" width="140">
<template #default="{ row }">
{{ dataScopeOptions.find((el) => el.value === row.dataScope)?.label }}
</template>
</el-table-column>
<el-table-column label="显示顺序" prop="roleSort" width="100" />
<el-table-column label="状态" align="center" width="100">
<template #default="scope">