From b35d05a9c5355e5676a7daed49611a3ff10bfe5c Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Sun, 8 Feb 2026 18:43:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=9E=E7=8E=B0=E6=B8=85=E9=99=A4?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/ccdiIntermediary/index.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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;