feat(knowledge): enhance FAQ import result tracking and UI

- Added new fields for tracking added, merged, and partially failed entries during FAQ imports.
- Updated the import result statistics to include detailed counts for added and merged entries.
- Enhanced the UI to display progress hints and improved import result summaries.
- Implemented a new method for saving chunks in a single transaction to improve performance.

This commit improves the visibility and accuracy of FAQ import results, providing better user feedback and tracking capabilities.
This commit is contained in:
wizardchen
2026-07-22 20:31:10 +08:00
committed by lyingbug
parent 5af8eae81d
commit 135033e6df
9 changed files with 1182 additions and 483 deletions
+4
View File
@@ -5620,9 +5620,13 @@ export default {
recentResult: 'Последние результаты импорта',
totalData: 'Данные импорта',
success: 'Успешно',
added: 'Добавлено',
merged: 'Объединено',
partialFailed: 'Частично неудачно',
failed: 'Ошибка',
skipped: 'Пропущено',
unit: 'запись(ей)',
progressHint: 'Проверка и импорт данных FAQ...',
downloadReasons: 'Скачать причины',
appendMode: 'Режим добавления',
replaceMode: 'Режим замены',