瀏覽代碼

指南针

huangzhiguo 2 年之前
父節點
當前提交
414d2426ad

+ 7 - 0
src/main/java/com/caimei/modules/user/web/newUser/AgencyController.java

@@ -1404,6 +1404,13 @@ public class AgencyController extends BaseController {
         return map;
     }
 
+    @RequestMapping(value = "/statisticsList")
+    public String statisticsList(NewCmClub newCmClub, HttpServletRequest request, HttpServletResponse response, Model model) {
+
+        model.addAttribute("newCmClub",newCmClub);
+        return "modules/userNew/cmAgencyStatisticsList";
+    }
+
     @RequestMapping("/clubPortrait")
     public String clubPortrait(CmPortrait cmPortrait, Model model) {
         CmPortrait portrait = portraitService.dataTotal(cmPortrait);

+ 204 - 0
src/main/webapp/WEB-INF/views/modules/userNew/cmAgencyStatisticsList.jsp

@@ -0,0 +1,204 @@
+<%@ 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">
+        .reg-row .new-tag.active{border:1px solid #de5801}
+        .reg-row{margin-bottom:20px}
+        .reg-row .reg-label{display:inline-block;width:120px;text-align:right;font-size:13px}
+        .the-oradio{display:inline-block;vertical-align:top}
+        .the-oradio div{width:85px;display:inline-block;font-size:12px;color:#666}
+        .the-oradio div input[type="radio"]{width:17px;height:17px;margin-right:5px;vertical-align:text-top}
+        .med-option{display:block;margin:10px 0 0 125px}
+        .reg-row .business-license{position:relative;display:inline-block;width:166px;height:123px;border-radius:6px;margin:18px 0 0 125px}
+        #medicalPracticeLicenseImgPreview{display:inline-block}
+        .qualification{margin-top:20px}
+        .reg-row .tags-area{display:inline-block;width:420px}
+        .reg-row .new-tag{display:inline-block;width:70px;border:1px solid #e5e5e5;border-radius:6px;padding:5px;margin-right:14px;margin-bottom:14px;text-align:center;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
+        .reg-row .tags-operate{margin-left:125px}
+        .reg-row .reg-input{width:336px;height:32px;padding:0 8px;margin-right:20px;border:1px solid #dcdcdc;border-radius:6px}
+        .reg-row .tags-operate .tag-input{width:159px;margin-right:13px;display:none;vertical-align:top}
+        .reg-row .tags-operate .tag-add{line-height:20px;vertical-align:middle;margin-bottom:0;vertical-align:top}
+        .reg-row .tags-area{vertical-align:top}
+        .tag-add{display:none}
+        .table th{text-align:center}
+        .table td{text-align:center}
+        .modal{width:700px;margin-left:-350px}
+        #myModal{display:none}
+        .modal-body{max-height:300px !important}
+        .modal.fade.in{top:0 !important}
+        #btnSubmit{margin-left:20px}
+        .flex-wrap .item{margin-right:20px}
+        #auditBox{padding:20px;line-height:30px}
+        #auditBox .bd-row{display:flex;margin-bottom:15px}
+        #auditBox .bd-row > span{display:inline-block;width:60px}
+        #auditBox .auditCheckBox{width:250px}
+        #auditBox .auditCheckBox label{margin:0 5px 5px 0}
+        #auditBox .auditCheckBox input{display:none}
+        #auditBox .auditCheckBox input + span{display:inline-block;line-height:24px;padding:0 12px;border:1px solid #666;border-radius:5px}
+        #auditBox .auditCheckBox input:checked + span{background-color:#E6633A}
+        #alertModal{width:300px;height:200px;border:1px solid #ebebeb;border-radius:10px;position:fixed;top:0;bottom:0;left:0;right:0;margin:auto;background:#FFFFFF;display:none}
+        #alertModal .title{height:50px;line-height:50px;font-size:14px;font-weight:bold;text-align:center;position:relative;border-bottom:1px solid #EBEBEB}
+        #alertModal .close{width:50px;height:50px;display:block;position:absolute;right:0;top:0;line-height:50px;color:#000;font-weight:bold;text-align:center;font-style:normal;font-size:18px}
+        #alertModal .alert-content{width:260px;height:60px;padding:20px}
+        #alertModal .alertModal-btn{width:260px;height:49px;padding:0 20px;border-top:1px solid #EBEBEB}
+        #alertModal .alertModal-btn button{float:right;margin:5px}
+        .acticer_span{display: inline-block;width: 14px;height: 14px;border-radius: 50%;box-sizing: border-box;border: 1px solid #999999;text-align: center;color: #333333;font-size: 12px;line-height: 14px;float: none;margin-left: 3px;}
+    </style>
+</head>
+<body>
+<ul class="nav nav-tabs">
+    <li class="active"><a href="${ctx}/new/user/agency/">机构列表</a></li>
+    <li><a href="${ctx}/user/clubTemporary/">未确认机构</a></li>
+    <li><a href="${ctx}/user/cmOperational/">操作日志</a></li>
+</ul>
+<form:form id="searchForm" modelAttribute="newCmClub" action="${ctx}/new/user/agency/" 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}"/>
+    <div class="flex-wrap">
+        <div class="item">
+            <label>注册时间:</label>
+            <form:input path="registerStartTime" type="text" maxlength="20" class="input-mini Wdate" value="${startTime}"
+                        onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
+            -
+            <form:input path="registerEndTime" type="text" maxlength="20" class="input-mini Wdate" value="${endTime}"
+                        onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
+        </div>
+        <div class="item">
+            <label>最近下单时间:</label>
+            <form:input path="searchStartTime" type="text" maxlength="20" class="input-mini Wdate" value="${startTime}"
+                        onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
+            -
+            <form:input path="searchEndTime" type="text" maxlength="20" class="input-mini Wdate" value="${endTime}"
+                        onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
+        </div>
+        <label class="control-label">机构类型:</label>
+        <form:select path="customerValue" class="input-medium">
+            <form:option value="" label="请选择"/>
+            <form:option value="1" label="医美"/>
+            <form:option value="2" label="生美"/>
+            <form:option value="3" label="项目公司"/>
+            <form:option value="4" label="个人"/>
+            <form:option value="0" label="其他"/>
+        </form:select>
+        <div class="item">
+            <label>机构级别:</label>
+            <form:select path="searchUserIdentity" class="input-medium">
+                <form:option value="" label="请选择"/>
+                <form:option value="4" label="个人机构"/>
+                <form:option value="2" label="资质机构"/>
+                <form:option value="8" label="超级会员"/>
+            </form:select>
+        </div>
+
+        <label class="control-label">客户价值:</label>
+        <form:select path="customerValue" class="input-medium">
+            <form:option value="" label="请选择"/>
+            <form:option value="一般保持客户" label="一般保持客户"/>
+            <form:option value="一般发展客户" label="一般发展客户"/>
+            <form:option value="一般价值客户" label="一般价值客户"/>
+            <form:option value="一般挽留客户" label="一般挽留客户"/>
+            <form:option value="重要保持客户" label="重要保持客户"/>
+            <form:option value="重要发展客户" label="重要发展客户"/>
+            <form:option value="重要价值客户" label="重要价值客户"/>
+            <form:option value="重要挽留客户" label="重要挽留客户"/>
+        </form:select>
+
+        <div class="item">
+            <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
+        </div>
+    </div>
+</form:form>
+<sys:message content="${message}"/>
+<table id="contentTable" class="table table-striped table-bordered table-condensed">
+    <thead>
+    <tr>
+        <th>机构ID</th>
+        <th>机构名称</th>
+        <th>联系人</th>
+        <th>手机号</th>
+        <th>协销人员</th>
+        <th>状态</th>
+        <th>机构类别</th>
+        <th>注册时间</th>
+        <th>操作</th>
+    </tr>
+    </thead>
+    <tbody>
+    <c:forEach items="${page.list}" var="newCmClubList">
+        <tr>
+            <td>${newCmClubList.clubID}</td>
+            <td>
+                ${newCmClubList.name}
+            </td>
+            <td>
+                    ${newCmClubList.userName}
+            </td>
+
+            <td>
+                    ${newCmClubList.bindMobile}
+            </td>
+            <td>
+                    ${newCmClubList.spName}
+            </td>
+            <td>
+                <c:choose>
+                    <c:when test="${newCmClubList.status eq 90}">
+                        <font color="green">已上线</font>
+                        &nbsp;&nbsp;<a href="${ctx}/new/user/agency/offline?id=${newCmClubList.clubID}&searchName=${newCmClub.searchName}&searchUserName=${newCmClub.searchUserName}&searchBindMobile=${newCmClub.searchBindMobile}&searchEmail=${newCmClub.searchEmail}&searchUserOrganizeID=${newCmClub.searchUserOrganizeID}&searchStatus=${newCmClub.searchStatus}&searchUserIdentity=${newCmClub.searchUserIdentity}&searchStartTime=${newCmClub.searchStartTime}&searchEndTime=${newCmClub.searchEndTime}" onclick="return confirmx('确定下线该会所吗?', this.href)" style="text-decoration:underline;">下线</a>
+                        <%--                        </c:if>--%>
+                    </c:when>
+                    <c:when test="${newCmClubList.status eq 91}">
+                        <font color="red">已下线</font>
+                        <%--                        <c:if test="${newCmClubList.userOrganizeID eq null or newCmClubList.userOrganizeID eq 0}">--%>
+                        &nbsp;&nbsp;<a href="${ctx}/new/user/agency/online?id=${newCmClubList.clubID}&searchName=${newCmClub.searchName}&searchUserName=${newCmClub.searchUserName}&searchBindMobile=${newCmClub.searchBindMobile}&searchEmail=${newCmClub.searchEmail}&searchUserOrganizeID=${newCmClub.searchUserOrganizeID}&searchStatus=${newCmClub.searchStatus}&searchUserIdentity=${newCmClub.searchUserIdentity}&searchStartTime=${newCmClub.searchStartTime}&searchEndTime=${newCmClub.searchEndTime}" onclick="return confirmx('确定上线该会所吗?', this.href)" style="text-decoration:underline;">上线</a>
+                        <%--                        </c:if>--%>
+                    </c:when>
+                    <c:when test="${newCmClubList.status eq 92}">
+                        <a href="JavaScript:;" onclick="return alertx('不通过原因:${newCmClubList.auditNote}')"
+                           style="text-decoration:underline;"><font color="red">审核未通过</font></a>
+                    </c:when>
+                    <c:when test="${newCmClubList.status eq 93}">
+                        <font color="#BF826C">已确认</font>
+                    </c:when>
+                    <c:when test="${newCmClubList.status eq 94}">
+                        <font color="red">已冻结</font>
+                    </c:when>
+                    <c:otherwise>
+                        ${fns:getDictLabel(newCmClubList.status, 'club_status', newCmClubList.status)}
+                    </c:otherwise>
+                </c:choose>
+            </td>
+            <td>
+                <c:if test="${newCmClubList.userIdentity eq 4}">
+                    个人机构
+                </c:if>
+                <c:if test="${newCmClubList.userIdentity eq 2}">
+                    资质机构
+                </c:if>
+                <c:if test="${newCmClubList.svipUserFlag eq 1}">
+                    <font color="red">(超级会员)</font>
+                </c:if>
+                <c:if test="${newCmClubList.userIdentity eq 2 and newCmClubList.svipUserFlag eq 0}">
+                    <font color="red">(普通会员)</font>
+                </c:if>
+            </td>
+            <td>
+                <fmt:formatDate value="${newCmClubList.registerTime}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate>
+            </td>
+            <td>
+                <a href="${ctx}/new/user/agency/clubPortrait?clubID=${newCmClubList.clubID}&clubName=${newCmClubList.name}&dateType=0&type=4">查看详情</a>
+            </td>
+        </tr>
+    </c:forEach>
+    </tbody>
+</table>
+<div class="pagination">${page}</div>nixuel
+<script type="text/javascript">
+
+</script>
+</body>
+</html>