Commit a725e470 authored by agping's avatar agping

商圈列表 加权限

parent 58ae0900
......@@ -17,6 +17,8 @@
<td>[%= it[item]['create_time']%]</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>
[% 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) { %]
不显示
......@@ -24,7 +26,11 @@
显示
[% } %]
</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>
[% } %]
</td>
</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