From 2431036a0472eb7dd42db784db865fe8dfdf7245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Thu, 21 Sep 2023 16:13:21 +0800 Subject: [PATCH] feat:fix bugs --- web/client/src/sections/projectGroup/containers/bigscreen.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/client/src/sections/projectGroup/containers/bigscreen.jsx b/web/client/src/sections/projectGroup/containers/bigscreen.jsx index 195e9d5..08f6d00 100644 --- a/web/client/src/sections/projectGroup/containers/bigscreen.jsx +++ b/web/client/src/sections/projectGroup/containers/bigscreen.jsx @@ -144,7 +144,7 @@ console.log('xxx1',actions) if(res.success){ setProportion([...res.payload.data?.slice(0, 3)?.map(v => ({ name: pomsProjectBasicAll.find(item=>item.valiue===v.projectId)?.label, value: v.count })), { value: res.payload.data&&res.payload.data.length>3?res.payload.data?.slice(3)?.reduce((p,c)=>{ - return p+c + return p+c.count },0):0, name: '其它' }]) } }) @@ -485,7 +485,7 @@ console.log('xxx1',actions) return
{c.name}
{title}
-
{c.offnum + '/' + c.totnum`(${(c.offnum/c.totnum).toFixed(4)*100}%)`}
+
{c.offnum + '/' + c.totnum+`(${(c.offnum/c.totnum).toFixed(4)*100}%)`}
})} } containerStyle={{ position: "relative", height: "85%", }} divHeight={"100%"} divId={"interruptchart"}/>