earlyWarningPlanDetail.vue 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. <!-- 预案报警信息 -->
  2. <template>
  3. <view class="earlyWarning">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <!-- 预案报警 -->
  6. <view class="header">甲烷气体泄露-中风险</view>
  7. <view class="site">
  8. <img src="@/images/Version2.2/icon_wtzg_xx.png"/>
  9. <text>一号实验室</text>
  10. <text></text>
  11. <text>一号楼二楼C区C111</text>
  12. </view>
  13. <view class="basics">
  14. <view class="small_title"><text></text><text>风险概况</text></view>
  15. <view class="basics_li" style="margin-top:20rpx;">
  16. <text>发生时间:</text>
  17. <text>10-12 12:00:56至12:03:03 </text>
  18. </view>
  19. <view class="basics_li">
  20. <text>持续时间:</text>
  21. <text>30秒</text>
  22. </view>
  23. <view class="basics_li">
  24. <text>风险响应人员:</text>
  25. <text>曹秀康、杨虎城、刘波 </text>
  26. </view>
  27. <view class="basics_li">
  28. <text>实验室内人员:</text>
  29. <text>刘然、李茶、周瑶瑶、李娇、 李雪、陈记、李玉玉</text>
  30. </view>
  31. </view>
  32. <view class="note">
  33. <view class="small_title"><text></text><text>通知短信</text></view>
  34. <view class="note_li" style="margin-top:20rpx;">
  35. <text>曹秀康(实验室负责人)</text>
  36. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  37. </view>
  38. <view class="note_li">
  39. <text>李秀丽(安全责任人)</text>
  40. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  41. </view>
  42. <view class="note_li">
  43. <text>周燕(安全责任人)</text>
  44. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  45. </view>
  46. </view>
  47. <view class="note">
  48. <view class="small_title"><text></text><text>预警通知</text></view>
  49. <view class="note_li" style="margin-top:20rpx;">
  50. <text>语音播报</text>
  51. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  52. </view>
  53. <view class="note_li">
  54. <text>李秀丽(安全责任人)</text>
  55. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  56. </view>
  57. <view class="note_li">
  58. <text>周燕(安全责任人)</text>
  59. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  60. </view>
  61. </view>
  62. <view class="picture">
  63. <view class="small_title"><text></text><text>报警抓拍</text></view>
  64. <view class="picture_b" @click="lockImg(item.uploadDtoList)">
  65. <img src="@/images/icon_yjxx_ytz.png"/>
  66. <!-- <img :src="baseUrl+imgItem.fileUrl" v-for="(imgItem,imgIndex) in item.uploadDtoList"/> -->
  67. </view>
  68. </view>
  69. <view class="bottom_btn">查看监控</view>
  70. </scroll-view>
  71. </view>
  72. </template>
  73. <script>
  74. import { config } from '@/api/request/config.js'
  75. import {checkManageList,conditionCollegeInfo} from '@/api/index.js'
  76. export default {
  77. name: "rectifyList",
  78. components: {
  79. },
  80. data() {
  81. return {
  82. //列表请求参数
  83. getData:{
  84. pageNum:1,
  85. pageSize:20,
  86. },
  87. total:0,
  88. }
  89. },
  90. onLoad(option) {
  91. },
  92. onShow() {
  93. },
  94. mounted(){
  95. },
  96. methods: {
  97. //滚动事件
  98. scrollGet(){
  99. let self=this;
  100. },
  101. //查看图片
  102. lockImg(list){
  103. console.log(list)
  104. if(!list[0]){
  105. return
  106. }
  107. let urlList=[];
  108. for(let i=0;i<list.length;i++){
  109. urlList.push(this.baseUrl+list[i].fileUrl)
  110. }
  111. wx.previewImage({
  112. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  113. current: '', // 当前显示图片的http链接,默认是第一个
  114. success: function(res) {},
  115. fail: function(res) {},
  116. complete: function(res) {},
  117. })
  118. },
  119. handleClick(row,doType){
  120. let self=this;
  121. if( doType=='detail'){//详情
  122. }
  123. },
  124. }
  125. }
  126. </script>
  127. <style lang="stylus" scoped>
  128. .earlyWarning{
  129. height:100%;
  130. display flex;
  131. padding-bottom: 30rpx;
  132. box-sizing: border-box;
  133. .red_color{
  134. color: #D40000;
  135. border: 1rpx solid #D40000;
  136. }
  137. .orange_color{
  138. color: #FF4800;
  139. border: 1rpx solid #FF4800;
  140. }
  141. .yellow_color{
  142. color: #FFA34E;
  143. border: 1rpx solid #FFA34E;
  144. }
  145. .info-max-box{
  146. flex: 1;
  147. overflow: scroll;
  148. }
  149. .header{
  150. width: 750rpx;
  151. height: 80rpx;
  152. font-size: 28rpx;
  153. font-family: PingFang SC-Medium, PingFang SC;
  154. font-weight: 400;
  155. color: #D40000;
  156. line-height: 80rpx;
  157. text-align: center;
  158. background: rgba(212,0,0,0.2);
  159. }
  160. .site{
  161. width: 690rpx;
  162. height: 80rpx;
  163. background: #FFFFFF;
  164. display: flex;
  165. justify-content: flex-start;
  166. align-items: center;
  167. border-radius: 20rpx 20rpx 20rpx 20rpx;
  168. margin:20rpx 30rpx;
  169. >img{
  170. width: 30rpx;
  171. height: 30rpx;
  172. margin-right: 22rpx;
  173. margin-left: 30rpx;
  174. }
  175. >text:nth-of-type(1){
  176. font-size: 28rpx;
  177. font-family: PingFang SC-Medium, PingFang SC;
  178. font-weight: 400;
  179. color: #333333;
  180. line-height: 28rpx;
  181. }
  182. >text:nth-of-type(2){
  183. display: inline-block;
  184. width: 2rpx;
  185. height: 20rpx;
  186. background: #E0E0E0;
  187. margin: 0 24rpx 0 28rpx;
  188. }
  189. >text:nth-of-type(3){
  190. font-size: 28rpx;
  191. font-family: PingFang SC-Medium, PingFang SC;
  192. font-weight: 400;
  193. color: #333333;
  194. line-height: 28rpx;
  195. }
  196. }
  197. .small_title{
  198. height: 90rpx;
  199. display: flex;
  200. justify-content: flex-start;
  201. align-items: center;
  202. border-bottom: 1rpx solid #E0E0E0;
  203. >text:nth-of-type(1){
  204. display: inline-block;
  205. width: 4rpx;
  206. height: 30rpx;
  207. background: #0183FA;
  208. margin: 0 22rpx 0 28rpx;
  209. }
  210. >text:nth-of-type(1){
  211. font-size: 30rpx;
  212. font-family: PingFang SC-Medium, PingFang SC;
  213. font-weight: 400;
  214. color: #333333;
  215. line-height: 30rpx;
  216. }
  217. }
  218. .basics{
  219. margin-left: 30rpx;
  220. width: 690rpx;
  221. height: auto;
  222. background: #FFFFFF;
  223. border-radius: 20rpx 20rpx 20rpx 20rpx;
  224. padding-bottom: 16rpx;
  225. box-sizing: border-box;
  226. .basics_li{
  227. display: flex;
  228. justify-content: space-between;
  229. margin: 0 30rpx;
  230. >text:nth-of-type(1){
  231. font-size: 28rpx;
  232. font-family: PingFang SC-Medium, PingFang SC;
  233. font-weight: 400;
  234. color: #333333;
  235. line-height: 60rpx;
  236. }
  237. >text:nth-of-type(2){
  238. font-size: 28rpx;
  239. font-family: PingFang SC-Medium, PingFang SC;
  240. font-weight: 400;
  241. color: #333333;
  242. line-height: 60rpx;
  243. flex: 1;
  244. text-align: right;
  245. }
  246. }
  247. }
  248. .note{
  249. margin-left: 30rpx;
  250. margin-top: 20rpx;
  251. width: 690rpx;
  252. height: auto;
  253. background: #FFFFFF;
  254. border-radius: 20rpx 20rpx 20rpx 20rpx;
  255. padding-bottom: 16rpx;
  256. box-sizing: border-box;
  257. .note_li{
  258. display: flex;
  259. justify-content: space-between;
  260. margin: 0 30rpx;
  261. >text:nth-of-type(1){
  262. font-size: 28rpx;
  263. font-family: PingFang SC-Medium, PingFang SC;
  264. font-weight: 400;
  265. color: #333333;
  266. line-height: 60rpx;
  267. }
  268. .note_li_r{
  269. display: flex;
  270. justify-content: flex-start;
  271. align-items: center;
  272. >img{
  273. width: 28rpx;
  274. height: 28rpx;
  275. margin-right: 10rpx;
  276. }
  277. font-size: 28rpx;
  278. font-family: PingFang SC-Medium, PingFang SC;
  279. font-weight: 400;
  280. color: #0183FA;
  281. line-height: 60rpx;
  282. }
  283. }
  284. }
  285. .picture{
  286. margin-left: 30rpx;
  287. width: 690rpx;
  288. height: auto;
  289. background: #FFFFFF;
  290. border-radius: 20rpx 20rpx 20rpx 20rpx;
  291. margin-top: 20rpx;
  292. .picture_b{
  293. display: flex;
  294. justify-content: flex-start;
  295. flex-wrap: wrap;
  296. padding: 40rpx 30rpx 10rpx;
  297. box-sizing: border-box;
  298. >img{
  299. width: 180rpx;
  300. height: 180rpx;
  301. border-radius: 10rpx 10rpx 10rpx 10rpx;
  302. margin-right: 38rpx;
  303. margin-bottom: 10rpx;
  304. }
  305. >img:nth-of-type(3n+3){
  306. margin-right: 0rpx;
  307. }
  308. }
  309. }
  310. .bottom_btn{
  311. width: 690rpx;
  312. height: 90rpx;
  313. border-radius: 10rpx 10rpx 10rpx 10rpx;
  314. opacity: 1;
  315. border: 1rpx solid #0183FA;
  316. font-size: 30rpx;
  317. font-family: PingFang SC-Medium, PingFang SC;
  318. font-weight: 400;
  319. color: #0183FA;
  320. line-height: 90rpx;
  321. text-align: center;
  322. background: #F5F5F5;
  323. margin: 90rpx 30rpx 30rpx;
  324. }
  325. }
  326. </style>