사용자 목록 작업중.
parent
babd8ac3e9
commit
e79432a0e1
|
|
@ -8,7 +8,7 @@ import Button from "react-bootstrap/Button";
|
||||||
|
|
||||||
function UserInfoModal({userSeq}){
|
function UserInfoModal({userSeq}){
|
||||||
|
|
||||||
const [userInfo, setUserInfo] = useState({ id: '', password: '', passwordChk: '', userNm: '', email: '', phoneNum: ''});
|
const [userInfo, setUserInfo] = useState({ userId: '', password: '', passwordChk: '', userNm: '', email: '', phoneNum: ''});
|
||||||
|
|
||||||
function getModalContent(){
|
function getModalContent(){
|
||||||
EgovNet.requestFetch(
|
EgovNet.requestFetch(
|
||||||
|
|
@ -18,7 +18,7 @@ function UserInfoModal({userSeq}){
|
||||||
},
|
},
|
||||||
(resp) => {
|
(resp) => {
|
||||||
const respInfo = {
|
const respInfo = {
|
||||||
id: resp.result.userInfo.userId,
|
userId: resp.result.userInfo.userId,
|
||||||
userNm: resp.result.userInfo.userNm,
|
userNm: resp.result.userInfo.userNm,
|
||||||
email: resp.result.userInfo.email,
|
email: resp.result.userInfo.email,
|
||||||
phoneNum: resp.result.userInfo.phoneNum,
|
phoneNum: resp.result.userInfo.phoneNum,
|
||||||
|
|
@ -55,8 +55,8 @@ function UserInfoModal({userSeq}){
|
||||||
아이디
|
아이디
|
||||||
</Form.Label>
|
</Form.Label>
|
||||||
<Col sm={9}>
|
<Col sm={9}>
|
||||||
<Form.Control type="text" name="id" placeholder="아이디" required value={userInfo?.id}
|
<Form.Control type="text" name="userId" placeholder="아이디" required value={userInfo?.userId}
|
||||||
onChange={e => setUserInfo({ ...userInfo, id: e.target.value })}/>
|
onChange={e => setUserInfo({ ...userInfo, userId: e.target.value })}/>
|
||||||
</Col>
|
</Col>
|
||||||
</Form.Group>
|
</Form.Group>
|
||||||
<Form.Group as={Row} className="mb-3" controlId="formHorizontalEmail">
|
<Form.Group as={Row} className="mb-3" controlId="formHorizontalEmail">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue