123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- {extend name="common/common2" /}
- {block name="main"}
- <style>
- .mytable td{
- width: 40%;
- }
- .mytable .table-left{
- width: 10%;
- text-align: right;
- font-weight: bold;
- }
- </style>
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <!--<div class="ibox-title">-->
- <!--<h5>订单详情</h5>-->
- <!--<div class="ibox-tools">-->
- <!--<a class="toback" href="{:url('index')}">-->
- <!--返回上一页-->
- <!--</a>-->
- <!--</div>-->
- <!--</div>-->
- <div class="ibox-content">
- <table class="mytable table table-striped">
- <tr>
- <td class="table-left">订单号</td>
- <td>{$info.sn}</td>
- <td class="table-left">下单日期</td>
- <td>{$info.create_time}</td>
- </tr>
- <tr>
- <td class="table-left">科室/部门</td>
- <td>{$info.dep_name}</td>
- <td class="table-left">创建人</td>
- <td>{$info.user_name}</td>
- </tr>
- <tr>
- <td class="table-left">联系人</td>
- <td>{$info.contact}</td>
- <td class="table-left">联系电话</td>
- <td>{$info.phone}</td>
- </tr>
- <tr>
- <td class="table-left">病人姓名</td>
- <td>{$info.name}</td>
- <td class="table-left">病人性别</td>
- <td>
- {eq name="info['gender']" value="1"}男{/eq}
- {eq name="info['gender']" value="2"}女{/eq}
- </td>
- </tr>
- <tr>
- <td class="table-left">病人年龄</td>
- <td>{$info.age}</td>
- <td class="table-left">病人床号</td>
- <td>{$info.bed}</td>
- </tr>
- <tr>
- <td class="table-left">所患疾病</td>
- <td>{$info.ill}</td>
- <td class="table-left">订单金额</td>
- <td>{$info.amount}</td>
- </tr>
- <tr>
- <td class="table-left">陪护服务</td>
- <td>{$info.cate_name}</td>
- <td class="table-left">单价</td>
- <td>{$info.price}</td>
- </tr>
- <tr>
- <td class="table-left">开始时间</td>
- <td>{$info.start}</td>
- <td class="table-left">结束时间</td>
- <td>{$info.end}</td>
- </tr>
- <tr>
- <td class="table-left">状态</td>
- <td colspan="3">
- {eq name="info['status']" value="0"}待分配{/eq}
- {eq name="info['status']" value="1"}进行中{/eq}
- {eq name="info['status']" value="2"}已完成{/eq}
- {eq name="info['status']" value="3"}已作废{/eq}
- {eq name="info['status']" value="4"}已结算{/eq}
- </td>
- </tr>
- </table>
- <p><br></p>
- <table class="table table-bordered table-striped">
- <tr>
- <th>调度</th>
- <th>护工</th>
- <th>开始时间</th>
- <th>结束时间</th>
- <th>服务天数</th>
- <th>结算金额</th>
- <th>备注</th>
- <th>状态</th>
- <th>派发日期</th>
- </tr>
- {volist name="info['todo']" id="v"}
- <tr>
- <td>{$v.user_name}</td>
- <td>{$v.worker_name}</td>
- <td>{$v.start}</td>
- <td>{$v.end}</td>
- <td>{$v.day}</td>
- <td>{$v.settlement_money}</td>
- <td>{$v.remark}</td>
- <td>
- {eq name="v['status']" value="0"} 已作废 {/eq}
- {eq name="v['status']" value="1"} 服务中 {/eq}
- {eq name="v['status']" value="2"} 已结束 {/eq}
- </td>
- <td>{$v.create_time}</td>
- </tr>
- {/volist}
- {empty name="info['todo']"}
- <tr>
- <td colspan="9" class="text-center">暂无数据</td>
- </tr>
- {/empty}
- </table>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script type="text/javascript" src="/static/layDate-v5.0.9/laydate.js"></script>
- <script>
- laydate.render({
- elem: '#start',
- //设置开始日期、日期日期的 input 选择器
- //数组格式为 5.3.0 开始新增,之前版本直接配置 true 或任意分割字符即可
- type: 'datetime',
- trigger: 'click',
- theme: '#FF7576'
- });
- </script>
- {/block}
|