From cceaea375c227671ea702488bf8de0d9bfd91348 Mon Sep 17 00:00:00 2001 From: gaoxq <376340421@qq.com> Date: Mon, 2 Mar 2026 18:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E9=A1=B5=E9=9D=A2=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/screen/Erp/components/ChartTop.vue | 243 ++++++++++++++++++ screen-vue/src/views/screen/Erp/index.vue | 4 +- .../views/screen/Work/components/ChartTop.vue | 243 ++++++++++++++++++ screen-vue/src/views/screen/Work/index.vue | 162 +++++------- 4 files changed, 553 insertions(+), 99 deletions(-) create mode 100644 screen-vue/src/views/screen/Erp/components/ChartTop.vue create mode 100644 screen-vue/src/views/screen/Work/components/ChartTop.vue diff --git a/screen-vue/src/views/screen/Erp/components/ChartTop.vue b/screen-vue/src/views/screen/Erp/components/ChartTop.vue new file mode 100644 index 0000000..c437fdc --- /dev/null +++ b/screen-vue/src/views/screen/Erp/components/ChartTop.vue @@ -0,0 +1,243 @@ + + + + + \ No newline at end of file diff --git a/screen-vue/src/views/screen/Erp/index.vue b/screen-vue/src/views/screen/Erp/index.vue index fdfb7d5..b5ba652 100644 --- a/screen-vue/src/views/screen/Erp/index.vue +++ b/screen-vue/src/views/screen/Erp/index.vue @@ -2,8 +2,7 @@
-

ERP页面顶部区域 (10%)

-

可放置筛选、标题、概览数据等

+
@@ -73,6 +72,7 @@ + + \ No newline at end of file diff --git a/screen-vue/src/views/screen/Work/index.vue b/screen-vue/src/views/screen/Work/index.vue index 8b3dd2b..80f9cb5 100644 --- a/screen-vue/src/views/screen/Work/index.vue +++ b/screen-vue/src/views/screen/Work/index.vue @@ -2,67 +2,26 @@
-

Work页面顶部区域 (10%)

-

可放置工作概览、筛选条件、操作按钮等

+
-
-
-
-
-

左侧上部

-

工作列表1

-
-
-
-
-

左侧中部

-

工作列表2

-
-
-
-
-

左侧下部

-

工作列表3

-
-
+
+
+
左侧上
+
左侧中
+
左侧下
-
-
-
-

中间上部 (60%)

-

核心工作内容/进度展示

-
-
-
-
-

中间下部 (30%)

-

工作统计/快捷操作

-
-
+
+
中侧上
+
中侧下
-
-
-
-

右侧上部

-

工作图表/数据可视化1

-
-
-
-
-

右侧中部

-

工作图表/数据可视化2

-
-
-
-
-

右侧下部

-

待办/提醒/通知

-
-
+
+
右侧上
+
右侧中
+
右侧下
@@ -70,19 +29,21 @@ @@ -101,48 +62,48 @@ watch( overflow: hidden; } -.work-top-header { +.work-section { width: 100%; - height: 10%; - display: flex; - box-sizing: border-box; - overflow: hidden; -} - -.work-main-container { - width: 100%; - height: 90%; display: flex; gap: 6px; box-sizing: border-box; overflow: hidden; } +.work-top-header { + height: 10%; +} + +.work-main-section { + height: 90%; +} + .work-col { - flex: 1; height: 100%; + box-sizing: border-box; + overflow: hidden; +} + +.work-col-1-3 { + width: calc((100% - 12px) / 3); +} + +.work-left-col, .work-middle-col, .work-right-col { display: flex; flex-direction: column; gap: 6px; - box-sizing: border-box; - overflow: hidden; } -.work-inner-one-third { - flex: 1; - box-sizing: border-box; - overflow: hidden; +.work-card-1-3 { + height: calc((100% - 12px) / 3); } -.work-inner-two-third { - flex: 2; - box-sizing: border-box; - overflow: hidden; +.work-card-2-3 { + height: calc(2 * ((100% - 12px) / 3) + 6px); } .work-card { width: 100%; - height: 100%; background-color: rgba(15, 52, 96, 0.9); border: 1px solid #1a508b; border-radius: 8px; @@ -160,6 +121,7 @@ watch( .full-card { width: 100%; + height: 100%; } .work-card:hover { @@ -191,11 +153,17 @@ watch( padding: 6px; gap: 4px; } - .work-main-container { + .work-section { gap: 4px; } - .work-col { - gap: 4px; + .work-col-1-3 { + width: calc((100% - 8px) / 3); + } + .work-card-1-3 { + height: calc((100% - 8px) / 3); + } + .work-card-2-3 { + height: calc(2 * ((100% - 8px) / 3) + 4px); } .work-card { padding: 10px; @@ -217,20 +185,23 @@ watch( gap: 6px; overflow-y: auto; } - .work-top-header { - height: auto; - min-height: 80px; + .work-section { + flex-direction: column; + height: auto !important; + min-height: 120px; + gap: 6px; } - .work-main-container { + .work-col-1-3 { + width: 100%; + height: auto; + } + .work-left-col, .work-middle-col, .work-right-col { flex-direction: column; height: auto; - min-height: calc(100% - 80px); - gap: 6px; } - .work-col { - width: 100%; - height: 33%; - gap: 6px; + .work-card-1-3, .work-card-2-3 { + height: 120px; + margin-bottom: 6px; } .work-card { padding: 8px; @@ -242,10 +213,7 @@ watch( padding: 6px; gap: 4px; } - .work-main-container { - gap: 4px; - } - .work-col { + .work-section { gap: 4px; } .work-card {