|
@@ -78,38 +78,115 @@ export const columns: BasicColumn[] = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'CO(ppm)',
|
|
title: 'CO(ppm)',
|
|
|
- dataIndex: 'coVal',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'coVal',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'coValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'CO2(%)',
|
|
title: 'CO2(%)',
|
|
|
- dataIndex: 'co2Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'co2Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'co2ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'CH4(%)',
|
|
title: 'CH4(%)',
|
|
|
- dataIndex: 'ch4Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'ch4Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'ch4ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'C2H2(ppm)',
|
|
title: 'C2H2(ppm)',
|
|
|
- dataIndex: 'c2h2Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'c2h2Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'c2h2ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'C2H4(ppm)',
|
|
title: 'C2H4(ppm)',
|
|
|
- dataIndex: 'c2h4Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'c2h4Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'c2h4ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'O2(%)',
|
|
title: 'O2(%)',
|
|
|
- dataIndex: 'o2Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'o2Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'o2ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '温度(℃)',
|
|
title: '温度(℃)',
|
|
|
- dataIndex: 'temperature',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'temperature',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'temperatureOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '压差(Pa)',
|
|
title: '压差(Pa)',
|
|
@@ -117,13 +194,21 @@ export const columns: BasicColumn[] = [
|
|
|
width: 100,
|
|
width: 100,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '自然发火隐患等级',
|
|
|
|
|
|
|
+ title: '闭内自然发火隐患等级',
|
|
|
dataIndex: 'fireAlarm',
|
|
dataIndex: 'fireAlarm',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
customRender({ record }) {
|
|
customRender({ record }) {
|
|
|
return alarmCellRender(record.fireAlarm, (r) => riskMap[r.alarmName] || r.alarmName);
|
|
return alarmCellRender(record.fireAlarm, (r) => riskMap[r.alarmName] || r.alarmName);
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外自然发火隐患等级',
|
|
|
|
|
+ dataIndex: 'fireAlarmOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ customRender({ record }) {
|
|
|
|
|
+ return alarmCellRender(record.fireAlarmOut, (r) => riskMap[r.alarmName] || r.alarmName);
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
title: '是否漏风',
|
|
title: '是否漏风',
|
|
|
dataIndex: 'leakageAlarm',
|
|
dataIndex: 'leakageAlarm',
|
|
@@ -409,38 +494,115 @@ export const historicalColumns: BasicColumn[] = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'CO(ppm)',
|
|
title: 'CO(ppm)',
|
|
|
- dataIndex: 'coVal',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'coVal',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'coValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'CO2(%)',
|
|
title: 'CO2(%)',
|
|
|
- dataIndex: 'co2Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'co2Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'co2ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'CH4(%)',
|
|
title: 'CH4(%)',
|
|
|
- dataIndex: 'ch4Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'ch4Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'ch4ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'C2H2(ppm)',
|
|
title: 'C2H2(ppm)',
|
|
|
- dataIndex: 'c2h2Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'c2h2Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'c2h2ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'C2H4(ppm)',
|
|
title: 'C2H4(ppm)',
|
|
|
- dataIndex: 'c2h4Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'c2h4Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'c2h4ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: 'O2(%)',
|
|
title: 'O2(%)',
|
|
|
- dataIndex: 'o2Val',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'o2Val',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'o2ValOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '温度(℃)',
|
|
title: '温度(℃)',
|
|
|
- dataIndex: 'temperature',
|
|
|
|
|
width: 100,
|
|
width: 100,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭内',
|
|
|
|
|
+ dataIndex: 'temperature',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '闭外',
|
|
|
|
|
+ dataIndex: 'temperatureOut',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '压差(Pa)',
|
|
title: '压差(Pa)',
|