cmSpLivelyClubList.jsp 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <%--
  2. Created by IntelliJ IDEA.
  3. User: Administrator
  4. Date: 2020/4/12
  5. Time: 12:01
  6. To change this template use File | Settings | File Templates.
  7. --%>
  8. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  9. <%@ page contentType="text/html;charset=UTF-8" %>
  10. <%@ include file="/WEB-INF/views/include/taglib.jsp" %>
  11. <html>
  12. <head>
  13. <title>机构活跃分析管理</title>
  14. <meta name="decorator" content="default"/>
  15. <style type="text/css">
  16. .table th {
  17. text-align: center;
  18. }
  19. .table td {
  20. text-align: center;
  21. }
  22. .livelyProportion {
  23. background: #f5f5f5;
  24. height: 150px;
  25. display: flex;
  26. list-style: none;
  27. }
  28. .livelyProportion>li {
  29. flex: 1;
  30. text-align: center;
  31. margin: auto 0
  32. }
  33. </style>
  34. <script type="text/javascript">
  35. $(document).ready(function () {
  36. });
  37. function page(n, s) {
  38. $("#pageNo").val(n);
  39. $("#pageSize").val(s);
  40. $("#searchForm").submit();
  41. return false;
  42. }
  43. </script>
  44. </head>
  45. <body>
  46. <ul class="nav nav-tabs">
  47. <li><a href="${ctx}/new/user/cmSp/cmSpList/">协销人员列表</a></li>
  48. <shiro:hasPermission name="user:newCmClub:edit">
  49. <li><a href="${ctx}/new/user/cmSp/cmSpForm">添加协销人员</a></li>
  50. </shiro:hasPermission>
  51. <li><a href="${ctx}/serviceteam/cmServiceteamRole/">协销小组</a></li>
  52. <li><a href="${ctx}/new/user/cmSp/leader/">协销总管理员</a></li>
  53. <li class="active"><a href="${ctx}/new/user/cmSp/cmSpLivelyClubList/">机构活跃分析</a></li>
  54. </ul>
  55. <ul class="breadcrumb livelyProportion" >
  56. <li>
  57. <h4>活跃机构</h4>
  58. <br>
  59. <p>(6个月内有登录商城等行为)</p>
  60. <h2>${livelyClub}</h2>
  61. </li>
  62. <li>
  63. <h4>不活跃机构</h4>
  64. <br>
  65. <p>(6个月内未登录商城等行为)</p>
  66. <h2>${nolivelyClub}</h2>
  67. </li>
  68. <li>
  69. <h4>活跃机构占比</h4>
  70. <br>
  71. <h2>${livelyClubProportion}%</h2>
  72. </li>
  73. <li>
  74. <h4>不活跃机构占比</h4>
  75. <br>
  76. <h2>${nolivelyClubProportion}%</h2>
  77. </li>
  78. </ul>
  79. <form:form id="searchForm" modelAttribute="newCmSp" action="${ctx}/new/user/cmSp/cmSpLivelyClubList/" method="post"
  80. class="breadcrumb form-search">
  81. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  82. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  83. <div class="ul-form">
  84. <%-- <label>协销ID:</label>--%>
  85. <%-- <form:input path="serviceProviderID" htmlEscape="false" maxlength="20" class="input-medium"/>--%>
  86. <label>协销姓名:</label>
  87. <form:input path="linkMan" htmlEscape="false" maxlength="20" class="input-medium"/>
  88. <label>手机号:</label>
  89. <form:input path="contractMobile" htmlEscape="false" maxlength="20" class="input-medium"/>
  90. &nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
  91. <div class="clearfix"></div>
  92. </div>
  93. </form:form>
  94. <sys:message content="${message}"/>
  95. <table id="contentTable" class="table table-striped table-bordered table-condensed">
  96. <thead>
  97. <tr>
  98. <th>协销ID</th>
  99. <th>协销姓名</th>
  100. <th>手机号</th>
  101. <th>创建时间</th>
  102. <th>操作</th>
  103. </tr>
  104. </thead>
  105. <tbody>
  106. <c:forEach items="${page.list}" var="newCmSp">
  107. <tr>
  108. <td>${newCmSp.serviceProviderID}</td>
  109. <td>${newCmSp.linkMan}</td>
  110. <td>${newCmSp.contractMobile}</td>
  111. <td>${newCmSp.addTime}</td>
  112. <td>
  113. <a href="${ctx}/new/user/cmSp/cmSpLivelyClubFrom?spID=${newCmSp.serviceProviderID}">查看详情</a>
  114. </td>
  115. </tr>
  116. </c:forEach>
  117. </tbody>
  118. </table>
  119. <div class="pagination">${page}</div>
  120. <script>
  121. </script>
  122. </body>
  123. </html>