This commit is contained in:
caozehui
2025-03-20 19:42:46 +08:00
parent ffb44ea909
commit 403ddbfb6e
2 changed files with 2 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ export namespace Device {
planId?: string; // 计划id planId?: string; // 计划id
devId?: string; // 装置id devId?: string; // 装置id
scriptId?: string; // 脚本id scriptId?: string; // 脚本id
planCode?: string;
} }
/** /**

View File

@@ -1064,7 +1064,7 @@ const openDrawer = async (title: string, row: any) => {
if (title === '报告生成') { 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') // 触发事件 emit('batchGenerateClicked') // 触发事件
ElMessage.success({message: `报告生成成功!`}) ElMessage.success({message: `报告生成成功!`})
} }