Commit e1b44ee1 authored by hujun's avatar hujun

权限判断

parent 0f0eca57
...@@ -57,7 +57,10 @@ ...@@ -57,7 +57,10 @@
[% } %] [% } %]
</td>--> </td>-->
<td> <td>
<a class="btn1 [%= (it[item]['is_look'] && it[item]['auth_edit_house'] == 0)?'btn-warning':'btn-success' %]" href="#modal_shop_detail" data-id='[%= it[item]["id"] %]' data-toggle="modal">跟进/查看</a> [%if(it["item"]["is_lock"] == 0 || check_auth('index/lockHouse') || it["item"]["auth_edit_exclusive"] == 1 || it["item"]["auth_edit_house"] == 1) { %]
<a class="btn1 [%= (it[item]['is_look'] && it[item]['auth_edit_house'] == 0)?'btn-warning':'btn-success' %]" href="#modal_shop_detail" data-id='[%= it[item]["id"] %]' data-toggle="modal">跟进/查看</a>
[% } %]
<a class="btn1 is_show_shoucang [%= sw(it[item]['is_collect']) %]" data-toggle="modal" data-id='[%= it[item]["id"] %]'> <a class="btn1 is_show_shoucang [%= sw(it[item]['is_collect']) %]" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
[%if(it[item]["is_collect"] == 1) { %] [%if(it[item]["is_collect"] == 1) { %]
取消收藏 取消收藏
...@@ -94,9 +97,9 @@ ...@@ -94,9 +97,9 @@
[% } %]--> [% } %]-->
<a class="btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]" data-toggle="modal" data-id='[%= it[item]["id"] %]'> <a class="btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
[%if(it[item]["is_lock"] == 0) { %] [%if(it["item"]["is_lock"] == 0) { %]
锁盘 锁盘
[% }else if(it[item]["is_lock"] == 1 ) { %] [% }else if(it["item"]["is_lock"] == 1 ) { %]
已锁盘 已锁盘
[% } %] [% } %]
</a> </a>
......
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