Showing
5 changed files
with
232 additions
and
1 deletions
@@ -8,7 +8,7 @@ public class ProjectConstant { | @@ -8,7 +8,7 @@ public class ProjectConstant { | ||
8 | 8 | ||
9 | //左侧菜单的版本号控制 | 9 | //左侧菜单的版本号控制 |
10 | 10 | ||
11 | - public static final String MENU_VERSION = "20180719-001"; | 11 | + public static final String MENU_VERSION = "20180807-002"; |
12 | 12 | ||
13 | 13 | ||
14 | public static final String DEPLOY_IP="10.66.80.23"; | 14 | public static final String DEPLOY_IP="10.66.80.23"; |
1 | +package com.ui.ctrl; | ||
2 | + | ||
3 | +import com.ui.contants.HttpUriContants; | ||
4 | +import com.ui.http.HttpRestClient; | ||
5 | +import org.springframework.beans.factory.annotation.Autowired; | ||
6 | +import org.springframework.stereotype.Controller; | ||
7 | +import org.springframework.ui.Model; | ||
8 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
9 | +import org.springframework.web.bind.annotation.ResponseBody; | ||
10 | +import org.springframework.web.servlet.ModelAndView; | ||
11 | + | ||
12 | +import javax.servlet.ServletException; | ||
13 | +import javax.servlet.http.HttpServletRequest; | ||
14 | +import javax.servlet.http.HttpServletResponse; | ||
15 | +import java.io.IOException; | ||
16 | + | ||
17 | +/** | ||
18 | + * Created by craig.qin on 2017/8/10. | ||
19 | + * 调转到opsmanage项目 | ||
20 | + */ | ||
21 | +@Controller | ||
22 | +@RequestMapping("/orderInfoManage") | ||
23 | +public class OrderInfoManageCtrl { | ||
24 | + | ||
25 | + @Autowired | ||
26 | + private HttpRestClient httpRestClient; | ||
27 | + | ||
28 | + @RequestMapping("/toOrderCheck") | ||
29 | + @ResponseBody | ||
30 | + public ModelAndView toOrderCheck(Model model) { | ||
31 | + | ||
32 | + return new ModelAndView("orderInfoManage/orderInfoCheck"); | ||
33 | + } | ||
34 | + | ||
35 | + @RequestMapping("/loadOrderInfoCheckPage") | ||
36 | + public void toOrderCheck(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | ||
37 | + response.sendRedirect("http://dev.yohops.com/toOrderInfoCheckPageFromOps.do"); | ||
38 | + } | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + @RequestMapping("/toOrderQuery") | ||
43 | + @ResponseBody | ||
44 | + public ModelAndView toOrderQuery(Model model) { | ||
45 | + | ||
46 | + return new ModelAndView("orderInfoManage/orderQuery"); | ||
47 | + } | ||
48 | + | ||
49 | + @RequestMapping("/loadOrderQuery") | ||
50 | + public void loadOrderQuery(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | ||
51 | + response.sendRedirect("http://dev.yohops.com/toQueryOrderPageFromOps.do"); | ||
52 | + } | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | +} |
1 | +<%@page language="java" contentType="text/html;charset=utf-8" %> | ||
2 | +<%@page import="com.ui.contants.ProjectConstant"%> | ||
3 | +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
4 | + | ||
5 | +<% | ||
6 | + String path = request.getContextPath(); | ||
7 | + String basePath = request.getScheme() + "://" | ||
8 | + + request.getServerName() + ":" + request.getServerPort() | ||
9 | + + path + "/"; | ||
10 | +%> | ||
11 | + | ||
12 | +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
13 | +<html> | ||
14 | +<head> | ||
15 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
16 | + <link rel="stylesheet" href="<%=basePath %>css/bootstrap.min.css"/> | ||
17 | + <link rel="stylesheet" href="<%=basePath %>css/bootstrap-datetimepicker.css"/> | ||
18 | + <link href="<%=basePath %>js/bootstrap-plugin/css/bootstrap.table.css" rel="stylesheet" media="screen"/> | ||
19 | + <link rel="stylesheet" href="<%=basePath %>css/bootstrap-responsive.min.css"/> | ||
20 | + <link rel="stylesheet" href="<%=basePath %>css/fullcalendar.css"/> | ||
21 | + <link rel="stylesheet" href="<%=basePath %>css/unicorn.main.css"/> | ||
22 | + <link rel="stylesheet" href="<%=basePath %>css/unicorn.grey.css"/> | ||
23 | + <link rel="stylesheet" href="<%=basePath %>css/jquery-ui.css"/> | ||
24 | + <link rel="stylesheet" href="<%=basePath %>css/uniform.css"/> | ||
25 | + <link rel="stylesheet" href="<%=basePath %>css/select2.css"/> | ||
26 | + <link rel="stylesheet" href="<%=basePath %>js/jstree/themes/proton/style.css"/> | ||
27 | + <link rel="stylesheet" href="<%=basePath %>css/select2.css"/> | ||
28 | + <link rel="stylesheet" href="<%=basePath %>css/yoho.css"/> | ||
29 | + <script src="<%=basePath %>js/excanvas.min.js" charset="UTF-8" type="text/javascript"></script> | ||
30 | + <script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script> | ||
31 | + <script src="<%=basePath %>js/jquery-ui.custom.js" charset="UTF-8" type="text/javascript"></script> | ||
32 | + <script src="<%=basePath %>/js/bootstrap.min.js"></script> | ||
33 | + <script src="<%=basePath %>/js/unicorn.js"></script> | ||
34 | + <script src="<%=basePath %>js/bootstrap-plugin/datetimepicker/moment-with-locales.js" charset="UTF-8" | ||
35 | + type="text/javascript"></script> | ||
36 | + <script src="<%=basePath %>js/bootstrap-plugin/datetimepicker/bootstrap-datetimepicker.js" charset="UTF-8" | ||
37 | + type="text/javascript"></script> | ||
38 | + <script src="<%=basePath %>js/global.js" charset="UTF-8" type="text/javascript"></script> | ||
39 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.pagination.js" charset="UTF-8" | ||
40 | + type="text/javascript"></script> | ||
41 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.table.js" charset="UTF-8" type="text/javascript"></script> | ||
42 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.dialog.js" charset="UTF-8" type="text/javascript"></script> | ||
43 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.form.js" charset="UTF-8" type="text/javascript"></script> | ||
44 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.panel.js" charset="UTF-8" type="text/javascript"></script> | ||
45 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.alerts.js" charset="UTF-8" type="text/javascript"></script> | ||
46 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.accordion.js" charset="UTF-8" | ||
47 | + type="text/javascript"></script> | ||
48 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.breadcrumb.js" charset="UTF-8" | ||
49 | + type="text/javascript"></script> | ||
50 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.validate.js" charset="UTF-8" | ||
51 | + type="text/javascript"></script> | ||
52 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.form.js" charset="UTF-8" type="text/javascript"></script> | ||
53 | + <script src="<%=basePath %>js/layer/layer.js" charset="UTF-8" type="text/javascript"></script> | ||
54 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.select.js" charset="UTF-8" type="text/javascript"></script> | ||
55 | + <script src="<%=basePath %>js/jstree/jstree.min.js"></script> | ||
56 | + <script src="<%=basePath %>js/jquery.toaster.js"></script> | ||
57 | + <script src="<%=basePath %>js/jquery-plugin/jquery.cookies.js" charset="UTF-8" type="text/javascript"></script> | ||
58 | + <script> | ||
59 | + var contextPath = '<%=basePath %>'; | ||
60 | + </script> | ||
61 | + <title></title> | ||
62 | +</head> | ||
63 | +<body> | ||
64 | + | ||
65 | +<!-- 头部 --> | ||
66 | +<div id="head"> | ||
67 | +</div> | ||
68 | +<!-- 右侧具体内容 --> | ||
69 | +<div id="content"> | ||
70 | + <iframe src="<%=basePath %>/orderInfoManage/loadOrderInfoCheckPage" id="iframepage" frameborder="0" scrolling="auto" width="100%" height="800px"> | ||
71 | + </iframe> | ||
72 | +</div> | ||
73 | + | ||
74 | +<script src="<%=basePath %>script/common/genarate_left_panel.js?v=<%=ProjectConstant.MENU_VERSION %>"></script> | ||
75 | +<script> | ||
76 | + $("#li_orderInfoManage").addClass("active open"); | ||
77 | + $("#li_orderInfoManageCheck").addClass("active"); | ||
78 | +</script> | ||
79 | +</body> | ||
80 | +</html> | ||
81 | + | ||
82 | +<script> | ||
83 | + | ||
84 | +</script> |
1 | +<%@page language="java" contentType="text/html;charset=utf-8" %> | ||
2 | +<%@page import="com.ui.contants.ProjectConstant"%> | ||
3 | +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
4 | + | ||
5 | +<% | ||
6 | + String path = request.getContextPath(); | ||
7 | + String basePath = request.getScheme() + "://" | ||
8 | + + request.getServerName() + ":" + request.getServerPort() | ||
9 | + + path + "/"; | ||
10 | +%> | ||
11 | + | ||
12 | +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
13 | +<html> | ||
14 | +<head> | ||
15 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
16 | + <link rel="stylesheet" href="<%=basePath %>css/bootstrap.min.css"/> | ||
17 | + <link rel="stylesheet" href="<%=basePath %>css/bootstrap-datetimepicker.css"/> | ||
18 | + <link href="<%=basePath %>js/bootstrap-plugin/css/bootstrap.table.css" rel="stylesheet" media="screen"/> | ||
19 | + <link rel="stylesheet" href="<%=basePath %>css/bootstrap-responsive.min.css"/> | ||
20 | + <link rel="stylesheet" href="<%=basePath %>css/fullcalendar.css"/> | ||
21 | + <link rel="stylesheet" href="<%=basePath %>css/unicorn.main.css"/> | ||
22 | + <link rel="stylesheet" href="<%=basePath %>css/unicorn.grey.css"/> | ||
23 | + <link rel="stylesheet" href="<%=basePath %>css/jquery-ui.css"/> | ||
24 | + <link rel="stylesheet" href="<%=basePath %>css/uniform.css"/> | ||
25 | + <link rel="stylesheet" href="<%=basePath %>css/select2.css"/> | ||
26 | + <link rel="stylesheet" href="<%=basePath %>js/jstree/themes/proton/style.css"/> | ||
27 | + <link rel="stylesheet" href="<%=basePath %>css/select2.css"/> | ||
28 | + <link rel="stylesheet" href="<%=basePath %>css/yoho.css"/> | ||
29 | + <script src="<%=basePath %>js/excanvas.min.js" charset="UTF-8" type="text/javascript"></script> | ||
30 | + <script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script> | ||
31 | + <script src="<%=basePath %>js/jquery-ui.custom.js" charset="UTF-8" type="text/javascript"></script> | ||
32 | + <script src="<%=basePath %>/js/bootstrap.min.js"></script> | ||
33 | + <script src="<%=basePath %>/js/unicorn.js"></script> | ||
34 | + <script src="<%=basePath %>js/bootstrap-plugin/datetimepicker/moment-with-locales.js" charset="UTF-8" | ||
35 | + type="text/javascript"></script> | ||
36 | + <script src="<%=basePath %>js/bootstrap-plugin/datetimepicker/bootstrap-datetimepicker.js" charset="UTF-8" | ||
37 | + type="text/javascript"></script> | ||
38 | + <script src="<%=basePath %>js/global.js" charset="UTF-8" type="text/javascript"></script> | ||
39 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.pagination.js" charset="UTF-8" | ||
40 | + type="text/javascript"></script> | ||
41 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.table.js" charset="UTF-8" type="text/javascript"></script> | ||
42 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.dialog.js" charset="UTF-8" type="text/javascript"></script> | ||
43 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.form.js" charset="UTF-8" type="text/javascript"></script> | ||
44 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.panel.js" charset="UTF-8" type="text/javascript"></script> | ||
45 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.alerts.js" charset="UTF-8" type="text/javascript"></script> | ||
46 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.accordion.js" charset="UTF-8" | ||
47 | + type="text/javascript"></script> | ||
48 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.breadcrumb.js" charset="UTF-8" | ||
49 | + type="text/javascript"></script> | ||
50 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.validate.js" charset="UTF-8" | ||
51 | + type="text/javascript"></script> | ||
52 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.form.js" charset="UTF-8" type="text/javascript"></script> | ||
53 | + <script src="<%=basePath %>js/layer/layer.js" charset="UTF-8" type="text/javascript"></script> | ||
54 | + <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.select.js" charset="UTF-8" type="text/javascript"></script> | ||
55 | + <script src="<%=basePath %>js/jstree/jstree.min.js"></script> | ||
56 | + <script src="<%=basePath %>js/jquery.toaster.js"></script> | ||
57 | + <script src="<%=basePath %>js/jquery-plugin/jquery.cookies.js" charset="UTF-8" type="text/javascript"></script> | ||
58 | + <script> | ||
59 | + var contextPath = '<%=basePath %>'; | ||
60 | + </script> | ||
61 | + <title></title> | ||
62 | +</head> | ||
63 | +<body> | ||
64 | + | ||
65 | +<!-- 头部 --> | ||
66 | +<div id="head"> | ||
67 | +</div> | ||
68 | +<!-- 右侧具体内容 --> | ||
69 | +<div id="content"> | ||
70 | + <iframe src="<%=basePath %>/orderInfoManage/loadOrderQuery" id="iframepage" frameborder="0" scrolling="auto" width="100%" height="800px"> | ||
71 | + </iframe> | ||
72 | +</div> | ||
73 | + | ||
74 | +<script src="<%=basePath %>script/common/genarate_left_panel.js?v=<%=ProjectConstant.MENU_VERSION %>"></script> | ||
75 | +<script> | ||
76 | + $("#li_orderInfoManage").addClass("active open"); | ||
77 | + $("#li_orderInfoManageQuery").addClass("active"); | ||
78 | +</script> | ||
79 | +</body> | ||
80 | +</html> | ||
81 | + | ||
82 | +<script> | ||
83 | + | ||
84 | +</script> |
@@ -176,6 +176,11 @@ innerHTML += "<li id='li_redis_operate'><a id='li_redis_operate_a' href=''>REDIS | @@ -176,6 +176,11 @@ innerHTML += "<li id='li_redis_operate'><a id='li_redis_operate_a' href=''>REDIS | ||
176 | innerHTML += "<li id='li_docker_log'><a id='li_docker_log_a' href=''>Docker日志检索</a></li>"; | 176 | innerHTML += "<li id='li_docker_log'><a id='li_docker_log_a' href=''>Docker日志检索</a></li>"; |
177 | innerHTML += "</ul></li>";/*其他*/ | 177 | innerHTML += "</ul></li>";/*其他*/ |
178 | 178 | ||
179 | +innerHTML += "<li class='submenu' id='li_orderInfoManage'><a id='li_other_a' href='#'><i class='icon icon-th-list'></i> <span>订单管理</span><span class='label'>2</span></a>"; | ||
180 | +innerHTML += "<ul>"; | ||
181 | +innerHTML += "<li id='li_orderInfoManageCheck'><a id='li_orderInfoManageCheck_a' href=''><i class='icon icon-th'></i> <span>OrderInfoCheck</span></a></li>"; | ||
182 | +innerHTML += "<li id='li_orderInfoManageQuery'><a id='li_orderInfoManageQuery_a' href=''><i class='icon icon-th'></i> <span>订单查询</span></a></li>"; | ||
183 | +innerHTML += "</ul></li>";/*其他*/ | ||
179 | /*任务中心 */ | 184 | /*任务中心 */ |
180 | innerHTML += "<li id='li_crm_job'><a id='li_crm_job_a' ><i class='icon icon-th'></i><span>任务中心</span><span class='label'>0</span></a></li>"; | 185 | innerHTML += "<li id='li_crm_job'><a id='li_crm_job_a' ><i class='icon icon-th'></i><span>任务中心</span><span class='label'>0</span></a></li>"; |
181 | 186 | ||
@@ -267,6 +272,8 @@ document.getElementById("li_docker_monitor_service_a").setAttribute("href", path | @@ -267,6 +272,8 @@ document.getElementById("li_docker_monitor_service_a").setAttribute("href", path | ||
267 | //document.getElementById("li_lbswitch_a").setAttribute("href", path + "/lbSwitch/toLbSwitch"); | 272 | //document.getElementById("li_lbswitch_a").setAttribute("href", path + "/lbSwitch/toLbSwitch"); |
268 | // document.getElementById("li_monit_a").setAttribute("href",path+"/monit/toMonit"); | 273 | // document.getElementById("li_monit_a").setAttribute("href",path+"/monit/toMonit"); |
269 | document.getElementById("li_sqlOpLogs_a").setAttribute("href",path+"/sqlOperate/sqlLogs"); | 274 | document.getElementById("li_sqlOpLogs_a").setAttribute("href",path+"/sqlOperate/sqlLogs"); |
275 | +document.getElementById("li_orderInfoManageCheck_a").setAttribute("href",path+"/orderInfoManage/toOrderCheck"); | ||
276 | +document.getElementById("li_orderInfoManageQuery_a").setAttribute("href",path+"/orderInfoManage/toOrderQuery"); | ||
270 | document.getElementById("li_mysql_a").setAttribute("href",path+"/mysqlMonitor/toMysqlMonitor"); | 277 | document.getElementById("li_mysql_a").setAttribute("href",path+"/mysqlMonitor/toMysqlMonitor"); |
271 | /*document.getElementById("li_ABTestConfig_a").setAttribute("href",path+"/abtestConfig/toABTestConfig"); | 278 | /*document.getElementById("li_ABTestConfig_a").setAttribute("href",path+"/abtestConfig/toABTestConfig"); |
272 | document.getElementById("li_ABTestTotal_a").setAttribute("href",path+"/abtestTotal/toABTestTotal");*/ | 279 | document.getElementById("li_ABTestTotal_a").setAttribute("href",path+"/abtestTotal/toABTestTotal");*/ |
-
Please register or login to post a comment