123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- <!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">
- <title>详情</title>
- <style>
- body{
- background-color: #F1F1F1;
- }
- .container{
- max-width: 750px;
- height: auto;
- margin: 0 auto;
- padding: 0px 6px;
- }
- .patrol-details-all{
- width: 100%;
- height: auto;
- background-color: #ffffff;
- border-radius: 10px;
- padding: 0px 13px;
- margin-top: 5px;
- }
- .patrol-over{
- width: 100%;
- height: 40px;
- line-height: 40px;
- color: #148d8f;
- border-bottom: 1.2px solid #B3C9C4;
- font-weight: 600;
- font-size: 15px;
- letter-spacing: 1px;
- }
- .patrol-over-content{
- width: 100%;
- height: 90px;
- }
- .patrol-over-info{
- width: 100%;
- height: 30px;
- line-height: 30px;
- border-bottom:1px solid #F1F1F1;
- }
- .left{
- width: 30%;
- height: 30px;
- display: inline-block;
- font-size: 14px;
- color: #0f0f0f;
- float: left;
- letter-spacing: 1px;
- }
- .right{
- width: 68%;
- height: 30px;
- display: inline-block;
- font-size: 13px;
- color: #A9A9A9;
- float: right;
- overflow: hidden;
- text-align: right;
- }
- .break-cause{
- width: 100%;
- height: auto;
- background-color: #ffffff;
- border-radius: 10px;
- padding: 0px 13px;
- margin-top: 5px;
- }
- .break-cause-title{
- width: 100%;
- height: 40px;
- line-height: 40px;
- color: #148d8f;
- border-bottom: 1.2px solid #B3C9C4;
- font-weight: 600;
- font-size: 15px;
- letter-spacing: 1px;
- }
- .break-cause-content{
- width: 100%;
- height: auto;
- padding:8px 0px 8px 2px;
- font-size: 13px;
- }
- .break-img{
- width: 100%;
- height: 115px;
- background-color: #ffffff;
- border-radius: 10px;
- margin-top: 5px;
- padding: 12px 60px 5px 60px;
- }
- .images{
- display: inline-block;
- width: 50px;
- height: 60px;
- margin-left: 5px;
- }
- .images img{
- width: 50px;
- height: 60px;
- }
- .break-text-hint{
- width: 100%;
- height: 20px;
- line-height: 20px;
- text-align: center;
- margin-top: 20px;
- font-size: 13px;
- color: #A9A9A9;
- }
- .patrol-address{
- width: 100%;
- height: auto;
- padding: 0px 8px;
- border-radius: 10px;
- background-color: #ffffff;
- margin-top: 5px;
- }
- .patrol-address-title{
- width: 100%;
- height: 40px;
- line-height: 40px;
- color: #148d8f;
- font-weight: 600;
- font-size: 15px;
- letter-spacing: 1px;
- }
- .patrol-address-content{
- width: 100%;
- height: 40px;
- line-height: 40px;
- border-bottom:1px solid #F1F1F1;
- padding-bottom: 2px;
- overflow: hidden;
- }
- .address-left-nums{
- display: inline-block;
- width: 30px;
- height: 30px;
- border-right:1px solid #F1F1F1;
- margin-left: 5px;
- }
- .address-center-title{
- font-size: 14px;
- margin-left: 5px;
- color: #0f0f0f;
- }
- .address-right{
- display: inline-block;
- width: 40px;
- height: auto;
- float: right;
- border-left: 1px solid #f1f1f1;
- }
- .address-right img{
- width: 20px;
- height: 20px;
- margin-left: 7px;
- margin-bottom: 5px;
- }
- .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;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <!-- 完成情况-->
- <div class="patrol-details-all">
- <div class="patrol-over">完成情况</div>
- <div class="patrol-over-content">
- <div class="patrol-over-info">
- <text class="left">{$info['patrol_type']}人员:</text>
- <text class="right">{$info['patrol_user']}</text>
- </div>
- <div class="patrol-over-info">
- <text class="left">开始时间:</text>
- <text class="right">{$info['start_time']}</text>
- </div>
- <div class="patrol-over-info">
- <text class="left">结束时间:</text>
- <text class="right">{$info['end_time']}</text>
- </div>
- </div>
- </div>
- {if $info['status'] == 5}
- <!-- 中断原因-->
- <div class="break-cause">
- <div class="break-cause-title">中断原因</div>
- <div class="break-cause-content">{$info['interrupt_reson']}</div>
- </div>
- <!-- 中断图片-->
- {if !empty($info['interrupt_img'])}
- <div class="break-img">
- {foreach $info['interrupt_img'] as $k=>$v}
- <div class="images">
- <img onclick="open_img(this)" src="{$v}">
- </div>
- {/foreach}
- <div class="break-text-hint">
- <text>(点击可查看图片详细信息)</text>
- </div>
- </div>
- {/if}
- {/if}
- <!-- 巡更地点-->
- <div class="patrol-address">
- <div class="patrol-address-title">{$info['patrol_type']}地点</div>
- {if $info['patrol_address']}
- {foreach $info['patrol_address'] as $k=>$v}
- {if $v['status'] == 1}
- <div class="patrol-address-content" onclick="sonDetails(this)" data-orgId="{$info['org_id']}" data-id="{$info['id']}" data-form-id="{$v['patrol_form_id']}">
- <div class="address-left-nums">{$k+1}</div>
- <text class="address-center-title">{$v['title']}</text>
- <div class="address-right">
- <img src="/img/h5/over2x.png">
- </div>
- </div>
- {else /}
- <div class="patrol-address-content">
- <div class="address-left-nums">{$k+1}</div>
- <text class="address-center-title">{$v['title']}</text>
- <div class="address-right">
- <img src="/img/h5/noover2x.png" >
- </div>
- </div>
- {/if}
- {/foreach}
- {/if}
- </div>
- <div class="footer-back">
- <a href="javascript:;" onclick="javascript:history.back(-1);"><img src="/img/back.png"></a>
- </div>
- </div>
- </body>
- </html>
- <script>
- function sonDetails(obj) {
- var id = $(obj).attr('data-id');
- var orgId = $(obj).attr('data-orgId');
- var addrFormId = $(obj).attr('data-form-id');
- var url = "{:url('Statistics/patrolSonDetails')}?id="+id+'&orgId='+orgId+'&addrFormId='+addrFormId;
- window.location.href=url;
- }
- </script>
|