From 8c320bae338a62201d89a070702e88b2a3911447 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 27 Nov 2024 16:20:58 +0800
Subject: [PATCH] 1.表格无数据中文提示处理 2.控制台警告处理 3.企业详情应急空间报错处理 4.console信息删除
---
src/views/pac/components/box/fireSource.vue | 172 +++++++++++++++++++++++++++++---------------------------
1 files changed, 89 insertions(+), 83 deletions(-)
diff --git a/src/views/pac/components/box/fireSource.vue b/src/views/pac/components/box/fireSource.vue
index 8666a4b..77fece5 100644
--- a/src/views/pac/components/box/fireSource.vue
+++ b/src/views/pac/components/box/fireSource.vue
@@ -2,13 +2,15 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2023-03-13 14:54:26
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-03-13 15:00:55
- * @FilePath: \forest-fire\src\views\statistics\components\box\dataContent.vue
+ * @LastEditTime: 2024-11-27 14:30:53
+ * @FilePath: \bigScreen\src\views\pac\components\box\fireSource.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<script setup>
+import { Picture } from '@element-plus/icons-vue'
+
import publicContent from './publicContent.vue'
import { getAssetsFile } from 'utils/utils'
const one = getAssetsFile('one.png', '/img')
@@ -16,111 +18,115 @@
const three = getAssetsFile('three.png', '/img')
import { usePointStore } from 'store/usepoint'
const pointStore = usePointStore()
-const sharedData = computed(() => pointStore.sharedData);
+const sharedData = computed(() => pointStore.sharedData)
let indexValue = ref(1)
watch(sharedData, (newValue) => {
- indexValue.value = newValue
- // console.log(newValue, "************************************************")
-});
+ indexValue.value = newValue
+})
</script>
<template>
- <public-content>
- <template #content>
- <div class="content_box">
- <div v-if="indexValue == 1">
- <div>
- <!-- <img :src="one" alt=""> -->
- <el-image :src="one" :zoom-rate="1.2" :max-scale="7" :min-scale="0.2" :preview-src-list="[one]"
- :initial-index="4" fit="cover">
- <template #error>
- <div class="image-slot">
- <el-icon><icon-picture /></el-icon>
- </div>
- </template>
- </el-image>
- </div>
- <div class="content_text">
- 第一级应急防控体系,即事故废水不出企业,事故发生时,首先启动一级防控。关闭所有可能外溢事故污水的外排口,利用企业自身的围堰、应急池等环境应急防控设施,将污水控制在企业厂区内部。园区内所有企业均设置相应的事故应急池,企业雨水(清下水)排口设有监管部门控制的阀门。一旦发生物料泄漏及火灾等安全生产事故,相关企业快速断开雨水排口,联动打开事故应急池,将事故废水和消防尾水导入事故应急池。事故结束后,应急事故池中的废水进入厂区自身污水处理站处理,无污水处理站的企业按照监测结果进入园区污水处理厂处理。
- </div>
+ <public-content>
+ <template #content>
+ <div class="content_box">
+ <div v-if="indexValue == 1">
+ <div>
+ <!-- <img :src="one" alt=""> -->
+ <el-image :src="one" :zoom-rate="1.2" :max-scale="7" :min-scale="0.2" :preview-src-list="[one]"
+ :initial-index="4" fit="cover">
+ <template #error>
+ <div class="image-slot">
+ <el-icon>
+ <Picture />
+ </el-icon>
</div>
+ </template>
+ </el-image>
+ </div>
+ <div class="content_text">
+ 第一级应急防控体系,即事故废水不出企业,事故发生时,首先启动一级防控。关闭所有可能外溢事故污水的外排口,利用企业自身的围堰、应急池等环境应急防控设施,将污水控制在企业厂区内部。园区内所有企业均设置相应的事故应急池,企业雨水(清下水)排口设有监管部门控制的阀门。一旦发生物料泄漏及火灾等安全生产事故,相关企业快速断开雨水排口,联动打开事故应急池,将事故废水和消防尾水导入事故应急池。事故结束后,应急事故池中的废水进入厂区自身污水处理站处理,无污水处理站的企业按照监测结果进入园区污水处理厂处理。
+ </div>
+ </div>
- <div v-if="indexValue == 2" class="content_img_text">
- <div>
- <!-- <img :src="two" alt=""> -->
- <el-image :src="two" :zoom-rate="1.2" :max-scale="7" :min-scale="0.2" :preview-src-list="[two]"
- :initial-index="4" fit="cover">
- <template #error>
- <div class="image-slot">
- <el-icon><icon-picture /></el-icon>
- </div>
- </template>
- </el-image>
- </div>
- <div class="content_text_box">
- <div class="content_text">
- 一级防控能力不足时,启动二级防控。通过专用管道或临时转输措施,与相邻企业应急池、园区公共应急池等互联互通,拦截处置事故污水。第二级应急防控体系,即事故废水不出园区,事故废水储存在园区公共应急池及园区内雨水管网公共空间内。
- </div>
-
- <div class="content_text">
- (1)公共应急池的选址。建设园区公共应急池或利用园区内干枯河道、低洼地带等进行改造,并设置独立管网进行事故废水的收集和输送,保证每家企业内部应急池与公共应急池有效连通;在事故废水超过设计标准的情况下,也可有效利用雨水管网分段建设闸门井进行废水容纳。一旦园区内企业发生事故,且消防尾水过量超出企业自身防控能力时,开启园区公共应急池阀门,企业内部无法收纳的消防事故水将通过应急管网流入公共应急池,将事故废水控制在园区应急池内,不进入区内河道。事故结束后,对公共应急池内收纳的事故废水进行监测,若达标,则就近排入河道;若不达标,则分批次用槽车送入园区污水处理厂处理。
- </div>
-
- <div class="content_text">
- (2)公共应急池容量设计。根据《化工园区事故应急设施(池)建设标准》(T/CPCIF 0049—2020)进行公共应急池设置,以化工集中区产生事故废水外排量最大的一个企业计算。
- </div>
- </div>
+ <div v-if="indexValue == 2" class="content_img_text">
+ <div>
+ <!-- <img :src="two" alt=""> -->
+ <el-image :src="two" :zoom-rate="1.2" :max-scale="7" :min-scale="0.2" :preview-src-list="[two]"
+ :initial-index="4" fit="cover">
+ <template #error>
+ <div class="image-slot">
+ <el-icon>
+ <Picture />
+ </el-icon>
</div>
-
- <div v-if="indexValue == 3">
- <div>
- <!-- <img :src="three" alt=""> -->
- <el-image :src="three" :zoom-rate="1.2" :max-scale="7" :min-scale="0.2" :preview-src-list="[three]"
- :initial-index="4" fit="cover">
- <template #error>
- <div class="image-slot">
- <el-icon><icon-picture /></el-icon>
- </div>
- </template>
- </el-image>
- </div>
- <div class="content_text">
- 事态进一步扩大,污水进入园区内水体,启动三级防控。利用化工集中区内的坑塘、河道、沟渠以及周边水系等,构建环境应急防控空间,对进出园区的水体实施封闭或分段管控。结合化工集中区区实际,确定事故废水通过雨污管网在进入赣江前有效拦截,当发生重大企业突发环境事故或危化品运输车辆侧翻等事故时,事故废水流入化工集中区内水体,立即关闭应急闸坝,污染河道使用移动闸截断污染团(带);同时根据污染团(带)所在位置,就近闸断园区内部河道形成临时应急池,防止污染团从园区内水系进一步扩散至外环境。事故结束后,对临时应急空间内水质进行监测,若达标,则开启河道应急闸坝;若不达标,则将临时应急空间内污水由水泵将河水分批次送入公共应急池,进一步送园区污水处理厂处理。
- </div>
- </div>
-
+ </template>
+ </el-image>
+ </div>
+ <div class="content_text_box">
+ <div class="content_text">
+ 一级防控能力不足时,启动二级防控。通过专用管道或临时转输措施,与相邻企业应急池、园区公共应急池等互联互通,拦截处置事故污水。第二级应急防控体系,即事故废水不出园区,事故废水储存在园区公共应急池及园区内雨水管网公共空间内。
</div>
- </template>
- </public-content>
+
+ <div class="content_text">
+ (1)公共应急池的选址。建设园区公共应急池或利用园区内干枯河道、低洼地带等进行改造,并设置独立管网进行事故废水的收集和输送,保证每家企业内部应急池与公共应急池有效连通;在事故废水超过设计标准的情况下,也可有效利用雨水管网分段建设闸门井进行废水容纳。一旦园区内企业发生事故,且消防尾水过量超出企业自身防控能力时,开启园区公共应急池阀门,企业内部无法收纳的消防事故水将通过应急管网流入公共应急池,将事故废水控制在园区应急池内,不进入区内河道。事故结束后,对公共应急池内收纳的事故废水进行监测,若达标,则就近排入河道;若不达标,则分批次用槽车送入园区污水处理厂处理。
+ </div>
+
+ <div class="content_text">
+ (2)公共应急池容量设计。根据《化工园区事故应急设施(池)建设标准》(T/CPCIF 0049—2020)进行公共应急池设置,以化工集中区产生事故废水外排量最大的一个企业计算。
+ </div>
+ </div>
+ </div>
+
+ <div v-if="indexValue == 3">
+ <div>
+ <!-- <img :src="three" alt=""> -->
+ <el-image :src="three" :zoom-rate="1.2" :max-scale="7" :min-scale="0.2" :preview-src-list="[three]"
+ :initial-index="4" fit="cover">
+ <template #error>
+ <div class="image-slot">
+ <el-icon>
+ <Picture />
+ </el-icon>
+ </div>
+ </template>
+ </el-image>
+ </div>
+ <div class="content_text">
+ 事态进一步扩大,污水进入园区内水体,启动三级防控。利用化工集中区内的坑塘、河道、沟渠以及周边水系等,构建环境应急防控空间,对进出园区的水体实施封闭或分段管控。结合化工集中区区实际,确定事故废水通过雨污管网在进入赣江前有效拦截,当发生重大企业突发环境事故或危化品运输车辆侧翻等事故时,事故废水流入化工集中区内水体,立即关闭应急闸坝,污染河道使用移动闸截断污染团(带);同时根据污染团(带)所在位置,就近闸断园区内部河道形成临时应急池,防止污染团从园区内水系进一步扩散至外环境。事故结束后,对临时应急空间内水质进行监测,若达标,则开启河道应急闸坝;若不达标,则将临时应急空间内污水由水泵将河水分批次送入公共应急池,进一步送园区污水处理厂处理。
+ </div>
+ </div>
+
+ </div>
+ </template>
+ </public-content>
</template>
<style lang="scss" scoped>
.content_box {
- color: #fff;
- // overflow: scroll;
+ color: #fff;
+ // overflow: scroll;
}
.content_box img {
- width: 100%;
+ width: 100%;
}
.content_text_box {
- height: 530px;
- overflow: scroll;
- // 隐藏滚动条
- scrollbar-width: none;
+ height: 530px;
+ overflow: hidden;
+ overflow-y: auto;
}
.content_box .content_text {
- // 首行缩进
- text-indent: 2em;
- width: 100%;
- line-height: 25px;
- // 字间距
- letter-spacing: 2px;
- font-size: 16px;
+ // 首行缩进
+ text-indent: 2em;
+ width: 100%;
+ line-height: 25px;
+ // 字间距
+ letter-spacing: 2px;
+ font-size: 16px;
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3