fix(frontend): replace demo fallback wording

This commit is contained in:
2026-07-09 23:12:23 +08:00
parent 0acbea7058
commit 62c1e6c773
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ const seedOverview: ProcessingOverview = {
),
task(2, '住宅 SOP', '物业收费催缴流程.pdf', 'PDF', '8.1MB', '解析中', 'primary', 62, 0, '待向量化', 'warning', '2026-07-02 14:28', '查看', ''),
task(3, '培训课件', '巡检标准培训课件.pptx', 'PPT', '42MB', '等待解析', 'warning', 0, 0, '待处理', 'warning', '2026-07-02 14:25', '开始', ''),
task(4, '图片素材', '工单照片样例.zip', '图片', '286MB', 'OCR排队', 'primary', 0, 0, '待处理', 'warning', '2026-07-02 14:20', '查看', ''),
task(4, '图片素材', '工单照片归档.zip', '图片', '286MB', 'OCR排队', 'primary', 0, 0, '待处理', 'warning', '2026-07-02 14:20', '查看', ''),
task(
5,
'规章制度',
+2 -2
View File
@@ -222,7 +222,7 @@ const training = computed(() => apiResult.value?.training ?? activeSeed.value.tr
const apiPill = computed(() => {
if (apiMode.value === 'api') return { label: '后端 API', type: 'pill-primary' };
if (apiMode.value === 'fallback') return { label: 'API 失败回退', type: 'pill-warning' };
return { label: '本地 seed 演示', type: 'pill-primary' };
return { label: '本地知识兜底', type: 'pill-primary' };
});
const flowStatus = computed(() => {
if (trainingGenerated.value) return { label: '已完成闭环', type: 'pill-success' };
@@ -292,7 +292,7 @@ async function runSearch() {
apiResult.value = null;
apiMode.value = 'fallback';
searched.value = true;
ElMessage.warning('后端 SOP 检索 API 不可用,已回退本地 seed 知识库');
ElMessage.warning('后端 SOP 检索 API 不可用,已使用本地知识兜底');
}
}