微调
This commit is contained in:
@@ -22,6 +22,7 @@ export namespace Device {
|
|||||||
devId?: string; // 装置id
|
devId?: string; // 装置id
|
||||||
scriptId?: string; // 脚本id
|
scriptId?: string; // 脚本id
|
||||||
planCode?: string;
|
planCode?: string;
|
||||||
|
devIdList?: string[]; // 装置id列表
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1067,7 +1067,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,'planCode':checkStore.plan.code+''})
|
await generateDevReport({'planId': checkStore.plan.id, 'devIdList': [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