You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

342 lines
8.9 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>抽水蓄能电站智能化状态监测系统</title>
<meta name="description" content="Dashboard">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--Basic Styles-->
<link href="__PUBLIC__/style/bootstrap.css" rel="stylesheet">
<link href="__PUBLIC__/style/font-awesome.css" rel="stylesheet">
<link href="__PUBLIC__/style/weather-icons.css" rel="stylesheet">
<!--Beyond styles-->
<link id="beyond-link" href="__PUBLIC__/style/beyond.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/style/demo.css" rel="stylesheet">
<link href="__PUBLIC__/style/typicons.css" rel="stylesheet">
<link href="__PUBLIC__/style/animate.css" rel="stylesheet">
</head>
<body>
<div class="bodyClass">
{include file="public/top" /}
<!-- /头部 -->
<div class="main-container container-fluid hei">
<div class="page-container">
<!-- Page Sidebar -->
{include file="common/devleft" /}
<!-- /Page Sidebar -->
<!-- Page Content -->
<div class="page-content">
<!-- Page Breadcrumb -->
<div class="page-breadcrumbs">
<ul class="breadcrumb">
<li>
<a href="{:url('zsb/lst')}">监测设备管理</a>
</li>
<li class="active">添加监测设备</li>
</ul>
</div>
<!-- /Page Breadcrumb -->
<!-- Page Body -->
<div class="page-body">
<div class="row">
<div class="col-lg-12 col-sm-12 col-xs-12">
<div class="widget">
<div class="widget-header bordered-bottom bordered-blue">
<span class="widget-caption">监测设备</span>
</div>
<div class="widget-body">
<div id="horizontal-form">
<form class="form-horizontal" role="form" action="" method="post">
<div class="form-group" style="display: none">
<label for="id" class="col-sm-2 control-label no-padding-right">ID</label>
<div class="col-sm-6">
<input class="form-control" id="id" placeholder="" name="id" type="text">
</div>
</div>
<div class="form-group">
<label for="name" class="col-sm-2 control-label no-padding-right">名称</label>
<div class="col-sm-6">
<input class="form-control" id="name" placeholder="" name="name" type="text">
</div>
</div>
<div class="form-group">
<label for="modevtid" class="col-sm-2 control-label no-padding-right">设备类型</label>
<div class="col-sm-6">
<select class="form-control" id="modevtid" name="modevtid" >
{volist name="lxs" id="lxvo"}
<option value="{$lxvo.id}">{$lxvo.mc}</option>
{/volist}
</select>
</div>
</div>
<div id="config" style="display:none">
<div class="form-group">
<label for="ip" class="col-sm-2 control-label no-padding-right">ip地址</label>
<div class="col-sm-6">
<input class="form-control" id="ip" placeholder="" name="ip" value="" type="text">
</div>
</div>
<div class="form-group">
<label for="username" class="col-sm-2 control-label no-padding-right">用户名</label>
<div class="col-sm-6">
<input class="form-control" id="username" placeholder="" name="username" value="" type="text">
</div>
</div>
<div class="form-group">
<label for="pwd" class="col-sm-2 control-label no-padding-right">密码</label>
<div class="col-sm-6">
<input class="form-control" id="pwd" placeholder="" name="pwd" value="" type="text">
</div>
</div>
<div class="form-group">
<label for="port" class="col-sm-2 control-label no-padding-right">端口</label>
<div class="col-sm-6">
<input class="form-control" id="port" placeholder="" name="port" value="" type="text">
</div>
</div>
</div>
<div class="form-group">
<label for="careLevel" class="col-sm-2 control-label no-padding-right">关心度</label>
<div class="col-sm-6">
<select class="form-control" id="careLevel" name="careLevel" >
<option value="1">关心</option>
<option value="0">不关心</option>
</select>
</div>
</div>
<div class="form-group">
<label for="iedid" class="col-sm-2 control-label no-padding-right">IED</label>
<div class="col-sm-6">
<select class="form-control" id="iedid" name="iedid" >
{volist name="ieds" id="iedvo" }
<option value="{$iedvo.id}">{$iedvo.name}</option>
{/volist}
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">保存信息</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /Page Body -->
</div>
<!-- /Page Content -->
</div>
</div>
<!--Basic Scripts-->
<script src="__PUBLIC__/style/jquery_002.js"></script>
<script src="__PUBLIC__/style/bootstrap.js"></script>
<script src="__PUBLIC__/style/jquery.js"></script>
<!--Beyond Scripts-->
<script src="__PUBLIC__/style/beyond.js"></script>
<script>
$(function(){
$("#modevtid").change(function(){
var modevid = $("#modevtid").val();
if(modevid=="9"||modevid=="12"||modevid=="35"||modevid=="36"){
$("#config").show();
}else{
$("#config").hide();
$("#ip").val("");
$("#username").val("");
$("#pwd").val("");
$("#port").val("");
}
});
// $("#main_eid").change(function(){
// var main_eid = $("#main_eid").val();
// });
});
</script>
<!--<script language="JavaScript" type="text/javascript">-->
<!--function getjg(){-->
<!--$.getJSON('{:url('msb/getjg')}?bid='+$('#bdzid').val(), function (data){-->
<!--$("#jgid").empty();-->
<!--var count = data.length;-->
<!--var i = 0;-->
<!--var b="";-->
<!--for(i=0;i<count;i++){-->
<!--b+="<option value='"+data[i].id+"'>"+data[i].mc+"</option>";-->
<!--}-->
<!--$("#jgid").append(b);-->
<!--}-->
<!--);-->
<!--}-->
<!--$(function(){-->
<!--getjg();-->
<!--$("#bdzid").change(function(){-->
<!--getjg();-->
<!--});-->
<!--});-->
<!--</script>-->
</div>
</body></html>