receiptReviewPermissionList.jsp 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>收款审核权限表(审核人员使用)管理</title>
  6. <meta name="decorator" content="default"/>
  7. <style type="text/css">
  8. .table th{text-align: center;}
  9. .table td{text-align: center;}
  10. </style>
  11. <script type="text/javascript">
  12. $(document).ready(function() {
  13. });
  14. function page(n,s){
  15. $("#pageNo").val(n);
  16. $("#pageSize").val(s);
  17. $("#searchForm").submit();
  18. return false;
  19. }
  20. </script>
  21. </head>
  22. <body>
  23. <ul class="nav nav-tabs">
  24. <li><a href="${ctx}/permission/receiptUserPermission/list?userType=1">收款通知权限</a></li>
  25. <li><a href="${ctx}/permission/receiptUserPermission/list?userType=2">收款确认权限</a></li>
  26. <li class="active"><a href="${ctx}/permission/receiptUserPermission/list?userType=3">收款审核权限</a></li>
  27. <li><a href="${ctx}/permission/receiptUserPermission/list?userType=4">返佣管理权限</a></li>
  28. <li><a href="${ctx}/permission/receiptUserPermission/list?userType=5">供应商退款管理权限</a></li>
  29. </ul>
  30. <form:form id="searchForm" modelAttribute="receiptUserPermission" action="${ctx}/permission/receiptUserPermission/" method="post" class="breadcrumb form-search">
  31. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  32. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  33. <input id="userType" name="userType" type="hidden" value="3"/>
  34. <div class="ul-form">
  35. <label>收款审核人:</label>
  36. <form:input path="name" htmlEscape="false" maxlength="50" class="input-medium"/>
  37. <label>手机号码:</label>
  38. <form:input path="mobile" htmlEscape="false" maxlength="20" class="input-medium"/>
  39. <label>微信openID:</label>
  40. <form:input path="openid" htmlEscape="false" maxlength="32" class="input-medium"/>
  41. &nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
  42. <shiro:hasPermission name="permission:receiptUserPermission:edit">
  43. <a class="btn btn-primary" href="${ctx}/permission/receiptUserPermission/form?userType=3">添加</a></li>
  44. </shiro:hasPermission>
  45. <div class="clearfix"></div>
  46. </div>
  47. </form:form>
  48. <sys:message content="${message}"/>
  49. <table id="contentTable" class="table table-striped table-bordered table-condensed">
  50. <thead>
  51. <tr>
  52. <th>收款审核人</th>
  53. <th>手机</th>
  54. <th>微信openID</th>
  55. <th>身份</th>
  56. <shiro:hasPermission name="permission:receiptUserPermission:edit"><th>操作</th></shiro:hasPermission>
  57. </tr>
  58. </thead>
  59. <tbody>
  60. <c:forEach items="${page.list}" var="receiptUserPermission">
  61. <tr>
  62. <td><a href="${ctx}/permission/receiptUserPermission/form?id=${receiptUserPermission.id}">
  63. ${receiptUserPermission.name}
  64. </a></td>
  65. <td>${receiptUserPermission.mobile}</td>
  66. <td>${receiptUserPermission.openid}</td>
  67. <td>
  68. <c:if test="${receiptUserPermission.userIdentity eq 1}">
  69. 协销人员
  70. </c:if>
  71. <c:if test="${receiptUserPermission.userIdentity eq 2}">
  72. 客服
  73. </c:if>
  74. <c:if test="${receiptUserPermission.userIdentity eq 3}">
  75. 财务
  76. </c:if>
  77. <c:if test="${receiptUserPermission.userIdentity eq 4}">
  78. 超级管理员
  79. </c:if>
  80. </td>
  81. <shiro:hasPermission name="permission:receiptUserPermission:edit"><td>
  82. <a href="${ctx}/permission/receiptUserPermission/form?id=${receiptUserPermission.id}">编辑</a>
  83. <shiro:hasPermission name="permission:receiptUserPermission:delete">
  84. <a href="${ctx}/permission/receiptUserPermission/delete?id=${receiptUserPermission.id}" onclick="return confirmx('确认要删除吗?', this.href)">删除</a>
  85. </shiro:hasPermission>
  86. </td></shiro:hasPermission>
  87. </tr>
  88. </c:forEach>
  89. </tbody>
  90. </table>
  91. <div class="pagination">${page}</div>
  92. </body>
  93. </html>