t-p-meihuajing.vue 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <template>
  2. <view class="content">
  3. <view class="item_box" style="background-color: #214269;"
  4. @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing/zongtu','梅花井总图')">
  5. <view class="img">
  6. <image src="../t-p-icon/icon_10.png" mode=""></image>
  7. </view>
  8. <view class="text">
  9. <view class="name">梅花井巷道图</view>
  10. <view class="num"></view>
  11. </view>
  12. </view>
  13. <view class="item_box" style="background-color: #638BD5;" @click="go_production_report()">
  14. <view class="img">
  15. <image src="../t-p-icon/icon_2.png" mode=""></image>
  16. </view>
  17. <view class="text">
  18. <view class="name">生产报表</view>
  19. <view class="tip">当日产量{{days_output}}吨</view>
  20. </view>
  21. </view>
  22. <view class="item_box" style="background-color: #A3A2E4;" @click="go_personnel_orientation()">
  23. <view class="img">
  24. <image src="../t-p-icon/icon_3.png" mode=""></image>
  25. </view>
  26. <view class="text">
  27. <view class="name">人员定位</view>
  28. <view class="tip">井下人数{{mineall_people}}人</view>
  29. </view>
  30. </view>
  31. <view class="item_box" style="background-color: #8BC8DA;" @click="go_safety_monitoring()">
  32. <view class="img">
  33. <image src="../t-p-icon/icon_4.png" mode=""></image>
  34. </view>
  35. <view class="text">
  36. <view class="name">安全监测</view>
  37. <!-- <view class="tip">6268监测点</view> -->
  38. </view>
  39. </view>
  40. <view class="item_box" style="background-color: #FBB47B;" @click="go_video_monitor()">
  41. <view class="img">
  42. <image src="../t-p-icon/icon_6.png" mode=""></image>
  43. </view>
  44. <view class="text">
  45. <view class="name">视频监控</view>
  46. <view class="tip">工业视频</view>
  47. </view>
  48. </view>
  49. <view class="item_box" style="background-color: #9CE2A6;" @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing-pc/xjtf_/')">
  50. <view class="img">
  51. <image src="../t-p-icon/icon_10.png" mode=""></image>
  52. </view>
  53. <view class="text">
  54. <view class="name">通风管理</view>
  55. <view class="tip">斜井通风</view>
  56. </view>
  57. </view>
  58. <view class="item_box" style="background-color: #9CE2A6;" @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing-pc/ljtf_/')">
  59. <view class="img">
  60. <image src="../t-p-icon/icon_10.png" mode=""></image>
  61. </view>
  62. <view class="text">
  63. <view class="name">通风管理</view>
  64. <view class="tip">立井通风</view>
  65. </view>
  66. </view>
  67. <view class="item_box" style="background-color: #2C3E50;" @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing-pc/dmml/')">
  68. <view class="img">
  69. <image src="../t-p-icon/icon_8.png" mode=""></image>
  70. </view>
  71. <view class="text">
  72. <view class="name">主运输系统</view>
  73. <view class="tip">地面煤流</view>
  74. </view>
  75. </view>
  76. <view class="item_box" style="background-color: #9FD4FF;" @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing-pc/850bf/')">
  77. <view class="img">
  78. <image src="../t-p-icon/icon_9.png" mode=""></image>
  79. </view>
  80. <view class="text">
  81. <view class="name">排水系统</view>
  82. <view class="tip">850泵房</view>
  83. </view>
  84. </view>
  85. <view class="item_box" style="background-color: #2873FF;" @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing-pc/697bf/')">
  86. <view class="img">
  87. <image src="../t-p-icon/icon_9.png" mode=""></image>
  88. </view>
  89. <view class="text">
  90. <view class="name">排水系统</view>
  91. <view class="tip">697泵房</view>
  92. </view>
  93. </view>
  94. <view class="item_box" style="background-color: #2873FF;"
  95. @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing/11bf','MeiHuaJing_11BengFang')">
  96. <view class="img">
  97. <image src="../t-p-icon/icon_9.png" mode=""></image>
  98. </view>
  99. <view class="text">
  100. <view class="name">排水系统</view>
  101. <view class="tip">11泵房</view>
  102. </view>
  103. </view>
  104. <view class="item_box" style="background-color: #8BC8DA;"
  105. @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing/yf','MeiHuaJing_YaFengXiTong')">
  106. <view class="img">
  107. <image src="../t-p-icon/icon_9.png" mode=""></image>
  108. </view>
  109. <view class="text">
  110. <view class="name">压风制氮</view>
  111. <view class="tip">压风系统</view>
  112. </view>
  113. </view>
  114. <view class="item_box" style="background-color: #8BC8DA;"
  115. @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing/zd','MeiHuaJing_ZhiDanXiTong')">
  116. <view class="img">
  117. <image src="../t-p-icon/icon_9.png" mode=""></image>
  118. </view>
  119. <view class="text">
  120. <view class="name">压风制氮</view>
  121. <view class="tip">制氮系统</view>
  122. </view>
  123. </view>
  124. <view class="item_box" style="background-color: #D3D5D8;"
  125. @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing/dljc','MeiHuaJing_DianLiJianCe')">
  126. <view class="img">
  127. <image src="../t-p-icon/icon_6.png" mode=""></image>
  128. </view>
  129. <view class="text">
  130. <view class="name">电力监控</view>
  131. <view class="tip">供电系统总图</view>
  132. </view>
  133. </view>
  134. <view class="item_box" style="background-color: #9FD4FF;"
  135. @click="go_zdhxt('http://anstatic.nxmy.com:8011/assets/html/meihuajing/hxsc','MeiHuaJing_HuanXingShuiCang')">
  136. <view class="img">
  137. <image src="../t-p-icon/icon_11.png" mode=""></image>
  138. </view>
  139. <view class="text">
  140. <view class="name">环形水仓</view>
  141. </view>
  142. </view>
  143. </view>
  144. </template>
  145. <script>
  146. export default {
  147. name: "t-p-meihuajing",
  148. data() {
  149. return {
  150. mine:"640181B0011010027175",
  151. org_num:"1019",
  152. mine_code:"meihuajing",
  153. mineall_people: "",
  154. days_output: ""
  155. };
  156. },
  157. created() {
  158. // 井下人数
  159. this.$p_api.personnel_people_now({
  160. mine: this.mine
  161. }).then((res) => {
  162. this.mineall_people = res.data.data.people_total
  163. })
  164. // 当日生产
  165. this.$p_api.coalmine_days_output({
  166. mine: this.mine,
  167. org_num: this.org_num
  168. }).then((res) => {
  169. this.days_output = res.data.data[0].total
  170. })
  171. },
  172. methods: {
  173. // 自动化统计列表
  174. go_zdhxt(zdhxt){
  175. uni.navigateTo({
  176. url:"../../production/zidonghua/zidonghua?url=" + zdhxt
  177. })
  178. },
  179. // 生产报表
  180. go_production_report() {
  181. uni.navigateTo({
  182. url: "../../production/production_report/production_report?mine=" + this.mine + "&org_num=" + this.org_num,
  183. })
  184. },
  185. // 安全监测
  186. go_safety_monitoring() {
  187. uni.navigateTo({
  188. url: "../../production/safety_monitoring/safety_monitoring?mine=" + this.mine
  189. })
  190. },
  191. //人员定位
  192. go_personnel_orientation() {
  193. uni.navigateTo({
  194. url:"../../production/personnel_orientation/personnel_orientation?mine=" + this.mine
  195. })
  196. },
  197. // 视频监控
  198. go_video_monitor(){
  199. uni.navigateTo({
  200. url:"../../production/video_monitor/video_monitor?mine_code=" + this.mine_code
  201. })
  202. }
  203. }
  204. }
  205. </script>
  206. <style lang="scss">
  207. .content {
  208. box-sizing: border-box;
  209. padding: 20rpx 25rpx 0;
  210. margin-bottom: 100rpx;
  211. overflow: hidden;
  212. .item_box {
  213. float: left;
  214. width: 220rpx;
  215. height: 280rpx;
  216. margin-right: 20rpx;
  217. margin-bottom: 20rpx;
  218. border-radius: 16rpx;
  219. .img {
  220. box-sizing: border-box;
  221. padding-top: 40rpx;
  222. text-align: center;
  223. image {
  224. width: 140rpx;
  225. height: 140rpx;
  226. }
  227. }
  228. .text {
  229. text-align: center;
  230. color: #FFFFFF;
  231. line-height: 40rpx;
  232. .name {
  233. font-size: 28rpx;
  234. }
  235. .tip {
  236. font-size: 24rpx;
  237. white-space: nowrap;
  238. overflow: hidden;
  239. text-overflow: ellipsis;
  240. }
  241. }
  242. }
  243. .item_box:nth-child(3n) {
  244. margin-right: 0;
  245. }
  246. }
  247. </style>