refactor: package => workflow id

This commit is contained in:
puriphatt 2024-11-29 16:53:38 +07:00
parent 20be8f1b76
commit 30dfa64930
2 changed files with 5 additions and 1 deletions

View file

@ -1102,7 +1102,10 @@ async function submitService(notClose = false) {
}
const res = await createService(
formDataProductService.value,
{
...formDataProductService.value,
workflowId: currWorkflow.value?.id || '',
},
onCreateImageList.value,
);
if (res) {

View file

@ -69,6 +69,7 @@ export interface ServiceCreate {
status?: Status;
productGroupId: string;
selectedImage?: string;
workflowId?: string;
}
export interface Attributes {