excel.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <html xmlns:o="urn:schemas-microsoft-com:office:office"
  2. xmlns:x="urn:schemas-microsoft-com:office:excel"
  3. xmlns="http://www.w3.org/TR/REC-html40">
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
  8. <style id="Classeur1_16681_Styles"></style>
  9. </head>
  10. <body>
  11. <div id="Classeur1_16681" align=center x:publishsource="Excel">
  12. <table x:str border=1 cellpadding=0 cellspacing=0 width="100%" style="border-collapse: collapse;border 1px #000 solid">
  13. <thead>
  14. <tr>
  15. <th>#</th>
  16. <th>姓名</th>
  17. <th>手机号</th>
  18. <th>进出状态</th>
  19. <th>车牌号</th>
  20. <th>体温</th>
  21. <th>近期是否接触疫情</th>
  22. <th>事由</th>
  23. <th>时间</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. {foreach $list as $vo}
  28. <tr>
  29. <td>{$vo.id}</td>
  30. <td>{$vo.account.name}</td>
  31. <td>{$vo.account.phone}</td>
  32. <td>{$vo.pass_out}</td>
  33. <td>{$vo.car_num}</td>
  34. <td>{$vo.temperature}</td>
  35. <td>{if $vo.is_danger == 0}没有{else}接触{/if}</td>
  36. <td>{$vo.why}</td>
  37. <td>{$vo.update_time}</td>
  38. </tr>
  39. {/foreach}
  40. </tbody>
  41. </table>
  42. </div>
  43. </body>
  44. </html>