huangzhiguo 1 年之前
父節點
當前提交
8a074b315c

+ 27 - 17
src/main/webapp/WEB-INF/views/modules/userNew/cmRegistRemarksList.jsp

@@ -60,6 +60,13 @@
             $("#searchForm").submit();
             return false;
         }
+        function getNewManager() {
+            var link = "";
+            $.get("${ctx}/jump/link", function (data) {
+                link = "https://manager.caimei365.com/#/user/consult/list?token=" + data;
+                window.open(link, "_blank");
+            });
+        }
     </script>
     <style>
         .table th {
@@ -72,7 +79,10 @@
     </style>
 </head>
 <body>
-<ul class="nav nav-tabs">
+<h1>
+    <input type="button" onclick="getNewManager()" value="点此前往新后台"></input>
+</h1>
+<%--<ul class="nav nav-tabs">
     <shiro:hasPermission name="user:agency:regist">
         <li class="active"><a href="${ctx}/new/user/agency/regist">已注册用户咨询记录</a></li>
     </shiro:hasPermission>
@@ -85,9 +95,9 @@
     <shiro:hasPermission name="user:agency:cmConsulttype">
         <li><a href="${ctx}/consult/type/cmConsulttype/">咨询类别设置</a></li>
     </shiro:hasPermission>
-<%--    <shiro:hasPermission name="user:agency:cmrenaksList">
+&lt;%&ndash;    <shiro:hasPermission name="user:agency:cmrenaksList">
         <li><a href="${ctx}/new/user/agency/cmrenaksList">咨询关键词库</a></li>
-    </shiro:hasPermission>--%>
+    </shiro:hasPermission>&ndash;%&gt;
 </ul>
 <br/>
 <form:form id="searchForm" modelAttribute="cmClubRemarks" action="${ctx}/new/user/agency/regist" method="post"
@@ -141,14 +151,14 @@
                         value="${cmClubRemarks.endAddTime}" cssStyle="width: 130px"
                         onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
         </div>
-        <%--<div class="item">
+        &lt;%&ndash;<div class="item">
             <label>新分配机构:</label>
             <form:select path="newDeal" class="input-medium">
                 <form:option value="" label="请选择"/>
                 <form:option value="1">是</form:option>
                 <form:option value="2">否</form:option>
             </form:select>
-        </div>--%>
+        </div>&ndash;%&gt;
         <div class="item">
             &nbsp;&nbsp;&nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
         </div>
@@ -161,12 +171,12 @@
             <c:forEach items="${page.list}" var="clubRemarks" varStatus="remark">
                 <div class="td clear" style="dashed:#0066CC;">
                     <div style="font-weight: bold;width: 100%;float: left;">
-                            <%--                        <c:if test="${not empty clubRemarks.oldName}">--%>
-                            <%--                            <span style="float: left;">${clubRemarks.oldName}</span>--%>
-                            <%--                        </c:if>--%>
-                            <%--                        <c:if test="${empty clubRemarks.oldName}">--%>
-                            <%--                            <span style="float: left;">${clubRemarks.spName}</span>--%>
-                            <%--                        </c:if>--%>
+                            &lt;%&ndash;                        <c:if test="${not empty clubRemarks.oldName}">&ndash;%&gt;
+                            &lt;%&ndash;                            <span style="float: left;">${clubRemarks.oldName}</span>&ndash;%&gt;
+                            &lt;%&ndash;                        </c:if>&ndash;%&gt;
+                            &lt;%&ndash;                        <c:if test="${empty clubRemarks.oldName}">&ndash;%&gt;
+                            &lt;%&ndash;                            <span style="float: left;">${clubRemarks.spName}</span>&ndash;%&gt;
+                            &lt;%&ndash;                        </c:if>&ndash;%&gt;
                         <span style="float: left;">${clubRemarks.spName}</span>
                         <span style="float: left;margin-left:20px;"><fmt:formatDate value="${clubRemarks.addTime}"
                                                                                     pattern="yyyy-MM-dd HH:mm"/></span>
@@ -184,7 +194,7 @@
                         <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
                             机构名称:
                         </div>
-                        <div style="width: 150px;float: left;margin: 10px 0;">${clubRemarks.clubName}<%--<c:if test="${clubRemarks.newDeal eq 1}"><span style="color: red">(新分配)</span></c:if>--%></div>
+                        <div style="width: 150px;float: left;margin: 10px 0;">${clubRemarks.clubName}&lt;%&ndash;<c:if test="${clubRemarks.newDeal eq 1}"><span style="color: red">(新分配)</span></c:if>&ndash;%&gt;</div>
                         <c:if test="${not empty clubRemarks.clubType}">
                             <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
                                 机构类型:
@@ -209,7 +219,7 @@
                                 供应商名称:${clubRemarks.shopName}
 
                             </div>
-                            <%--                            <span style="width: 300px;float: left;margin: 10px 0;">${clubRemarks.shopName}</span>--%>
+                            &lt;%&ndash;                            <span style="width: 300px;float: left;margin: 10px 0;">${clubRemarks.shopName}</span>&ndash;%&gt;
                         </c:if>
                     </div>
                     <c:if test="${not empty clubRemarks.proName}">
@@ -344,9 +354,9 @@
         </div>
         <div class="pagination">${page}</div>
     </c:if>
-    <%--    <c:if test="${empty page.list}">--%>
-    <%--        <font size="3" style="text-align: center;display: block;line-height: 80px;" color="#0066CC">暂无任何备注..</font>--%>
-    <%--    </c:if>--%>
-</form:form>
+    &lt;%&ndash;    <c:if test="${empty page.list}">&ndash;%&gt;
+    &lt;%&ndash;        <font size="3" style="text-align: center;display: block;line-height: 80px;" color="#0066CC">暂无任何备注..</font>&ndash;%&gt;
+    &lt;%&ndash;    </c:if>&ndash;%&gt;
+</form:form>--%>
 </body>
 </html>

+ 12 - 2
src/main/webapp/WEB-INF/views/modules/userNew/cmVisitList.jsp

@@ -254,10 +254,20 @@
             $("#searchForm").submit();
             return false;
         }
+        function getNewManager() {
+            var link = "";
+            $.get("${ctx}/jump/link", function (data) {
+                link = "https://manager.caimei365.com/#/user/consult/unreg-list?token=" + data;
+                window.open(link, "_blank");
+            });
+        }
     </script>
 </head>
 <body>
-<ul class="nav nav-tabs">
+<h1>
+    <input type="button" onclick="getNewManager()" value="点此前往新后台"></input>
+</h1>
+<%--<ul class="nav nav-tabs">
     <li class="active"><a href="${ctx}/new/user/visit/">未注册用户咨询记录</a></li>
 </ul>
 <form:form id="searchForm" modelAttribute="visitRemark" action="${ctx}/new/user/visit/remark" method="post"
@@ -338,6 +348,6 @@
     </c:forEach>
     </tbody>
 </table>
-<div class="pagination">${page}</div>
+<div class="pagination">${page}</div>--%>
 </body>
 </html>