update:提交流程更新
This commit is contained in:
@@ -790,11 +790,18 @@ const getNodeFileIdAndNames = async () => {
|
|||||||
fileIds.push(list[i].id.toString());
|
fileIds.push(list[i].id.toString());
|
||||||
fileNames.push(list[i].originalName);
|
fileNames.push(list[i].originalName);
|
||||||
}
|
}
|
||||||
|
if (flowNodeParamData.value.nodeExeCommand) {
|
||||||
|
taskCmdParam[flowNodeParamData.value.nodeExeCommand] = fileNames.join(',');
|
||||||
|
// = fileNames.map((item: any) => {
|
||||||
|
// return { [flowNodeParamData.value.nodeExeCommand]: item };
|
||||||
|
// });
|
||||||
|
} else {
|
||||||
|
taskCmdParam = {};
|
||||||
|
}
|
||||||
|
|
||||||
taskCmdParam = fileNames.map((item: any) => {
|
if (Object.keys(flowNodeData.value.userParams).includes('--export')) {
|
||||||
return { '-i': item };
|
taskCmdParam['--export'] = flowNodeData.value.userParams['--export'];
|
||||||
});
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
fileIds,
|
fileIds,
|
||||||
fileNames,
|
fileNames,
|
||||||
|
|||||||
Reference in New Issue
Block a user