fix: 工单详情AI建议区域UI统一为Bootstrap 5风格

- 去掉自定义 ai-suggestion-section/generate-ai-btn 等样式
- 改用 Bootstrap card + badge + btn 组件
- 相似度和审批状态用 badge bg-success/warning/danger
- 按钮用 btn btn-sm 标准样式
- 租户管理飞书配置简化为只保留群绑定(去掉独立凭证字段)
- 未绑定群的消息日志增加提示
This commit is contained in:
2026-04-02 15:21:00 +08:00
parent 44cfe2a0ea
commit 683b64ed62
3 changed files with 30 additions and 37 deletions

View File

@@ -2266,19 +2266,11 @@
<textarea class="form-control" id="tenant-desc-input" rows="2" placeholder="可选"></textarea>
</div>
<hr>
<h6 class="text-muted">飞书配置(可选)</h6>
<div class="mb-3">
<label class="form-label">飞书 App ID</label>
<input type="text" class="form-control" id="tenant-feishu-appid" placeholder="留空则使用全局配置">
</div>
<div class="mb-3">
<label class="form-label">飞书 App Secret</label>
<input type="password" class="form-control" id="tenant-feishu-appsecret" placeholder="留空则使用全局配置">
</div>
<h6 class="text-muted">飞书群绑定</h6>
<div class="mb-3">
<label class="form-label">绑定的飞书群 Chat ID每行一个</label>
<textarea class="form-control" id="tenant-feishu-chatgroups" rows="3" placeholder="oc_xxxxxxxx&#10;oc_yyyyyyyy"></textarea>
<div class="form-text">将飞书群绑定到此租户,机器人在该群收到消息时自动使用此租户的知识库</div>
<div class="form-text">将飞书群绑定到此租户,机器人在该群收到消息时自动使用此租户的知识库。Chat ID 可从机器人日志中获取。</div>
</div>
</div>
<div class="modal-footer">