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