Commit d0bdeb28 authored by agping's avatar agping

权限

parent 1ac23a4a
...@@ -57,10 +57,19 @@ ...@@ -57,10 +57,19 @@
[% } %] [% } %]
<td> <td>
[% if(check_auth('index/getDetailCost')) { %]
<a class="btn1 btn-success checkCost" href="#modal-addPic" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-status='[%= it[item]["status"] %]'>审核</a> <a class="btn1 btn-success checkCost" href="#modal-addPic" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-status='[%= it[item]["status"] %]'>审核</a>
[% } %]
[% if(check_auth('index/delCost')) { %]
[% if(it[item]['status'] != 4) { %] [% if(it[item]['status'] != 4) { %]
<a class="btn1 btn-success is_del" href="#modal-delete" data-toggle="modal" data-id='[%= it[item]["id"] %]'>删除</a> <a class="btn1 btn-success is_del" href="#modal-delete" data-toggle="modal" data-id='[%= it[item]["id"] %]'>删除</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