diff --git a/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue b/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue index 5a92fb2e..ac585611 100644 --- a/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue +++ b/src/views/iot/product/product/detail/ThingModel/ThingModelDataSpecs.vue @@ -47,12 +47,21 @@ + + diff --git a/src/views/iot/product/product/detail/ThingModel/config.ts b/src/views/iot/product/product/detail/ThingModel/config.ts index 1a028ac9..cd9d059d 100644 --- a/src/views/iot/product/product/detail/ThingModel/config.ts +++ b/src/views/iot/product/product/detail/ThingModel/config.ts @@ -10,12 +10,6 @@ export interface DataSpecsNumberDataVO { unitName: string // 单位的名称 } -/** dataSpecs 文本型数据结构 */ -export interface DataSpecsTextDataVO { - dataType: 'TEXT' - length: number -} - /** dataSpecs 枚举型数据结构 */ export interface DataSpecsEnumOrBoolDataVO { dataType: 'enum' | 'bool' diff --git a/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelArrayTypeDataSpecs.vue b/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelArrayTypeDataSpecs.vue new file mode 100644 index 00000000..d96bd7fc --- /dev/null +++ b/src/views/iot/product/product/detail/ThingModel/dataSpecs/ThingModelArrayTypeDataSpecs.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/views/iot/product/product/detail/ThingModel/dataSpecs/index.ts b/src/views/iot/product/product/detail/ThingModel/dataSpecs/index.ts index 076dcc50..f2e1daaf 100644 --- a/src/views/iot/product/product/detail/ThingModel/dataSpecs/index.ts +++ b/src/views/iot/product/product/detail/ThingModel/dataSpecs/index.ts @@ -1,4 +1,5 @@ import ThingModelEnumTypeDataSpecs from './ThingModelEnumTypeDataSpecs.vue' import ThingModelNumberTypeDataSpecs from './ThingModelNumberTypeDataSpecs.vue' +import ThingModelArrayTypeDataSpecs from './ThingModelArrayTypeDataSpecs.vue' -export { ThingModelEnumTypeDataSpecs, ThingModelNumberTypeDataSpecs } +export { ThingModelEnumTypeDataSpecs, ThingModelNumberTypeDataSpecs, ThingModelArrayTypeDataSpecs }