cmProcure.jsp 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. </head>
  12. <body>
  13. <ul class="nav nav-tabs">
  14. <li><a href="${ctx}/weisha/cmMallOrganize">组织列表</a></li>
  15. <li class="active"><a href="${ctx}/weisha/cmMallOrganize/procure?organizeId=${cmOrganizeProcure.organizeId}">采购列表</a></li>
  16. </ul>
  17. <form:form id="searchForm" modelAttribute="cmOrganizeProcure" action="${ctx}/weisha/cmMallOrganize/procure" method="post" class="breadcrumb form-search">
  18. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  19. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  20. <form:hidden path="organizeId"/>
  21. <div class="ul-form">
  22. <label>姓名:</label>
  23. <form:input path="name" htmlEscape="false" maxlength="30" class="input-medium"/>
  24. <label>手机号:</label>
  25. <form:input path="mobile" htmlEscape="false" maxlength="11" class="input-medium"/>
  26. <label>状态:</label>
  27. <form:select path="status" htmlEscape="false" class="input-medium">
  28. <form:option value="" label="请选择"/>
  29. <form:option value="90" label="已上线"/>
  30. <form:option value="91" label="已下线"/>
  31. </form:select>
  32. <label>注册时间:</label>
  33. <form:input path="startTime" type="text" maxlength="20" class="input-mini Wdate"
  34. value="${visit.startTime}" cssStyle="width: 130px"
  35. onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
  36. -
  37. <form:input path="endTime" type="text" maxlength="20" class="input-mini Wdate"
  38. value="${visit.startTime}" cssStyle="width: 130px"
  39. onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
  40. &nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="搜索"/>
  41. <div class="clearfix"></div>
  42. </div>
  43. </form:form>
  44. <sys:message content="${message}"/>
  45. <font color="blue">当前组织:${organizeName}</font>
  46. <table id="contentTable" class="table table-striped table-bordered table-condensed">
  47. <thead>
  48. <tr>
  49. <th>姓名</th>
  50. <th>手机号</th>
  51. <th>关联机构</th>
  52. <th>状态</th>
  53. <th>添加时间</th>
  54. <th>操作</th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. <c:forEach items="${page.list}" var="procure">
  59. <tr>
  60. <td>
  61. ${procure.name}
  62. </td>
  63. <td>
  64. ${procure.mobile}
  65. </td>
  66. <td>
  67. <c:forEach items="${procure.clubNames}" var="club">
  68. <p>${club}</p>
  69. </c:forEach>
  70. <c:if test="${empty procure.clubNames}">暂未关联机构</c:if>
  71. </td>
  72. <td>
  73. <c:if test="${procure.status eq 90}">
  74. <font color="green">已上线</font>
  75. <a href="${ctx}/weisha/cmMallOrganize/setStatus?status=91&id=${procure.serviceProviderId}&organizeId=${procure.organizeId}&userId=${procure.userID}" onclick="return confirmx('确定下线该机构吗?下线后机构将不能登录小程序。', this.href)">下线</a>
  76. </c:if>
  77. <c:if test="${procure.status eq 91}">
  78. <font color="red">已下线</font>
  79. <a href="${ctx}/weisha/cmMallOrganize/setStatus?status=90&id=${procure.serviceProviderId}&organizeId=${procure.organizeId}&userId=${procure.userID}" onclick="return confirmx('确定上线该机构吗?', this.href)" >上线</a>
  80. </c:if>
  81. </td>
  82. <td>
  83. <fmt:formatDate value="${procure.addTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
  84. </td>
  85. <td>
  86. <c:if test="${procure.status eq 90 && !empty procure.openid}">
  87. <a href="${ctx}/weisha/cmMallOrganize/cleanWX?id=${procure.operaId}&operaId=${procure.serviceProviderId}&organizeId=${procure.organizeId}&userId=${procure.userID}"
  88. onclick="return confirmx('确定解绑该机构微信吗?解绑后需要重新添加。', this.href)">解绑微信</a>
  89. </c:if>
  90. <c:if test="${empty procure.openid}"><font color="red">已解绑微信</font></c:if>
  91. <c:if test="${procure.status ne 90 && !empty procure.openid}"> --- </c:if>
  92. </td>
  93. </tr>
  94. </c:forEach>
  95. </tbody>
  96. </table>
  97. <div class="pagination">${page}</div>
  98. <script type="text/javascript">
  99. $(document).ready(function() {
  100. });
  101. function page(n,s){
  102. $("#pageNo").val(n);
  103. $("#pageSize").val(s);
  104. $("#searchForm").submit();
  105. return false;
  106. }
  107. </script>
  108. </body>
  109. </html>