refactor: package => workflow id
This commit is contained in:
parent
20be8f1b76
commit
30dfa64930
2 changed files with 5 additions and 1 deletions
|
|
@ -1102,7 +1102,10 @@ async function submitService(notClose = false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const res = await createService(
|
const res = await createService(
|
||||||
formDataProductService.value,
|
{
|
||||||
|
...formDataProductService.value,
|
||||||
|
workflowId: currWorkflow.value?.id || '',
|
||||||
|
},
|
||||||
onCreateImageList.value,
|
onCreateImageList.value,
|
||||||
);
|
);
|
||||||
if (res) {
|
if (res) {
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@ export interface ServiceCreate {
|
||||||
status?: Status;
|
status?: Status;
|
||||||
productGroupId: string;
|
productGroupId: string;
|
||||||
selectedImage?: string;
|
selectedImage?: string;
|
||||||
|
workflowId?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Attributes {
|
export interface Attributes {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue