feat(platform): surface customer next best actions
This commit is contained in:
@@ -2729,6 +2729,30 @@ export function Dashboard({
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
<div className="vp-customer-service-next" aria-label="建议下一步">
|
||||
<div className="vp-customer-service-next-copy">
|
||||
<Typography.Text strong>建议下一步</Typography.Text>
|
||||
<Typography.Text type="secondary">
|
||||
根据当前告警、车辆在线和时间窗状态,优先给客户一个明确行动。
|
||||
</Typography.Text>
|
||||
</div>
|
||||
<div className="vp-customer-service-next-grid">
|
||||
{customerNextActions.map((item) => (
|
||||
<button
|
||||
key={`${item.level}-${item.title}`}
|
||||
type="button"
|
||||
className="vp-customer-service-next-item"
|
||||
onClick={item.onClick}
|
||||
aria-label={`建议下一步 ${item.level} ${item.title} ${item.action}`}
|
||||
>
|
||||
<Tag color={item.color}>{item.level}</Tag>
|
||||
<strong>{item.title}</strong>
|
||||
<span>{item.detail}</span>
|
||||
<em>{item.action}</em>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
) : null}
|
||||
{focusMode === 'time-window' ? (
|
||||
|
||||
Reference in New Issue
Block a user