| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- import DustStatus from './components/DustStatus.vue';
- import FileOverview from './components/FileOverview.vue';
- import FireStatus from './components/FireStatus.vue';
- import VentilationStatus from './components/VentilationStatus.vue';
- import GasStatus from './components/GasStatus.vue';
- import leftImg from '/@/assets/images/files/homes/file.svg';
- import rightImg from '/@/assets/images/files/homes/sp.svg';
- // 各个煤矿看板的配置
- export const BILLBOARDS = [
- {
- title: 'A矿',
- type: 'dust',
- },
- {
- title: 'B矿',
- type: 'fire',
- },
- {
- title: 'C矿',
- type: 'file',
- },
- {
- title: 'D矿',
- type: 'ventilate',
- },
- {
- title: 'E矿',
- type: 'gas',
- },
- {
- title: 'F矿',
- type: 'dust',
- },
- {
- title: 'G矿',
- type: 'fire',
- },
- {
- title: 'H矿',
- type: 'file',
- },
- {
- title: 'I矿',
- type: 'ventilate',
- },
- {
- title: 'J矿',
- type: 'gas',
- },
- ];
- // 基础的表格列配置,针对普通设备
- export const BASIC_COLUMN = [
- {
- name: '设备类型',
- prop: 'a',
- },
- {
- name: '监测数量',
- prop: 'b',
- },
- {
- name: '当前状态',
- prop: 'c',
- },
- ];
- // 火灾状态监测相关的内容配置项
- export const FIRE_STATUS_LIST = [
- {
- icon: 'warning-optical-fiber',
- label: '矿井光纤测温系统报警',
- prop: 'a',
- },
- {
- icon: 'warning-tubes',
- label: '矿井束管监测系统报警',
- prop: 'b',
- },
- {
- icon: 'warning-smoke-2',
- label: '矿井烟雾传感器报警',
- prop: 'c',
- },
- {
- icon: 'warning-CO-2',
- label: '矿井CO传感器报警',
- prop: 'd',
- },
- {
- icon: 'warning-temp',
- label: '矿井温度传感器报警',
- prop: 'e',
- },
- {
- icon: 'warning-max-temp',
- label: '矿井温度传感器最高值',
- prop: 'f',
- },
- ];
- // 文件总览相关的内容配置项
- export const FILE_OVERVIEW_CONFIG = [
- { src: leftImg, text: '文档总数', num: 233, id: 'file_cfg_001' },
- { src: rightImg, text: '待审批数', num: 50, id: 'file_cfg_002' },
- ];
- // 通风状态监测相关的内容配置项
- export const VENTILATION_STATUS_HEADER_CONFIG = [
- {
- label: '总进风量(m³/min)',
- prop: 'a',
- type: 'blue-to-left',
- },
- {
- label: '总回风量(m³/min)',
- prop: 'b',
- type: 'green-to-right',
- },
- {
- label: '总需风量(m³/min)',
- prop: 'c',
- type: 'green-to-left',
- },
- {
- label: '通风巷道总长度',
- prop: 'd',
- type: 'blue-to-right',
- },
- ];
- // 瓦斯状态监测相关的内容配置项
- export const GAS_STATUS_HEADER_CONFIG = [
- {
- label: '瓦斯风险等级',
- prop: 'a',
- type: 'to-bottom-right',
- },
- {
- label: '瓦斯鉴定等级',
- prop: 'b',
- type: 'to-top-right',
- },
- ];
- // 各个监测类型对应的要展示的组件
- export const COMPONENTS_MAP = new Map([
- ['dust', DustStatus],
- ['fire', FireStatus],
- ['file', FileOverview],
- ['ventilate', VentilationStatus],
- ['gas', GasStatus],
- ]);
|