-
+
配置
编辑
@@ -13,11 +13,11 @@
- {{i.name}}
+ {{i.name}}
+ {{item.name}}
- {{item.name}}
******
@@ -26,6 +26,7 @@
+
@@ -34,6 +35,7 @@ import { useInstanceStore } from "@/store/instance"
import { ConfigMetadata } from "@/views/device/Product/typings"
import { getConfigMetadata, _deploy, configurationReset } from '@/api/device/instance'
import { message } from "ant-design-vue"
+import Save from './Save.vue'
const instanceStore = useInstanceStore()
const visible = ref
(false)
@@ -78,4 +80,11 @@ const resetBtn = async () => {
}
}
}
+
+const saveBtn = () => {
+ visible.value = false
+ if(instanceStore.current.id){
+ instanceStore.refresh(instanceStore.current.id)
+ }
+}
\ No newline at end of file
diff --git a/src/views/device/Instance/Detail/Running/Event/index.vue b/src/views/device/Instance/Detail/Running/Event/index.vue
new file mode 100644
index 00000000..bb863222
--- /dev/null
+++ b/src/views/device/Instance/Detail/Running/Event/index.vue
@@ -0,0 +1,68 @@
+
+
+
+
+ {{ moment(slotProps.timestamp).format('YYYY-MM-DD HH:mm:ss') }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/device/Instance/Detail/Running/Property/PropertyCard.vue b/src/views/device/Instance/Detail/Running/Property/PropertyCard.vue
new file mode 100644
index 00000000..d21fb23d
--- /dev/null
+++ b/src/views/device/Instance/Detail/Running/Property/PropertyCard.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
更新时间
+
{{data?.time || '--'}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/device/Instance/Detail/Running/Property/ValueRender.vue b/src/views/device/Instance/Detail/Running/Property/ValueRender.vue
new file mode 100644
index 00000000..44681001
--- /dev/null
+++ b/src/views/device/Instance/Detail/Running/Property/ValueRender.vue
@@ -0,0 +1,14 @@
+
+
+ {{data.value || '--'}}
+
+
+
+
\ No newline at end of file
diff --git a/src/views/device/Instance/Detail/Running/Property/index.vue b/src/views/device/Instance/Detail/Running/Property/index.vue
new file mode 100644
index 00000000..24ed16b6
--- /dev/null
+++ b/src/views/device/Instance/Detail/Running/Property/index.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{slotProps.time || '--'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/device/Instance/Detail/Running/index.vue b/src/views/device/Instance/Detail/Running/index.vue
index e2e39b8a..e97db6d1 100644
--- a/src/views/device/Instance/Detail/Running/index.vue
+++ b/src/views/device/Instance/Detail/Running/index.vue
@@ -1,46 +1,120 @@
-
-
-
+
+