From a4f95a4fa9a9cfcac9c5bf6f323b68f9fc1f5418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=87=AF?= Date: Sun, 30 Aug 2026 20:02:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=9A=E5=95=86=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E6=AD=A5=E9=9A=90=E8=97=8F=E7=BB=A7=E7=BB=AD=E8=BF=BD=E9=97=AE?= =?UTF-8?q?=E4=B8=8E=E8=B7=B3=E8=BF=87=E6=AD=A4=E9=A1=B9=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Step1Panel.tsx | 42 ++++++++++++------- .../pages/RoundtablePlanningPage.tsx | 2 + 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/frontend-web/src/roundtable-planning/components/Step1Panel.tsx b/frontend-web/src/roundtable-planning/components/Step1Panel.tsx index a8772dbb..fbbf4286 100644 --- a/frontend-web/src/roundtable-planning/components/Step1Panel.tsx +++ b/frontend-web/src/roundtable-planning/components/Step1Panel.tsx @@ -130,6 +130,11 @@ export interface Step1PanelProps { footerAction?: React.ReactNode; /** 已进入后续工作流时,隐藏默认的「进入研讨」动作。 */ hideEnterRoundtable?: boolean; + /** + * 隐藏「继续追问」「跳过此项」两个快捷动作(多智能体会商页不需要; + * 岗位会商 / 8BF 不传保持原样)。 + */ + hideFollowupActions?: boolean; /** * 仅替换输入区的渲染插槽。消息列表、意图状态及附件状态仍由 Step1Panel * 统一管理,因此岗位会商定制样式时不会分叉或复制 Step 1 的业务逻辑。 @@ -171,6 +176,7 @@ export function Step1Panel(props: Step1PanelProps) { enterButtonLabel = "进入多智能体研讨 >", footerAction, hideEnterRoundtable = false, + hideFollowupActions = false, inputArea, inputDraftKey, initialInputText = "", @@ -425,23 +431,27 @@ export function Step1Panel(props: Step1PanelProps) { )} - + {!hideFollowupActions && ( + + )} - + {!hideFollowupActions && ( + + )} {footerAction ?? (!hideEnterRoundtable && ( diff --git a/frontend-web/src/roundtable-planning/pages/RoundtablePlanningPage.tsx b/frontend-web/src/roundtable-planning/pages/RoundtablePlanningPage.tsx index 7b6773cd..d11b67d1 100644 --- a/frontend-web/src/roundtable-planning/pages/RoundtablePlanningPage.tsx +++ b/frontend-web/src/roundtable-planning/pages/RoundtablePlanningPage.tsx @@ -2166,6 +2166,8 @@ export default function RoundtablePlanningPage({ onStopIntent: step1.stopIntentStream, onSkipQuestion: handleSkipQuestion, onFollowUp: handleAgentFollowUp, + // 多智能体会商页去掉「继续追问」「跳过此项」快捷键 —— 干预走输入框直接发送即可。 + hideFollowupActions: true, onEnterRoundtable: () => { if (!step1.intentReady) { triggerToast("请先与任务理解智能体完成澄清,生成任务摘要后再进入");