From bd6f16c7a6695606d7ebb5baa56eefe65b603cf2 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 11 六月 2024 16:48:01 +0800
Subject: [PATCH] #
---
src/pages/left/index.jsx | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/pages/left/index.jsx b/src/pages/left/index.jsx
index a669749..ede5a0b 100644
--- a/src/pages/left/index.jsx
+++ b/src/pages/left/index.jsx
@@ -5,19 +5,19 @@
import Panel from '@/components/panel';
-import StockCharts from './components/stock-charts';
-// import Task from './modules/Task';
-// import AgvPanel from './modules/AgvPanel';
+import ActionCharts from './components/action-charts';
+import LocCharts from './components/loc-charts';
+import AgvCharts from './components/agv-charts';
+import CapacityCharts from './components/capacity-charts';
const Left = () => {
const [isExpanded, setIsExpanded] = useState(true);
- // 瀹氫箟鍔ㄧ敾灞炴��
+
const containerAnimation = useSpring({
transform: isExpanded ? 'translate(0%)' : 'translateX(-100%)',
config: { precision: 0.01 },
});
- // 鍒囨崲瀹瑰櫒鐘舵��
const toggleContainer = () => {
setIsExpanded(!isExpanded);
};
@@ -28,15 +28,16 @@
}}
className={`absolute top-2 left-2 bottom-2 w-[280px] ${styles.panel}`}
>
- <div className="h-full overflow-auto">
- <Panel title="搴撴埧鎯呭喌">
- <StockCharts />
+ <div className="h-full overflow-hidden">
+ <Panel title="涓�鍛ㄥ唴鍔ㄤ綔缁熻">
+ <ActionCharts />
</Panel>
<Panel title="搴撳瓨绫诲瀷">
- {/* <Task /> */}
+ <LocCharts />
</Panel>
<Panel title="AGV淇℃伅">
- {/* <AgvPanel /> */}
+ <AgvCharts />
+ {/* <CapacityCharts /> */}
</Panel>
</div>
<div
--
Gitblit v1.9.1