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();