기준코드 목록 작업중.
parent
a7bdd5093f
commit
cdd6f726c2
|
|
@ -115,7 +115,7 @@ function EgovHeader({ loginUser, onChangeLogin }) {
|
||||||
{/* <!-- All menu : web --> */}
|
{/* <!-- All menu : web --> */}
|
||||||
<div className={`all_menu WEB ${menuDiv?"open":"closed"}`}>
|
<div className={`all_menu WEB ${menuDiv?"open":"closed"}`}>
|
||||||
<h2 className="blind">전체메뉴</h2>
|
<h2 className="blind">전체메뉴</h2>
|
||||||
<div className="inner">
|
<div className="inner row">
|
||||||
<div className="col">
|
<div className="col">
|
||||||
<h3>건설기준코드</h3>
|
<h3>건설기준코드</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -76,7 +76,7 @@ function StandardCodeList({listData, filterData}) {
|
||||||
})}
|
})}
|
||||||
</Row>
|
</Row>
|
||||||
</div>
|
</div>
|
||||||
<div className="star"><AiFillStar/></div>
|
<div className="star clickable"><AiFillStar/></div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React, {useState, useCallback} from 'react';
|
import React, {useState, useCallback} from 'react';
|
||||||
import {useParams} from 'react-router-dom';
|
import {Link, useParams} from 'react-router-dom';
|
||||||
|
|
||||||
import * as EgovNet from 'api/egovFetch';
|
import * as EgovNet from 'api/egovFetch';
|
||||||
import {StandardCodeListModal, StandardCodeListModalTable} from './StandardCodeListModal'
|
import {StandardCodeListModal, StandardCodeListModalTable} from './StandardCodeListModal'
|
||||||
|
|
@ -7,6 +7,7 @@ import {AiFillFileMarkdown} from "react-icons/ai";
|
||||||
import StandardCodeSearchForm from "./StandardCodeSearchForm";
|
import StandardCodeSearchForm from "./StandardCodeSearchForm";
|
||||||
import Loading from "../../../components/Loading";
|
import Loading from "../../../components/Loading";
|
||||||
import StandardCodeList from "./StandardCodeList";
|
import StandardCodeList from "./StandardCodeList";
|
||||||
|
import URL from "../../../constants/url";
|
||||||
|
|
||||||
function StandardCodePage({}) {
|
function StandardCodePage({}) {
|
||||||
const {listCode} = useParams();
|
const {listCode} = useParams();
|
||||||
|
|
@ -90,28 +91,52 @@ function StandardCodePage({}) {
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="StandardCodeList container">
|
<div className="">
|
||||||
<div className="c_wrap codeListContent">
|
<div className="c_wrap">
|
||||||
|
{/* <!-- Location --> */}
|
||||||
|
<div className="location">
|
||||||
|
<ul>
|
||||||
|
<li><Link to={URL.MAIN} className="home">Home</Link></li>
|
||||||
|
<li>건설기준코드</li>
|
||||||
|
<li><Link to={URL.STANDARD_CODE_LIST} >건설기준코드 검색</Link></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{/* <!--// Location --> */}
|
||||||
|
|
||||||
<div className="layout">
|
<div className="layout">
|
||||||
<div className="contents NOTICE_LIST listTableDiv">
|
|
||||||
<StandardCodeSearchForm param={listCode?listCode:'10'} reloadFunction={retrieveList} resultCnt={resultCnt} remarkCnt={remarkCnt}/>
|
<div className="contents NOTICE_LIST" id="contents">
|
||||||
<div className="board_list code_list">
|
{/* <!-- 본문 --> */}
|
||||||
<div className="head">
|
|
||||||
<span>대분류</span>
|
<div className="top_tit">
|
||||||
<span>중분류</span>
|
<h1 className="tit_1">건설기준코드 검색</h1>
|
||||||
<span>코드번호</span>
|
</div>
|
||||||
<span>코드명</span>
|
<div className="StandardCodeList container">
|
||||||
<span className={"text-start"}>개정이력</span>
|
<div className="c_wrap codeListContent">
|
||||||
<span className={"text-start"}>보기</span>
|
<div className="layout">
|
||||||
<span>즐겨찾기</span>
|
<div className="contents NOTICE_LIST listTableDiv">
|
||||||
</div>
|
<StandardCodeSearchForm param={listCode?listCode:'10'} reloadFunction={retrieveList} resultCnt={resultCnt} remarkCnt={remarkCnt}/>
|
||||||
{
|
<div className="board_list code_list">
|
||||||
listLoading?(<Loading/>):(
|
<div className="head">
|
||||||
<StandardCodeList listData={listData} filterData={filterData}/>
|
<span>대분류</span>
|
||||||
)
|
<span>중분류</span>
|
||||||
}
|
<span>코드번호</span>
|
||||||
|
<span>코드명</span>
|
||||||
|
<span className={"text-start"}>개정이력</span>
|
||||||
|
<span className={"text-start"}>보기</span>
|
||||||
|
<span>즐겨찾기</span>
|
||||||
|
</div>
|
||||||
|
{
|
||||||
|
listLoading?(<Loading/>):(
|
||||||
|
<StandardCodeList listData={listData} filterData={filterData}/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
<StandardCodeListModal size={"lg"} show={show} content={groupSeq} onClose={close} title={"개정이력"}/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<StandardCodeListModal size={"lg"} show={show} content={groupSeq} onClose={close} title={"개정이력"}/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,7 @@ import AdminLogsFileDownloadStatus from 'pages/admin/logs/FileDownloadStatus';
|
||||||
//건설기준코드
|
//건설기준코드
|
||||||
import CodeViewer from 'pages/standardCode/viewer/viewer';
|
import CodeViewer from 'pages/standardCode/viewer/viewer';
|
||||||
import StandardCodePage from "../pages/standardCode/list/StandardCodePage";
|
import StandardCodePage from "../pages/standardCode/list/StandardCodePage";
|
||||||
|
import StandardCodeInfo from "../pages/standardCode/info/StandardCodeInfo";
|
||||||
|
|
||||||
|
|
||||||
import * as EgovNet from 'api/egovFetch'; // jwt토큰 위조 검사 때문에 추가
|
import * as EgovNet from 'api/egovFetch'; // jwt토큰 위조 검사 때문에 추가
|
||||||
|
|
@ -330,6 +331,7 @@ const SecondRoutes = () => {
|
||||||
<Route path={URL.STANDARD_CODE_VIEWER} element={<CodeViewer mode={CODE.MODE_READ} />} />
|
<Route path={URL.STANDARD_CODE_VIEWER} element={<CodeViewer mode={CODE.MODE_READ} />} />
|
||||||
<Route path={URL.STANDARD_CODE_VIEWER_LINK} element={<CodeViewer mode={CODE.MODE_READ} />} />
|
<Route path={URL.STANDARD_CODE_VIEWER_LINK} element={<CodeViewer mode={CODE.MODE_READ} />} />
|
||||||
|
|
||||||
|
<Route path={URL.STANDARD_CODE_INFO} element={<StandardCodeInfo />} />
|
||||||
{/*기준코드리스트*/}
|
{/*기준코드리스트*/}
|
||||||
<Route path={URL.STANDARD_CODE_LIST} element={<StandardCodePage />} />
|
<Route path={URL.STANDARD_CODE_LIST} element={<StandardCodePage />} />
|
||||||
<Route path={URL.STANDARD_CODE_LIST_LINK} element={<StandardCodePage />} />
|
<Route path={URL.STANDARD_CODE_LIST_LINK} element={<StandardCodePage />} />
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ public class SecurityConfig {
|
||||||
"/swagger-ui/**",
|
"/swagger-ui/**",
|
||||||
|
|
||||||
/*기준코드 조회*/
|
/*기준코드 조회*/
|
||||||
"/standardCode/**.do"
|
"/standardCode/**"
|
||||||
};
|
};
|
||||||
private static final String[] ORIGINS_WHITELIST = {
|
private static final String[] ORIGINS_WHITELIST = {
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue