건설기준코드리스트링크안되는거수정
parent
8dc58a1701
commit
33bf140573
|
|
@ -5,7 +5,6 @@ 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'
|
||||||
|
|
@ -41,7 +40,7 @@ function StandardCodeList(props) {
|
||||||
body.push(
|
body.push(
|
||||||
<tr>
|
<tr>
|
||||||
<td>{formattedDate}</td>
|
<td>{formattedDate}</td>
|
||||||
<td><a href={url}>{item.docFileGrpId}</a></td>
|
<td><a href={url}><AiFillFileMarkdown/></a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>)
|
</tr>)
|
||||||
})
|
})
|
||||||
|
|
@ -114,19 +113,18 @@ function StandardCodeList(props) {
|
||||||
const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index);
|
const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index);
|
||||||
|
|
||||||
mutListTag.push(
|
mutListTag.push(
|
||||||
<Link
|
<div
|
||||||
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"><button onClick={showhandling} data-groupseq = {item.groupSeq}>개정이력</button></div>
|
<div className="Revisionhistory"><a className="vieweratag" onClick={showhandling} data-groupseq = {item.groupSeq} >개정이력</a></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"><a href ={"https://www.kcsc.re.kr/file/DownloadGrp/"+item.docFileGrpId}><AiFillFileMarkdown/></a></div>
|
<div className="viewer">{item.docFileGrpId==null?null:<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);
|
||||||
|
|
@ -226,15 +224,12 @@ 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