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)',
dataIndex: 'conc',
customRender: (text) => {
return text && text !== 'null' ? Number(text).toPrecision(6) : text
return text
},
},
{
title: 'MDC (uBq/m3)',
dataIndex: 'mdc',
customRender: (text) => {
return text && text !== 'null' ? Number(text).toPrecision(6) : text
return text
},
},
]

View File

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