123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport"
- content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <script type="text/javascript" src="/static/jquery-2.2.4.min.js"></script>
- <script type="text/javascript" src="/static/layer/layer.js"></script>
- <script type="text/javascript" src="/admin/js/common.js"></script>
- <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
- <link rel="stylesheet" href="/static/h5/css/common.css">
- <title>完成订单详情</title>
- <style>
- body{
- background-color: #F1F1F1;
- }
- .container{
- max-width: 100vw;
- height: auto;
- margin: 0;
- padding: 0;
- margin-bottom: 60px;
- }
- .public-info{
- width: 100%;
- height: 32vw;
- background: #FFFFFF;
- }
- .public-info .left-box{
- width: 22vw;
- height: 27vw;
- padding: 0vw 3vw;
- margin-top: 5vw;
- display: inline-block;
- float: left;
- }
- .public-info .left-box .title{
- width:16vw;
- height:16vw;
- line-height: 16vw;
- background: #E7F0F9;
- border-radius: 10px;
- font-size: 32px;
- font-family: PingFang SC;
- font-weight: bold;
- color: var(--themeColor);
- text-align: center;
- }
- .public-info .right-box{
- width: 78vw;
- height: 32vw;
- display: inline-block;
- float: left;
- }
- .public-info .right-box .name-box{
- width: 100%;
- height: 16vw;
- overflow: hidden;
- }
- .public-info .right-box .name-box .left-name-box{
- width: 44%;
- height: 16vw;
- line-height: 16vw;
- display: inline-block;
- float: left;
- font-size: 25px;
- font-weight: bold;
- color: #333333;
- overflow: hidden;
- }
- .public-info .right-box .name-box .right-status-box{
- width: 13vw;
- height: 5vw;
- line-height: 5vw;
- border-radius: 20px;
- color: #ffffff;
- display: inline-block;
- float: right;
- text-align: center;
- font-size: 13px;
- margin-top: 5.5vw;
- margin-right: 4vw;
- }
- .public-info .right-box .name-box .color1{
- background-color: #148d8f;
- }
- .public-info .right-box .name-box .color2{
- background-color: #05D8DA;
- }
- .public-info .right-box .name-box .color3{
- background-color: #437EFF;
- }
- .public-info .right-box .name-box .color4{
- background-color: #F79F2D;
- }
- .public-info .right-box .name-box .color4{
- background-color: #089857;
- }
- .public-info .right-box .info-user-box{
- width: 100%;
- height: 8vw;
- line-height: 8vw;
- }
- .public-info .right-box .info-user-box .one{
- width: 50%;
- height: 100%;
- display: inline-block;
- float: left;
- overflow: hidden;
- }
- .public-info .right-box .info-user-box .one .img{
- width: 3.3vw;
- height: 3.3vw;
- display: inline-block;
- }
- .public-info .right-box .info-user-box .one .img img{
- width: 100%;
- height: 100%;
- }
- .public-info .right-box .info-user-box text{
- font-size: 14px;
- font-weight: 400;
- color: #666666;
- }
- .public-info-content{
- width: 100%;
- height: auto;
- margin-top: 1vw;
- background-color: #fff;
- }
- .header{
- width: 100%;
- height: 12vw;
- }
- .header .header-left {
- width: 60vw;
- height: 12vw;
- line-height: 12vw;
- display: inline-block;
- float: left;
- }
- .header .header-right{
- width: 40vw;
- height: 12vw;
- line-height: 12vw;
- display: inline-block;
- float: right;
- padding-right: 4vw;
- font-size: 14px;
- font-weight: 400;
- color: #666666;
- text-align: right;
- }
- .header .header-left .line-box{
- width: 0.8vw;
- height: 3.4vw;
- background: var(--themeColor);
- border-radius: 3px;
- display: inline-block;
- float: left;
- margin-left: 2vw;
- margin-top: 4.3vw;
- margin-right: 2vw;
- }
- .header .header-left .title{
- width: 55vw;
- height: 12vw;
- font-size: 19px;
- font-weight: bold;
- color: #333333;
- display: inline-block;
- float: left;
- }
- .public-info-content .content-box{
- width: 100%;
- height: auto;
- padding: 1vw;
- }
- .public-info-content .content-box div{
- width: 100%;
- background: #F7F7F7;
- border-radius: 10px;
- padding: 1vw;
- min-height: 20vw;
- word-wrap:break-word;
- }
- .public-info-content .voices-box{
- width: 100%;
- height: 16vw;
- line-height: 16vw;
- text-align: right;
- padding: 1vw;
- }
- .public-info-taskImg{
- width: 100%;
- height: auto;
- background-color: #fff;
- margin-top: 1vw;
- }
- .public-info-taskImg .img-box{
- width: 100%;
- height: auto;
- overflow: hidden;
- }
- .public-info-taskImg .img-box .img-all-box{
- width: 100%;
- height: auto;
- padding: 0vw 4vw;
- overflow: hidden;
- }
- .public-info-taskImg .img-box .img-all-box .img{
- width: 22vw;
- height: 22vw;
- display: inline-block;
- float: left;
- margin-right: 1vw;
- margin-bottom: 1vw;
- }
- .public-info-taskImg .img-box .img-all-box .img img{
- width: 100%;
- height: 100%;
- }
- .public-info-taskImg .img-box .img-all-box .img video{
- width: 100%;
- height: 100%;
- }
- .public-info-taskImg .img-box .bottom-title-box{
- width: 100%;
- height: 10vw;
- line-height: 10vw;
- text-align: center;
- font-size: 12px;
- color: #666666;
- }
- .repairs-box{
- width: 100%;
- height: auto;
- margin-top: 1vw;
- background-color: #fff;
- }
- .repairs-matter{
- width: 100%;
- height: 10vw;
- line-height: 10vw;
- border-bottom: 1px solid #f1f1f1;
- padding: 0vw 4vw;
- overflow: hidden;
- }
- .repairs-matter .title{
- font-size: 17px;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- float: left;
- }
- .repairs-matter .content{
- font-weight: 500;
- color: #666666;
- float: right;
- }
- .repairs-type{
- width: 100%;
- height: 10vw;
- line-height: 10vw;
- border-bottom: 1px solid #f1f1f1;
- padding: 0vw 4vw;
- overflow: hidden;
- padding-bottom: 1vw;
- }
- .repairs-type .title{
- font-size: 17px;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- float: left;
- }
- .repairs-type .content{
- font-weight: 500;
- color: #666666;
- float: right;
- }
- .execute-user{
- width: 100%;
- height: auto;
- background-color: #fff;
- margin-top: 1vw;
- }
- .execute-user .execute-user-name{
- width: 100%;
- height: auto;
- overflow: hidden;
- }
- .execute-user .execute-user-name .user-info{
- width: 100%;
- height: 10vw;
- line-height: 10vw;
- padding: 0vw 4vw;
- }
- .execute-user .execute-user-name .user-info .name{
- font-size: 17px;
- font-weight: 500;
- color: #666666;
- float: left;
- }
- .execute-user .execute-user-name .user-info .status{
- font-weight: 500;
- float: right;
- }
- .execute-user .execute-user-name .user-info .status text{
- margin-left: 1vw;
- font-weight: 500;
- color: #666666;
- }
- .cancel-cause{
- width: 100%;
- height: auto;
- margin-top: 1vw;
- padding: 0vw 2vw;
- background-color: #fff;
- }
- .cancel-cause .title{
- width: 100%;
- height: 12vw;
- line-height: 12vw;
- font-size: 19px;
- font-weight: bold;
- color: var(--themeColor);
- border-bottom: 1px solid var(--themeColor);
- }
- .cancel-cause .content{
- width: 100%;
- height: auto;
- padding: 2vw 4vw 5vw 0vw;
- word-wrap:break-word;
- }
- .footer-back{
- position: fixed;
- z-index: 1000;
- width: 100%;
- height: 45px;
- line-height: 45px;
- background-color: #ffffff;
- bottom: 0;
- left: 0;
- box-shadow: 0px 0px 10px 0px rgba(26, 25, 26, 0.05);
- display: table-cell;
- vertical-align: middle;
- text-align: center;
- }
- .footer-back a img{
- width: 43px;
- height: 43px;
- }
- .convey-box{
- width: 100%;
- height: 12vw;
- background-color: #fff;
- margin-top: 1vw;
- }
- .convey-route-box{
- width: 100%;
- height: 32vw;
- background-color: #fff;
- margin-top: 1vw;
- }
- .patient-info-box{
- width: 100%;
- height: 62vw;
- background-color: #fff;
- margin-top: 1vw;
- }
- .pay-status{
- width: 13vw;
- height: 100%;
- display: inline-block;
- float: left;
- }
- .pay-status .pay{
- width: 13vw;
- height: 5vw;
- line-height: 5vw;
- border-radius: 20px;
- color: #ffffff;
- display: inline-block;
- text-align: center;
- font-size: 13px;
- margin-top: 5.5vw;
- background-color: var(--themeColor);
- }
- </style>
- </head>
- <body>
- <div class="container">
- <div class="public-info">
- <div class="left-box">
- <div class="title">订</div>
- </div>
- <div class="right-box">
- <div class="name-box">
- <div class="left-name-box">{$info['work_type_mode_text']}订单</div>
- {if $info['oc']['conveyTypeCate'] == 1}
- {if $info['pay']['is_pay'] == 0}
- <div class="pay-status">
- <div class="pay">未支付</div>
- </div>
- {else /}
- <div class="pay-status">
- <div class="pay">已支付</div>
- </div>
- {/if}
- {/if}
- <div class="right-status-box color1">{$info['order_mode_out_text']}</div>
- </div>
- <div class="info-user-box">
- <div class="one">
- <div class="img">
- <img src="/img/h5/icon-ren.png" alt="">
- </div>
- <text>{$info['real_name']}</text>
- </div>
- <div class="one">
- <div class="img">
- <img src="/img/h5/icon-date.png" alt="">
- </div>
- <text>{$info['create_time']}</text>
- </div>
- </div>
- <div class="info-user-box">
- <div class="one">
- <div class="img">
- <img src="/img/h5/icon-bumen.png" alt="">
- </div>
- <span>{$info['dep']}</span>
- </div>
- <div class="one">
- <div class="img">
- <img src="/img/h5/icon-dianhua.png" alt="">
- </div>
- <span>{$info['mobile']}</span>
- </div>
- </div>
- </div>
- </div>
- <!-- 任务内容-->
- <div class="public-info-content">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">任务内容</div>
- </div>
- </div>
- <div class="content-box">
- <div>{$info['content']}</div>
- </div>
- {if($info['voices'])}
- <div class="voices-box">
- <audio src="{$info['voices']}" controls="controls">
- </audio>
- </div>
- {/if}
- </div>
- <!-- 任务图片-->
- {if !empty($info['images']) || !empty($info['videos'])}
- <div class="public-info-taskImg">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">任务图片</div>
- </div>
- </div>
- <div class="img-box">
- <div class="img-all-box">
- {if($info['images'])}
- {foreach $info['images'] as $k=>$v}
- <div class="img">
- <img src="{$v}" onclick="open_img(this)" alt="">
- </div>
- {/foreach}
- {/if}
- {if($info['videos'])}
- {foreach $info['videos'] as $k=>$v}
- <div class="img">
- <video src="{$v}" style="object-fit: fill;" onclick="playVideo(this)"></video>
- </div>
- {/foreach}
- {/if}
- </div>
- <div class="bottom-title-box">(点击可查看图片、视频详情信息)</div>
- </div>
- </div>
- {/if}
- <!-- 取消原因-->
- {if $info['order_mode'] == 2 || $info['order_mode'] == 3}
- <div class="cancel-cause">
- <div class="title">取消原因</div>
- <div class="content">
- {$info['cancel_reason']}
- </div>
- </div>
- {/if}
- {if $info['work_type_mode'] == 1}
- <!-- 报修 -->
- <div class="repairs-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">报修地点</div>
- </div>
- <span class="header-right">{$info['repair']['address_title']}</span>
- </div>
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">报修事项</div>
- </div>
- </div>
- <div class="repairs-matter">
- <text class="title">报修事项:</text>
- <text class="content">{$info['repair']['order_type_matter']}</text>
- </div>
- <div class="repairs-type">
- <text class="title">报修类型:</text>
- <text class="content">{$info['repair']['order_type']}</text>
- </div>
- </div>
- {/if}
- <!-- 运送 -->
- {if $info['work_type_mode'] == 3}
- <div class="convey-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">运送类型</div>
- </div>
- <span class="header-right">{$info['oc']['type_name']}</span>
- </div>
- </div>
- <div class="convey-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">运送积分</div>
- </div>
- <span class="header-right">{$info['oc']['typeScore']}</span>
- </div>
- </div>
- <div class="convey-route-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">运送路线</div>
- </div>
- </div>
- <div class="repairs-matter" style="border-bottom: 0 !important;">
- <span class="title">开始地点:</span>
- <span class="content">{$info['oc']['start_name']}</span>
- </div>
- <div class="repairs-type">
- <span class="title">结束地点:</span>
- <span class="content">{$info['oc']['end_name']}</span>
- </div>
- </div>
- <div class="convey-route-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">运送时间</div>
- </div>
- </div>
- <div class="repairs-matter">
- <span class="title">需求时间:</span>
- <span class="content">{$info['oc']['xq_time']}</span>
- </div>
- <div class="repairs-type">
- <span class="title">完成时间:</span>
- <span class="content">{$info['oc']['ywc_time']}</span>
- </div>
- </div>
- <div class="convey-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">优先级</div>
- </div>
- <span class="header-right">{$info['oc']['priority']}</span>
- </div>
- </div>
- <div class="convey-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">运送工具</div>
- </div>
- <span class="header-right">{$info['oc']['device_name']}</span>
- </div>
- </div>
- <div class="convey-route-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">联系人信息</div>
- </div>
- </div>
- <div class="repairs-matter">
- <text class="title">联系人姓名:</text>
- <text class="content">{$info['oc']['name']}</text>
- </div>
- <div class="repairs-type">
- <text class="title">联系人电话:</text>
- <text class="content">{$info['oc']['phone']}</text>
- </div>
- </div>
- {if $info['oc']['conveyTypeCate']==1 && !empty($info['oc']['ocp'])}
- <div class="patient-info-box">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">病人信息</div>
- </div>
- </div>
- <div class="repairs-matter">
- <text class="title">床号</text>
- <text class="content">{$info['oc']['ocp']['bed_number']}</text>
- </div>
- <div class="repairs-matter">
- <text class="title">病人姓名</text>
- <text class="content">{$info['oc']['ocp']['name']}</text>
- </div>
- <div class="repairs-matter">
- <text class="title">病案号</text>
- <text class="content">{$info['oc']['ocp']['ba_number']}</text>
- </div>
- <div class="repairs-matter">
- <text class="title">性别</text>
- {if $info['oc']['ocp']['gender'] == 0}
- <text class="content">未知</text>
- {elseif($info['oc']['ocp']['gender'] == 1)}
- <text class="content">男</text>
- {elseif($info['oc']['ocp']['gender'] == 2)}
- <text class="content">女</text>
- {/if}
- </div>
- <div class="repairs-matter">
- <text class="title">是否往返</text>
- {if $info['oc']['ocp']['back'] == 0}
- <text class="content">否</text>
- {elseif($info['oc']['ocp']['back'] == 1)}
- <text class="content">往返</text>
- {/if}
- </div>
- </div>
- <!-- 途径地点-->
- <div class="execute-user">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">途径地点</div>
- </div>
- </div>
- <div class="execute-user-name">
- {if($info['ends'])}
- {foreach $info['ends'] as $k=>$v}
- <div class="user-info">
- <span class="name">{$v['title']}</span>
- {if $v['scan'] == 0}
- <span class="status"> <input type="checkbox" disabled> </span>
- {else /}
- <span class="status"> <input type="checkbox" checked disabled> </span>
- {/if}
- </div>
- {/foreach}
- {/if}
- </div>
- </div>
- {/if}
- {/if}
- <div class="execute-user">
- <div class="header">
- <div class="header-left">
- <div class="line-box"></div>
- <div class="title">执行人员</div>
- </div>
- </div>
- <div class="execute-user-name">
- {if($info['todo_list'])}
- {foreach $info['todo_list'] as $k=>$v}
- {if $v['todo_mode'] != 1}
- <div class="user-info" onclick="ordersSubDetails(this)" data-id="{$v['id']}" data-orgId="{$v['org_id']}">
- <span class="name">{$v['to_real_name']}</span>
- <span class="status">{$v['todo_mode_text']}<text>></text></span>
- </div>
- {else /}
- <div class="user-info">
- <span class="name">{$v['to_real_name']}</span>
- <span class="status">{$v['todo_mode_text']}<text>></text></span>
- </div>
- {/if}
- {/foreach}
- {/if}
- </div>
- </div>
- <div class="footer-back">
- <a href="javascript:;" onclick="javascript:history.back(-1);"><img src="/img/back.png"></a>
- </div>
- </div>
- </body>
- </html>
- <script>
- var orgId = "{$info['org_id']}";
- function ordersSubDetails(obj) {
- var id = $(obj).attr('data-id');
- var org = $(obj).attr('data-orgId');
- var url = "{:url('Statistics/ordersSubDetails')}?id="+id+'&orgId='+org;
- window.location.href=url;
- }
- function playVideo(obj) {
- var obj =$(obj);
- var url = obj.attr('src');
- var url = "{:url('Statistics/videoPlay')}?url="+url+'&orgId='+orgId;
- window.location.href=url;
- }
- </script>
|