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