feat(web): 系统设置页编辑并校验服务配置

- 系统设置页新增服务配置表单(生产/测试地址、租户 ID、知识库 ID),保存时回显校验结果与失败原因
- 同步前端类型定义与接口调用,补齐设置相关前端用例
This commit is contained in:
姚章浩
2026-09-30 10:53:25 +08:00
parent 1db21fb899
commit 61c0811228
7 changed files with 351 additions and 36 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ export function ModulePage({ moduleId, jobs, loading, error, onRefresh, connecti
<section className="safety-strip">
<div>
<strong>运行安全</strong>
<span>PP历史来源清单已接管;本地测试WeKnora已连接,生产WeKnora仍未连接。</span>
<span>PP历史来源清单已接管;生产写入:{releaseCapabilities.production_release_requests_enabled ? (releaseCapabilities.production_backup_restore_verified ? '已开启' : '已开启(快照恢复未验证,仍被阻断)') : '关闭'};测试 / 生产 WeKnora 连接状态以「系统设置 → 服务配置」的实时探测为准。</span>
</div>
<span className="safe-badge">Release Worker 默认关闭</span>
</section>