|
@@ -206,6 +206,49 @@ export const Dltcolumns = [
|
|
|
align: 'center',
|
|
|
},
|
|
|
];
|
|
|
+export const Swcolumns = [
|
|
|
+ {
|
|
|
+ title: '序号',
|
|
|
+ width: 60,
|
|
|
+ align: 'center',
|
|
|
+ customRender: ({ index }: { index: number }) => `${index + 1}`,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '工作场所',
|
|
|
+ dataIndex: 'gzcs',
|
|
|
+ key: 'gzcs',
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '监测地点',
|
|
|
+ dataIndex: 'jcdd',
|
|
|
+ key: 'jcdd',
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '粉尘种类',
|
|
|
+ dataIndex: 'fczl',
|
|
|
+ key: 'fczl',
|
|
|
+ width: 80,
|
|
|
+ align: 'center',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '总尘(时间加权平均浓度,单位:mg/m³)',
|
|
|
+ dataIndex: 'zcjqpj',
|
|
|
+ key: 'zcjqpj',
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '呼尘(时间加权平均浓度,单位:mg/m³)',
|
|
|
+ dataIndex: 'hcjqpj',
|
|
|
+ key: 'hcjqpj',
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ },
|
|
|
+];
|
|
|
export const fieldMapping = {
|
|
|
sc_zcds: '总尘-作业工序-生产(短时间监测浓度,mg/m³)',
|
|
|
jx_zcds: '总尘-作业工序-检修(短时间监测浓度,mg/m³)',
|
|
@@ -218,6 +261,18 @@ export const fieldMapping = {
|
|
|
hcrxd_ds: '呼尘容许浓度(短时间监测浓度,mg/m³)',
|
|
|
hcrxd_jqpj: '呼尘容许浓度(时间加权平均浓度,mg/m³)',
|
|
|
};
|
|
|
+export const fieldDltMapping = {
|
|
|
+ sc_zcds: '总尘-作业工序-生产(短时间监测浓度,mg/m³)',
|
|
|
+ jx_zcds: '总尘-作业工序-检修(短时间监测浓度,mg/m³)',
|
|
|
+ sc_hcds: '呼尘-作业工序-生产(短时间监测浓度,mg/m³)',
|
|
|
+ jx_hcds: '呼尘-作业工序-检修(短时间监测浓度,mg/m³)',
|
|
|
+ zcjqpj: '总尘(时间加权平均浓度,mg/m³)',
|
|
|
+ hcjqpj: '呼尘(时间加权平均浓度,mg/m³)',
|
|
|
+};
|
|
|
+export const fieldSwMapping = {
|
|
|
+ zcjqpj: '总尘(时间加权平均浓度,mg/m³)',
|
|
|
+ hcjqpj: '呼尘(时间加权平均浓度,mg/m³)',
|
|
|
+};
|
|
|
|
|
|
export const dataColumns = [
|
|
|
{
|
|
@@ -257,6 +312,68 @@ export const dataColumns = [
|
|
|
key: 'fczl',
|
|
|
},
|
|
|
];
|
|
|
+export const dataDltColumns = [
|
|
|
+ {
|
|
|
+ title: '监测字段',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'key',
|
|
|
+ key: 'key',
|
|
|
+ width: 200,
|
|
|
+ customRender: ({ text }) => fieldDltMapping[text] || text,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '最大值',
|
|
|
+ dataIndex: 'value',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ key: 'value',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '检测地点',
|
|
|
+ dataIndex: 'jcdd',
|
|
|
+ key: 'jcdd',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '粉尘种类',
|
|
|
+ dataIndex: 'fczl',
|
|
|
+ key: 'fczl',
|
|
|
+ },
|
|
|
+];
|
|
|
+export const dataSwColumns = [
|
|
|
+ {
|
|
|
+ title: '监测字段',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'key',
|
|
|
+ key: 'key',
|
|
|
+ width: 200,
|
|
|
+ customRender: ({ text }) => fieldSwMapping[text] || text,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '最大值',
|
|
|
+ dataIndex: 'value',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ key: 'value',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '检测地点',
|
|
|
+ dataIndex: 'jcdd',
|
|
|
+ key: 'jcdd',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '粉尘种类',
|
|
|
+ dataIndex: 'fczl',
|
|
|
+ key: 'fczl',
|
|
|
+ },
|
|
|
+];
|
|
|
|
|
|
export const AllDataColumns = [
|
|
|
{
|
|
@@ -303,3 +420,72 @@ export const AllDataColumns = [
|
|
|
key: 'fczl',
|
|
|
},
|
|
|
];
|
|
|
+export const AllDataDltColumns = [
|
|
|
+ {
|
|
|
+ title: '监测字段',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'key',
|
|
|
+ key: 'key',
|
|
|
+ width: 200,
|
|
|
+ customRender: ({ text }) => fieldDltMapping[text] || text,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '最大值',
|
|
|
+ dataIndex: 'value',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ key: 'value',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '检测地点',
|
|
|
+ dataIndex: 'jcdd',
|
|
|
+ key: 'jcdd',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '粉尘种类',
|
|
|
+ dataIndex: 'fczl',
|
|
|
+ key: 'fczl',
|
|
|
+ },
|
|
|
+];
|
|
|
+export const AllDataSwColumns = [
|
|
|
+ {
|
|
|
+ title: '监测字段',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'key',
|
|
|
+ key: 'key',
|
|
|
+ width: 200,
|
|
|
+ customRender: ({ text }) => fieldSwMapping[text] || text,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '最大值',
|
|
|
+ dataIndex: 'value',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ key: 'value',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ title: '工作场所',
|
|
|
+ dataIndex: 'gzcs',
|
|
|
+ align: 'center',
|
|
|
+ key: 'gzcs',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '检测地点',
|
|
|
+ dataIndex: 'jcdd',
|
|
|
+ key: 'jcdd',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
+ title: '粉尘种类',
|
|
|
+ dataIndex: 'fczl',
|
|
|
+ key: 'fczl',
|
|
|
+ },
|
|
|
+];
|