From 79d86165107dd43360c0301957db0e54d2c2e5ed Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 29 Jun 2025 21:17:01 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90IoT=20=E7=89=A9=E8=81=94?= =?UTF-8?q?=E7=BD=91=E3=80=91=E4=B8=BA=E6=89=80=E5=B1=9E=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=93=BE=E6=8E=A5=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E4=BA=A7=E5=93=81=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iot/device/device/index.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/iot/device/device/index.vue b/src/views/iot/device/device/index.vue index 4c7a39634..9e9721229 100644 --- a/src/views/iot/device/device/index.vue +++ b/src/views/iot/device/device/index.vue @@ -199,9 +199,9 @@
所属产品 - + {{ products.find((p) => p.id === item.productId)?.name }} - +
设备类型 @@ -289,7 +289,9 @@ @@ -442,6 +444,11 @@ const openDetail = (id: number) => { push({ name: 'IoTDeviceDetail', params: { id } }) } +/** 跳转到产品详情页面 */ +const openProductDetail = (productId: number) => { + push({ name: 'IoTProductDetail', params: { id: productId } }) +} + /** 删除按钮操作 */ const handleDelete = async (id: number) => { try {