|
@@ -0,0 +1,43 @@
|
|
|
+import React from 'react'
|
|
|
+import { Table, Space } from 'antd'
|
|
|
+import { useNavigate } from 'react-router-dom'
|
|
|
+
|
|
|
+const TaskMgmtView = () => {
|
|
|
+ const columns = [
|
|
|
+ {
|
|
|
+ title: '任务名称',
|
|
|
+ dataIndex: 'taskName',
|
|
|
+ key: 'taskName',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '任务类型',
|
|
|
+ dataIndex: 'taskType',
|
|
|
+ key: 'taskType',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '任务分类',
|
|
|
+ dataIndex: 'taskTag',
|
|
|
+ key: 'taskTag',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '执行周期',
|
|
|
+ dataIndex: 'executionCycle',
|
|
|
+ key: 'executionCycle',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '历史运行情况',
|
|
|
+ dataIndex: 'historicalRuntime',
|
|
|
+ key: 'historicalRuntime',
|
|
|
+ render: list => (
|
|
|
+ <div>
|
|
|
+ {list.map((item, index) => {
|
|
|
+ return <img src={item} alt="" />
|
|
|
+ })}
|
|
|
+ </div>
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ return <div></div>
|
|
|
+}
|
|
|
+
|
|
|
+export default TaskMgmtView
|