From 3cdf58d277e09e1a6fae1707870e3d832d892ca2 Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期一, 10 十二月 2018 16:06:33 +0800 Subject: [PATCH] 修改设备连接信息使用搜索文本框 --- gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html index 33f0d10..552f9bd 100644 --- a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html +++ b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html @@ -24,10 +24,11 @@ function creatBattView(index){ - var battTitle='<div>'+'<h1 class="hbg">'+'鐢垫睜缁�'+index+'</h1>'+ + var count=index+1 + ,battTitle='<div>'+'<h1 class="hbg">'+'鐢垫睜缁�'+count+'</h1>'+ '<table class="layout-set">'+'<tbody>'+'<tr>'+'<td>'+'璁惧绱㈠紩'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" data-type="horizontal">'+'<select>' ,allOption=selectedIndex(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>' - ,battName='<tr>'+'<td>'+'鐢垫睜缁勫悕绉�'+'</td>'+'<td>'+'<input type="text" '+'id='+'battname'+index+' data-mini="true"'+'value='+'鐢垫睜缁�'+index +' />'+'</td>'+'</tr>'+'</tbody>'+'</table>'+'</div>'; + ,battName='<tr>'+'<td>'+'鐢垫睜缁勫悕绉�'+'</td>'+'<td>'+'<input type="text" '+'id='+'battname'+index+' data-mini="true"'+'value='+'鐢垫睜缁�'+count+' />'+'</td>'+'</tr>'+'</tbody>'+'</table>'+'</div>'; return battTitle+allOption+battName; } -- Gitblit v1.9.1