From 384504694677d233c2e79969739ed6e153350bdf Mon Sep 17 00:00:00 2001 From: chayoosang Date: Wed, 11 Oct 2023 15:00:09 +0900 Subject: [PATCH] =?UTF-8?q?[PDW-54]=20fix:=20Link=20=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=ED=9B=84=20window.location.href=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OfficeBookingManageCell.js | 26 ++++------- .../ResourceBookingManageCell.js | 45 ++++--------------- 2 files changed, 16 insertions(+), 55 deletions(-) diff --git a/src/pages/manager/officeBookingManage/OfficeBookingManageCell.js b/src/pages/manager/officeBookingManage/OfficeBookingManageCell.js index 97150e9..346ea44 100644 --- a/src/pages/manager/officeBookingManage/OfficeBookingManageCell.js +++ b/src/pages/manager/officeBookingManage/OfficeBookingManageCell.js @@ -49,31 +49,21 @@ function OfficeBookingManageCell(props) { } }; + const moveToDetail = () => { + window.location.href = `/manage/officeBooking/${props.id}` + }; + + var status = findStatus(props.status) var cancelButton = ( - - 상세보기 - ) + 상세보기) + var usingButton = ( - 반려 | 상세보기 + 반려 |상세보기 ) return ( diff --git a/src/pages/manager/resourceBookingManage/ResourceBookingManageCell.js b/src/pages/manager/resourceBookingManage/ResourceBookingManageCell.js index 897c07c..d8ec5a7 100644 --- a/src/pages/manager/resourceBookingManage/ResourceBookingManageCell.js +++ b/src/pages/manager/resourceBookingManage/ResourceBookingManageCell.js @@ -96,53 +96,24 @@ function ResourceBookingManageCell(props) { } }; + const moveToDetail = () => { + window.location.href = `/manage/resourceBooking/${props.id}` + }; var status = findStatus(props.status) var watingButton = ( - 허가 | 반려 | - - - 상세보기 - - + 허가 | 반려 | 상세보기 ) + var cancelButton = ( - - - - 상세보기 - - - ) + 상세보기) + var usingButton = ( - 반납 | - - - 상세보기 - - + 반납 | 상세보기 ) return (