feat(ai-web): 增加任务和任务模板

This commit is contained in:
2025-06-28 21:08:31 +08:00
parent 9a3375bd03
commit d08a6babbe
16 changed files with 720 additions and 22 deletions

View File

@@ -0,0 +1,36 @@
import React from 'react'
import {amisRender,} from '../../../util/amis.tsx'
const FlowTaskAdd: React.FC = () => {
// const navigate = useNavigate()
return (
<div className="task-template">
{amisRender(
{
type: 'page',
title: '发起任务',
body: {
type: 'wizard',
wrapWithPanel: false,
steps:[
{
title: '选择任务模板',
body: []
},
{
title: '填写任务信息',
body: []
},
{
title: '完成',
body: []
},
]
},
},
)}
</div>
)
}
export default FlowTaskAdd