diff --git a/apps/web-antd/src/views/iot/product/product/data.ts b/apps/web-antd/src/views/iot/product/product/data.ts index f2c8fcb6c..118a55e64 100644 --- a/apps/web-antd/src/views/iot/product/product/data.ts +++ b/apps/web-antd/src/views/iot/product/product/data.ts @@ -147,19 +147,6 @@ export function useBasicFormSchema( help: 'iot-gateway-server 默认根据接入的协议类型确定数据格式,仅 MQTT、EMQX 协议支持自定义序列化类型', rules: 'required', }, - // TODO @haohao:这个貌似不需要?! - { - fieldName: 'status', - label: '产品状态', - component: 'RadioGroup', - componentProps: { - options: getDictOptions(DICT_TYPE.IOT_PRODUCT_STATUS, 'number'), - buttonStyle: 'solid', - optionType: 'button', - }, - defaultValue: 0, - rules: 'required', - }, ]; } @@ -248,15 +235,6 @@ export function useGridColumns(): VxeTableGridOptions['columns'] { name: 'CellImage', }, }, - { - field: 'status', - title: '产品状态', - minWidth: 100, - cellRender: { - name: 'CellDict', - props: { type: DICT_TYPE.IOT_PRODUCT_STATUS }, - }, - }, { field: 'createTime', title: '创建时间', diff --git a/apps/web-antd/src/views/iot/product/product/index.vue b/apps/web-antd/src/views/iot/product/product/index.vue index 0e94d1adf..49101fbc2 100644 --- a/apps/web-antd/src/views/iot/product/product/index.vue +++ b/apps/web-antd/src/views/iot/product/product/index.vue @@ -175,7 +175,7 @@ onMounted(() => { - +
{
{{ item.name }}
-
@@ -269,11 +264,6 @@ onMounted(() => { white-space: nowrap; } - // 状态标签 - .status-tag { - font-size: 12px; - } - // 信息列表 .info-list { .info-item {