From b475edae74d91018428dad976b9e62fef0bda419 Mon Sep 17 00:00:00 2001 From: caishi Date: Thu, 2 Sep 2021 16:39:35 +0800 Subject: [PATCH] hover-issue delete --- src/forge/Order/OrderItem.js | 16 +++++++++++++--- src/forge/Order/order.css | 3 +++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/forge/Order/OrderItem.js b/src/forge/Order/OrderItem.js index 2f9ac1852..30918535a 100644 --- a/src/forge/Order/OrderItem.js +++ b/src/forge/Order/OrderItem.js @@ -44,6 +44,7 @@ class OrderItem extends Component { render() { const { item , checkbox , mile , user_admin_or_member } = this.props; const { projectsId , owner } = this.props.match.params; + const { orderid , isdisplay } = this.state; const { current_user } = this.props; return ( item && @@ -91,12 +92,21 @@ class OrderItem extends Component { {item.journals_count} { user_admin_or_member ? -
+
- + + +
- document.getElementById("hoverBox")} title={'您确定要删除当前易修吗?'} okText="是" cancelText="否" onConfirm={() => this.deletedetail(item.id)}> + this.deletedetail(item.id)} + >
diff --git a/src/forge/Order/order.css b/src/forge/Order/order.css index 6a0f029e0..0abd116f2 100644 --- a/src/forge/Order/order.css +++ b/src/forge/Order/order.css @@ -20,6 +20,9 @@ .overlayBox{ width: 230px; } +.hideOverlay{ + display: none; +} .topmilepost { box-sizing: border-box; display: flex;