detail.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. .mytable td{
  5. width: 40%;
  6. }
  7. .mytable .table-left{
  8. width: 10%;
  9. text-align: right;
  10. font-weight: bold;
  11. }
  12. </style>
  13. <div class="row">
  14. <div class="col-sm-12">
  15. <div class="ibox float-e-margins">
  16. <!--<div class="ibox-title">-->
  17. <!--<h5>订单详情</h5>-->
  18. <!--<div class="ibox-tools">-->
  19. <!--<a class="toback" href="{:url('index')}">-->
  20. <!--返回上一页-->
  21. <!--</a>-->
  22. <!--</div>-->
  23. <!--</div>-->
  24. <div class="ibox-content">
  25. <table class="mytable table table-striped">
  26. <tr>
  27. <td class="table-left">订单号</td>
  28. <td>{$info.sn}</td>
  29. <td class="table-left">下单日期</td>
  30. <td>{$info.create_time}</td>
  31. </tr>
  32. <tr>
  33. <td class="table-left">科室/部门</td>
  34. <td>{$info.dep_name}</td>
  35. <td class="table-left">创建人</td>
  36. <td>{$info.user_name}</td>
  37. </tr>
  38. <tr>
  39. <td class="table-left">联系人</td>
  40. <td>{$info.contact}</td>
  41. <td class="table-left">联系电话</td>
  42. <td>{$info.phone}</td>
  43. </tr>
  44. <tr>
  45. <td class="table-left">病人姓名</td>
  46. <td>{$info.name}</td>
  47. <td class="table-left">病人性别</td>
  48. <td>
  49. {eq name="info['gender']" value="1"}男{/eq}
  50. {eq name="info['gender']" value="2"}女{/eq}
  51. </td>
  52. </tr>
  53. <tr>
  54. <td class="table-left">病人年龄</td>
  55. <td>{$info.age}</td>
  56. <td class="table-left">病人床号</td>
  57. <td>{$info.bed}</td>
  58. </tr>
  59. <tr>
  60. <td class="table-left">所患疾病</td>
  61. <td>{$info.ill}</td>
  62. <td class="table-left">订单金额</td>
  63. <td>{$info.amount}</td>
  64. </tr>
  65. <tr>
  66. <td class="table-left">陪护服务</td>
  67. <td>{$info.cate_name}</td>
  68. <td class="table-left">单价</td>
  69. <td>{$info.price}</td>
  70. </tr>
  71. <tr>
  72. <td class="table-left">开始时间</td>
  73. <td>{$info.start}</td>
  74. <td class="table-left">结束时间</td>
  75. <td>{$info.end}</td>
  76. </tr>
  77. <tr>
  78. <td class="table-left">状态</td>
  79. <td colspan="3">
  80. {eq name="info['status']" value="0"}待分配{/eq}
  81. {eq name="info['status']" value="1"}进行中{/eq}
  82. {eq name="info['status']" value="2"}已完成{/eq}
  83. {eq name="info['status']" value="3"}已作废{/eq}
  84. {eq name="info['status']" value="4"}已结算{/eq}
  85. </td>
  86. </tr>
  87. </table>
  88. <p><br></p>
  89. <table class="table table-bordered table-striped">
  90. <tr>
  91. <th>调度</th>
  92. <th>护工</th>
  93. <th>开始时间</th>
  94. <th>结束时间</th>
  95. <th>服务天数</th>
  96. <th>结算金额</th>
  97. <th>备注</th>
  98. <th>状态</th>
  99. <th>派发日期</th>
  100. </tr>
  101. {volist name="info['todo']" id="v"}
  102. <tr>
  103. <td>{$v.user_name}</td>
  104. <td>{$v.worker_name}</td>
  105. <td>{$v.start}</td>
  106. <td>{$v.end}</td>
  107. <td>{$v.day}</td>
  108. <td>{$v.settlement_money}</td>
  109. <td>{$v.remark}</td>
  110. <td>
  111. {eq name="v['status']" value="0"} 已作废 {/eq}
  112. {eq name="v['status']" value="1"} 服务中 {/eq}
  113. {eq name="v['status']" value="2"} 已结束 {/eq}
  114. </td>
  115. <td>{$v.create_time}</td>
  116. </tr>
  117. {/volist}
  118. {empty name="info['todo']"}
  119. <tr>
  120. <td colspan="9" class="text-center">暂无数据</td>
  121. </tr>
  122. {/empty}
  123. </table>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. {/block}
  129. {block name="script"}
  130. <script type="text/javascript" src="/static/layDate-v5.0.9/laydate.js"></script>
  131. <script>
  132. laydate.render({
  133. elem: '#start',
  134. //设置开始日期、日期日期的 input 选择器
  135. //数组格式为 5.3.0 开始新增,之前版本直接配置 true 或任意分割字符即可
  136. type: 'datetime',
  137. trigger: 'click',
  138. theme: '#FF7576'
  139. });
  140. </script>
  141. {/block}