feat: add leader AgentBus task summaries

This commit is contained in:
inman committed 2026-09-07 13:01:01 +08:00
1 parent f4664997a8
commit 1a3ab63700
18 files changed
+2158 -19

No files matched your search

+29 -2
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=20260902-account-routing-hard-delete-2">
<link rel="stylesheet" href="styles.css?v=20260907-leader-summary-1">
</head>
<body>
<main class="app-shell">
@@ -277,6 +277,33 @@
<div id="channelList" class="channel-list"></div>
<p id="channelMessage" class="channel-message" role="status"></p>
</section>
<section id="leaderSummaryPanel" class="panel channel-panel leader-summary-panel">
<div class="panel-head">
<div>
<p class="eyebrow">LEADER SUMMARY COPY</p>
<h2>组长任务摘要抄送</h2>
<p class="muted">把同组织内其他非管理员员工的稳定任务结果,经组长自己的 AgentBus 渠道主动投递到指定微信会话。人工任务与 AgentBus 任务均可纳入。</p>
</div>
</div>
<div class="leader-summary-safety" role="note">
默认关闭;只处理保存设置后的新结果,不补发历史任务。收件地址、会话 ID 和摘要正文均加密保存且不回显。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>
</section>
<section id="parserRoutingPage" class="parser-routing-page" hidden>
@@ -409,6 +436,6 @@
</section>
</main>
<script src="app.js?v=20260902-account-routing-hard-delete-2"></script>
<script src="app.js?v=20260907-leader-summary-1"></script>
</body>
</html>