You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
4.5 KiB
120 lines
4.5 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<%@ page language="java" pageEncoding="UTF-8" %>
|
|
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<%@ include file="/common/ctx.jsp" %>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
|
<title>添加设备</title>
|
|
<!-- jQuery -->
|
|
<script src="${ctx}/js/jquery-1.11.0.min.js"></script>
|
|
<!-- checkbox 单选多选美化 -->
|
|
<script src="${ctx}/hbcyjc/resourceNew/js/checkbox.js"></script>
|
|
<script type="text/javascript"> <!-- checkbox 单选多选美化 -->
|
|
$(function () {
|
|
$('input').customInput();
|
|
$('.toggle').each(function () {
|
|
$('div:first', this).addClass('first');
|
|
$('div:last', this).addClass('last');
|
|
});
|
|
});
|
|
</script>
|
|
<%--弹框--%>
|
|
<script src="${ctx}/js/layer/layer.js"></script>
|
|
<!-- 字体图标 -->
|
|
<link href="${ctx}/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
|
|
<link href="${ctx}/assets/ionicon/css/ionicons.min.css" rel="stylesheet"/>
|
|
<link href="${ctx}/css/material-design-iconic-font.min.css" rel="stylesheet">
|
|
<!-- 自定义样式 -->
|
|
<link href="${ctx}/hbcyjc/resourceNew/css/cjy_style.css" rel="stylesheet"/>
|
|
<link href="${ctx}/hbcyjc/resourceNew/css/cjy_style2.css" rel="stylesheet"/>
|
|
|
|
<%@ include file="/common/theme_css.jsp" %>
|
|
</head>
|
|
<script>
|
|
$(document).ready(
|
|
function () {
|
|
init()
|
|
}
|
|
);
|
|
function init(){
|
|
var sysName = "设备管理";
|
|
var userName ="test";
|
|
$("#sysName").html(sysName);
|
|
$("#userName").html(userName);
|
|
var pageName = "设备管理";
|
|
$("#pageName").html(pageName);
|
|
var html = "<a href=\"${ctx}/hbcyjc/hikvision_cll/ssjc.jsp\" class=\"caid_xiang \">车流量实时监测</a>"+
|
|
"<a href=\"${ctx}/hbcyjc/hikvision_cll/lssj.jsp\" class=\"caid_xiang \">车流量分析</a>"+
|
|
"<a href=\"${ctx}/equipmentguanli/equipments.do\" class=\"caid_xiang active\">设备管理</a>";
|
|
$("#menuList").html(html);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="gotoScen();" >
|
|
<div class="xingk"></div>
|
|
<%@include file="/common/menu.jsp" %>
|
|
<input type="hidden" id="prolist" name="prolist">
|
|
<input type="hidden" id="citylist" name="citylist">
|
|
<input type="hidden" id="countylist" name="countylist">
|
|
<input type="hidden" id="citycode" name="citycode">
|
|
<input type="hidden" id="scenid" name="scenid" value="${sceid }">
|
|
<div class="content">
|
|
<div class="container">
|
|
<ul class="bdmall-tab">
|
|
<li class="active" onclick="showitem(this,'div_1');gotoScen();">
|
|
<p>添加设备</p>
|
|
<span class="jb-lefts"></span>
|
|
<span class="jb-leftx"></span>
|
|
<span class="jb-rights"></span>
|
|
<span class="jb-rightx"></span>
|
|
</li>
|
|
<button class="bttn" style="float: right; position: relative;top:-5px;"
|
|
type="button" onclick="reback()"><i class="fa fa-reply"></i>返回
|
|
</button>
|
|
</ul>
|
|
<div class="bdmall-tab-list" id="div_1">
|
|
<iframe id="add_basic" src="" width="100%" height="500px" style="border: 0;"></iframe>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" src="${ctx}/assets/jquery.validate/jquery.validate.min.js"></script>
|
|
<!--选项卡-->
|
|
<script>
|
|
$(function () {
|
|
//省
|
|
var provinceList = '${provinceList}';
|
|
document.getElementById("prolist").value = provinceList;
|
|
//市
|
|
var cityList = '${cityList}';
|
|
document.getElementById("citylist").value = cityList;
|
|
//县
|
|
var countyList = '${countyList}';
|
|
document.getElementById("countylist").value = countyList;
|
|
var citycode = '${citycode}';
|
|
document.getElementById("citycode").value = citycode;
|
|
});
|
|
|
|
function showitem(e, id) {
|
|
$(e).parent().find('li').removeClass('active');
|
|
$(e).addClass('active');
|
|
|
|
$('.bdmall-tab-list').css("display", 'none');
|
|
$('#' + id).css("display", '');
|
|
|
|
}
|
|
|
|
function gotoScen() {
|
|
var sceid = document.getElementById("scenid").value;
|
|
document.getElementById("add_basic").src = "${ctx }/equipmentguanli/gotoshebeia.do?id=" + sceid;
|
|
}
|
|
|
|
//返回
|
|
function reback() {
|
|
location.href = "${ctx}/equipmentguanli/equipments.do";
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |