|
|
@ -154,7 +154,7 @@ const Bigscreen = (props) => { |
|
|
|
}) |
|
|
|
dispatch(actions.projectGroup.getWorkOrdersRepairRank({projectIds:query})).then(res=>{ |
|
|
|
if(res.success){ |
|
|
|
setGroupProject(res.payload.data?.slice(0, 10).map(v => ({name:v.formname,duration:moment(v?.endTime).diff(v?.startTime,'hours') })) || []) |
|
|
|
setGroupProject(res.payload.data?.slice(0, 10).map(v => ({name:v.formname,duration:moment(v?.endTime).add(8, 'hours').diff(v?.startTime,'hours') })) || []) |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
@ -326,7 +326,7 @@ const Bigscreen = (props) => { |
|
|
|
<div style={{ textAlign: 'center', width: '25%', fontFamily: 'SourceHanSansCN-Regular', color: '#2C66F3', fontWeight: 400 }}> |
|
|
|
NO.{index + 1}</div> |
|
|
|
<div title={c.fromname} style={{ textAlign: 'center', padding: '0 6px', width: '49%', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis' }}> |
|
|
|
{c.fromname}</div> |
|
|
|
{c.name}</div> |
|
|
|
<div style={{ textAlign: 'center', width: '25%', fontFamily: 'SourceHanSansCN-Regular', fontWeight: 400 }}> |
|
|
|
{c.duration}h</div> |
|
|
|
</div> : <></> |
|
|
|