dmanger-list.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <link rel="stylesheet" href="__PUBLIC__/html/bootstrap-3.3.7/css/bootstrap.min.css">
  2. <form id="weibao1" action="__MODULE__/Maint/setform" method="post">
  3. <ul>
  4. <li class="content-bottom-li">
  5. <a style="display:inline;">本页共 <b style="color:red;"> {$count} </b> 个设备<a/>
  6. <a href="__MODULE__/Maint/maintlist/compangid/{$companyid}/type/{$type}/count/{$count}" style="float:right;margin-right:30px;">历史纪录</a>
  7. </li>
  8. <volist name="ResData" id="vo" >
  9. <input name="count" type="hidden" value="{$count}"/>
  10. <input name="companyid" type="hidden" value="{$vo.company}"/>
  11. <input name="phone" type="hidden" value="{$phone}"/>
  12. <input name="type" type="hidden" value="{$type}"/>
  13. <li class="content-bottom-li">
  14. <a style="text-decoration:none;padding-bottom:10px;">
  15. <p class="span-ffist">{$vo.owner_name} </p>
  16. <!--<p>{$vo.company} </p>-->
  17. <p>设备ID:{$vo.owner_code}
  18. <if condition="$vo.dstatus eq '在线' ">
  19. <span style="color: #49D013;margin-right:20px;">状态:{$vo.dstatus} </span>
  20. <!--<p>历史纪录:{$vo.datetime} 状态:{$vo.status}</p>-->
  21. <p>正常<input type="checkbox" name="status[{$vo.owner_code}]" value="0" style="margin-right:30px;"/>
  22. 故障<input type="checkbox" name="status[{$vo.owner_code}]" value="1" style="margin-right:30px;"/></p>
  23. <else />
  24. <span style="clear:both;margin-right:20px;">状态:{$vo.dstatus} </span>
  25. <p>正常<input type="checkbox" name="status[{$vo.owner_code}]" value="0" style="margin-right:30px;"/>
  26. 故障<input type="checkbox" name="status[{$vo.owner_code}]" value="1" style="margin-right:30px;"/></p>
  27. </if>
  28. </p>
  29. </a>
  30. </li>
  31. </volist>
  32. </ul>
  33. <button type="button" onclick="tijiao()" class="btn btn-info col-xs-12" style="margin-bottom:20px;">提交</button>
  34. </form>
  35. <script>
  36. console.log($(".span-ffist").length);
  37. function tijiao(){
  38. $('#weibao1').submit();
  39. }
  40. </script>