From 84b91c67950928203545f5231d4bdfe634d9ed64 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 17 May 2026 18:11:31 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=88iot=EF=BC=89=EF=BC=9A=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20iot=20=E4=BA=A7=E5=93=81=E7=AE=A1=E7=90=86=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/iot/product/product/data.ts | 22 ------------------- .../src/views/iot/product/product/index.vue | 2 +- .../iot/product/product/modules/card-view.vue | 10 --------- 3 files changed, 1 insertion(+), 33 deletions(-) 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 {