refactor: package workflow (#73)
* fix: service attributes type * feat: select workflow component * refactor: dialog properties => select work flow * refactor: package => work new workflow step * fix: useless in future (service properties) * fix: handle work undefine --------- Co-authored-by: puriphatt <puriphat@frappet.com>
This commit is contained in:
parent
bd718eb492
commit
6e796049d5
7 changed files with 374 additions and 187 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { Status } from '../types';
|
||||
import { UpdatedBy, CreatedBy } from 'stores/types';
|
||||
import { WorkFlowPayloadStep } from '../workflow-template/types';
|
||||
|
||||
export interface TreeProduct {
|
||||
name: string;
|
||||
|
|
@ -73,12 +74,7 @@ export interface Attributes {
|
|||
showTotalPrice: boolean;
|
||||
additional?: (PropString | PropNumber | PropDate | PropOptions)[];
|
||||
workflowId: string;
|
||||
workflowName: string;
|
||||
stepProperties: {
|
||||
id: string;
|
||||
productsId: string[];
|
||||
attributes: (PropString | PropNumber | PropDate | PropOptions)[];
|
||||
}[];
|
||||
workflowStep: (WorkFlowPayloadStep & { productsId: string[] })[];
|
||||
}
|
||||
|
||||
export type PropString = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue