Commit 2aec019724f8110afc3c2502ebfb97a9702db7e1

Authored by xu
1 parent dcfe4978
Exists in master

app-ht

1. F 角色列表显示角色id
Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
app-ht/modules/system/views/role/index.php
... ... @@ -42,8 +42,9 @@ $this->params['breadcrumbs'][] = $this->title;
42 42 <table class="table table-striped table-bordered">
43 43 <thead>
44 44 <tr>
  45 + <th style="width:10%;">ID</th>
45 46 <th style="width:10%;">角色名称</th>
46   - <th style="width:20%;">描述</th>
  47 + <th style="width:10%;">描述</th>
47 48 <th style="width:50%;">拥有权限</th>
48 49 <th style="width:20%;">操作</th>
49 50 </tr>
... ... @@ -51,6 +52,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
51 52 <tbody>
52 53 <?php foreach ($roles as $k => $role) : ?>
53 54 <tr>
  55 + <td><?= $role['id'] ?></td>
54 56 <td><?= $role['name'] ?></td>
55 57 <td><?= $role['description'] ?></td>
56 58 <td><?= $role['perms'] ?></td>
... ...