Commit a725e470 authored by agping's avatar agping

商圈列表 加权限

parent 58ae0900
...@@ -17,14 +17,20 @@ ...@@ -17,14 +17,20 @@
<td>[%= it[item]['create_time']%]</td> <td>[%= it[item]['create_time']%]</td>
<td> <td>
<a title="编辑" class="btn btn-success btn-xs edit_modal" href="#modal_business" data-toggle="modal" class="btn btn-default" data-id="[%= it[item]['id']%]" style="margin-right:6px;">编辑</a> <a title="编辑" class="btn btn-success btn-xs edit_modal" href="#modal_business" data-toggle="modal" class="btn btn-default" data-id="[%= it[item]['id']%]" style="margin-right:6px;">编辑</a>
<a title="权限分配" class="btn btn-info btn-xs is_show" href="#modal-do" data-id="[%= it[item]['id']%]" style="margin-right:6px;">
[% if(check_auth('index/editBusinessDistrict')) { %]
<a title="权限分配" class="btn btn-info btn-xs is_show" href="#modal-do" data-id="[%= it[item]['id']%]" style="margin-right:6px;">
[% if(it[item]["status"] == 1) { %] [% if(it[item]["status"] == 1) { %]
不显示 不显示
[% }else{ %] [% }else{ %]
显示 显示
[% } %] [% } %]
</a> </a>
[% } %]
[% if(check_auth('index/delBusinessDistrict')) { %]
<a title="成员授权" class="btn btn-danger btn-xs del_modal" href="#modal-delete" data-toggle="modal" class="btn btn-default" data-id='[%= it[item]["id"] %]' style="margin-right:6px;">删除</a> <a title="成员授权" class="btn btn-danger btn-xs del_modal" href="#modal-delete" data-toggle="modal" class="btn btn-default" data-id='[%= it[item]["id"] %]' style="margin-right:6px;">删除</a>
[% } %]
</td> </td>
</tr> </tr>
[% } %] [% } %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment