Radionuclide Activity 中的 conc 和 mdc 中间的 值不对

peak Infomation 1544771.536 怎么变成了1544770 (CNP21_001-20170129_0220 文件)
This commit is contained in:
任珮宇 2023-11-21 15:08:39 +08:00
parent a061ac62c1
commit e7d06e2ae8
2 changed files with 7 additions and 4 deletions

View File

@ -106,14 +106,14 @@ const columns = [
title: 'Conc (uBq/m3)', title: 'Conc (uBq/m3)',
dataIndex: 'conc', dataIndex: 'conc',
customRender: (text) => { customRender: (text) => {
return text && text !== 'null' ? Number(text).toPrecision(6) : text return text
}, },
}, },
{ {
title: 'MDC (uBq/m3)', title: 'MDC (uBq/m3)',
dataIndex: 'mdc', dataIndex: 'mdc',
customRender: (text) => { customRender: (text) => {
return text && text !== 'null' ? Number(text).toPrecision(6) : text return text
}, },
}, },
] ]

View File

@ -66,13 +66,16 @@ const columns = [
{ {
title: 'NetArea', title: 'NetArea',
dataIndex: 'netArea', dataIndex: 'netArea',
customRender: (text) => parseFloat(Number(text).toPrecision(6)), ellipsis: true,
// customRender: (text) => parseFloat(Number(text).toPrecision(6)),
customRender: (text) => text,
}, },
{ {
title: 'AreaErr(%)', title: 'AreaErr(%)',
dataIndex: 'areaErr', dataIndex: 'areaErr',
ellipsis: true, ellipsis: true,
customRender: (text) => parseFloat(Number(text).toPrecision(6)), // customRender: (text) => parseFloat(Number(text).toPrecision(6)),
customRender: (text) => text,
}, },
{ {
title: 'Significant', title: 'Significant',