|
@@ -70,9 +70,9 @@ const Step = ({ id, statusId, groupStatus = [], isOwner }) => {
|
|
|
tryChangeStatus({ id, businessStatusId: e.key })
|
|
tryChangeStatus({ id, businessStatusId: e.key })
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- }}>
|
|
|
|
|
- {op.otherItems.map(item => (
|
|
|
|
|
- <Menu.Item key={item.id}>
|
|
|
|
|
|
|
+ }}
|
|
|
|
|
+ items={op.otherItems.map(item => ({
|
|
|
|
|
+ label: (
|
|
|
<div className="flex justify-between items-center">
|
|
<div className="flex justify-between items-center">
|
|
|
<span className={stateMap[item.key]?.fontColor}>
|
|
<span className={stateMap[item.key]?.fontColor}>
|
|
|
{stateMap[item.key]?.icon}
|
|
{stateMap[item.key]?.icon}
|
|
@@ -80,9 +80,10 @@ const Step = ({ id, statusId, groupStatus = [], isOwner }) => {
|
|
|
</span>
|
|
</span>
|
|
|
<span>{item.percentage}%</span>
|
|
<span>{item.percentage}%</span>
|
|
|
</div>
|
|
</div>
|
|
|
- </Menu.Item>
|
|
|
|
|
- ))}
|
|
|
|
|
- </Menu>
|
|
|
|
|
|
|
+ ),
|
|
|
|
|
+ key: item.id
|
|
|
|
|
+ }))}
|
|
|
|
|
+ />
|
|
|
)
|
|
)
|
|
|
return (
|
|
return (
|
|
|
<div className={['busi-state', 'mb-4', styles.businessStep].join(' ')}>
|
|
<div className={['busi-state', 'mb-4', styles.businessStep].join(' ')}>
|