From 622bf0e381707c37fa9a9db2bd239d9a3814e3e1 Mon Sep 17 00:00:00 2001 From: dbnt-design Date: Wed, 15 Nov 2023 11:04:40 +0900 Subject: [PATCH 1/2] =?UTF-8?q?url=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dbnt/kcscbackend/standardCode/StandardCodeController.java | 2 +- .../src/main/resources/mybatisMapper/StandardCodeMapper.xml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/standardCode/StandardCodeController.java b/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/standardCode/StandardCodeController.java index 3128d29..57ca243 100644 --- a/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/standardCode/StandardCodeController.java +++ b/kcsc-back-end/src/main/java/com/dbnt/kcscbackend/standardCode/StandardCodeController.java @@ -133,7 +133,7 @@ public class StandardCodeController extends BaseController { description = "건설기준코드 개정이력 조회", tags = {"StandardCodeController"} ) - @PostMapping("/testCodeList.do") + @PostMapping("/codeListModal.do") public ResponseEntity> testCodeList(@RequestBody Integer groupseq){ return ResponseEntity.ok(standardCodeService.selectStandardCodeRevisionhistoryList(groupseq)); } diff --git a/kcsc-back-end/src/main/resources/mybatisMapper/StandardCodeMapper.xml b/kcsc-back-end/src/main/resources/mybatisMapper/StandardCodeMapper.xml index d69e018..04f40f5 100644 --- a/kcsc-back-end/src/main/resources/mybatisMapper/StandardCodeMapper.xml +++ b/kcsc-back-end/src/main/resources/mybatisMapper/StandardCodeMapper.xml @@ -63,7 +63,7 @@ \ No newline at end of file From d16cf94aada2d805dd6e58575062cf4789aa1f91 Mon Sep 17 00:00:00 2001 From: dbnt-design Date: Wed, 15 Nov 2023 11:06:23 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Fetch=20URL=EC=88=98=EC=A0=95=20=EB=B0=8F?= =?UTF-8?q?=20=EB=B7=B0=EC=96=B4=20=EC=95=88=EB=82=98=EC=98=A4=EB=8A=94=20?= =?UTF-8?q?=EC=9E=90=EB=A3=8C=EB=93=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/css/Custom/customMain.css | 6 +++--- .../src/pages/standardCode/StandardCodeList.jsx | 6 +++--- .../src/pages/standardCode/viewer.js | 7 ++++++- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css b/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css index d171b37..e7f5e49 100644 --- a/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css +++ b/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css @@ -18,14 +18,14 @@ } .code_list .head >span:nth-child(2),.code_list .result .List_Codes >div:nth-child(2){ text-align: left; - width: 13%; + width: 15%; } .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%; + width: 34%; text-align: left; } .code_list .head >span:nth-child(5),.code_list .result .List_Codes >div:nth-child(5){ @@ -65,7 +65,7 @@ border-radius: 4px; border: 1px solid black; text-decoration: none; - + cursor: pointer; } .vieweratag:hover{ transition: background-color .3s; diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx index 7a2caf4..3c1f2eb 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx @@ -19,7 +19,7 @@ function StandardCodeList(props) { const groupseq = param.groupseq; console.log(groupseq); EgovNet.requestFetch( - '/standardCode/testCodeList.do', + '/standardCode/codeListModal.do', { method: "POST", headers: { @@ -120,7 +120,7 @@ function StandardCodeList(props) {
{item.middleCategory}
{item.kcscCd}
{item.groupNm}
-
개정이력
+
개정이력
{item.contentcount>0?내용보기:null}
{item.docFileGrpId==null?null:}
@@ -161,7 +161,7 @@ function StandardCodeList(props) { {/* */} -
+
{/* */}
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 1b53ca7..b56b13d 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js @@ -126,7 +126,12 @@ function CodeViewer(props) { const docPartMap = new Map(); for(let i=0; i'+ ''+