123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <link rel="stylesheet" href="__PUBLIC__/html/bootstrap-3.3.7/css/bootstrap.min.css">
- <form id="weibao1" action="__MODULE__/Maint/setform" method="post">
- <ul>
- <li class="content-bottom-li">
- <a style="display:inline;">本页共 <b style="color:red;"> {$count} </b> 个设备<a/>
- <a href="__MODULE__/Maint/maintlist/compangid/{$companyid}/type/{$type}/count/{$count}" style="float:right;margin-right:30px;">历史纪录</a>
- </li>
- <volist name="ResData" id="vo" >
- <input name="count" type="hidden" value="{$count}"/>
- <input name="companyid" type="hidden" value="{$vo.company}"/>
- <input name="phone" type="hidden" value="{$phone}"/>
- <input name="type" type="hidden" value="{$type}"/>
- <li class="content-bottom-li">
- <a style="text-decoration:none;padding-bottom:10px;">
- <p class="span-ffist">{$vo.owner_name} </p>
- <!--<p>{$vo.company} </p>-->
- <p>设备ID:{$vo.owner_code}
- <if condition="$vo.dstatus eq '在线' ">
-
- <span style="color: #49D013;margin-right:20px;">状态:{$vo.dstatus} </span>
- <!--<p>历史纪录:{$vo.datetime} 状态:{$vo.status}</p>-->
- <p>正常<input type="checkbox" name="status[{$vo.owner_code}]" value="0" style="margin-right:30px;"/>
- 故障<input type="checkbox" name="status[{$vo.owner_code}]" value="1" style="margin-right:30px;"/></p>
- <else />
- <span style="clear:both;margin-right:20px;">状态:{$vo.dstatus} </span>
- <p>正常<input type="checkbox" name="status[{$vo.owner_code}]" value="0" style="margin-right:30px;"/>
- 故障<input type="checkbox" name="status[{$vo.owner_code}]" value="1" style="margin-right:30px;"/></p>
- </if>
- </p>
- </a>
-
- </li>
- </volist>
- </ul>
- <button type="button" onclick="tijiao()" class="btn btn-info col-xs-12" style="margin-bottom:20px;">提交</button>
- </form>
- <script>
- console.log($(".span-ffist").length);
- function tijiao(){
- $('#weibao1').submit();
- }
- </script>
|