|
@@ -54,7 +54,7 @@
|
|
|
<!-- <input type="number" th:value="${item.sortNo}" th:onBlur="'updateSort(\''+${item.id}+'\',\''+${item.sortNo}+'\',this)'" class="dfinput" style="width: 60px; height: 30px;" >-->
|
|
|
</td>
|
|
|
<td>
|
|
|
- <a href="javascript:;" th:onclick="'deleteById(\''+${item.id}+'\' ,\''+${item.pId}+'\',\''+${item.name}+'\')'" class="tablelink" >删除</a>
|
|
|
+ <a th:if="${ #httpSession.getAttribute('admin') !=null && #httpSession.getAttribute('admin').loginName eq 'admin' } " href="javascript:;" th:onclick="'deleteById(\''+${item.id}+'\' ,\''+${item.pId}+'\',\''+${item.name}+'\')'" class="tablelink" >删除</a>
|
|
|
<a href="javascript:void(0);" th:onclick="'openEdit(\''+${item.id}+'\',\''+${search.get('EQ_pId')}+'\',2)'" class="tablelink" >修改</a>
|
|
|
</td>
|
|
|
</tr>
|