123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- {extend name="common/common2" /}
- {block name="main"}
- <style>
- .custom-table th,td{
- padding: 10px;
- }
- .custom-table th{
- width: 120px;
- text-align: left;
- }
- </style>
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <!--<div class="ibox-title">-->
- <!--<h5>{$meta_title}</h5>-->
- <!--<div class="ibox-tools">-->
- <!--<a class="toback" href="javascript:;history.back(-1)">-->
- <!--返回上一页-->
- <!--</a>-->
- <!--</div>-->
- <!--</div>-->
- <div class="ibox-content">
- <table class="table custom-table table-bordered">
- <tbody>
- <tr>
- <th>工单编号</th><td>{$info['sn']}</td>
- </tr>
- <tr>
- <th>类型</th><td>{$info['work_type_mode_text']}</td>
- </tr>
- {if $info['real_name'] != null || $info['real_name'] != ''}
- <tr>
- <th>申请人</th><td>{$info['real_name']}</td>
- </tr>
- {/if}
- <tr>
- <th>申请时间</th><td>{$info['create_time']}</td>
- </tr>
- {if $info['dep'] != null || $info['dep'] != ''}
- <tr>
- <th>所在科室/部门</th><td>{$info['dep']}</td>
- </tr>
- {/if}
- <tr>
- <th>任务内容</th><td><div>{$info['content']}</div></td>
- </tr>
- {if $info['work_type_mode'] == 3}
- <tr>
- <th>开始地点</th><td><div>{$info['oc']['start_name']}</div></td>
- </tr>
- <tr>
- <th>运送类型</th>
- <td>
- {$info['oc']['type_name']}
- </td>
- </tr>
- <tr>
- <th>结束地点</th><td><div>{$info['oc']['end_name']}</div></td>
- </tr>
- <tr>
- <th>优先级</th>
- <td>
- {if $info['oc']['priority'] == 1}可延缓的{/if}
- {if $info['oc']['priority'] == 2}常规{/if}
- {if $info['oc']['priority'] == 3}紧急{/if}
- {if $info['oc']['priority'] == 4}预约{/if}
- </td>
- </tr>
- {if !empty($info['oc']['device_name'])}
- <tr>
- <th>运送工具</th><td><div>{$info['oc']['device_name']}</div></td>
- </tr>
- {/if}
- <tr>
- <th>需求时间</th><td><div>{$info['oc']['xq_time']}</div></td>
- </tr>
- <tr>
- <th>应完成时间</th><td><div>{$info['oc']['ywc_time']}</div></td>
- </tr>
- {if !empty($info['ocp'])}
- <tr>
- <th>床号</th><td>{$info['ocp']['bed_number']}</td>
- </tr>
- <tr>
- <th>姓名</th><td>{$info['ocp']['name']}</td>
- </tr>
- <tr>
- <th>病案号</th><td>{$info['ocp']['ba_number']}</td>
- </tr>
- <tr>
- <th>性别</th>
- <td>
- {if $info['ocp']['gender'] == 0}未知{/if}
- {if $info['ocp']['gender'] == 1}男{/if}
- {if $info['ocp']['gender'] == 2}女{/if}
- </td>
- </tr>
- <tr>
- <th>往返</th>
- <td>
- {if $info['ocp']['back'] == 0}否{/if}
- {if $info['ocp']['back'] == 1}是{/if}
- </td>
- </tr>
- {/if}
- {/if}
- {if $info['work_type_mode']==1}
- <tr>
- <th>报修事项</th><td>{$info['order_type_matter']}</td>
- </tr>
- <tr>
- <th>报修类型</th><td>{$info['order_type']}</td>
- </tr>
- <tr>
- <th>报修地点</th><td>{$info['address_title']}</td>
- </tr>
- <tr>
- <th>报修紧急程度</th><td>{$info['repair_priority']}</td>
- </tr>
- {if !empty($info['bx_sign'])}
- <tr>
- <th>签名图</th>
- <td>
- <img src="{$info['bx_sign']}" onclick="open_img(this)" width="60" height="60">
- </td>
- </tr>
- {/if}
- {/if}
- {if !empty($info['voices'])}
- <tr>
- <th>语音</th><td><audio src="{$info['voices']}" controls></audio></td>
- </tr>
- {/if}
- {if !empty($info['images'])}
- <tr>
- <th>图片</th>
- <td>
- <p>
- {foreach $info['images'] as $key=>$val}
- <img onclick="open_img(this)" src="{$val}" width="60" height="60">
- {/foreach}
- </p>
- </td>
- </tr>
- {/if}
- {if !empty($info['videos'])}
- <tr>
- <th>视频</th>
- <td>
- <div id="player" class="player">
- <object width="320" height="320" id="f4player" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
- <param name="movie" value="/static/f4player/player.swf" />
- <param name="quality" value="high" />
- <param name="menu" value="false" />
- <param name="allowfullscreen" value="true" />
- <param name="scale" value="noscale" />
- <param name="allowscriptaccess" value="always" />
- <param name="swliveconnect" value="true" />
- <param name="flashvars" value="skin=/static/f4player/skins/default.swf&video={$info['videos']}&autoplay=0"/>
- </object>
- </div>
- </td>
- </tr>
- {/if}
- {if !empty($info['reason'])}
- <tr>
- <th>原因</th>
- <td>
- {$info['reason']}
- </td>
- </tr>
- {/if}
- {if $info['order_mode'] == 6 && !empty($info['comment'])}
- <tr>
- <th>评价</th>
- <td>
- <link rel="stylesheet" href="/static/bootstrap-star-rating/css/star-rating.css">
- <script src="/static/bootstrap-star-rating/js/star-rating.js"></script>
- <div class="atar_show">
- <input id="input-id" type="hidden" class="rating" value="{$info['comment']['score']}" disabled data-size="xs" >
- </div>
- <script>
- $("#input-id").rating({
- showclear:false,
- showcaption: false,
- });
- </script>
- <div>
- {$info['comment']['content']}
- </div>
- </td>
- </tr>
- {/if}
- <tr>
- <th>执行人</th><td>{$info['to_real_name']}</td>
- </tr>
- {if !empty($info['confirm_time'])}
- <tr>
- <th>接单日期</th><td>{$info['confirm_time']}</td>
- </tr>
- {/if}
- {if !empty($info['done_time'])}
- <tr>
- <th>完成日期</th><td>{$info['done_time']}</td>
- </tr>
- {/if}
- {if !empty($info['nodo_reason'])}
- {if $info['todo_mode']===3}
- <tr>
- <th>汇报内容</th><td>{$info['nodo_reason']}</td>
- </tr>
- {/if}
- {if $info['todo_mode']===5}
- <tr>
- <th>无法完成原因</th><td>{$info['nodo_reason']}</td>
- </tr>
- {/if}
- {/if}
- {if !empty($info['cancel_reason'])}
- <tr>
- <th>取消原因</th><td>{$info['cancel_reason']}</td>
- </tr>
- {/if}
- {if !empty($info['nodo_reason'])}
- {if $info['todo_mode']===4}
- <tr>
- <th>驳回原因</th><td>{$info['nodo_reason']}</td>
- </tr>
- {/if}
- {/if}
- {if $info['todo_mode']===4 && !empty($info['reject_voice'])}
- <tr>
- <th>驳回语音</th><td><audio src="{$info['reject_voice']}" controls></audio></td>
- </tr>
- {/if}
- {if !empty($info['todo_ok_img'])}
- <tr>
- <th>完成图片</th>
- <td>
- {foreach $info['todo_ok_img'] as $key=>$val}
- <img src="{$val}" onclick="open_img(this)" width="60" height="60">
- {/foreach}
- </td>
- </tr>
- {/if}
- <tr>
- <th>调度分派时间</th><td>{$info['to_create_time']}</td>
- </tr>
- {if condition="$info['todo_mode'] eq 2 and $info['pause'] == 1"}
- <tr>
- <th>状态</th>
- <td>
- 挂起
- </td>
- </tr>
- <tr>
- <th>挂起原因</th>
- <td>
- {$info['pause_reason']}
- </td>
- </tr>
- <tr>
- <th>挂起时间</th>
- <td>
- {$info['pause_time']}
- </td>
- </tr>
- {if !empty($info.pauseList)}
- <tr>
- <th>挂起进度</th>
- <td>
- {:widget_view('common/timeline',['name'=>'timeline','lists' => $info.pauseList])}
- </td>
- </tr>
- {/if}
- {else}
- <tr>
- <th>状态</th>
- <td>
- {$info['todo_mode_in_content']}
- </td>
- </tr>
- {/if}
- {if $info['todo_mode'] == 3}
- <tr>
- <th>完成用时</th><td>{$info['time_cost']}</td>
- </tr>
- {/if}
- {if !empty($info['to_ok_images'])}
- <tr>
- <th>完成图片</th>
- <td>
- <p>
- {foreach $info['to_ok_images'] as $key=>$val}
- <img onclick="open_img(this)" src="{$val}" width="60" height="60">
- {/foreach}
- </p>
- </td>
- </tr>
- {/if}
- {if in_array($info['todo_mode'],[1,2,4])}
- <tr>
- <th>操作</th><td>
- {if $info.todo_mode==4}
- <a url="{:url('send',[],'')}/id/{$info['id']}/mode/{$info['work_type_mode']}" href="javascript:;" onclick="layer_open(this,2)"><span class="btn btn-sm btn-primary">重新分配</span></a>
- {/if}
- <a {if !btnAuth(session("user_auth.id"),"Todo/cancel")} style="display:none" {/if} url="{:url('disCancel',[],'')}/id/{$info['id']}" href="javascript:;" onclick="layer_open(this,2)"><span class="btn btn-sm btn-default">取消</span></a>
- {if $info.todo_mode==1||$info.todo_mode==2}
- <!-- <a href="{:url('finish',[],'')}/id/{$info['id']}" class="confirm ajax-get" data-confirm="是否确认完成?" data-reload="1"><span class="btn btn-sm btn-primary" title="完成">完成</span></a>-->
- {/if}
- </td>
- </tr>
- {/if}
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- {/block}
|