data scope
This commit is contained in:
@ -113,7 +113,7 @@
|
|||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<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
|
<el-table-column
|
||||||
label="角色名称"
|
label="角色名称"
|
||||||
prop="roleName"
|
prop="roleName"
|
||||||
@ -126,6 +126,11 @@
|
|||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
width="150"
|
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="显示顺序" prop="roleSort" width="100" />
|
||||||
<el-table-column label="状态" align="center" width="100">
|
<el-table-column label="状态" align="center" width="100">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
|
Reference in New Issue
Block a user