From 0817793961918c1123328bca9a78ca29d95738b8 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期四, 28 三月 2024 14:54:27 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/drawer/index.jsx | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/drawer/index.jsx b/zy-asrs-flow/src/pages/map/drawer/index.jsx
index 442887e..1ffe3db 100644
--- a/zy-asrs-flow/src/pages/map/drawer/index.jsx
+++ b/zy-asrs-flow/src/pages/map/drawer/index.jsx
@@ -5,6 +5,8 @@
import * as Utils from '../utils'
import ShelfDrawer from './shelf';
import AgvDrawer from './agv';
+import PointDrawer from './point'
+import ShuttleDrawer from './shuttle'
const useStyles = createStyles(({ token, css }) => {
@@ -28,6 +30,9 @@
rootStyle={{ position: "absolute" }}
mask={false}
width={600}
+ style={{
+ opacity: 1
+ }}
extra={
<Space>
<Button onClick={handleCancel}>
@@ -43,6 +48,20 @@
/>
</>
)}
+ {props.curSprite?.data?.type === Utils.SENSOR_TYPE.SHUTTLE && (
+ <>
+ <ShuttleDrawer
+ curSprite={curSprite}
+ />
+ </>
+ )}
+ {props.curSprite?.data?.type === Utils.SENSOR_TYPE.POINT && (
+ <>
+ <PointDrawer
+ curSprite={curSprite}
+ />
+ </>
+ )}
{props.curSprite?.data?.type === Utils.SENSOR_TYPE.AGV && (
<>
<AgvDrawer
--
Gitblit v1.9.1