From 403ddbfb6e38be247979b306495878649fec0aaf Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Thu, 20 Mar 2025 19:42:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/device/interface/device.ts | 1 + frontend/src/views/home/components/table.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/api/device/interface/device.ts b/frontend/src/api/device/interface/device.ts index 8d16ee9..340de09 100644 --- a/frontend/src/api/device/interface/device.ts +++ b/frontend/src/api/device/interface/device.ts @@ -21,6 +21,7 @@ export namespace Device { planId?: string; // 计划id devId?: string; // 装置id scriptId?: string; // 脚本id + planCode?: string; } /** diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue index 88c8269..2fa37d7 100644 --- a/frontend/src/views/home/components/table.vue +++ b/frontend/src/views/home/components/table.vue @@ -1064,7 +1064,7 @@ const openDrawer = async (title: string, row: any) => { if (title === '报告生成') { - await generateDevReport({'planId': checkStore.plan.id, 'devId': row.id,'scriptId':checkStore.plan.scriptId}) + await generateDevReport({'planId': checkStore.plan.id, 'devId': row.id,'scriptId':checkStore.plan.scriptId,'planCode':checkStore.plan.code+''}) emit('batchGenerateClicked') // 触发事件 ElMessage.success({message: `报告生成成功!`}) }