Compare commits

..

No commits in common. "6283d4b10196311371eb021e60964b81ea334883" and "4f3a87eaf92ae0bf3ef1e912c2a5ca5bc411e578" have entirely different histories.

2 changed files with 20 additions and 71 deletions

View File

@ -11,61 +11,3 @@
.mainbnt:hover{ .mainbnt:hover{
background-color: #212121; background-color: #212121;
} }
.code_list .head >span:nth-child(1),.code_list .result .List_Codes >div:nth-child(1){
text-align: left;
width: 12%;
}
.code_list .head >span:nth-child(2),.code_list .result .List_Codes >div:nth-child(2){
text-align: left;
width: 13%;
}
.code_list .head >span:nth-child(3),.code_list .result .List_Codes >div:nth-child(3){
text-align: left;
width: 10%;
}
.code_list .head >span:nth-child(4),.code_list .result .List_Codes >div:nth-child(4) {
width: 36%;
text-align: left;
}
.code_list .head >span:nth-child(5),.code_list .result .List_Codes >div:nth-child(5){
width: 7%;
}
.code_list .head >span:nth-child(6),.code_list .result .List_Codes >div:nth-child(6){
width: 7%;
}
.code_list .head > span:nth-child(7),.code_list .result .List_Codes >div:nth-child(7){
width: 7%;
}
.code_list .head >span:nth-child(8),.code_list .result .List_Codes >div:nth-child(8){
width: 8%;
}
.code_list .result .List_Codes >div:nth-child(1),
.code_list .result .List_Codes >div:nth-child(2),
.code_list .result .List_Codes >div:nth-child(3),
.code_list .result .List_Codes >div:nth-child(4),
.code_list .result .List_Codes >div:nth-child(5),
.code_list .result .List_Codes >div:nth-child(6),
.code_list .result .List_Codes >div:nth-child(7),
.code_list .result .List_Codes >div:nth-child(8){
font-size: 14px;
}
.codelistcontent{
padding: 0 0;
width: 80%;
}
.StandardCodeList{
max-width: 100%;
}
.listtablediv{
padding: 0 !important;
}

View File

@ -5,11 +5,11 @@ import * as EgovNet from 'api/egovFetch';
import URL from 'constants/url'; import URL from 'constants/url';
import { NOTICE_BBS_ID } from 'config'; import { NOTICE_BBS_ID } from 'config';
import EgovPaging from 'components/EgovPaging'; import EgovPaging from 'components/EgovPaging';
import { itemIdxByPage } from 'utils/calc'; import { itemIdxByPage } from 'utils/calc';
import {StandardCodeListModal, StandardCodeListModalTable} from './StandardCodeListModal' import {StandardCodeListModal, StandardCodeListModalTable} from './StandardCodeListModal'
import {AiFillFileMarkdown, AiFillStar} from "react-icons/ai";
function StandardCodeList(props) { function StandardCodeList(props) {
const {listCode} = useParams(); const {listCode} = useParams();
@ -117,14 +117,21 @@ function StandardCodeList(props) {
<Link <Link
key={listIdx} key={listIdx}
className="list_item List_Codes" > className="list_item List_Codes" >
<div className="mainCategory">{item.mainCategory}</div> <div>{item.mainCategory}</div>
<div className="middleCategory">{item.middleCategory}</div> <div>{item.middleCategory}</div>
<div className="kcscCd">{item.kcscCd}</div> <div>{item.kcscCd}</div>
<div className="groupNm">{item.groupNm}</div> {(item.replyLc * 1 ? true : false) &&
<div className="Revisionhistory"><button onClick={showhandling} data-groupseq = {item.groupSeq}>개정이력</button></div> <div className="al reply">
<div className="fille">{item.contentcount>0?<a className="vieweratag" href = {"/standardCode/viewer/"+item.kcscCd}>내용보기</a>:null}</div> {item.groupNm}
<div className="viewer"><a href ={"https://www.kcsc.re.kr/file/DownloadGrp/"+item.docFileGrpId}><AiFillFileMarkdown/></a></div> </div>}
<div className="star"><AiFillStar/></div> {(item.replyLc * 1 ? false : true) &&
<div className="al">
{item.groupNm}
</div>}
<div><button onClick={showhandling} data-groupseq = {item.groupSeq}>개정이력</button></div>
<div>{item.contentcount>0?<a href = {"/standardCode/viewer/"+item.kcscCd}>{item.kcscCd}</a>:null}</div>
<div>{item.docFileGrpId}</div>
<div></div>
</Link> </Link>
); );
@ -147,7 +154,7 @@ function StandardCodeList(props) {
console.groupEnd("StandardCodeList"); console.groupEnd("StandardCodeList");
return ( return (
<div className="StandardCodeList container"> <div className="StandardCodeList container">
<div className="c_wrap codelistcontent"> <div className="c_wrap">
{/* <!-- Location --> */} {/* <!-- Location --> */}
<div className="location"> <div className="location">
<ul> <ul>
@ -163,7 +170,7 @@ function StandardCodeList(props) {
{/* <!--// Navigation --> */} {/* <!--// Navigation --> */}
<div className="contents NOTICE_LIST listtablediv" id="contents"> <div className="contents NOTICE_LIST" id="contents">
{/* <!-- 본문 --> */} {/* <!-- 본문 --> */}
<div className="top_tit"> <div className="top_tit">
@ -209,7 +216,7 @@ function StandardCodeList(props) {
{/* <!--// 검색조건 --> */} {/* <!--// 검색조건 --> */}
{/* <!-- 게시판목록 --> */} {/* <!-- 게시판목록 --> */}
<div className="board_list BRD002 code_list"> <div className="board_list BRD002">
<div className="head"> <div className="head">
<span>대분류</span> <span>대분류</span>
<span>중분류</span> <span>중분류</span>