From eb0b7aa27e2b82e5640536dbe25444074e7c6da4 Mon Sep 17 00:00:00 2001 From: hzz Date: Thu, 12 Oct 2023 17:01:52 +0800 Subject: [PATCH] update --- src/components/headerBox/header2.vue | 2 +- src/router/index.ts | 8 +- src/store/moduleSocketMechanics.ts | 3 + .../CrownBlock/stuffCrownBlock/index.vue | 123 ++++++++++++++++++ src/views/PaintShopView/View1/top.vue | 2 +- .../generalEnvironmentMechanical/index.vue | 7 +- .../realtimeSecurity/content/content.vue | 2 +- 7 files changed, 140 insertions(+), 7 deletions(-) create mode 100644 src/views/CrownBlock/stuffCrownBlock/index.vue diff --git a/src/components/headerBox/header2.vue b/src/components/headerBox/header2.vue index 1b08c10..9dd6831 100644 --- a/src/components/headerBox/header2.vue +++ b/src/components/headerBox/header2.vue @@ -543,7 +543,7 @@ h1 { } .time { position: absolute; - width: 20rem; + width: 350px; height: 2rem; bottom: 30%; left: 4.2rem; diff --git a/src/router/index.ts b/src/router/index.ts index c76d233..f6d6ebf 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -281,8 +281,7 @@ const routes: Array = [ name: "MicroExhibitionChild", component: () => import("../views/MicroExhibition/child/index.vue"), }, - ] - + ] }, { @@ -295,6 +294,11 @@ const routes: Array = [ name: "Hazardous", component: () => import("../views/Hazardous/index.vue"), }, + { + path: "/stuffCrownBlock", + name: "stuffCrownBlock", + component: () => import("../views/CrownBlock/stuffCrownBlock/index.vue"), + }, diff --git a/src/store/moduleSocketMechanics.ts b/src/store/moduleSocketMechanics.ts index bcb2b07..c1297f3 100644 --- a/src/store/moduleSocketMechanics.ts +++ b/src/store/moduleSocketMechanics.ts @@ -72,6 +72,9 @@ export const useSocketStore = defineStore(Names.socketMechanics, { "pm10": "7" } ], + pmcq: [ + {} + ], newVerticalNum: [ { "type": "TVOC", diff --git a/src/views/CrownBlock/stuffCrownBlock/index.vue b/src/views/CrownBlock/stuffCrownBlock/index.vue new file mode 100644 index 0000000..f8df6f3 --- /dev/null +++ b/src/views/CrownBlock/stuffCrownBlock/index.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/src/views/PaintShopView/View1/top.vue b/src/views/PaintShopView/View1/top.vue index 9d06f5b..453a23a 100644 --- a/src/views/PaintShopView/View1/top.vue +++ b/src/views/PaintShopView/View1/top.vue @@ -12,7 +12,7 @@
- + diff --git a/src/views/generalEnvironmentMechanical/index.vue b/src/views/generalEnvironmentMechanical/index.vue index 169c476..3fffbb7 100644 --- a/src/views/generalEnvironmentMechanical/index.vue +++ b/src/views/generalEnvironmentMechanical/index.vue @@ -13,6 +13,9 @@
+
@@ -224,8 +227,8 @@ watch(() => store.humiture, (newVal, oldVal) => { let pmindex = ref(0); async function getPmData() { - let resulttwo: any = await getPmtwoData({ deptIds: '6,7,9,10,11' }) - let resultten: any = await getPmtenData({ deptIds: '6,7,9,10,11' }) + let resulttwo: any = await getPmtwoData({ deptIds: '6,7,9,10,11,23' }) + let resultten: any = await getPmtenData({ deptIds: '6,7,9,10,11,23' }) let data = {} if (resulttwo) { resulttwo.data.forEach(ele => { diff --git a/src/views/realtimeSecurity/content/content.vue b/src/views/realtimeSecurity/content/content.vue index 4d8fba8..531740a 100644 --- a/src/views/realtimeSecurity/content/content.vue +++ b/src/views/realtimeSecurity/content/content.vue @@ -3,7 +3,7 @@ -
+