Compare commits
No commits in common. "2e4ff2fa58cec33df0ecaa04d2180388e92c3e02" and "f344a4e3a0cdce1bdf9c95b940400ad4ee57603a" have entirely different histories.
2e4ff2fa58
...
f344a4e3a0
|
|
@ -5,6 +5,7 @@ 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 { itemIdxByPage } from 'utils/calc';
|
import { itemIdxByPage } from 'utils/calc';
|
||||||
|
|
||||||
import {StandardCodeListModal, StandardCodeListModalTable} from './StandardCodeListModal'
|
import {StandardCodeListModal, StandardCodeListModalTable} from './StandardCodeListModal'
|
||||||
|
|
@ -40,7 +41,7 @@ function StandardCodeList(props) {
|
||||||
body.push(
|
body.push(
|
||||||
<tr>
|
<tr>
|
||||||
<td>{formattedDate}</td>
|
<td>{formattedDate}</td>
|
||||||
<td><a href={url}><AiFillFileMarkdown/></a></td>
|
<td><a href={url}>{item.docFileGrpId}</a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>)
|
</tr>)
|
||||||
})
|
})
|
||||||
|
|
@ -113,18 +114,19 @@ function StandardCodeList(props) {
|
||||||
const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index);
|
const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index);
|
||||||
|
|
||||||
mutListTag.push(
|
mutListTag.push(
|
||||||
<div
|
<Link
|
||||||
key={listIdx}
|
key={listIdx}
|
||||||
className="list_item List_Codes" >
|
className="list_item List_Codes" >
|
||||||
<div className="mainCategory">{item.mainCategory}</div>
|
<div className="mainCategory">{item.mainCategory}</div>
|
||||||
<div className="middleCategory">{item.middleCategory}</div>
|
<div className="middleCategory">{item.middleCategory}</div>
|
||||||
<div className="kcscCd">{item.kcscCd}</div>
|
<div className="kcscCd">{item.kcscCd}</div>
|
||||||
<div className="groupNm">{item.groupNm}</div>
|
<div className="groupNm">{item.groupNm}</div>
|
||||||
<div className="Revisionhistory"><a className="vieweratag" onClick={showhandling} data-groupseq = {item.groupSeq} >개정이력</a></div>
|
<div className="Revisionhistory"><button onClick={showhandling} data-groupseq = {item.groupSeq}>개정이력</button></div>
|
||||||
<div className="fille">{item.contentcount>0?<a className="vieweratag" href = {"/standardCode/viewer/"+item.kcscCd}>내용보기</a>:null}</div>
|
<div className="fille">{item.contentcount>0?<a className="vieweratag" href = {"/standardCode/viewer/"+item.kcscCd}>내용보기</a>:null}</div>
|
||||||
<div className="viewer">{item.docFileGrpId==null?null:<a href ={"https://www.kcsc.re.kr/file/DownloadGrp/"+item.docFileGrpId}><AiFillFileMarkdown/></a>}</div>
|
<div className="viewer"><a href ={"https://www.kcsc.re.kr/file/DownloadGrp/"+item.docFileGrpId}><AiFillFileMarkdown/></a></div>
|
||||||
<div className="star"><AiFillStar/></div>
|
<div className="star"><AiFillStar/></div>
|
||||||
</div>
|
|
||||||
|
</Link>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
setListTag(mutListTag);
|
setListTag(mutListTag);
|
||||||
|
|
@ -224,12 +226,15 @@ function StandardCodeList(props) {
|
||||||
</div>
|
</div>
|
||||||
{/* <!--// 게시판목록 --> */}
|
{/* <!--// 게시판목록 --> */}
|
||||||
|
|
||||||
|
<div className="board_bot">
|
||||||
{/* <!-- Paging --> */}
|
{/* <!-- Paging --> */}
|
||||||
|
<EgovPaging pagination={paginationInfo} moveToPage={passedPage => {
|
||||||
|
retrieveList({ ...searchCondition, pageIndex: passedPage, searchCnd: cndRef.current.value, searchWrd: wrdRef.current.value })
|
||||||
|
}} />
|
||||||
{/* <!--/ Paging --> */}
|
{/* <!--/ Paging --> */}
|
||||||
<StandardCodeListModal size={"lg"} show ={show} content ={groupseq} onClose = {close} title={"개정이력"}/>
|
<StandardCodeListModal size={"lg"} show ={show} content ={groupseq} onClose = {close} title={"개정이력"}/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* <!--// 본문 --> */}
|
{/* <!--// 본문 --> */}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue