error_info.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. .custom-table th,td{
  5. padding: 10px;
  6. }
  7. .custom-table th{
  8. width: 120px;
  9. text-align: right;
  10. }
  11. .text {
  12. width: 200px;
  13. display: inline-block;
  14. }
  15. .num {
  16. margin-left: 20px;
  17. }
  18. </style>
  19. <div class="row">
  20. <div class="col-sm-12">
  21. <div class="ibox float-e-margins">
  22. <div class="ibox-content">
  23. <table class="table custom-table">
  24. <tr>
  25. <th>名称</th><td>{$info['title']}</td>
  26. </tr>
  27. <tr>
  28. <th>失败数量</th><td>{$info['error']}</td>
  29. </tr>
  30. <tr>
  31. <th>
  32. 导入类型
  33. </th>
  34. <td>
  35. {$info['type']==1?'资源列表导入':($info['type']==2?'业主列表导入':'绑定车辆列表导入')}
  36. </td>
  37. </tr>
  38. <tr>
  39. <th>
  40. 状态
  41. </th>
  42. <td>
  43. {$info['status']==0?'正常':'已撤回'}
  44. </td>
  45. </tr>
  46. {if $info['status']==1}
  47. <tr>
  48. <th>撤回时间</th><td>{$info['withdraw_time']}</td>
  49. </tr>
  50. {/if}
  51. <tr>
  52. <th>时间</th><td>{$info['create_time']}</td>
  53. </tr>
  54. <tr>
  55. <th>错误信息:</th><td></td>
  56. </tr>
  57. </table>
  58. {if $info['msg']}
  59. <table class="table table-bordered">
  60. {foreach $info['msg'] as $k=>$v}
  61. <tr>
  62. <th></th><td>{$v}</td>
  63. </tr>
  64. {/foreach}
  65. </table>
  66. {/if}
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. {/block}
  72. {block name="script"}
  73. {/block}