123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <%@ page contentType="text/html;charset=UTF-8" %>
- <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
- <html>
- <head>
- <title>查看运营人员</title>
- <meta name="decorator" content="default"/>
- <style type="text/css">
- .table th{text-align: center;}
- .table td{text-align: center;}
- </style>
- </head>
- <body>
- <ul class="nav nav-tabs">
- <li><a href="${ctx}/weisha/cmMallOrganize">组织列表</a></li>
- <li class="active"><a href="${ctx}/weisha/cmMallOrganize/procure?organizeId=${cmOrganizeProcure.organizeId}">采购列表</a></li>
- </ul>
- <form:form id="searchForm" modelAttribute="cmOrganizeProcure" action="${ctx}/weisha/cmMallOrganize/procure" method="post" class="breadcrumb form-search">
- <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
- <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
- <form:hidden path="organizeId"/>
- <div class="ul-form">
- <label>姓名:</label>
- <form:input path="name" htmlEscape="false" maxlength="30" class="input-medium"/>
- <label>手机号:</label>
- <form:input path="mobile" htmlEscape="false" maxlength="11" class="input-medium"/>
- <label>状态:</label>
- <form:select path="status" htmlEscape="false" class="input-medium">
- <form:option value="" label="请选择"/>
- <form:option value="90" label="已上线"/>
- <form:option value="91" label="已下线"/>
- </form:select>
- <label>注册时间:</label>
- <form:input path="startTime" type="text" maxlength="20" class="input-mini Wdate"
- value="${visit.startTime}" cssStyle="width: 130px"
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
- -
- <form:input path="endTime" type="text" maxlength="20" class="input-mini Wdate"
- value="${visit.startTime}" cssStyle="width: 130px"
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
- <input id="btnSubmit" class="btn btn-primary" type="submit" value="搜索"/>
- <div class="clearfix"></div>
- </div>
- </form:form>
- <sys:message content="${message}"/>
- <font color="blue">当前组织:${organizeName}</font>
- <table id="contentTable" class="table table-striped table-bordered table-condensed">
- <thead>
- <tr>
- <th>姓名</th>
- <th>手机号</th>
- <th>关联机构</th>
- <th>状态</th>
- <th>添加时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <c:forEach items="${page.list}" var="procure">
- <tr>
- <td>
- ${procure.name}
- </td>
- <td>
- ${procure.mobile}
- </td>
- <td>
- <c:forEach items="${procure.clubNames}" var="club">
- <p>${club}</p>
- </c:forEach>
- <c:if test="${empty procure.clubNames}">暂未关联机构</c:if>
- </td>
- <td>
- <c:if test="${procure.status eq 90}">
- <font color="green">已上线</font>
- <a href="${ctx}/weisha/cmMallOrganize/setStatus?status=91&id=${procure.serviceProviderId}&organizeId=${procure.organizeId}&userId=${procure.userID}" onclick="return confirmx('确定下线该机构吗?下线后机构将不能登录小程序。', this.href)">下线</a>
- </c:if>
- <c:if test="${procure.status eq 91}">
- <font color="red">已下线</font>
- <a href="${ctx}/weisha/cmMallOrganize/setStatus?status=90&id=${procure.serviceProviderId}&organizeId=${procure.organizeId}&userId=${procure.userID}" onclick="return confirmx('确定上线该机构吗?', this.href)" >上线</a>
- </c:if>
- </td>
- <td>
- <fmt:formatDate value="${procure.addTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
- </td>
- <td>
- <c:if test="${procure.status eq 90 && !empty procure.openid}">
- <a href="${ctx}/weisha/cmMallOrganize/cleanWX?id=${procure.operaId}&operaId=${procure.serviceProviderId}&organizeId=${procure.organizeId}&userId=${procure.userID}"
- onclick="return confirmx('确定解绑该机构微信吗?解绑后需要重新添加。', this.href)">解绑微信</a>
- </c:if>
- <c:if test="${empty procure.openid}"><font color="red">已解绑微信</font></c:if>
- <c:if test="${procure.status ne 90 && !empty procure.openid}"> --- </c:if>
- </td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- <div class="pagination">${page}</div>
- <script type="text/javascript">
- $(document).ready(function() {
- });
- function page(n,s){
- $("#pageNo").val(n);
- $("#pageSize").val(s);
- $("#searchForm").submit();
- return false;
- }
- </script>
- </body>
- </html>
|