feat(web): workflow import & export

This commit is contained in:
zhaoying
2026-02-28 18:01:00 +08:00
parent 5e512df3d4
commit b79fe07052
18 changed files with 586 additions and 206 deletions

View File

@@ -83,9 +83,9 @@ const ApplicationManagement: React.FC = () => {
setQuery(prev => ({...prev, type: value}))
}
// const handleImport = () => {
// uploadWorkflowModalRef.current?.handleOpen()
// }
const handleImport = () => {
uploadWorkflowModalRef.current?.handleOpen()
}
return (
<>
<Row gutter={16} className="rb:mb-4">
@@ -111,9 +111,9 @@ const ApplicationManagement: React.FC = () => {
</Col>
<Col span={12} className="rb:text-right">
<Space size={12}>
{/* <Button onClick={handleImport}>
<Button onClick={handleImport}>
{t('application.importWorkflow')}
</Button> */}
</Button>
<Button type="primary" onClick={handleCreate}>
{t('application.createApplication')}
</Button>