Browse Source

feat: 任务管理

Leo 2 years ago
parent
commit
5de7f3609f
1 changed files with 43 additions and 0 deletions
  1. 43 0
      src/module/taskmgmt/page/TaskMgmtView.jsx

+ 43 - 0
src/module/taskmgmt/page/TaskMgmtView.jsx

@@ -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