|
|
@ -100,30 +100,30 @@ export function useDataList() { |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.workflow_relation'), |
|
|
|
label: t('menu.workflow_relation'), |
|
|
|
key: `/projects/workflow-relation` |
|
|
|
key: `/projects/${menuStore.getProjectCode}/workflow/relation` |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.workflow_definition'), |
|
|
|
label: t('menu.workflow_definition'), |
|
|
|
key: `/projects/workflow-definition` |
|
|
|
key: `/projects/${menuStore.getProjectCode}/workflow/definitions` |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.workflow_instance'), |
|
|
|
label: t('menu.workflow_instance'), |
|
|
|
key: `/projects/workflow-instance` |
|
|
|
key: `/projects/${menuStore.getProjectCode}/workflow/instances` |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.task'), |
|
|
|
label: t('menu.task'), |
|
|
|
key: 'workflow', |
|
|
|
key: 'task', |
|
|
|
icon: renderIcon(SettingOutlined), |
|
|
|
icon: renderIcon(SettingOutlined), |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.task_definition'), |
|
|
|
label: t('menu.task_definition'), |
|
|
|
key: `/projects/task-definition` |
|
|
|
key: `/projects/${menuStore.getProjectCode}/task/definitions` |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.task_instance'), |
|
|
|
label: t('menu.task_instance'), |
|
|
|
key: `/projects/task-instance` |
|
|
|
key: `/projects/${menuStore.getProjectCode}/task/instances` |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|