Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
# Conflicts: # frontend-web/src/roundtable-planning/hooks/useStep3Dashboard.ts
This commit is contained in:
commit
b04b830039
20 files changed
+1396
-271
No files matched your search
@@ -2564,22 +2564,31 @@ function RoundtableEntryRail({
|
||||
该业务链暂无智能体席位
|
||||
</p>
|
||||
) : (
|
||||
<div className="flex flex-col items-center gap-1.5">
|
||||
{stageGroups.map((stage, si) => (
|
||||
<div
|
||||
key={si}
|
||||
className="flex flex-col items-center gap-1"
|
||||
>
|
||||
{si > 0 && (
|
||||
<ChevronDown className="h-3 w-3 text-neutral-300" />
|
||||
)}
|
||||
{stage.length > 1 && (
|
||||
<span className="rounded-full bg-primary/5 px-1.5 text-[8.5px] font-semibold text-primary">
|
||||
并行 {stage.length}
|
||||
</span>
|
||||
)}
|
||||
<div className="flex flex-wrap items-center justify-center gap-1.5">
|
||||
{stage.map((seat, sj) => {
|
||||
<div className="flex flex-row flex-wrap items-center justify-center gap-1">
|
||||
{stageGroups.flatMap((stage, si) => {
|
||||
// 横向编排:阶段从左到右排列,阶段之间用 → 串联;并行阶段的
|
||||
// 席位在该列内竖向堆叠(宽度可控,符合「同层并行·层间串行」示意)。
|
||||
const items: React.ReactNode[] = [];
|
||||
if (si > 0) {
|
||||
items.push(
|
||||
<ChevronRight
|
||||
key={`arrow-${si}`}
|
||||
className="h-3 w-3 shrink-0 text-neutral-300"
|
||||
/>,
|
||||
);
|
||||
}
|
||||
items.push(
|
||||
<div
|
||||
key={`stage-${si}`}
|
||||
className="flex flex-col items-center gap-1"
|
||||
>
|
||||
{stage.length > 1 && (
|
||||
<span className="rounded-full bg-primary/5 px-1.5 text-[8.5px] font-semibold text-primary">
|
||||
并行 {stage.length}
|
||||
</span>
|
||||
)}
|
||||
<div className="flex flex-col items-center gap-1.5">
|
||||
{stage.map((seat, sj) => {
|
||||
const palette =
|
||||
SEAT_CHIP_PALETTE[
|
||||
seatColorIndex++ %
|
||||
@@ -2614,10 +2623,12 @@ function RoundtableEntryRail({
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
})}
|
||||
</div>
|
||||
</div>,
|
||||
);
|
||||
return items;
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user