diff --git a/ruoyi-ui/src/views/ccdiIntermediary/index.vue b/ruoyi-ui/src/views/ccdiIntermediary/index.vue index c0877e6..f8f785d 100644 --- a/ruoyi-ui/src/views/ccdiIntermediary/index.vue +++ b/ruoyi-ui/src/views/ccdiIntermediary/index.vue @@ -485,6 +485,20 @@ export default { handleImportDialogClose() { // 子组件已处理文件清理 }, + /** 清除导入历史记录 */ + handleClearImportHistory(importType) { + if (importType === 'person') { + // 清除个人中介导入历史记录 + this.clearPersonImportTaskFromStorage(); + this.showPersonFailureButton = false; + this.currentPersonTaskId = null; + } else if (importType === 'entity') { + // 清除实体中介导入历史记录 + this.clearEntityImportTaskFromStorage(); + this.showEntityFailureButton = false; + this.currentEntityTaskId = null; + } + }, /** 处理导入完成 */ handleImportComplete(importData) { const { taskId, hasFailures, importType, totalCount, successCount, failureCount } = importData;