|
|
@ -143,7 +143,7 @@ const Bigscreen = (props) => { |
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
if(groupDetail?.pomsProjectIds&&groupDetail?.pomsProjectIds.length&&allProjects&&allProjects.length){ |
|
|
|
const query=groupDetail?.pomsProjectIds |
|
|
|
const query=groupDetail?.pomsProjectIds+'' |
|
|
|
dispatch(actions.projectGroup.getProjectWorkOrders({projectIds:query})).then(res=>{ |
|
|
|
if(res.success){ |
|
|
|
setProportion([...res.payload.data?.slice(0, 3)?.map(v => ({ name: allProjects?.find(item=>item.value===v.projectId)?.label, value: Number(v.count) })), |
|
|
|