From cb2a53ebc9d06cc065ab940497cfaf38797f19cc Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Tue, 22 Apr 2025 11:38:44 +0800 Subject: [PATCH] =?UTF-8?q?refactor(device):=20=E8=A7=A3=E5=86=B3=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=B8=AD=E5=BF=83=E6=B6=88=E6=81=AF=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E3=80=81=E6=B7=BB=E5=8A=A0=E4=BA=8B=E4=BB=B6=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Instance/Detail/Running/Event/index.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/views/device/Instance/Detail/Running/Event/index.vue b/src/views/device/Instance/Detail/Running/Event/index.vue index 950b377b..f1f26d75 100644 --- a/src/views/device/Instance/Detail/Running/Event/index.vue +++ b/src/views/device/Instance/Detail/Running/Event/index.vue @@ -82,6 +82,23 @@ const visible = ref(false); const info = ref>({}); const objectKey = ref([]); +const componentsType = { + int: 'number', + long: 'number', + float: 'number', + double: 'number', + string: 'string', + array: 'string', + password: 'string', + enum: 'select', + boolean: 'select', + date: 'date', + object: 'string', + geoPoint: 'string', + file: 'string', + time: 'time', +} + const _getEventList = (_params: any) => getEventList(instanceStore.current.id || '', events.data.id || '', _params);