123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- import leftImg from '/@/assets/images/files/homes/file.svg';
- import rightImg from '/@/assets/images/files/homes/sp.svg';
- export const GAS_STATUS_COLUMN = [
- {
- name: '设备类型',
- prop: 'typeName',
- },
- {
- name: '监测数量',
- prop: 'num',
- },
- {
- name: '当前状态',
- prop: 'warnLevelStr',
- },
- ];
- export const DUST_STATUS_COLUMN = [
- {
- name: '设备类型',
- prop: 'typeName',
- },
- {
- name: '监测数量',
- prop: 'num',
- },
- {
- name: '当前状态',
- prop: 'warnLevelStr',
- },
- ];
- export const FIRE_STATUS_IGNORE_TRANSLATION_KEYS = ['tempMax'];
- export const FIRE_STATUS_LIST = [
- {
- icon: 'warning-optical-fiber',
- label: '矿井光纤测温系统报警',
- prop: 'fiberInfo',
- },
- {
- icon: 'warning-tubes',
- label: '矿井束管监测系统报警',
- prop: 'bundletubeInfo',
- },
- {
- icon: 'warning-smoke-2',
- label: '矿井烟雾传感器报警',
- prop: 'smokeSensorInfo',
- },
- {
- icon: 'warning-CO-2',
- label: '矿井CO传感器报警',
- prop: 'coSensorInfo',
- },
- {
- icon: 'warning-temp',
- label: '矿井温度传感器报警',
- prop: 'tempSensorInfo',
- },
- {
- icon: 'warning-max-temp',
- label: '矿井温度传感器最高值',
- prop: 'tempMax',
- },
- ];
- export const FILE_OVERVIEW_CONFIG = [
- { src: leftImg, text: '文档总数', prop: 'totalNum', id: 'file_cfg_001' },
- { src: rightImg, text: '待审批数', prop: 'approvalNum', id: 'file_cfg_002' },
- ];
- export const VENTILATION_STATUS_HEADER_CONFIG = [
- {
- label: '总进风量(m³/min)',
- prop: 'zongjinfeng',
- type: 'blue-to-left',
- },
- {
- label: '总回风量(m³/min)',
- prop: 'zonghuifeng',
- type: 'green-to-right',
- },
- {
- label: '总需风量(m³/min)',
- prop: 'xufengliang',
- type: 'green-to-left',
- },
- {
- label: '通风巷道总长度',
- prop: 'totallength',
- type: 'blue-to-right',
- },
- ];
- export const VENTILATION_STATUS_TREE_CONFIG = {
- prefix: '',
- prop: 'strname',
- suffix: '',
- children: [
- {
- prefix: '名称:',
- prop: 'strinstallpos',
- suffix: '',
- },
- {
- prefix: '1号风机风量:',
- prop: 'Fan1m3',
- suffix: '(m³/min)',
- },
- {
- prefix: '2号风机风量:',
- prop: 'Fan2m3',
- suffix: '(m³/min)',
- },
- {
- prefix: '频率:',
- prop: 'FanFreqHz',
- suffix: 'Hz',
- },
- {
- prefix: '三区阻力分布:',
- prop: 'sqzlfb',
- suffix: '',
- },
- ],
- };
- export const GAS_STATUS_HEADER_CONFIG = [
- {
- label: '瓦斯风险等级',
- prop: 'gasWarnLevel',
- type: 'to-bottom-right',
- },
- {
- label: '瓦斯鉴定等级',
- prop: 'gasJudgeLevel',
- type: 'to-top-right',
- },
- ];
- export const SUMMARY_HEADER_CONFIG = [
- {
- label: '风险分析',
- prop: 'level',
- type: 'to-bottom-right',
- },
- ];
- export const SUMMARY_COLUMN = [
- {
- name: '监测类别',
- prop: 'typeName',
- },
- {
- name: '风险等级',
- prop: 'warnLevelStr',
- },
- ];
- export const DEFAULT_TEST_DATA = {
- dustInfo: {
-
- totalNum: 0,
- dustTypeList: [
- {
- deviceType: '/',
- warnLevel: 0,
- num: 0,
- typeName: '/',
- },
- ],
- dustWarnLevel: 0,
- },
- fileServerInfo: {
- totalNum: 0,
- approvalNum: 0,
- },
- fireInfo: {
- tempMax: 0,
- fireWarnLevel: 0,
- coSensorInfo: 0,
- bundletubeInfo: 0,
- smokeSensorInfo: 0,
- fiberInfo: 0,
- tempSensorInfo: 0,
- },
- gasInfo: {
- gasWarnLevel: 0,
- gasTypeList: [
- {
- warnLevel: 0,
- num: 0,
- typeName: '/',
- },
- ],
- },
- ventInfo: {
-
- totallength: 0,
- zonghuifeng: '0',
- fanMainList: [
- {
- sqzlfb: '/',
- strname: '/',
- strinstallpos: '/',
- Fan1m3: '/',
- Fan2m3: '/',
- },
- ],
- xufengliang: 0,
- zongjinfeng: '/',
- },
- sys_warndata: {
- levels: 0,
- fire: '0',
- sb: '0',
- ws: '0',
- fc: '0',
- tf: '0',
- },
- orgname: '/',
- orgcode: '/',
- ip: 'localhost',
- };
- export type BillboardType = typeof DEFAULT_TEST_DATA;
|