From 550a042107c5c1e85ac8d3e974e2e338a7c8f5d9 Mon Sep 17 00:00:00 2001 From: hzz Date: Tue, 27 Jun 2023 17:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=BA=E5=A4=96=E6=8E=A5?= =?UTF-8?q?=E6=94=B6socket=E5=A4=84=E7=90=86=E6=96=B9=E5=BC=8F=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=9C=BA=E6=A2=B0=E5=88=86=E5=8E=82=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=A4=A7=E5=B1=8F=20=E6=A0=87=E9=A2=98=E8=A3=85=E9=A5=B0=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=A3=85=E9=A5=B0=E7=BB=84=E4=BB=B6=20?= =?UTF-8?q?=E5=92=8Csvg=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/bg_left.svg | 11 +++ .../decoration/DecorationFadeOut.vue | 35 +++++++++ src/store/module/offsite.ts | 4 +- .../Mechanics/components/devStatusTip.vue | 10 ++- src/views/Mechanics/components/gateway.vue | 40 +++++----- src/views/Mechanics/components/ringChart.vue | 37 ++++++---- .../Mechanics/components/scrollBoard.vue | 73 ++++++++++--------- src/views/Mechanics/indexNew.vue | 11 ++- src/views/Offsite/content/center.vue | 6 ++ src/views/Offsite/content/right.vue | 2 +- src/views/Offsite/index.vue | 12 ++- 11 files changed, 163 insertions(+), 78 deletions(-) create mode 100644 src/assets/img/bg_left.svg create mode 100644 src/components/decoration/DecorationFadeOut.vue diff --git a/src/assets/img/bg_left.svg b/src/assets/img/bg_left.svg new file mode 100644 index 0000000..57e900b --- /dev/null +++ b/src/assets/img/bg_left.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/decoration/DecorationFadeOut.vue b/src/components/decoration/DecorationFadeOut.vue new file mode 100644 index 0000000..a34de4a --- /dev/null +++ b/src/components/decoration/DecorationFadeOut.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/store/module/offsite.ts b/src/store/module/offsite.ts index a5b7a92..28da23f 100644 --- a/src/store/module/offsite.ts +++ b/src/store/module/offsite.ts @@ -70,12 +70,12 @@ export const Offsite = defineStore(Names.offsite, { setcity(val: string[]) { this.city = val; }, - setdevitem(val: any) { + setdevitem(val: any) { this.itemDevNum.forEach((ele) => { val.forEach((res) => { if (res.name == ele.type) { //网关是否在线 - ele.status=res.gatewayStatus + // ele.status=res.gatewayStatus ele.num = res.counts; } }); diff --git a/src/views/Mechanics/components/devStatusTip.vue b/src/views/Mechanics/components/devStatusTip.vue index 167430d..a137a3b 100644 --- a/src/views/Mechanics/components/devStatusTip.vue +++ b/src/views/Mechanics/components/devStatusTip.vue @@ -9,7 +9,11 @@ -->