| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305 |
- export const columns = [
- {
- title: '序号',
- width: 60,
- align: 'center',
- customRender: ({ index }: { index: number }) => `${index + 1}`,
- },
- {
- title: '工作场所',
- dataIndex: 'gzcs',
- key: 'gzcs',
- width: 100,
- align: 'center',
- },
- {
- title: '工种',
- dataIndex: 'gz',
- key: 'gz',
- 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³)',
- width: 100,
- align: 'center',
- children: [
- {
- title: '作业工序-生产',
- dataIndex: 'sc_zcds',
- key: 'sc_zcds',
- width: 100,
- align: 'center',
- },
- {
- title: '作业工序-检修',
- dataIndex: 'jx_zcds',
- key: 'jx_zcds',
- width: 100,
- align: 'center',
- },
- ],
- },
- {
- title: '呼尘(短时间监测浓度,单位:mg/m³)',
- width: 100,
- align: 'center',
- children: [
- {
- title: '作业工序-生产',
- dataIndex: 'sc_hcds',
- key: 'sc_hcds',
- width: 100,
- align: 'center',
- },
- {
- title: '作业工序-检修',
- dataIndex: 'jx_hcds',
- key: 'jx_hcds',
- width: 100,
- align: 'center',
- },
- ],
- },
- {
- title: '总尘(时间加权平均浓度,单位:mg/m³)',
- dataIndex: 'zcjqpj',
- key: 'zcjqpj',
- width: 100,
- align: 'center',
- },
- {
- title: '呼尘(时间加权平均浓度,单位:mg/m³)',
- dataIndex: 'hcjqpj',
- key: 'hcjqpj',
- width: 100,
- align: 'center',
- },
- {
- title: '总尘容许浓度(mg/m³)',
- children: [
- {
- title: '短时间监测浓度',
- dataIndex: 'zcrxd_ds',
- key: 'zcrxd_ds',
- width: 100,
- align: 'center',
- },
- {
- title: '时间加权平均浓度',
- dataIndex: 'zcrxd_jqpj',
- key: 'zcrxd_jqpj',
- width: 120,
- align: 'center',
- },
- ],
- },
- {
- title: '呼尘容许浓度(mg/m³)',
- children: [
- {
- title: '短时间监测浓度',
- dataIndex: 'hcrxd_ds',
- key: 'hcrxd_ds',
- width: 120,
- align: 'center',
- },
- {
- title: '时间加权平均浓度',
- dataIndex: 'hcrxd_jqpj',
- key: 'hcrxd_jqpj',
- width: 120,
- align: 'center',
- },
- ],
- },
- ];
- export const Dltcolumns = [
- {
- title: '序号',
- width: 60,
- align: 'center',
- customRender: ({ index }: { index: number }) => `${index + 1}`,
- },
- {
- title: '监测地点',
- dataIndex: 'jcdd',
- key: 'jcdd',
- width: 100,
- align: 'center',
- },
- {
- title: '粉尘种类',
- dataIndex: 'fczl',
- key: 'fczl',
- width: 80,
- align: 'center',
- },
- {
- title: '总尘(短时间监测浓度,单位:mg/m³)',
- width: 100,
- align: 'center',
- children: [
- {
- title: '作业工序-生产',
- dataIndex: 'sc_zcds',
- key: 'sc_zcds',
- width: 100,
- align: 'center',
- },
- {
- title: '作业工序-检修',
- dataIndex: 'jx_zcds',
- key: 'jx_zcds',
- width: 100,
- align: 'center',
- },
- ],
- },
- {
- title: '呼尘(短时间监测浓度,单位:mg/m³)',
- width: 100,
- align: 'center',
- children: [
- {
- title: '作业工序-生产',
- dataIndex: 'sc_hcds',
- key: 'sc_hcds',
- width: 100,
- align: 'center',
- },
- {
- title: '作业工序-检修',
- dataIndex: 'jx_hcds',
- key: 'jx_hcds',
- width: 100,
- 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³)',
- sc_hcds: '呼尘-作业工序-生产(短时间监测浓度,mg/m³)',
- jx_hcds: '呼尘-作业工序-检修(短时间监测浓度,mg/m³)',
- zcjqpj: '总尘(时间加权平均浓度,mg/m³)',
- hcjqpj: '呼尘(时间加权平均浓度,mg/m³)',
- zcrxd_ds: '总尘容许浓度(短时间监测浓度,mg/m³)',
- zcrxd_jqpj: '总尘容许浓度(时间加权平均浓度,mg/m³)',
- hcrxd_ds: '呼尘容许浓度(短时间监测浓度,mg/m³)',
- hcrxd_jqpj: '呼尘容许浓度(时间加权平均浓度,mg/m³)',
- };
- export const dataColumns = [
- {
- title: '监测字段',
- align: 'center',
- dataIndex: 'key',
- key: 'key',
- width: 200,
- customRender: ({ text }) => fieldMapping[text] || text,
- },
- {
- title: '最大值',
- dataIndex: 'value',
- align: 'center',
- width: 100,
- key: 'value',
- },
- {
- title: '工种',
- width: 100,
- dataIndex: 'gz',
- align: 'center',
- key: 'gz',
- },
- {
- width: 100,
- align: 'center',
- title: '检测地点',
- dataIndex: 'jcdd',
- key: 'jcdd',
- },
- {
- width: 100,
- align: 'center',
- title: '粉尘种类',
- dataIndex: 'fczl',
- key: 'fczl',
- },
- ];
- export const AllDataColumns = [
- {
- title: '监测字段',
- align: 'center',
- dataIndex: 'key',
- key: 'key',
- width: 200,
- customRender: ({ text }) => fieldMapping[text] || text,
- },
- {
- title: '最大值',
- dataIndex: 'value',
- align: 'center',
- width: 100,
- key: 'value',
- },
- {
- width: 100,
- title: '工作场所',
- dataIndex: 'gzcs',
- align: 'center',
- key: 'gzcs',
- },
- {
- title: '工种',
- width: 100,
- dataIndex: 'gz',
- align: 'center',
- key: 'gz',
- },
- {
- width: 100,
- align: 'center',
- title: '检测地点',
- dataIndex: 'jcdd',
- key: 'jcdd',
- },
- {
- width: 100,
- align: 'center',
- title: '粉尘种类',
- dataIndex: 'fczl',
- key: 'fczl',
- },
- ];
|