107dfb575866b2b93ae7d22659e71ddd.php 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  5. <meta charset="utf-8">
  6. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
  7. <meta content="yes" name="apple-mobile-web-app-capable">
  8. <meta content="black" name="apple-mobile-web-app-status-bar-style">
  9. <meta content="telephone=no" name="format-detection">
  10. <!-- <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css"> -->
  11. <script src="/jdxf/Public/wxapp/js/jquery-1.8.3/jquery.min.js"></script>
  12. <link rel="stylesheet" href="/jdxf/Public/wxapp/css/jdxf.css">
  13. <title>报警详情</title>
  14. <style>
  15. .bjbox{
  16. margin: 15px 0;
  17. }
  18. .mar{
  19. margin: 0 30px;
  20. }
  21. .bjbox-c{
  22. font-size: 14px;
  23. color: #646464;
  24. }
  25. .box{
  26. height: 20px;
  27. background-color: #F5F5F5;
  28. }
  29. .mar-words {
  30. float: right;
  31. font-size: 18px;
  32. }
  33. .height1dcdcdc {
  34. display: block;
  35. height: 1px;
  36. margin-top: 20px;
  37. margin-bottom: 20px;
  38. background: #DCDCDC;
  39. }
  40. .buttt{
  41. margin-top: 5px;
  42. margin-bottom: 5px;
  43. color: #fff;
  44. background-color: #d9534f;
  45. border-color: #d43f3a;
  46. display: inline-block;
  47. padding: 6px 12px;
  48. margin-bottom: 0;
  49. font-size: 14px;
  50. font-weight: 400;
  51. line-height: 1.42857143;
  52. text-align: center;
  53. white-space: nowrap;
  54. vertical-align: middle;
  55. -ms-touch-action: manipulation;
  56. touch-action: manipulation;
  57. cursor: pointer;
  58. -webkit-user-select: none;
  59. -moz-user-select: none;
  60. -ms-user-select: none;
  61. user-select: none;
  62. background-image: none;
  63. border: 1px solid transparent;
  64. border-radius: 4px;
  65. }
  66. </style>
  67. </head>
  68. <body>
  69. <!-- 头部 -->
  70. <div class="hand">
  71. <span class="hand-i"><!-- <i class="fa fa-angle-down"></i> -->
  72. <a href="/jdxf/wxapp2.php/Home/<?php echo ($url); ?>/index<?php echo ($tokenurl); ?>/companyid/<?php echo ($list["company"]); ?>">
  73. <img style="height: 16px;" src="/jdxf/Public/wxapp/images/jd_07.png" alt="">
  74. </a>
  75. </span>
  76. </span>
  77. 报警详情
  78. </div>
  79. <div class="bjbox" style="background-color: #e5eeff;margin-top: 0px;margin-bottom: 0px;">
  80. <div class="bjbox-c mar" style="font-size: 16px;height: 24px;padding: 15px 0;">
  81. <span style="display:inline-block;margin: 2px 0"><?php echo ($list["time"]); ?></span>
  82. <span style="float: right;background-color: #fccdcd;padding:2px 5px 2px 5px;color: #fe0000;"><?php echo ($list["clstatus"]); ?></span>
  83. </div>
  84. </div>
  85. <div style="background-color: #F5F5F5;color: #4487fe">
  86. <div style="padding: 10px 0; margin-left: 5px">
  87. <b>|</b>
  88. 基本信息
  89. </div>
  90. </div>
  91. <div class="bjbox" style="margin: 0px">
  92. <div class="mar" style="margin: 0 0 0 30px;font-size: 16px">
  93. <!--<table style="width: 100%">-->
  94. <!--<tr style="padding: 10px 0px;border-bottom: 1px solid #DCDCDC">-->
  95. <!--<td style="padding: 10px 0px;color: #969696;border-bottom: 1px solid #DCDCDC;width: 25%;">设备名称:</td>-->
  96. <!--<td style="padding: 10px 0px;border-bottom: 1px solid #DCDCDC"><?php echo ($list["owner_name"]); ?></td>-->
  97. <!--</tr>-->
  98. <!--<tr style="padding: 10px 0px;border-bottom: 1px solid #DCDCDC">-->
  99. <!--<td style="padding: 10px 0px;color: #969696;border-bottom: 1px solid #DCDCDC;width: 25%;">设备地址:</td>-->
  100. <!--<td style="padding: 10px 0px;border-bottom: 1px solid #DCDCDC"><?php echo ($arr["owner_address"]); echo ($arr["unitinfo"]); ?>的士大夫山豆根豆腐干</td>-->
  101. <!--</tr>-->
  102. <!--<tr style="padding: 10px 0px;">-->
  103. <!--<td style="padding: 10px 0px;color: #969696;width: 25%;">告警信息:</td>-->
  104. <!--<td style="padding: 10px 0px;"><?php echo ($list["aaa"]); ?></td>-->
  105. <!--</tr>-->
  106. <!--</table>-->
  107. <div style="padding: 10px 0px;border-bottom: 1px solid #DCDCDC">
  108. <div style="display:inline-block;color: #969696;">设备名称:</div>
  109. <div style="margin-left: 35px"><?php echo ($list["owner_name"]); ?></div>
  110. </div>
  111. <div style="padding: 10px 0px;border-bottom: 1px solid #DCDCDC">
  112. <div style="display:inline-block;color: #969696;">设备地址:</div>
  113. <div style="margin-left: 35px"><?php echo ($arr["owner_address"]); echo ($arr["unitinfo"]); ?></div>
  114. </div>
  115. <div style="padding: 10px 0px;">
  116. <div style="display:inline-block;color: #969696">告警信息:</div>
  117. <div style="margin-left: 35px"><?php echo ($list["aaa"]); ?></div>
  118. </div>
  119. </div>
  120. </div>
  121. <div style="background-color: #F5F5F5;color: #4487fe">
  122. <div style="padding: 10px 0; margin-left: 5px">
  123. <b>|</b>
  124. 报警当前情况截图
  125. </div>
  126. </div>
  127. <div class="bjbox">
  128. <div class="mar">
  129. <?php if($list["pd"] == 1 ): ?><img src="<?php echo ($list["data2"]); ?>" style="width: 100%" alt="">
  130. <?php else: ?>
  131. <?php echo ($list["h5"]); endif; ?>
  132. </div>
  133. </div>
  134. <div style="background-color: #F5F5F5;color: #4487fe">
  135. <div style="padding: 10px 0; margin-left: 5px">
  136. <b>|</b>
  137. 处理内容
  138. </div>
  139. </div>
  140. <div class="bjbox">
  141. <form action="/jdxf/wxapp2.php/Home/fireinfo/outputs" method="post" id="firecl">
  142. <div style="margin: 10px 0;font-size: 16px">
  143. <input type="radio" value="0" checked name="plcl" style="margin-left: 30px">单个处理</input>
  144. <input type="radio" value="1" name="plcl"><span>批量处理</span></input>
  145. </div>
  146. <div class="mar" style="text-align: center;margin:0 20px;padding: 10px;background-color:#f5f5f5 ">
  147. <textarea name="clnr" id="" rows="6" style="width: 100%;border: 0px solid #f5f5f5;background-color: #f5f5f5"
  148. placeholder="备注信息,最多可输入50个字"></textarea>
  149. <input type="hidden" value="/jdxf/wxapp2.php/Home/<?php echo ($url); ?>/index<?php echo ($tokenurl); ?>/companyid/<?php echo ($list["company"]); ?>" name="url">
  150. <input type="hidden" name="id" value="<?php echo ($list["id"]); ?>">
  151. <input type="hidden" name="device_code" value="<?php echo ($list["device_code"]); ?>">
  152. <input type="hidden" name="dwtype" value="16" id="dwtype">
  153. <input type="hidden" name="bx" value="0" id="bx" >
  154. <input type="hidden" name="clwb" value="1" id="clwb" >
  155. <input type="hidden" name="restrict" value="1" id="restrict" >
  156. </div>
  157. <div class="mar" style="text-align: center;margin:0 20px;padding: 10px;">
  158. <input type="button" style="background-color: #337cff;border-radius:15px 15px 15px 15px;width: 35%" class="buttt" onclick="outputs(1)" value="&nbsp;&nbsp;误报&nbsp;&nbsp;">
  159. <input type="button" style="background-color: #337cff;border-radius:15px 15px 15px 15px;width: 35%" class="buttt" onclick="outputs(0)" value="非误报">
  160. </div>
  161. </form>
  162. </div>
  163. <script>
  164. // var b=<?php echo ($sl_data); ?>;
  165. function outputs(a) {
  166. if(a){
  167. $('#firecl').submit();
  168. }else{
  169. $('#clwb').val('0');
  170. $('#firecl').submit();
  171. }
  172. }
  173. </script>
  174. </body>
  175. </html>