|
|
@ -3,7 +3,13 @@ |
|
|
|
<div class="button-box clearflex"> |
|
|
|
<el-button @click="addAuthority('0')" type="primary">新增角色</el-button> |
|
|
|
</div> |
|
|
|
<el-table :data="tableData" border stripe> |
|
|
|
<el-table |
|
|
|
:data="tableData" |
|
|
|
style="width: 100%" |
|
|
|
row-key="ID" |
|
|
|
border |
|
|
|
stripe |
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"> |
|
|
|
<el-table-column label="id" min-width="180" prop="ID"></el-table-column> |
|
|
|
<el-table-column label="角色id" min-width="180" prop="authorityId"></el-table-column> |
|
|
|
<el-table-column label="角色名称" min-width="180" prop="authorityName"></el-table-column> |
|
|
|