From e7aa727977f4393ad16be70a11f37c5534ed8ac2 Mon Sep 17 00:00:00 2001 From: geek Date: Wed, 31 May 2017 18:34:45 +0900 Subject: [PATCH] dsf --- src/ts/containers/agent/waitForAuth.tsx | 44 ++++++++++++++++++++----- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/src/ts/containers/agent/waitForAuth.tsx b/src/ts/containers/agent/waitForAuth.tsx index f49635d..ce3a240 100644 --- a/src/ts/containers/agent/waitForAuth.tsx +++ b/src/ts/containers/agent/waitForAuth.tsx @@ -77,19 +77,31 @@ export class WaitForAuth extends React.Component { open: false, }; - handleCellClick = (e: any, idx: number) => { - console.log(e) - this.setState({open:true}) - } + sselectedRows: number[] | string; + + // handleCellClick = (e: any, idx: number) => { + // console.log(e) + // } handleRowSelected = (selectedRows: number[] | string) => { // console.log(selectedRows) + // this.setState({ open: true }) + this.sselectedRows = selectedRows; } handleClose = () => { this.setState({ open: false }); }; + handleOpenDialog = () => { + this.setState({ open: true }) + // console.log(this.sselectedRows) + } + + handleSubmit = () => { + console.log("Agent Auth Service Request: " + this.sselectedRows) + } + render() { const actions = [ { , ] return ( @@ -110,7 +122,7 @@ export class WaitForAuth extends React.Component { { {row.status} ))}; - + @@ -147,12 +159,26 @@ export class WaitForAuth extends React.Component { actions={actions} modal={true} open={this.state.open} > - Agent를 인증하시겠습니까? + 선택한 Agent를 인증하시겠습니까?
+ + ); } + + } \ No newline at end of file