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.
1599 lines
31 KiB
HTML
1599 lines
31 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="zh-CN">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>抽水蓄能电站智能化状态监测系统</title>
|
|
|
|
<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">
|
|
|
|
<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>
|
|
<style>
|
|
.btn{background-color: #00796a; color:#fff;}
|
|
.btn:hover{background-color: #eee ;color:#000033;}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<!--<h1>默认</h1>-->
|
|
|
|
|
|
|
|
|
|
|
|
<form class="form-horizontal" role="form" action="" method="post">
|
|
|
|
<table class="table table-hover table-striped table-bordered">
|
|
|
|
<thead class="bordered-blueberry">
|
|
<tr text-align="center">
|
|
|
|
<th></th>
|
|
|
|
<th>A相</th>
|
|
|
|
<th>B相</th>
|
|
|
|
<th>C相</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th style="font-weight: normal;width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px; margin-left:50px;line-height:32px;">逻辑设备:</span>
|
|
|
|
</th>
|
|
|
|
<th style="font-weight: normal;">
|
|
|
|
<select id="select1" name="para1" style="font-size:14px; width: 260px;padding: 5px 0;">
|
|
|
|
<option value="" >请逻辑选择设备</option>
|
|
|
|
{volist name="menu" id="m"}
|
|
|
|
<option value="{$m.paramindex}" {if condition="($m.eqmid eq $d) and ($m.phase eq 'A')"}selected {/if}>{$m.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</th>
|
|
|
|
|
|
<th style="font-weight: normal;">
|
|
|
|
<select id="select2" name="para2" style="font-size:14px; width: 260px;padding: 5px 0;">
|
|
|
|
<option value="" >请逻辑选择设备</option>
|
|
|
|
{volist name="menu" id="m"}
|
|
|
|
<option value="{$m.paramindex}" {if condition="($m.eqmid eq $d) and ($m.phase eq 'B')"}selected {/if}>{$m.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</th>
|
|
|
|
|
|
<th style="font-weight: normal;">
|
|
|
|
<select id="select3" name="para3" style="font-size:14px; width: 260px;padding: 5px 0;">
|
|
|
|
<option value="" >请逻辑选择设备</option>
|
|
|
|
{volist name="menu" id="m"}
|
|
|
|
<option value="{$m.paramindex}" {if condition="($m.eqmid eq $d) and ($m.phase eq 'C')"}selected {/if}>{$m.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</th>
|
|
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;line-height:30px;">系统电压:</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div id="pt1" >
|
|
|
|
<select name="pt1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v.paramindex}" {if condition="$v.colname eq 'pt1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="pt2" class="dowebok">
|
|
|
|
<select name="pt2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'pt2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="pt3" class="dowebok">
|
|
|
|
<select name="pt3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'pt3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;line-height:30px;">全电流:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="lc1">
|
|
|
|
<select name="lc1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'lc1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="lc2" class="dowebok">
|
|
|
|
<select name="lc2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'lc2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="lc3">
|
|
|
|
<select name="lc3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'lc3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;line-height:30px;">阻性电流:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="rc1">
|
|
|
|
<select name="rc1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'rc1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="rc2">
|
|
|
|
<select name="rc2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'rc2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="rc3">
|
|
|
|
<select name="rc3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'rc3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;line-height:30px;">最近落雷时间:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="lastligtm1">
|
|
|
|
<select name="lastligtm1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'lastligtm1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="lastligtm2">
|
|
|
|
<select name="lastligtm2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'lastligtm2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="lastligtm3" class="dowebok">
|
|
|
|
<select name="lastligtm3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'lastligtm3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;line-height:30px;">累计落雷次数:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="ligcnt1" class="dowebok">
|
|
|
|
<select name="ligcnt1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'ligcnt1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="ligcnt2">
|
|
|
|
<select name="ligcnt2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'ligcnt2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="ligcnt3">
|
|
|
|
<select name="ligcnt3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'ligcnt3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td style="width:200px;text-align: right;">
|
|
|
|
<span style="font-size:16px;line-height:30px;">容性电流:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="cacur1" class="dowebok">
|
|
|
|
<select name="cacur1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'cacur1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="cacur2">
|
|
|
|
<select name="cacur2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'cacur2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="cacur3">
|
|
|
|
<select name="cacur3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'cacur3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;line-height:30px;">阻容比:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="riscarte1">
|
|
|
|
<select name="riscarte1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'riscarte1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="riscarte2">
|
|
|
|
<select name="riscarte2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'riscarte2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="riscarte3">
|
|
|
|
<select name="riscarte3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'riscarte3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;">IED与监测设备通讯异常:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="modevconf1">
|
|
|
|
<select name="modevconf1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'modevconf1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="modevconf2">
|
|
|
|
<select name="modevconf2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'modevconf2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="modevconf3">
|
|
|
|
<select name="modevconf3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'modevconf3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td style="width:200px;text-align: right">
|
|
|
|
<span style="font-size:16px;margin-left:50px;line-height:30px;">设备运行异常:</span>
|
|
|
|
</td>
|
|
|
|
<td><div id="supdevrun1">
|
|
|
|
<select name="supdevrun1" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'supdevrun1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="supdevrun2">
|
|
|
|
<select name="supdevrun2" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'supdevrun2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
<td><div id="supdevrun3">
|
|
|
|
<select name="supdevrun3" style="width:175px;">
|
|
|
|
<option value="" >请选择参数</option>
|
|
|
|
{volist name="date" id="v"}
|
|
|
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 'supdevrun3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
|
|
|
{/volist}
|
|
|
|
</select>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<td colspan="4">
|
|
|
|
<span><button type="submit" class="btn">保存</button></span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$(function() {
|
|
|
|
//$('select').comboSelect();
|
|
|
|
$('#select1').change(function(){
|
|
|
|
var para1 = $(this).val();
|
|
|
|
//alert(para);
|
|
|
|
$.ajax({
|
|
|
|
type: "POST",
|
|
|
|
url: "{:url('SITE_URL./admin/Paramindexinfo/ajax1')}",
|
|
|
|
dataType:"json",
|
|
|
|
data: 'para='+para1,
|
|
|
|
success: function(data){
|
|
|
|
// console.log(data );
|
|
|
|
var nums=data.length;
|
|
|
|
//alert(nums);
|
|
|
|
var htmlpt1 ='<select name="pt1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var i=0;i<nums;i++) {
|
|
|
|
var date = data[i];
|
|
|
|
htmlpt1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='pt1' )
|
|
|
|
{
|
|
|
|
htmlpt1 += "selected" ;
|
|
|
|
}
|
|
|
|
htmlpt1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmlpt1 += '</select>';
|
|
|
|
$('#pt1').html(htmlpt1);
|
|
|
|
|
|
|
|
var htmllc1 ='<select name="lc1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmllc1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='lc1' )
|
|
|
|
{
|
|
|
|
htmllc1 += "selected" ;
|
|
|
|
}
|
|
|
|
htmllc1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmllc1 += '</select>';
|
|
|
|
$('#lc1').html(htmllc1);
|
|
|
|
|
|
|
|
var htmlrc1 ='<select name="rc1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmlrc1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='rc1' )
|
|
|
|
{
|
|
|
|
htmlrc1 += "selected" ;
|
|
|
|
}
|
|
|
|
htmlrc1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmlrc1 += '</select>';
|
|
|
|
$('#rc1').html(htmlrc1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var lastligtm1 ='<select name="lastligtm1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
lastligtm1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='lastligtm1' )
|
|
|
|
{
|
|
|
|
lastligtm1 += "selected" ;
|
|
|
|
}
|
|
|
|
lastligtm1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
lastligtm1 += '</select>';
|
|
|
|
$('#lastligtm1').html(lastligtm1);
|
|
|
|
|
|
|
|
|
|
|
|
//累计落雷次数
|
|
|
|
var ligcnt1 ='<select name="ligcnt1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
ligcnt1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='ligcnt1' )
|
|
|
|
{
|
|
|
|
ligcnt1 += "selected" ;
|
|
|
|
}
|
|
|
|
ligcnt1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
ligcnt1 += '</select>';
|
|
|
|
$('#ligcnt1').html(ligcnt1);
|
|
|
|
|
|
|
|
|
|
|
|
//容性电流
|
|
|
|
var cacur1 ='<select name="cacur1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
cacur1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='cacur1' )
|
|
|
|
{
|
|
|
|
cacur1 += "selected" ;
|
|
|
|
}
|
|
|
|
cacur1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
cacur1 += '</select>';
|
|
|
|
$('#cacur1').html(cacur1);
|
|
|
|
|
|
|
|
|
|
|
|
//阻容比
|
|
|
|
var riscarte1 ='<select name="riscarte1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
riscarte1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='riscarte1' )
|
|
|
|
{
|
|
|
|
riscarte1 += "selected" ;
|
|
|
|
}
|
|
|
|
riscarte1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
riscarte1 += '</select>';
|
|
|
|
$('#riscarte1').html(riscarte1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//IED与监测设备通讯异常
|
|
|
|
var modevconf1 ='<select name="modevconf1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
modevconf1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='modevconf1' )
|
|
|
|
{
|
|
|
|
modevconf1 += "selected" ;
|
|
|
|
}
|
|
|
|
modevconf1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
modevconf1 += '</select>';
|
|
|
|
$('#modevconf1').html(modevconf1);
|
|
|
|
|
|
|
|
//设备运行异常supdevrun1
|
|
|
|
var supdevrun1 ='<select name="supdevrun1" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
supdevrun1 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='supdevrun1' )
|
|
|
|
{
|
|
|
|
supdevrun1 += "selected" ;
|
|
|
|
}
|
|
|
|
supdevrun1 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
supdevrun1 += '</select>';
|
|
|
|
$('#supdevrun1').html(supdevrun1);
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
$('#select2').change(function(){
|
|
|
|
var para2 = $(this).val();
|
|
|
|
//alert(para);
|
|
|
|
$.ajax({
|
|
|
|
type: "POST",
|
|
|
|
url: "{:url('SITE_URL./admin/Paramindexinfo/ajax1')}",
|
|
|
|
dataType:"json",
|
|
|
|
data: 'para='+para2,
|
|
|
|
success: function(data){
|
|
|
|
// console.log(data );
|
|
|
|
var nums=data.length;
|
|
|
|
//alert(nums);
|
|
|
|
var htmlpt2 ='<select name="pt2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmlpt2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='pt2' )
|
|
|
|
{
|
|
|
|
htmlpt2 += "selected" ;
|
|
|
|
}
|
|
|
|
htmlpt2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmlpt2 += '</select>';
|
|
|
|
$('#pt2').html(htmlpt2);
|
|
|
|
|
|
|
|
var htmllc2 ='<select name="lc2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmllc2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='lc2' )
|
|
|
|
{
|
|
|
|
htmllc2 += "selected" ;
|
|
|
|
}
|
|
|
|
htmllc2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmllc2 += '</select>';
|
|
|
|
$('#lc2').html(htmllc2);
|
|
|
|
|
|
|
|
var htmlrc2 ='<select name="rc2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmlrc2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='rc2' )
|
|
|
|
{
|
|
|
|
htmlrc2 += "selected" ;
|
|
|
|
}
|
|
|
|
htmlrc2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmlrc2 += '</select>';
|
|
|
|
$('#rc2').html(htmlrc2);
|
|
|
|
|
|
|
|
|
|
|
|
var lastligtm2 ='<select name="lastligtm2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
lastligtm2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='lastligtm2' )
|
|
|
|
{
|
|
|
|
lastligtm2 += "selected" ;
|
|
|
|
}
|
|
|
|
lastligtm2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
lastligtm2 += '</select>';
|
|
|
|
$('#lastligtm2').html(lastligtm2);
|
|
|
|
|
|
|
|
|
|
|
|
//累计落雷次数
|
|
|
|
|
|
|
|
|
|
|
|
var ligcnt2 ='<select name="ligcnt2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
ligcnt2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='ligcnt2' )
|
|
|
|
{
|
|
|
|
ligcnt2 += "selected" ;
|
|
|
|
}
|
|
|
|
ligcnt2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
ligcnt2 += '</select>';
|
|
|
|
$('#ligcnt2').html(ligcnt2);
|
|
|
|
|
|
|
|
//容性电流
|
|
|
|
|
|
|
|
var cacur2 ='<select name="cacur2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
cacur2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='cacur2' )
|
|
|
|
{
|
|
|
|
cacur2 += "selected" ;
|
|
|
|
}
|
|
|
|
cacur2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
cacur2 += '</select>';
|
|
|
|
$('#cacur2').html(cacur2);
|
|
|
|
|
|
|
|
|
|
|
|
//阻容比
|
|
|
|
|
|
|
|
var riscarte2 ='<select name="riscarte2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
riscarte2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='riscarte2' )
|
|
|
|
{
|
|
|
|
riscarte2 += " selected" ;
|
|
|
|
}
|
|
|
|
riscarte2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
riscarte2 += '</select>';
|
|
|
|
$('#riscarte2').html(riscarte2);
|
|
|
|
|
|
|
|
|
|
|
|
//IED与监测设备通讯异常
|
|
|
|
|
|
|
|
var modevconf2 ='<select name="modevconf2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
modevconf2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='modevconf2' )
|
|
|
|
{
|
|
|
|
modevconf2 += "selected" ;
|
|
|
|
}
|
|
|
|
modevconf2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
modevconf2 += '</select>';
|
|
|
|
$('#modevconf2').html(modevconf2);
|
|
|
|
|
|
|
|
//设备运行异常supdevrun1
|
|
|
|
var supdevrun2 ='<select name="supdevrun2" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
supdevrun2 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='supdevrun2' )
|
|
|
|
{
|
|
|
|
supdevrun2 += "selected" ;
|
|
|
|
}
|
|
|
|
supdevrun2 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
supdevrun2 += '</select>';
|
|
|
|
$('#supdevrun2').html(supdevrun2);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#select3').change(function(){
|
|
|
|
var para3 = $(this).val();
|
|
|
|
//alert(para);
|
|
|
|
$.ajax({
|
|
|
|
type: "POST",
|
|
|
|
url: "{:url('SITE_URL./admin/Paramindexinfo/ajax1')}",
|
|
|
|
dataType:"json",
|
|
|
|
data: 'para='+para3,
|
|
|
|
success: function(data){
|
|
|
|
// console.log(data );
|
|
|
|
var nums=data.length;
|
|
|
|
//alert(nums);
|
|
|
|
|
|
|
|
var htmlpt3 ='<select name="pt3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmlpt3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='pt3' )
|
|
|
|
{
|
|
|
|
htmlpt3 += "selected" ;
|
|
|
|
}
|
|
|
|
htmlpt3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmlpt3 += '</select>';
|
|
|
|
$('#pt3').html(htmlpt3);
|
|
|
|
|
|
|
|
|
|
|
|
var htmllc3 ='<select name="lc3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmllc3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='lc3' )
|
|
|
|
{
|
|
|
|
htmllc3 += "selected" ;
|
|
|
|
}
|
|
|
|
htmllc3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmllc3 += '</select>';
|
|
|
|
$('#lc3').html(htmllc3);
|
|
|
|
|
|
|
|
|
|
|
|
var htmlrc3 ='<select name="rc3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
htmlrc3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='rc3' )
|
|
|
|
{
|
|
|
|
htmlrc3 += "selected " ;
|
|
|
|
}
|
|
|
|
htmlrc3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
htmlrc3 += '</select>';
|
|
|
|
$('#rc3').html(htmlrc3);
|
|
|
|
|
|
|
|
|
|
|
|
var lastligtm3 ='<select name="lastligtm3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
lastligtm3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='lastligtm3' )
|
|
|
|
{
|
|
|
|
lastligtm3 += "selected" ;
|
|
|
|
}
|
|
|
|
lastligtm3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
lastligtm3 += '</select>';
|
|
|
|
$('#lastligtm3').html(lastligtm3);
|
|
|
|
//累计落雷次数
|
|
|
|
|
|
|
|
var ligcnt3 ='<select name="ligcnt3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
ligcnt3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='ligcnt3' )
|
|
|
|
{
|
|
|
|
ligcnt3 += "selected" ;
|
|
|
|
}
|
|
|
|
ligcnt3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
ligcnt3 += '</select>';
|
|
|
|
$('#ligcnt3').html(ligcnt3);
|
|
|
|
//容性电流
|
|
|
|
|
|
|
|
var cacur3 ='<select name="cacur3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
cacur3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='cacur3' )
|
|
|
|
{
|
|
|
|
cacur3 += "selected" ;
|
|
|
|
}
|
|
|
|
cacur3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
cacur3 += '</select>';
|
|
|
|
$('#cacur3').html(cacur3);
|
|
|
|
|
|
|
|
//阻容比
|
|
|
|
|
|
|
|
var riscarte3 ='<select name="riscarte3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
riscarte3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='riscarte3' )
|
|
|
|
{
|
|
|
|
riscarte3 += "selected" ;
|
|
|
|
}
|
|
|
|
riscarte3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
riscarte3 += '</select>';
|
|
|
|
$('#riscarte3').html(riscarte3);
|
|
|
|
|
|
|
|
//IED与监测设备通讯异常
|
|
|
|
|
|
|
|
var modevconf3 ='<select name="modevconf3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
modevconf3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='modevconf3' )
|
|
|
|
{
|
|
|
|
modevconf3 += "selected" ;
|
|
|
|
}
|
|
|
|
modevconf3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
modevconf3 += '</select>';
|
|
|
|
$('#modevconf3').html(modevconf3);
|
|
|
|
//设备运行异常supdevrun1
|
|
|
|
|
|
|
|
var supdevrun3 ='<select name="supdevrun3" style="width:175px;"> <option value="" >请选择参数</option>';
|
|
|
|
for(var j=0;j<nums;j++) {
|
|
|
|
var date = data[j];
|
|
|
|
supdevrun3 += "<option value='"+ date.paramindex +"'";
|
|
|
|
if( date.colname =='supdevrun3' )
|
|
|
|
{
|
|
|
|
supdevrun3 += "selected" ;
|
|
|
|
}
|
|
|
|
supdevrun3 += ">"+date.paramindex+"</option>";
|
|
|
|
}
|
|
|
|
supdevrun3 += '</select>';
|
|
|
|
$('#supdevrun3').html(supdevrun3);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|