diff --git a/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx b/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx
index 3d79193..41f7132 100644
--- a/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx
+++ b/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx
@@ -75,7 +75,7 @@ function EgovHeader({ loginUser, onChangeLogin }) {
diff --git a/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx b/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx
index 923b57c..c1b6fe7 100644
--- a/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx
+++ b/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx
@@ -25,10 +25,10 @@ function EgovLeftNavAdmin({activeKey}) {
- 사용자현황
+ 사용자 관리
- - (isActive ? "cur" : "")}>사용자 현황
+ - (isActive ? "cur" : "")}>사용자 목록
diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx
index 721f8f1..c15c435 100644
--- a/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx
+++ b/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx
@@ -1,5 +1,4 @@
import React, {useRef} from 'react';
-import CODE from "../../../constants/code";
import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';
import {Link} from "react-router-dom";
import URL from "../../../constants/url";
diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/users/List.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/users/List.jsx
index 4d0f45c..e35cae0 100644
--- a/egovframe-template-simple-react-contribution/src/pages/admin/users/List.jsx
+++ b/egovframe-template-simple-react-contribution/src/pages/admin/users/List.jsx
@@ -1,11 +1,179 @@
-import React from 'react';
+import React, {useCallback, useEffect, useRef, useState} from 'react';
+import {Link, useLocation} from "react-router-dom";
+import URL from "../../../constants/url";
+import Row from "react-bootstrap/Row";
+import Col from "react-bootstrap/Col";
+
+import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';
+import CODE from "../../../constants/code";
+import EgovPaging from "../../../components/EgovPaging";
+import * as EgovNet from "../../../api/egovFetch";
+import {itemIdxByPage} from "../../../utils/calc";
+import {NOTICE_BBS_ID} from "../../../config";
function List(props) {
+ const location = useLocation();
+
+ const [searchCondition, setSearchCondition] = useState(location.state?.searchCondition || { pageIndex: 1, searchCnd: '0', searchWrd: '' });// 기존 조회에서 접근 했을 시 || 신규로 접근 했을 시
+ const [listTag, setListTag] = useState([]);
+ const [paginationInfo, setPaginationInfo] = useState({});
+
+ const cndRef = useRef();
+ const wrdRef = useRef();
+
+ const retrieveList = useCallback((searchCondition) => {
+ /*
+ EgovNet.requestFetch(
+ '/cop/bbs/selectBoardListAPI.do',
+ {
+ method: "POST",
+ headers: {
+ 'Content-type': 'application/json',
+ },
+ body: JSON.stringify(searchCondition)
+ },
+ (resp) => {
+
+ setPaginationInfo(resp.result.paginationInfo);
+
+ let mutListTag = [];
+
+ const resultCnt = parseInt(resp.result.resultCnt);
+ const currentPageNo = resp.result.paginationInfo.currentPageNo;
+ const pageSize = resp.result.paginationInfo.pageSize;
+
+ // 리스트 항목 구성
+ resp.result.resultList.forEach(function (item, index) {
+ if (index === 0) mutListTag = []; // 목록 초기화
+ const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index);
+
+ mutListTag.push(
+
+
{listIdx}
+ {(item.replyLc * 1 ? true : false) &&
+ <>
+ {item.nttSj}
+
>}
+ {(item.replyLc * 1 ? false : true) &&
+ <>
+ {item.nttSj}
+
>}
+
{item.frstRegisterNm}
+
{item.frstRegisterPnttm}
+
{item.inqireCo}
+
+ );
+ });
+ if(!mutListTag.length) mutListTag.push(
검색된 결과가 없습니다.
); // 게시판 목록 초기값
+ setListTag(mutListTag);
+ },
+ function (resp) {
+ console.log("err response : ", resp);
+ }
+ );
+ */
+ },[]);
+
+ useEffect(() => {
+ retrieveList(searchCondition);
+ }, []);
+
return (
- List
+
+
+
+ - Home
+ - 사이트관리
+ - 사용자 관리
+ - 사용자 목록
+
+
+
+ {/* */}
+
+
+ {/* */}
+
+
+
사용자 목록
+
+
+ {/* */}
+
+
+
+
+ 구분
+ 아이디
+ 이름
+ 이메일
+ 전화번호
+ 상태
+ 삭제
+
+
+ {listTag}
+
+
+
+
+ {
+ retrieveList({ ...searchCondition, pageIndex: passedPage, searchCnd: cndRef.current.value, searchWrd: wrdRef.current.value })
+ }} />
+
+
+
+
);
}
diff --git a/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx b/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx
index c475c1f..236a078 100644
--- a/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx
+++ b/egovframe-template-simple-react-contribution/src/pages/login/EgovLoginContent.jsx
@@ -22,7 +22,7 @@ function EgovLoginContent(props) {
const location = useLocation();
console.log("EgovLoginContent [location] : ", location);
- const [userInfo, setUserInfo] = useState({ username: '', password: 'default', email: '', userSe: 'USR'});
+ const [userInfo, setUserInfo] = useState({ username: '', password: 'default', email: '', userSe: 'ACC_TP02'});
// eslint-disable-next-line no-unused-vars
const [saveIDFlag, setSaveIDFlag] = useState(false);
@@ -64,7 +64,7 @@ function EgovLoginContent(props) {
useEffect(() => {
let data = getLocalItem(KEY_ID);
if (data !== null) {
- setUserInfo({ username: data, password: 'default', email: '', userSe: 'USR' });
+ setUserInfo({ username: data, password: 'default', email: '', userSe: 'ACC_TP02' });
}
}, []);
diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js b/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js
index 6c377c2..312283c 100644
--- a/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js
+++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js
@@ -257,7 +257,7 @@ function CodeViewer(props) {
item.full_content = item.full_content.replace('