earlyWarningArithmeticDetail.vue 7.5 KB

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