parent
38ad18fc74
commit
08a140f5f4
|
|
@ -152,6 +152,22 @@
|
|||
.BRD006 .result .list_item > div:nth-child(5) {width: 140px;}
|
||||
.BRD006 .result .list_item > div:nth-child(6) {width: 140px;}
|
||||
|
||||
/* 사이트관리 > 사용자관리 > 사용자목록 */
|
||||
.userList .head > span:nth-child(1) {width: 60px;}
|
||||
.userList .head > span:nth-child(2) {width: 100px;}
|
||||
.userList .head > span:nth-child(3) {width: 100px;}
|
||||
.userList .head > span:nth-child(4) {width: 120px;}
|
||||
.userList .head > span:nth-child(5) {width: 100px;}
|
||||
.userList .head > span:nth-child(6) {width: 100px;}
|
||||
.userList .head > span:nth-child(7) {width: 100px;}
|
||||
.userList .result .list_item > div:nth-child(1) {width: 60px;}
|
||||
.userList .result .list_item > div:nth-child(2) {width: 100px;}
|
||||
.userList .result .list_item > div:nth-child(3) {width: 100px;}
|
||||
.userList .result .list_item > div:nth-child(4) {width: 120px;}
|
||||
.userList .result .list_item > div:nth-child(5) {width: 100px;}
|
||||
.userList .result .list_item > div:nth-child(6) {width: 100px;}
|
||||
.userList .result .list_item > div:nth-child(7) {width: 100px;}
|
||||
|
||||
/* 사이트소개 */
|
||||
.SITE_INTRO .ds_1 .t_1 {margin-top: 52px; color: #000; font-size: 26px; font-weight: 500; text-align: center;}
|
||||
.SITE_INTRO .ds_1 .li_1 {position: relative; margin-top: 34px; font-size: 0; text-align: center;}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';
|
|||
import EgovPaging from "components/EgovPaging";
|
||||
import * as EgovNet from "api/egovFetch";
|
||||
import {itemIdxByPage} from "utils/calc";
|
||||
import Button from "react-bootstrap/Button";
|
||||
|
||||
|
||||
function List(props) {
|
||||
|
|
@ -43,35 +42,16 @@ function List(props) {
|
|||
const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index);
|
||||
|
||||
mutListTag.push(
|
||||
<div>
|
||||
<span>{item.userSe}</span>
|
||||
<span>{item.userId}</span>
|
||||
<span>{item.userNm}</span>
|
||||
<span>{item.email}</span>
|
||||
<span>{item.phoneNum}</span>
|
||||
<span>{item.useYn}</span>
|
||||
<span><Button variant={"danger"} size={"sm"}>삭제</Button></span>
|
||||
<div className={"list_item"}>
|
||||
<div>{item.userSe}</div>
|
||||
<div>{item.userId}</div>
|
||||
<div>{item.userNm}</div>
|
||||
<div>{item.email}</div>
|
||||
<div>{item.phoneNum}</div>
|
||||
<div>{item.useYn}</div>
|
||||
<div><button className={"btn btn_red_h31 px-1"}>삭제</button></div>
|
||||
</div>
|
||||
);
|
||||
/*<Link to={{pathname: URL.ADMIN_NOTICE_DETAIL}}
|
||||
state={{
|
||||
nttId: item.nttId,
|
||||
searchCondition: searchCondition
|
||||
}}
|
||||
key={listIdx} className="list_item" >
|
||||
<div>{listIdx}</div>
|
||||
{(item.replyLc * 1 ? true : false) &&
|
||||
<><div className="al reply">
|
||||
{item.nttSj}
|
||||
</div></>}
|
||||
{(item.replyLc * 1 ? false : true) &&
|
||||
<><div className="al">
|
||||
{item.nttSj}
|
||||
</div></>}
|
||||
<div>{item.frstRegisterNm}</div>
|
||||
<div>{item.frstRegisterPnttm}</div>
|
||||
<div>{item.inqireCo}</div>
|
||||
</Link>*/
|
||||
});
|
||||
if(!mutListTag.length) mutListTag.push(<p className="no_data" key="0">검색된 결과가 없습니다.</p>); // 게시판 목록 초기값
|
||||
setListTag(mutListTag);
|
||||
|
|
@ -127,7 +107,7 @@ function List(props) {
|
|||
<option value="id">아이디</option>
|
||||
<option value="name">이름</option>
|
||||
<option value="email">이메일</option>
|
||||
<option value="phoneNum">전화번호</option>
|
||||
<option value="phoneNum">연락처</option>
|
||||
</select>
|
||||
</label>
|
||||
</li>
|
||||
|
|
@ -152,13 +132,13 @@ function List(props) {
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div className="board_list BRD002">
|
||||
<div className="board_list userList">
|
||||
<div className="head">
|
||||
<span>구분</span>
|
||||
<span>아이디</span>
|
||||
<span>이름</span>
|
||||
<span>이메일</span>
|
||||
<span>전화번호</span>
|
||||
<span>연락처</span>
|
||||
<span>상태</span>
|
||||
<span>삭제</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ function Join(props) {
|
|||
const location = useLocation();
|
||||
console.log("JoinContent [location] : ", location);
|
||||
|
||||
const [userInfo, setUserInfo] = useState({ id: '', email: '', password: '', passwordChk: '' });
|
||||
const [userInfo, setUserInfo] = useState({ id: '', password: '', passwordChk: '', userNm: '', email: '', phoneNum: ''});
|
||||
const [infoShareChk, setInfoShareChk] = useState(false);
|
||||
const [submitFlag, setSubmitFlag] = useState(true);
|
||||
|
||||
|
|
@ -92,12 +92,16 @@ function Join(props) {
|
|||
<span className="group">
|
||||
<input type="text" name="" title="아이디" placeholder="아이디" value={userInfo?.id}
|
||||
onChange={e => setUserInfo({ ...userInfo, id: e.target.value })} />
|
||||
<input type="text" name="" title="이메일" placeholder="이메일" value={userInfo?.email}
|
||||
onChange={e => setUserInfo({ ...userInfo, email: e.target.value })} />
|
||||
<input type="password" name="" id="passwordInput" title="비밀번호" placeholder="비밀번호"
|
||||
onChange={e => setUserInfo({ ...userInfo, password: e.target.value })}/>
|
||||
<input type="password" name="" id="passwordChkInput" title="비밀번호 확인" placeholder="비밀번호 확인"
|
||||
onChange={e => setUserInfo({ ...userInfo, passwordChk: e.target.value })}/>
|
||||
<input type="text" name="" title="이름" placeholder="이름" value={userInfo?.userNm}
|
||||
onChange={e => setUserInfo({ ...userInfo, userNm: e.target.value })} />
|
||||
<input type="text" name="" title="이메일" placeholder="이메일" value={userInfo?.email}
|
||||
onChange={e => setUserInfo({ ...userInfo, email: e.target.value })} />
|
||||
<input type="text" name="" title="연락처" placeholder="연락처" value={userInfo?.phoneNum}
|
||||
onChange={e => setUserInfo({ ...userInfo, phoneNum: e.target.value })} />
|
||||
</span>
|
||||
<ul className="list">
|
||||
<li>비밀번호는 6~12자의 영문 대/소문자, 숫자, 특수문자를 혼합해서 사용하실 수 있습니다.</li>
|
||||
|
|
|
|||
|
|
@ -59,7 +59,12 @@ public class LoginVO implements Serializable{
|
|||
private String userSe;
|
||||
|
||||
@Schema(description = "이름")
|
||||
private String name;
|
||||
@NotBlank(message = "이름을 입력해주세요.")
|
||||
private String userNm;
|
||||
|
||||
@Schema(description = "연락처")
|
||||
@NotBlank(message = "연락처를 입력해주세요.")
|
||||
private String phoneNum;
|
||||
|
||||
@Schema(description = "주민등록번호")
|
||||
private String ihidNum;
|
||||
|
|
|
|||
|
|
@ -59,8 +59,10 @@ public class EgovLoginServiceImpl extends EgovAbstractServiceImpl implements Ego
|
|||
UserInfo info = new UserInfo();
|
||||
info.setUserId(loginVO.getId());
|
||||
info.setPassword(convertPassword(loginVO.getPassword()));
|
||||
info.setUserNm(loginVO.getUserNm());
|
||||
info.setEmail(loginVO.getEmail());
|
||||
info.setUserSe("USR");
|
||||
info.setPhoneNum(loginVO.getPhoneNum());
|
||||
info.setUserSe("ACC_TP02");
|
||||
userInfoRepository.save(info);
|
||||
return info.getUserSeq();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue