微调
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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: `报告生成成功!`})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user