feat(ai-web): 增加任务和任务模板
This commit is contained in:
36
service-web/client/src/pages/ai/task/FlowTaskAdd.tsx
Normal file
36
service-web/client/src/pages/ai/task/FlowTaskAdd.tsx
Normal 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
|
||||
Reference in New Issue
Block a user