From 0b660c69b0fc619b628613de74d72b3eec09b582 Mon Sep 17 00:00:00 2001 From: Kven <2955163637@qq.com> Date: Tue, 4 Mar 2025 19:50:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(dashboard):=20=E6=B7=BB=E5=8A=A0=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=8F=91=E5=B8=83=E6=9D=A5=E6=BA=90=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 ContentPublishingSource 组件,用于展示设备状态、设备类型和告警类型等图表 - 更新 DataPanel 组件,使用传入的设备、告警和产品信息进行展示 - 在主页面中引入新组件并优化布局 --- .../components/content-publishing-source.vue | 403 ++++++++++++++++++ .../workplace/components/data-panel.vue | 133 +++--- src/views/dashboard/workplace/index.vue | 49 ++- 3 files changed, 481 insertions(+), 104 deletions(-) create mode 100644 src/views/dashboard/workplace/components/content-publishing-source.vue diff --git a/src/views/dashboard/workplace/components/content-publishing-source.vue b/src/views/dashboard/workplace/components/content-publishing-source.vue new file mode 100644 index 0000000..f1f7c1d --- /dev/null +++ b/src/views/dashboard/workplace/components/content-publishing-source.vue @@ -0,0 +1,403 @@ + + + + + diff --git a/src/views/dashboard/workplace/components/data-panel.vue b/src/views/dashboard/workplace/components/data-panel.vue index 53a677b..6ef6759 100644 --- a/src/views/dashboard/workplace/components/data-panel.vue +++ b/src/views/dashboard/workplace/components/data-panel.vue @@ -11,7 +11,7 @@ @@ -32,7 +32,7 @@ - + @@ -47,7 +47,7 @@ @@ -62,7 +62,7 @@ /> - + @@ -77,7 +77,7 @@ @@ -92,7 +92,7 @@ /> - + @@ -107,97 +107,65 @@ - - - - - - - - - - - - - - diff --git a/src/views/dashboard/workplace/index.vue b/src/views/dashboard/workplace/index.vue index d916b37..4e45018 100644 --- a/src/views/dashboard/workplace/index.vue +++ b/src/views/dashboard/workplace/index.vue @@ -3,7 +3,8 @@
- + +
- - - - - - - - - - - - - - - - -