From bd0b25d059c23b51aea8ad5e821bb82157c333eb Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Thu, 5 Mar 2026 15:33:09 +0800 Subject: [PATCH] refactor: remove upload status cards from project detail upload page --- .../components/detail/UploadData.vue | 128 ------------------ 1 file changed, 128 deletions(-) diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue index badb507..44461ef 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue @@ -46,49 +46,6 @@ - -
-
-
- -
-
-
上传中
-
{{ statistics.uploading }}
-
-
- -
-
- -
-
-
解析中
-
{{ statistics.parsing }}
-
-
- -
-
- -
-
-
解析成功
-
{{ statistics.parsed_success }}
-
-
- -
-
- -
-
-
解析失败
-
{{ statistics.parsed_failed }}
-
-
-
-
@@ -986,13 +943,6 @@ export default { // === 辅助方法 === - /** 状态筛选 */ - handleStatusFilter(status) { - this.queryParams.fileStatus = status; - this.queryParams.pageNum = 1; - this.loadFileList(); - }, - /** 分页变化 */ handlePageChange(pageNum) { this.queryParams.pageNum = pageNum; @@ -1321,77 +1271,6 @@ export default { } } -// 统计卡片区域 -.statistics-section { - display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 16px; - margin-bottom: 16px; - - .stat-card { - background: #fff; - border-radius: 4px; - padding: 20px; - display: flex; - align-items: center; - gap: 16px; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); - cursor: pointer; - transition: all 0.3s; - - &:hover { - transform: translateY(-2px); - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); - } - - .stat-icon { - width: 48px; - height: 48px; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - font-size: 24px; - - &.uploading { - background: rgba(64, 158, 255, 0.1); - color: #409eff; - } - - &.parsing { - background: rgba(230, 162, 60, 0.1); - color: #e6a23c; - } - - &.success { - background: rgba(103, 194, 58, 0.1); - color: #67c23a; - } - - &.failed { - background: rgba(245, 108, 108, 0.1); - color: #f56c6c; - } - } - - .stat-content { - flex: 1; - - .stat-label { - font-size: 14px; - color: #909399; - margin-bottom: 4px; - } - - .stat-value { - font-size: 24px; - font-weight: 600; - color: #303133; - } - } - } -} - // 文件列表区域 .file-list-section { background: #fff; @@ -1522,9 +1401,6 @@ export default { gap: 16px; } - .statistics-section { - grid-template-columns: repeat(2, 1fr); - } } @media (max-width: 768px) { @@ -1550,10 +1426,6 @@ export default { grid-template-columns: 1fr; } - .statistics-section { - grid-template-columns: 1fr; - } - .file-list-section .list-toolbar { flex-direction: column; align-items: flex-start;