123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- import { reactive, markRaw, defineAsyncComponent } from 'vue';
- import { getAssetURL } from '/@/utils/ui';
- //中间区域数据-通风
- export const centerAreaListT1 = [
- { id: 0, label: '进风量(m³/min)' },
- { id: 1, label: '回风量(m³/min)' },
- { id: 2, label: '需风量(m³/min)' },
- ];
- //中间区域底部数据-通风
- export const centerAreaListB1 = [
- {
- id: 0,
- content: '',
- },
- {
- id: 1,
- content: '',
- },
- {
- id: 2,
- content: '',
- },
- ];
- //内外因火灾菜单列表
- export const typeMenuList = [{ name: '内因火灾' }, { name: '外因火灾' },{name:'火灾指标'}];
- //瓦斯监测菜单列表
- export const typeMenuListGas = [{ name: '预警监测' }, { name: '预警指标' },];
- //当前加载组件
- export const componentName = {
- fireWork: markRaw(defineAsyncComponent(() => import('./common/fireWork.vue'))),
- closeWall: markRaw(defineAsyncComponent(() => import('./common/closeWall.vue'))),
- mainWell: markRaw(defineAsyncComponent(() => import('./common/mainWell.vue'))),
- warnTargetFire: markRaw(defineAsyncComponent(() => import('./common/warnTargetFire.vue'))),
- };
- //顶部区域数据
- export const topList = [
- {
- id: 0,
- label: '最高温度(°C)',
- imgSrc: true,
- value: '--',
- text: '',
- list: [],
- },
- {
- id: 1,
- label: '最低温度(°C)',
- imgSrc: true,
- value: '--',
- text: '',
- list: [],
- },
- {
- id: 2,
- label: '平均温度(°C)',
- imgSrc: true,
- value: '--',
- text: '',
- list: [],
- },
- { id: 3, imgSrc: false, label: '', value: null, text: '--', list: [] },
- {
- id: 4,
- imgSrc: false,
- label: '回风隅角',
- value: null,
- text: '',
- list: [
- { id: 0, label: 'O₂', value: 0 },
- { id: 1, label: 'CO', value: 0 },
- ],
- },
- ];
- //束管监测选项列表
- export const contentList = [
- {
- id: 0,
- list: [
- {
- id: '0-0',
- title: 'O₂',
- dw: '(%)',
- label: '浓度 : ',
- value: '--',
- label1: '时间 : ',
- time: '--',
- },
- {
- id: '0-1',
- title: 'C₂H₄',
- dw: '(ppm)',
- label: '浓度 : ',
- value: '--',
- label1: '时间 : ',
- time: '--',
- },
- ],
- },
- {
- id: 1,
- list: [
- {
- id: '1-0',
- title: 'CO',
- dw: '(ppm)',
- label: '浓度 : ',
- value: '--',
- label1: '时间 : ',
- time: '--',
- },
- {
- id: '1-1',
- title: 'CH₄',
- dw: '(ppm)',
- label: '浓度 : ',
- value: '--',
- label1: '时间 : ',
- time: '--',
- },
- ],
- },
- {
- id: 2,
- list: [
- {
- id: '2-0',
- title: 'CO₂',
- dw: '(%)',
- label: '浓度 : ',
- value: '--',
- label1: '时间 : ',
- time: '--',
- },
- {
- id: '2-1',
- title: 'C₂H₂',
- dw: '(ppm)',
- label: '浓度 : ',
- value: '--',
- label1: '时间 : ',
- time: '--',
- },
- ],
- },
- ];
- //外因火灾-工作面顶部区域数据
- export const topOutList = [
- {
- id: 0,
- imgSrc: true,
- label: '最高温度(°C)',
- value: '0',
- text: '',
- },
- {
- id: 1,
- imgSrc: true,
- label: '最低温度(°C)',
- value: '0',
- text: '',
- },
- {
- id: 2,
- imgSrc: true,
- label: '平均温度(°C)',
- value: '0',
- text: '',
- },
- { id: 3, imgSrc: false, label: '', value: null, text: '' },
- // {
- // id: 4,
- // imgSrc: false,
- // label: '',
- // value: null,
- // text: '井下消防材料库',
- // },
- ];
- //外因火灾-中间区域标题数据
- export const tabList = [
- { id: 0, label: '烟雾传感器监测', details: '设备类型名称' },
- { id: 1, label: '一氧化碳传感器监测', details: '设备类型名称' },
- { id: 2, label: '自动喷淋灭火装置监测', details: '设备类型名称' },
- ];
- export const tabLists = [
- { id: 0, label: '烟雾传感器监测', details: '设备类型名称' },
- { id: 1, label: '温度传感器监测', details: '设备类型名称' },
- { id: 2, label: '自动喷淋灭火装置监测', details: '设备类型名称' },
- { id: 3, label: '火焰传感器监测', details: '设备类型名称' },
- ];
- //外因火灾-传感器table列
- export const columns = [
- { rowIndex: 1, dataIndex: 'strinstallpos', title: '名称', type: '1', align: 'center' },
- { rowIndex: 2, dataIndex: 'warnLevel_str', title: '状态', type: '1', align: 'center' },
- { rowIndex: 3, dataIndex: 'readTime', title: '时间', type: '1', align: 'center' },
- ];
- //外因火灾-烟雾传感器table列
- export const columnsSmoke = [
- { rowIndex: 1, dataIndex: 'strinstallpos', title: '名称', type: '1', align: 'center' },
- { rowIndex: 2, dataIndex: 'val', title: '值', type: '1', align: 'center' },
- { rowIndex: 3, dataIndex: 'warnLevel_str', title: '状态', type: '1', align: 'center' },
- { rowIndex: 4, dataIndex: 'readTime', title: '时间', type: '1', align: 'center' },
- ];
|