diff --git a/config/routes.ts b/config/routes.ts
index cb6808a..7510edc 100644
--- a/config/routes.ts
+++ b/config/routes.ts
@@ -23,7 +23,7 @@ export default [
name: '值班管理',
icon: 'team',
routes: [
- { path: '/leader', redirect: '/admin/dutyinfo' },
+ { path: '/leader', redirect: '/leader/conclusion' },
{ path: '/leader/conclusion', name: '值班总结', component: './Leader/Conclusion' },
],
},
diff --git a/src/pages/Admin/Report/index.tsx b/src/pages/Admin/Report/index.tsx
index 57b69b4..c992dd4 100644
--- a/src/pages/Admin/Report/index.tsx
+++ b/src/pages/Admin/Report/index.tsx
@@ -53,7 +53,11 @@ const Logs: React.FC = () => {
extra: {
dataIndex: 'time',
render: (_, row) => {
- return
{moment(row.time).format('YYYY-M-D HH:mm:ss')}
;
+ return (
+
+ {moment(row.time).format('YYYY-M-D HH:mm:ss')}
+
+ );
},
search: false,
},
diff --git a/src/pages/Welcome/index.tsx b/src/pages/Welcome/index.tsx
index d6a98d1..ffb74ba 100644
--- a/src/pages/Welcome/index.tsx
+++ b/src/pages/Welcome/index.tsx
@@ -1,12 +1,39 @@
-import { Todo } from '@/components';
-import { PageContainer } from '@ant-design/pro-components';
-import { Card } from 'antd';
+import { PageContainer, ProCard } from '@ant-design/pro-components';
+import { Card, Statistic } from 'antd';
+import RcResizeObserver from 'rc-resize-observer';
+import { useState } from 'react';
+
+const { Divider } = ProCard;
const Logs: React.FC = () => {
+ const [responsive, setResponsive] = useState(false);
return (
-
+ {
+ setResponsive(offset.width < 596);
+ }}
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
);