From 94d74f1a098b90e69885c9ee72b422ae000f126c Mon Sep 17 00:00:00 2001 From: puhui999 Date: Fri, 13 Dec 2024 17:36:20 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E3=80=91IOT:=20=E4=BA=A7=E5=93=81=E7=89=A9=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=EF=BC=8C30%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/ThingModel/ThingModelDataSpecs.vue | 48 ++++++++------ .../detail/ThingModel/ThingModelDataType.vue | 29 --------- .../detail/ThingModel/ThingModelForm.vue | 62 ++++--------------- .../product/detail/ThingModel/config.ts | 38 ++++++++++++ .../dataSpecs/ThingModelDataType.vue | 38 ++++++++++++ .../dataSpecs/ThingModelEnumTypeDataSpecs.vue | 26 ++++++++ .../ThingModelNumberTypeDataSpecs.vue | 16 +---- .../detail/ThingModel/dataSpecs/index.ts | 5 ++ 8 files changed, 153 insertions(+), 109 deletions(-) delete mode 100644 src/views/iot/product/product/detail/ThingModel/ThingModelDataType.vue create mode 100644 src/views/iot/product/product/detail/ThingModel/config.ts create mode 100644 src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelDataType.vue create mode 100644 src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelEnumTypeDataSpecs.vue rename src/views/iot/product/product/detail/ThingModel/{ => dataSpecs}/ThingModelNumberTypeDataSpecs.vue (72%) create mode 100644 src/views/iot/product/product/detail/ThingModel/dataSpecs/index.ts diff --git a/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue b/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue index 5d5ff7e1..33816a80 100644 --- a/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue +++ b/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue @@ -1,31 +1,43 @@ - - diff --git a/src/views/iot/product/product/detail/ThingModel/ThingModelForm.vue b/src/views/iot/product/product/detail/ThingModel/ThingModelForm.vue index a2beb91f..d551cd4d 100644 --- a/src/views/iot/product/product/detail/ThingModel/ThingModelForm.vue +++ b/src/views/iot/product/product/detail/ThingModel/ThingModelForm.vue @@ -18,28 +18,17 @@ - + - - - - + - + 读写 只读 - + @@ -51,10 +40,9 @@ + + diff --git a/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelEnumTypeDataSpecs.vue b/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelEnumTypeDataSpecs.vue new file mode 100644 index 00000000..db0a58b2 --- /dev/null +++ b/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelEnumTypeDataSpecs.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/src/views/iot/product/product/detail/ThingModel/ThingModelNumberTypeDataSpecs.vue b/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelNumberTypeDataSpecs.vue similarity index 72% rename from src/views/iot/product/product/detail/ThingModel/ThingModelNumberTypeDataSpecs.vue rename to src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelNumberTypeDataSpecs.vue index 65bd1fc9..7de57631 100644 --- a/src/views/iot/product/product/detail/ThingModel/ThingModelNumberTypeDataSpecs.vue +++ b/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelNumberTypeDataSpecs.vue @@ -30,23 +30,13 @@