dmanger-list.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <link rel="stylesheet" href="__PUBLIC__/html/bootstrap-3.3.7/css/bootstrap.min.css">
  2. <ul>
  3. <li class="content-bottom-li">
  4. <a style="display:inline;">本页共 <b style="color:red;"> {$count} </b> 个设备<a/>
  5. <a href="__MODULE__/Maintinfo/maintlist/compangid/{$companyid}/type/{$type}/count/{$count}" style="float:right;margin-right:30px;">报修纪录</a>
  6. </li>
  7. <volist name="ResData" id="vo" >
  8. <form action="__MODULE__/Maintinfo/setform" method="post">
  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="owner_code" type="hidden" value="{$vo.owner_code}"/>
  13. <input name="owner_name" type="hidden" value="{$vo.owner_name}"/>
  14. <input name="type" type="hidden" value="{$type}"/>
  15. <li class="content-bottom-li">
  16. <a style="text-decoration:none;padding-bottom:10px;">
  17. <p class="span-ffist" style="width:100%;">{$vo.owner_name}
  18. <if condition="$vo.dstatus eq '在线' ">
  19. <span style="color: #49D013;margin-right:30px;">{$vo.dstatus}</span>
  20. <else />
  21. <span style="clear:both;margin-right:30px;">{$vo.dstatus}</span>
  22. </if>
  23. </p>
  24. <p>设备ID:{$vo.owner_code}<button style="border:none;;margin-right:30px;float:right;"><img width=30 height=30 src="__PUBLIC__/wxapp/images/baoxiu.png"/></button></p>
  25. </a>
  26. </li>
  27. </form>
  28. </volist>
  29. </ul>
  30. <button type="button" onclick="tijiao()" class="btn btn-info col-xs-12" style="margin-bottom:20px;">提交</button>
  31. <script>
  32. console.log($(".span-ffist").length);
  33. function tijiao(){
  34. $('#weibao1').submit();
  35. }
  36. </script>