fix: auto-enable leader summary routing

This commit is contained in:
inman committed 2026-09-07 16:02:24 +08:00
1 parent 8fb066f345
commit 0b3aa5c42d
14 files changed
+618 -623

No files matched your search

+4 -17
View File
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#edf2f4">
<title>AI操作台 · LianSyn-platform</title>
<link rel="stylesheet" href="styles.css?v=20260907-leader-summary-1">
<link rel="stylesheet" href="styles.css?v=20260907-leader-summary-2">
</head>
<body>
<main class="app-shell">
@@ -282,25 +282,12 @@
<div>
<p class="eyebrow">LEADER SUMMARY COPY</p>
<h2>组长任务摘要抄送</h2>
<p class="muted">把同组织内其他非管理员员工的稳定任务结果,经组长自己的 AgentBus 渠道主动投递到指定微信会话。人工任务与 AgentBus 任务均可纳入。</p>
<p class="muted">身份为组长且已有可用 AgentBus 渠道时,系统自动把同组织内其他非管理员员工的稳定任务结果抄送到组长微信。人工任务与 AgentBus 任务都会纳入。</p>
</div>
</div>
<div class="leader-summary-safety" role="note">
默认关闭;只处理保存设置后的新结果,不补发历史任务。收件地址、会话 ID 和摘要正文均加密保存且不回显。AgentBus 主动投递可能极少量重复,已经到达微信的消息无法撤回。
无需单独配置或启用。收件路由优先使用 AgentBus 已记录的组长会话,并可从渠道的外部用户标识自动建立;只处理自动启用后的新结果,不补发历史任务。路由和摘要正文均加密保存且不回显。AgentBus 主动投递可能极少量重复,已经到达微信的消息无法撤回。
</div>
<form id="leaderSummaryForm" class="leader-summary-form" novalidate>
<label>组长 AgentBus 渠道<select id="leaderSummaryChannelId" required><option value="">请选择组长渠道</option></select></label>
<label>AgentBus 收件地址<input id="leaderSummaryRecipientAddress" maxlength="500" autocomplete="off" placeholder="首次配置或变更时填写"></label>
<label>微信会话 ID<input id="leaderSummaryConversationId" maxlength="500" autocomplete="off" placeholder="首次配置或变更时填写"></label>
<fieldset class="leader-summary-options">
<legend>抄送范围</legend>
<label><input id="leaderSummaryIncludeManual" type="checkbox" checked>人工提交</label>
<label><input id="leaderSummaryIncludeAgentbus" type="checkbox" checked>AgentBus 提交</label>
<label><input id="leaderSummaryTargetVerified" type="checkbox">已核对主动投递目标</label>
<label><input id="leaderSummaryEnabled" type="checkbox">启用抄送</label>
</fieldset>
<button id="leaderSummarySave" type="submit">保存设置</button>
</form>
<div id="leaderSummaryList" class="channel-list leader-summary-list"></div>
<p id="leaderSummaryMessage" class="channel-message" role="status"></p>
</section>
@@ -436,6 +423,6 @@
</section>
</main>
<script src="app.js?v=20260907-leader-summary-1"></script>
<script src="app.js?v=20260907-leader-summary-2"></script>
</body>
</html>