From 3a1acebed0f523fc7877c359d24618c4cb4332bc Mon Sep 17 00:00:00 2001
From: GiveMePast <1248298477@qq.com>
Date: Sat, 28 Feb 2026 17:46:51 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=A1=E7=89=87=E7=9A=84?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1=E6=96=B9=E5=BC=8F=EF=BC=88?=
=?UTF-8?q?=E9=80=9A=E8=BF=87=E6=8E=A5=E5=8F=A3=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/TicketManagement.vue | 436 +++++++++++++++++++++------------
1 file changed, 284 insertions(+), 152 deletions(-)
diff --git a/src/views/TicketManagement.vue b/src/views/TicketManagement.vue
index dfbc8b5..afff8d2 100644
--- a/src/views/TicketManagement.vue
+++ b/src/views/TicketManagement.vue
@@ -6,35 +6,45 @@
总工单数
{{ allStats.total }}
-
+
+
+
未分配
{{ allStats.pending }}
-
+
+
+
进行中
{{ allStats.ongoing }}
-
+
+
+
已完成
{{ allStats.completed }}
-
+
+
+
已完结
{{ allStats.is_completed }}
-
+
+
+
@@ -43,100 +53,112 @@
新增任务
-
-
-
\ No newline at end of file
+.ticket-management {
+ padding: 20px;
+ background-color: #f8fafc;
+ min-height: 100vh;
+}
+
+.stats-container {
+ display: grid;
+ grid-template-columns: repeat(5, minmax(150px, 1fr));
+ gap: 16px;
+ margin-bottom: 24px;
+}
+
+.stat-card {
+ background: white;
+ padding: 20px;
+ border-radius: 12px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ transition: all 0.3s ease;
+ border-bottom: 3px solid transparent;
+}
+
+.stat-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
+}
+
+.total {
+ border-bottom-color: #409eff;
+}
+
+.total .stat-icon {
+ color: #409eff;
+ background: #ecf5ff;
+}
+
+.pending {
+ border-bottom-color: #909399;
+}
+
+.pending .stat-icon {
+ color: #909399;
+ background: #f4f4f5;
+}
+
+.ongoing {
+ border-bottom-color: #e6a23c;
+}
+
+.ongoing .stat-icon {
+ color: #e6a23c;
+ background: #fdf6ec;
+}
+
+.success {
+ border-bottom-color: #67c23a;
+}
+
+.success .stat-icon {
+ color: #67c23a;
+ background: #f0f9eb;
+}
+
+.finished {
+ border-bottom-color: #009688;
+}
+
+.finished .stat-icon {
+ color: #009688;
+ background: #e6f6f5;
+}
+
+.stat-label {
+ font-size: 13px;
+ color: #64748b;
+ margin-bottom: 8px;
+ font-weight: 500;
+}
+
+.stat-value {
+ font-size: 24px;
+ font-weight: 700;
+ color: #1e293b;
+}
+
+.stat-icon {
+ font-size: 24px;
+ padding: 12px;
+ border-radius: 10px;
+}
+
+.main-content {
+ background: white;
+ padding: 20px;
+ border-radius: 12px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
+}
+
+.action-bar {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 20px;
+}
+
+.pagination-container {
+ margin-top: 20px;
+ display: flex;
+ justify-content: flex-end;
+}
+
+@media (max-width: 1400px) {
+ .stats-container {
+ grid-template-columns: repeat(3, 1fr);
+ }
+}
+
+@media (max-width: 768px) {
+ .stats-container {
+ grid-template-columns: 1fr 1fr;
+ }
+}
+