|
@@ -5,6 +5,11 @@ import FireIcon from '/@/assets/images/vent/fire-icon-2.png';
|
|
|
import VentIcon from '/@/assets/images/vent/vent-icon-2.png';
|
|
|
import SafetyIcon from '/@/assets/images/vent/safety-icon-2.png';
|
|
|
import DustIcon from '/@/assets/images/vent/dust-icon-2.png';
|
|
|
+import NetworkIcon from '/@/assets/images/vent/dust-risk-icon-1.png';
|
|
|
+import DeviceIcon from '/@/assets/images/vent/dust-risk-icon-2.png';
|
|
|
+import LevelChartIcon from '/@/assets/images/vent/dust-risk-icon-3.png';
|
|
|
+import PointIcon from '/@/assets/images/vent/dust-risk-icon-4.png';
|
|
|
+import AlertIcon from '/@/assets/images/vent/dust-risk-icon-5.png';
|
|
|
|
|
|
// export type Translation = Record<string | number, string>;
|
|
|
// export interface TitleConfig {
|
|
@@ -450,6 +455,14 @@ export const WARNING_CONFIG = [
|
|
|
{ src: FireIcon, text: '火灾', prop1: 'fireSWarnInfo.totalNum', prop2: 'fireSWarnInfo.maxWarnLevel', id: 'warning_cfg_002' },
|
|
|
];
|
|
|
|
|
|
+// 粉尘预警相关的内容配置项
|
|
|
+export const DUST_RISK_CONFIG = [
|
|
|
+ { src: LevelChartIcon, text: '风险等级', prop: 'fxdj', id: 'dust_risk_cfg_005' },
|
|
|
+ { src: PointIcon, text: '测点数', prop: 'cds', id: 'dust_risk_cfg_004' },
|
|
|
+ { src: NetworkIcon, text: '在线测点数', prop: 'zxcds', id: 'dust_risk_cfg_003' },
|
|
|
+ { src: AlertIcon, text: '测点报警数', prop: 'cdbjs', id: 'dust_risk_cfg_001' },
|
|
|
+ { src: DeviceIcon, text: '降尘设备数', prop: 'jcsbs', id: 'dust_risk_cfg_002' },
|
|
|
+];
|
|
|
export const DEFAULT_TEST_DATA = {
|
|
|
dustInfo: {
|
|
|
// 矿井粉尘风险信息
|
|
@@ -625,6 +638,13 @@ export const DEFAULT_TEST_DATA = {
|
|
|
gasSWarnInfo: { totalNum: '2', maxWarnLevel: '安全的' }, //瓦斯
|
|
|
fireSWarnInfo: { totalNum: '2', maxWarnLevel: '安全的' }, //火灾
|
|
|
},
|
|
|
+ dustRisk: {
|
|
|
+ fxdj: '4',
|
|
|
+ cds: 3,
|
|
|
+ zxcds: 2,
|
|
|
+ cdbjs: 1,
|
|
|
+ jcsbs: 0,
|
|
|
+ },
|
|
|
orgname: '/',
|
|
|
orgcode: '/',
|
|
|
ip: 'localhost',
|