initial commit
This commit is contained in:
145
WebRoot/page/systemManage/guide/configGuide.jsp
Normal file
145
WebRoot/page/systemManage/guide/configGuide.jsp
Normal file
@@ -0,0 +1,145 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":"
|
||||
+ request.getServerPort() + path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_cg.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/smart_wizard.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.smartWizard-2.0.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#wizard").smartWizard();
|
||||
})
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" align="center" border="0" cellpadding="0"
|
||||
cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Smart Wizard -->
|
||||
<div id="wizard" class="swMain">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#step-1"> <label class="stepNumber">
|
||||
1
|
||||
</label> <span class="stepDesc"> i18n_cg.text.userGroup_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-2"> <label class="stepNumber">
|
||||
2
|
||||
</label> <span class="stepDesc"> i18n_cg.text.room_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-3"> <label class="stepNumber">
|
||||
3
|
||||
</label> <span class="stepDesc"> i18n_cg.text.box_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-4"> <label class="stepNumber">
|
||||
4
|
||||
</label> <span class="stepDesc"> i18n_cg.text.box_n81i<br />
|
||||
<small>i18n_cg.text.indecate_n81i</small> </span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-5"> <label class="stepNumber">
|
||||
5
|
||||
</label> <span class="stepDesc"> i18n_cg.text.mission_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-6"> <label class="stepNumber">
|
||||
6
|
||||
</label> <span class="stepDesc"> i18n_cg.text.decateType_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-7"> <label class="stepNumber">
|
||||
7
|
||||
</label> <span class="stepDesc"> i18n_cg.text.decateDate_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-8"> <label class="stepNumber">
|
||||
8
|
||||
</label> <span class="stepDesc"> i18n_cg.text.decateSets_n81i</span> </a>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="step-1" class="setp_content">
|
||||
<iframe name="I1" width="100%" height="100%"
|
||||
src="<c:url value='/sysManage/userGroupPerssion.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-2" class="setp_content">
|
||||
<iframe name="I2" width="100%" height="100%"
|
||||
src="<c:url value='/nodePosition/roomManage.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-3" class="setp_content">
|
||||
<iframe name="I3" width="100%" height="100%"
|
||||
src="<c:url value='/nodePosition/boxSet.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-4" class="setp_content">
|
||||
<iframe name="I4" width="100%" height="100%"
|
||||
src="<c:url value='/nodeGroupManage/nodeGroupManage.do?action=queryNodeGroupInfo'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-5" class="setp_content">
|
||||
<iframe name="I5" width="100%" height="100%"
|
||||
src="<c:url value='/nmstaskManager/nmsTaskManager.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-6" class="setp_content">
|
||||
<iframe name="I6" width="100%" height="100%"
|
||||
src="<c:url value='/detection/checkTypeSet.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-7" class="setp_content">
|
||||
<iframe name="I7" width="100%" height="100%"
|
||||
src="<c:url value='/detection/monitorData.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-8" class="setp_content">
|
||||
<iframe name="I8" width="100%" height="100%"
|
||||
src="<c:url value='/detection/detectionSet.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="no">
|
||||
i18n_cg.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End SmartWizard Content -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
276
WebRoot/page/systemManage/guide/guideIndex.jsp
Normal file
276
WebRoot/page/systemManage/guide/guideIndex.jsp
Normal file
@@ -0,0 +1,276 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_gi.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet" type="text/css" />
|
||||
<link href="<%=path%>/css/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css"/>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script type="text/javascript" src="<%=path%>/js/ui/jquery-ui.min.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
//goto业务系统管理
|
||||
function gotoYwxt(){
|
||||
document.form3.action ="<%=path%>/sysManage/systemManage.do?action=query";
|
||||
document.form3.submit();
|
||||
}
|
||||
//goto用户组
|
||||
function gotoYhz(){
|
||||
document.form3.action ="<%=path%>/sysManage/userGroupPerssion.do?action=query";
|
||||
document.form3.submit();
|
||||
}
|
||||
//goto机房
|
||||
function gotoJf(){
|
||||
document.form3.action ="<%=path%>/nodePosition/roomManage.do?action=query";
|
||||
document.form3.submit();
|
||||
}
|
||||
//goto机柜
|
||||
function gotoJg(){
|
||||
document.form3.action ="<%=path%>/nodePosition/boxSet.do?action=query";
|
||||
document.form3.submit();
|
||||
}
|
||||
//goto节点组
|
||||
function gotoJdz(){
|
||||
document.form3.action ="<%=path%>/nodeGroupManage/nodeGroupManage.do?action=queryNodeGroupInfo";
|
||||
document.form3.submit();
|
||||
}
|
||||
//goto任务
|
||||
function gotoRw(){
|
||||
document.form3.action ="<%=path%>/nmstaskManager/nmsTaskManager.do?action=query";
|
||||
document.form3.submit();
|
||||
}
|
||||
//goto监测类别
|
||||
function gotoJclb(){
|
||||
document.form3.action ="<%=path%>/detection/checkTypeSet.do?action=query";
|
||||
document.form3.submit();
|
||||
}
|
||||
//goto监测设置
|
||||
function gotoJcsz(){
|
||||
document.form3.action ="<%=path%>/detection/detectionSet.do?action=query";
|
||||
document.form3.submit();
|
||||
}
|
||||
|
||||
$(function(){
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="middle_list" style="overflow: hidden;">
|
||||
<!--中间部分右边开始-->
|
||||
<form name=form3 id="frmArticleType" action="" method="post">
|
||||
<input type="hidden" name="fromWhere" value="formGuide"/>
|
||||
|
||||
<input type="hidden" name="ywxtCom" value="${ywxtCom }"/>
|
||||
<input type="hidden" name="yhzCom" value="${yhzCom }"/>
|
||||
<input type="hidden" name="jfCom" value="${jfCom }"/>
|
||||
<input type="hidden" name="jdzCom" value="${jdzCom }"/>
|
||||
<input type="hidden" name="jgCom" value="${jgCom }"/>
|
||||
<input type="hidden" name="rwCom" value="${rwCom }"/>
|
||||
<input type="hidden" name="jclbCom" value="${jclbCom }"/>
|
||||
<input type="hidden" name="jcszCom" value="${jcszCom }"/>
|
||||
<div id="maindiv" style=" width: 100%; height: 98%">
|
||||
i18n_gi.text.title_n81i
|
||||
<table>
|
||||
<tr>
|
||||
<td><!-- 业务系统 -->
|
||||
<c:if test="${isywxt == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/1.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoYwxt();">
|
||||
<c:if test="${ywxtCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png"/>"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isywxt != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/1-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<img src="<c:url value="/images/guide/right.png" />" class="img_middle"/>
|
||||
</td>
|
||||
<td><!-- 用户组 -->
|
||||
<c:if test="${isyhz == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/2.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoYhz();">
|
||||
<c:if test="${yhzCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isyhz != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/2-1.jpg'); width: 96px;height: 58px; text-align: center"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<img src="<c:url value="/images/guide/right.png" />" class="img_middle"/>
|
||||
</td>
|
||||
<td><!-- 机房 -->
|
||||
<c:if test="${isjf == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/3.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoJf();">
|
||||
<c:if test="${jfCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isjf != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/3-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"> </td>
|
||||
<td align="center"><img src="<c:url value="/images/guide/down.png" />" class="img_middle"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!-- 节点 -->
|
||||
<c:if test="${isjdz == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/4.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoJdz();">
|
||||
<c:if test="${jdCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isjdz != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/4-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<img src="<c:url value="/images/guide/left.png" />" class="img_middle"/>
|
||||
</td>
|
||||
<td><!-- 节点组 -->
|
||||
<c:if test="${isjdz == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/5.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoJdz();">
|
||||
<c:if test="${jdzCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isjdz != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/5-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<img src="<c:url value="/images/guide/left.png" />" class="img_middle"/>
|
||||
</td>
|
||||
<td><!-- 机柜 -->
|
||||
<c:if test="${isjg == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/6.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoJg();">
|
||||
<c:if test="${jgCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isjg != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/6-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<img src="<c:url value="/images/guide/doubleDown.png" />" class="img_middle"/>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!-- 任务 -->
|
||||
<c:if test="${isrw == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/7.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoRw();">
|
||||
<c:if test="${rwCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isrw != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/7-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td><!-- 监测类别-->
|
||||
<c:if test="${isjclb == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/8.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoJclb();">
|
||||
<c:if test="${jclbCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isjclb != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/8-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<img src="<c:url value="/images/guide/right.png" />" class="img_middle"/>
|
||||
</td>
|
||||
<td><!-- 监测类别元数据 -->
|
||||
<c:if test="${isjclb == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/9.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoJclb();">
|
||||
<c:if test="${jclbSourceCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isjclb != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/9-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
|
||||
</td>
|
||||
<td align="center">
|
||||
<img src="<c:url value="/images/guide/down.png" />" class="img_middle"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td><!-- 监测设置 -->
|
||||
<c:if test="${isjcsz == 'yes' }">
|
||||
<div style="background-image: url('../images/guide/10.jpg'); width: 96px;height: 58px; text-align: center" onclick="gotoJcsz();">
|
||||
<c:if test="${jcszCom == 'y' }">
|
||||
<img src="<c:url value="/images/guide/duigou.png" />"
|
||||
height="14px" width="14px" align="middle" style="margin-top: 43px;"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${isjcsz != 'yes' }">
|
||||
<div style="background-image: url('../images/guide/10-1.jpg'); width: 96px;height: 58px;"></div>
|
||||
</c:if>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
206
WebRoot/page/systemManage/guide/monitorConfig.jsp
Normal file
206
WebRoot/page/systemManage/guide/monitorConfig.jsp
Normal file
@@ -0,0 +1,206 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":"
|
||||
+ request.getServerPort() + path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_mc.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/smart_wizard.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.smartWizard-2.0.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#wizard").smartWizard();
|
||||
})
|
||||
|
||||
//点下一步时的验证
|
||||
function checkDate(curStepIdx){
|
||||
switch(curStepIdx){
|
||||
case 1:
|
||||
$("#I2").attr("src","<c:url value='/nodePosition/roomManage.do?action=query'/>");
|
||||
break;
|
||||
case 2:
|
||||
$("#I3").attr("src","<c:url value='/nodePosition/boxSet.do?action=query'/>");
|
||||
break;
|
||||
case 3:
|
||||
//$("#I4").attr("src","<c:url value='/nodeGroupManage/nodeGroupManage.do?action=queryNodeGroupInfo&type=config'/>");
|
||||
break;
|
||||
case 4:
|
||||
var nodeGroupId = $("#nodeGroupId").val();
|
||||
var isValid = $("#isValid").val();
|
||||
if(nodeGroupId == "" || nodeGroupId == null){
|
||||
alert("i18n_mc.message.nodeGroupId_n81i");
|
||||
return false;
|
||||
}
|
||||
var src = "<c:url value='/nodeGroupManage/nodeGroupManage.do?action=nodeMgmt&type=config&ids="+nodeGroupId+"&isValid="+isValid+"'/>";
|
||||
$("#I5").attr("src",src);
|
||||
break;
|
||||
case 5:
|
||||
var nodeGroupId = $("#nodeGroupId").val();
|
||||
var flag = false;
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<c:url value='/nodeGroupManage/nodeGroupManage!getNodeSize.do'/>",
|
||||
data: {nodeGroupId:nodeGroupId},
|
||||
success: function(data){
|
||||
if( data == "" ||data == null ){
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
if(!confirm("i18n_mc.message.sureNodeExists_n81i")){
|
||||
alert("i18n_mc.message.toAddNode_n81i");
|
||||
return false;
|
||||
}
|
||||
if(flag){
|
||||
alert("i18n_mc.message.toAddNode_n81i");
|
||||
return false;
|
||||
}
|
||||
$("#I6").attr("src","<c:url value='/detection/checkTypeSet.do?action=query'/>");
|
||||
break;
|
||||
case 6:
|
||||
$("#I7").attr("src","<c:url value='/detection/detectionSet.do?action=query'/>");
|
||||
break;
|
||||
case 7:
|
||||
$("#I8").attr("src","<c:url value='/detection/monitorData.do?action=query'/>");
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function setParameter(nodeGroupId,isValid){
|
||||
//alert("nodeGroupId:"+nodeGroupId+" isValid:"+isValid);
|
||||
$("#nodeGroupId").val(nodeGroupId);
|
||||
$("#isValid").val(isValid);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body style="height: 96%">
|
||||
<table width="100%" align="center" border="0" cellpadding="0"
|
||||
cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" id="nodeGroupId" />
|
||||
<input type="hidden" id="isValid" />
|
||||
<!-- Smart Wizard -->
|
||||
<div id="wizard" class="swMain">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#step-1"> <label class="stepNumber">
|
||||
1
|
||||
</label> <span class="stepDesc"> i18n_mc.text.userGroup_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-2"> <label class="stepNumber">
|
||||
2
|
||||
</label> <span class="stepDesc"> i18n_mc.text.room_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-3"> <label class="stepNumber">
|
||||
3
|
||||
</label> <span class="stepDesc">i18n_mc.text.box_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-4"> <label class="stepNumber">
|
||||
4
|
||||
</label> <span class="stepDesc"> i18n_mc.text.nodeGroup_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-5"> <label class="stepNumber">
|
||||
5
|
||||
</label> <span class="stepDesc"> i18n_mc.text.node_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-6"> <label class="stepNumber">
|
||||
6
|
||||
</label> <span class="stepDesc"> i18n_mc.text.decateType_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-7"> <label class="stepNumber">
|
||||
7
|
||||
</label> <span class="stepDesc">i18n_mc.text.decateSets_n81i </span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-8"> <label class="stepNumber">
|
||||
8
|
||||
</label> <span class="stepDesc">i18n_mc.text.decateDate_n81i </span> </a>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="step-1" class="setp_content" style="display: none">
|
||||
<iframe name="I1" id="I1" width="99%" height="100%"
|
||||
src="<c:url value='/sysManage/userGroupPerssion.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-2" class="setp_content" style="display: none">
|
||||
<iframe name="I2" id="I2" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-3" class="setp_content" style="display: none">
|
||||
<iframe name="I3" id="I3" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-4" class="setp_content" style="display: none">
|
||||
<iframe name="I4" id="I4" width="99%" height="100%"
|
||||
src="<c:url value='/nodeGroupManage/nodeGroupManage.do?action=queryNodeGroupInfo&type=config'/>"
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-5" class="setp_content" style="display: none">
|
||||
<iframe name="I5" id="I5" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-6" class="setp_content" style="display: none">
|
||||
<iframe name="I6" id="I6" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-7" class="setp_content" style="display: none">
|
||||
<iframe name="I7" id="I7" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-8" class="setp_content" style="display: none">
|
||||
<iframe name="I8" id="I8" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_mc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End SmartWizard Content -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
178
WebRoot/page/systemManage/guide/taskConfig.jsp
Normal file
178
WebRoot/page/systemManage/guide/taskConfig.jsp
Normal file
@@ -0,0 +1,178 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/common/taglib.jsp"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":"
|
||||
+ request.getServerPort() + path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>i18n_tc.message.title_n81i</title>
|
||||
<link href="<c:url value='/css/nms.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<link href="<c:url value='/css/smart_wizard.css'/>" rel="stylesheet"
|
||||
type="text/css" />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery-1.4.2.min.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/onmouse.js'/>"></script>
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="<c:url value='/js/jquery.smartWizard-2.0.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#wizard").smartWizard();
|
||||
})
|
||||
|
||||
//点下一步时的验证
|
||||
function checkDate(curStepIdx){
|
||||
switch(curStepIdx){
|
||||
case 1:
|
||||
//$("#I2").attr("src","<c:url value='/nodePosition/roomManage.do?action=query'/>");
|
||||
$("#I2").attr("src","<c:url value='/nodePosition/roomManage.do?action=query'/>");
|
||||
break;
|
||||
case 2:
|
||||
$("#I3").attr("src","<c:url value='/nodePosition/boxSet.do?action=query'/>");
|
||||
break;
|
||||
case 3:
|
||||
//$("#I4").attr("src","<c:url value='/nodeGroupManage/nodeGroupManage.do?action=queryNodeGroupInfo&type=config'/>");
|
||||
break;
|
||||
case 4:
|
||||
var nodeGroupId = $("#nodeGroupId").val();
|
||||
var isValid = $("#isValid").val();
|
||||
if(nodeGroupId == "" || nodeGroupId == null){
|
||||
alert("i18n_tc.message.nodeGroupId_n81i");
|
||||
return false;
|
||||
}
|
||||
var src = "<c:url value='/nodeGroupManage/nodeGroupManage.do?action=nodeMgmt&type=config&ids="+nodeGroupId+"&isValid="+isValid+"'/>";
|
||||
$("#I5").attr("src",src);
|
||||
break;
|
||||
case 5:
|
||||
var nodeGroupId = $("#nodeGroupId").val();
|
||||
var flag = false;
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<c:url value='/nodeGroupManage/nodeGroupManage!getNodeSize.do'/>",
|
||||
data: {nodeGroupId:nodeGroupId},
|
||||
success: function(data){
|
||||
if( data == "" ||data == null ){
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
if(!confirm("i18n_tc.message.sureNodeExists_n81i")){
|
||||
alert("i18n_tc.message.toAddNode_n81i");
|
||||
return false;
|
||||
}
|
||||
if(flag){
|
||||
alert("i18n_tc.message.toAddNode_n81i");
|
||||
return false;
|
||||
}
|
||||
$("#I6").attr("src","<c:url value='/nmstaskManager/nmsTaskManager.do?action=query'/>");
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function setParameter(nodeGroupId,isValid){
|
||||
//alert("nodeGroupId:"+nodeGroupId+" isValid:"+isValid);
|
||||
$("#nodeGroupId").val(nodeGroupId);
|
||||
$("#isValid").val(isValid);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" id="nodeGroupId"/>
|
||||
<input type="hidden" id="isValid"/>
|
||||
<!-- Smart Wizard -->
|
||||
<div id="wizard" class="swMain">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#step-1"> <label class="stepNumber">
|
||||
1
|
||||
</label> <span class="stepDesc"> i18n_tc.text.userGroup_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-2"> <label class="stepNumber">
|
||||
2
|
||||
</label> <span class="stepDesc"> i18n_tc.text.room_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-3"> <label class="stepNumber">
|
||||
3
|
||||
</label> <span class="stepDesc"> i18n_tc.text.box_n81i</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-4"> <label class="stepNumber">
|
||||
4
|
||||
</label> <span class="stepDesc"> i18n_tc.text.nodeGroup_n81i<br />
|
||||
</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-5"> <label class="stepNumber">
|
||||
5
|
||||
</label> <span class="stepDesc">i18n_tc.text.node_n81i<br />
|
||||
</span> </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#step-6"> <label class="stepNumber">
|
||||
6
|
||||
</label> <span class="stepDesc"> i18n_tc.text.mission_n81i</span> </a>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="step-1" class="setp_content" style="display: none">
|
||||
<iframe name="I1" id="I1" width="99%" height="100%"
|
||||
src="<c:url value='/sysManage/userGroupPerssion.do?action=query'/>"
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_tc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-2" class="setp_content" style="display: none">
|
||||
<iframe name="I2" id="I2" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_tc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-3" class="setp_content" style="display: none">
|
||||
<iframe name="I3" id="I3" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_tc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-4" class="setp_content" style="display: none">
|
||||
<iframe name="I4" id="I4" width="99%" height="100%"
|
||||
src="<c:url value='/nodeGroupManage/nodeGroupManage.do?action=queryNodeGroupInfo&type=config'/>"
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_tc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-5" class="setp_content" style="display: none">
|
||||
<iframe name="I5" id="I5" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_tc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
<div id="step-6" class="setp_content" style="display: none">
|
||||
<iframe name="I6" id="I6" width="99%" height="100%"
|
||||
src=""
|
||||
border="0" frameborder="0" scrolling="auto">
|
||||
i18n_tc.message.brower_n81i
|
||||
</iframe>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End SmartWizard Content -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user