From f22dd4f0ce4ce82cb5ecf44b259d9d6f93bd14a7 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Fri, 6 Feb 2026 12:37:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0UI=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=92=8C=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C=E5=A2=9E=E5=BC=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增lastImportInfo计算属性显示导入统计 - 失败记录按钮添加tooltip显示导入时间 - 失败记录对话框添加统计信息展示 - 对话框添加清除历史记录按钮 Co-Authored-By: Claude Sonnet 4.5 --- ruoyi-ui/src/views/ccdiEmployee/index.vue | 40 +++++++++++++++++++---- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/ccdiEmployee/index.vue b/ruoyi-ui/src/views/ccdiEmployee/index.vue index 1de8871..f96b3a8 100644 --- a/ruoyi-ui/src/views/ccdiEmployee/index.vue +++ b/ruoyi-ui/src/views/ccdiEmployee/index.vue @@ -68,13 +68,18 @@ >导入 - 查看导入失败记录 + + 查看导入失败记录 + @@ -272,6 +277,14 @@ width="1200px" append-to-body > + + @@ -290,6 +303,7 @@ @@ -413,6 +427,18 @@ export default { } }; }, + computed: { + /** + * 上次导入信息摘要 + */ + lastImportInfo() { + const savedTask = this.getImportTaskFromStorage(); + if (savedTask && savedTask.totalCount) { + return `导入时间: ${this.parseTime(savedTask.saveTime)} | 总数: ${savedTask.totalCount}条 | 成功: ${savedTask.successCount}条 | 失败: ${savedTask.failureCount}条`; + } + return ''; + } + }, created() { this.getList(); this.getDeptTree();