+
@@ -146,6 +177,7 @@ provide("system_deviceList", { data, subscribeData, currentFloor, updateCurrentF
+
\ No newline at end of file
diff --git a/src/views/system/SystemFloor.vue b/src/views/system/SystemFloor.vue
index e84b1a0..b641a81 100644
--- a/src/views/system/SystemFloor.vue
+++ b/src/views/system/SystemFloor.vue
@@ -38,7 +38,7 @@ watch([() => currentFloor, () => asset_floor_chart], ([newValue, newChart]) => {
asset_floor_chart.value.updateSvg(
{
full_name: newValue.value?.title,
- path: `${FILE_BASEURL}/upload/floor_map/${newValue.value.map_url}`,
+ path: `${FILE_BASEURL}/${newValue.value.map_url}`,
},
defaultOption(newValue.value?.title, subscribeData.value.filter(d => d.device_coordinate).map(d => JSON.parse(d.device_coordinate)))
diff --git a/src/views/system/components/SystemCard.vue b/src/views/system/components/SystemCard.vue
index bd5c1aa..1ee8ac5 100644
--- a/src/views/system/components/SystemCard.vue
+++ b/src/views/system/components/SystemCard.vue
@@ -4,6 +4,7 @@ import { inject } from "vue"
const { data } = inject("system_deviceList")
+const { getCurrentInfoModalData } = inject("system_selectedDevice")
@@ -23,10 +24,14 @@ const { data } = inject("system_deviceList")
{{ device.full_name }}
-
-
-
狀態:
-
+
+
+
+ 狀態:
+
+
+
@@ -52,6 +57,10 @@ const { data } = inject("system_deviceList")
}
+.item .btn-text {
+ @apply hover:bg-transparent focus-within:bg-transparent !important;
+}
+
.equipment-show .item .sec01 span:nth-child(1) {
font-size: 1rem;
position: relative;
diff --git a/src/views/system/components/SystemFloorBar.vue b/src/views/system/components/SystemFloorBar.vue
index c5f2f2b..ea541e5 100644
--- a/src/views/system/components/SystemFloorBar.vue
+++ b/src/views/system/components/SystemFloorBar.vue
@@ -1,6 +1,6 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/forge/ForgeInfoModalCog.vue b/src/views/system/components/SystemInfoModalCog.vue
similarity index 100%
rename from src/components/forge/ForgeInfoModalCog.vue
rename to src/views/system/components/SystemInfoModalCog.vue
diff --git a/src/views/system/components/SystemInfoModalContent.vue b/src/views/system/components/SystemInfoModalContent.vue
new file mode 100644
index 0000000..89d289d
--- /dev/null
+++ b/src/views/system/components/SystemInfoModalContent.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
{{ data?.value.full_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/components/SystemInfoModalDesktop.vue b/src/views/system/components/SystemInfoModalDesktop.vue
new file mode 100644
index 0000000..0687be5
--- /dev/null
+++ b/src/views/system/components/SystemInfoModalDesktop.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
diff --git a/src/views/system/components/SystemSubBar.vue b/src/views/system/components/SystemSubBar.vue
index 4471ef5..76c890f 100644
--- a/src/views/system/components/SystemSubBar.vue
+++ b/src/views/system/components/SystemSubBar.vue
@@ -11,10 +11,11 @@ watch(() => buildingStore, (newValue) => {
newValue.selectedSystem?.points?.length > 0 && setItems(newValue.selectedSystem.points.map(d => ({
title: d.full_name,
key: d.points,
- active: false,
+ active: d.points === "Temp",
})))
}, {
deep: true,
+ immediate: true
})
const onClick = (item) => {
@@ -25,9 +26,8 @@ const onClick = (item) => {
-
+
-