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.
914 lines
18 KiB
HTML
914 lines
18 KiB
HTML
2 years ago
|
<!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>
|
||
|
|
||
|
<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;" colspan="3">
|
||
|
|
||
|
<select id="select1" name="para" 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"}selected {/if}>{$m.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</th>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">1通道溫度:</td>
|
||
|
|
||
|
<td><div id="t1" class="dowebok" >
|
||
|
|
||
|
<select name="t1" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v.paramindex}" {if condition="$v.colname eq 't1' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">2通道溫度:</td>
|
||
|
|
||
|
<td><div id="t2" class="dowebok">
|
||
|
|
||
|
<select name="t2" style=width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't2' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">3通道溫度:</td>
|
||
|
|
||
|
<td><div id="t3" class="dowebok">
|
||
|
|
||
|
<select name="t3" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't3' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">4通道溫度:</td>
|
||
|
|
||
|
<td><div id="t4" class="dowebok" >
|
||
|
|
||
|
<select name="t4" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't4' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">5通道溫度:</td>
|
||
|
|
||
|
<td><div id="t5" class="dowebok">
|
||
|
|
||
|
<select name="t5" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't5' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">6通道溫度:</td>
|
||
|
|
||
|
<td><div id="t6" class="dowebok" >
|
||
|
|
||
|
<select name="t6" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't6' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">7通道溫度:</td>
|
||
|
|
||
|
<td><div id="t7" class="dowebok" >
|
||
|
|
||
|
<select name="t7" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't7' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">8通道溫度:</td>
|
||
|
|
||
|
<td><div id="t8" class="dowebok" >
|
||
|
|
||
|
<select name="t8" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't8' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">9通道溫度:</td>
|
||
|
|
||
|
<td><div id="t9" class="dowebok" >
|
||
|
|
||
|
<select name="t9" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't9' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">10通道溫度:</td>
|
||
|
|
||
|
<td><div id="t10" class="dowebok" >
|
||
|
|
||
|
<select name="t10" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't10' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">11通道溫度:</td>
|
||
|
|
||
|
<td><div id="t11" class="dowebok" >
|
||
|
|
||
|
<select name="t11" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't11' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">12通道溫度:</td>
|
||
|
|
||
|
<td><div id="t12" class="dowebok">
|
||
|
|
||
|
<select name="t12" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't12' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">13通道溫度:</td>
|
||
|
|
||
|
<td><div id="t13" class="dowebok">
|
||
|
|
||
|
<select name="t13" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't13' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">14通道溫度:</td>
|
||
|
|
||
|
<td><div id="t14" class="dowebok" >
|
||
|
|
||
|
<select name="t14" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't14' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">15通道溫度:</td>
|
||
|
|
||
|
<td><div id="t15" class="dowebok">
|
||
|
|
||
|
<select name="t15" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't15' and $v.eqmid eq $d"}selected {/if}>{$v.paramindex}</option>
|
||
|
|
||
|
{/volist}
|
||
|
|
||
|
</select>
|
||
|
|
||
|
</div></td>
|
||
|
|
||
|
<td style="width:200px;text-align: right;font-size:16px;margin-left:50px;line-height:30px;">16通道溫度:</td>
|
||
|
|
||
|
<td><div id="t16" class="dowebok" >
|
||
|
|
||
|
<select name="t16" style="width:175px;">
|
||
|
|
||
|
<option value="" >请选择参数</option>
|
||
|
|
||
|
{volist name="date" id="v"}
|
||
|
|
||
|
<option value="{$v['paramindex']}" {if condition="$v.colname eq 't16' 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 para = $(this).val();
|
||
|
|
||
|
//alert(para);
|
||
|
|
||
|
$.ajax({
|
||
|
|
||
|
type: "POST",
|
||
|
|
||
|
url: "{:url('SITE_URL./admin/Paramindexinfo/ajax1')}",
|
||
|
|
||
|
dataType:"json",
|
||
|
|
||
|
data: 'para='+para,
|
||
|
|
||
|
success: function(data){
|
||
|
|
||
|
// console.log(data );
|
||
|
|
||
|
var nums=data.length;
|
||
|
|
||
|
//alert(nums);
|
||
|
|
||
|
var t1 ='<select name="t1" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var i=0;i<nums;i++) {
|
||
|
|
||
|
var date = data[i];
|
||
|
|
||
|
t1 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t1' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t1 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t1 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t1 += '</select>';
|
||
|
|
||
|
$('#t1').html(t1);
|
||
|
|
||
|
|
||
|
|
||
|
var t2 ='<select name="t2" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t2 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t2')
|
||
|
|
||
|
{
|
||
|
|
||
|
t2 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t2 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t2 += '</select>';
|
||
|
|
||
|
$('#t2').html(t2);
|
||
|
|
||
|
|
||
|
|
||
|
var t3 ='<select name="t3" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t3 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t3' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t3 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t3 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t3 += '</select>';
|
||
|
|
||
|
$('#t3').html(t3);
|
||
|
|
||
|
|
||
|
|
||
|
var t4 ='<select name="t4" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t4 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t4' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t4 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t4 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t4 += '</select>';
|
||
|
|
||
|
$('#t4').html(t4);
|
||
|
|
||
|
|
||
|
|
||
|
var t5 ='<select name="t5" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t5 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t5' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t5 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t5 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t5 += '</select>';
|
||
|
|
||
|
$('#t5').html(t5);
|
||
|
|
||
|
|
||
|
|
||
|
var t6 ='<select name="t6" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t6 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t6' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t6 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t6 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t6 += '</select>';
|
||
|
|
||
|
$('#t6').html(t6);
|
||
|
|
||
|
|
||
|
|
||
|
var t7 ='<select name="t7" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var z=0;z<nums;z++) {
|
||
|
|
||
|
var date = data[z];
|
||
|
|
||
|
t7 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t7')
|
||
|
|
||
|
{
|
||
|
|
||
|
t7 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t7 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t7 += '</select>';
|
||
|
|
||
|
$('#t7').html(t7);
|
||
|
|
||
|
|
||
|
|
||
|
var t8 ='<select name="t8" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t8 += "<option value='"+date.paramindex+"'";
|
||
|
|
||
|
if( date.colname =='t8' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t8 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t8 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t8 += '</select>';
|
||
|
|
||
|
$('#t8').html(t8);
|
||
|
|
||
|
|
||
|
|
||
|
var t9 ='<select name="t9" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t9 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t9' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t9 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t9 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t9 += '</select>';
|
||
|
|
||
|
$('#t9').html(t9);
|
||
|
|
||
|
|
||
|
|
||
|
var t10 ='<select name="t10" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t10 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t10' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t10 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t10 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t10 += '</select>';
|
||
|
|
||
|
$('#t10').html(t10);
|
||
|
|
||
|
|
||
|
|
||
|
var t11 ='<select name="t11" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t11 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t11' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t11 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t11 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t11 += '</select>';
|
||
|
|
||
|
$('#t11').html(t11);
|
||
|
|
||
|
|
||
|
|
||
|
var t12 ='<select name="t12" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t12 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t12' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t12 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t12 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t12 += '</select>';
|
||
|
|
||
|
$('#t12').html(t12);
|
||
|
|
||
|
|
||
|
|
||
|
var t13 ='<select name="t13" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t13 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t13' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t13 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t13 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t13 += '</select>';
|
||
|
|
||
|
$('#t13').html(t13);
|
||
|
|
||
|
|
||
|
|
||
|
var t14 ='<select name="t14" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t14 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t14' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t14 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t14 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t14 += '</select>';
|
||
|
|
||
|
$('#t14').html(t14);
|
||
|
|
||
|
|
||
|
var t15 ='<select name="t15" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t15 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t15' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t15 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t15 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t15 += '</select>';
|
||
|
|
||
|
$('#t15').html(t15);
|
||
|
|
||
|
|
||
|
var t16 ='<select name="t16" style="width:175px;"> <option value="" >请选择参数</option>';
|
||
|
|
||
|
for(var j=0;j<nums;j++) {
|
||
|
|
||
|
var date = data[j];
|
||
|
|
||
|
t16 += "<option value='"+ date.paramindex +"'";
|
||
|
|
||
|
if( date.colname =='t16' )
|
||
|
|
||
|
{
|
||
|
|
||
|
t16 += "selected" ;
|
||
|
|
||
|
}
|
||
|
|
||
|
t16 += ">"+date.paramindex+"</option>";
|
||
|
|
||
|
}
|
||
|
|
||
|
t16 += '</select>';
|
||
|
|
||
|
$('#t16').html(t16);
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
});
|
||
|
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|