feat:[예문-관리자-기능] 신청원인 / 취지 / 답변서 / 의견 / 진행단계도움말관리
This commit is contained in:
parent
84178c28f6
commit
e9570ab3d4
@ -64,7 +64,7 @@ public class ExmpAnswerManagerController {
|
|||||||
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||||
|
|
||||||
// 답변서 코드
|
// 답변서 코드
|
||||||
exmpManageVO.setCodeId("CC003");
|
exmpManageVO.setExmpCd("04");
|
||||||
|
|
||||||
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
|
|||||||
@ -16,8 +16,6 @@ public interface ExmpAppManageService {
|
|||||||
|
|
||||||
List<ExmpManageVO> selectExmpAppDetailList(ExmpManageVO exmpManageVO) throws Exception;
|
List<ExmpManageVO> selectExmpAppDetailList(ExmpManageVO exmpManageVO) throws Exception;
|
||||||
|
|
||||||
Map<String, Object> selectExmpAnswerManagerInfo(ExmpManageVO exmpManageVO);
|
|
||||||
|
|
||||||
RestResponse insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception;
|
RestResponse insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception;
|
||||||
|
|
||||||
void updateExmpManager(ExmpManageVO exmpManageVO);
|
void updateExmpManager(ExmpManageVO exmpManageVO);
|
||||||
|
|||||||
@ -36,10 +36,6 @@ public class ExmpAppManageDAO extends EgovAbstractDAO {
|
|||||||
return (List<ExmpManageVO>)list("ExmpAppManageDAO.selectExmpDetailList", exmpManageVO);
|
return (List<ExmpManageVO>)list("ExmpAppManageDAO.selectExmpDetailList", exmpManageVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String selectOneAdjustExmpCcTy(ExmpManageVO exmpManageVO) {
|
|
||||||
return (String) select("ExmpAppManageDAO.selectOneAdjustExmpCcTy", exmpManageVO);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void insertExmpAppManager(ExmpManageVO exmpManageVO) {
|
public void insertExmpAppManager(ExmpManageVO exmpManageVO) {
|
||||||
insert("ExmpAppManageDAO.insertExmpManager", exmpManageVO);
|
insert("ExmpAppManageDAO.insertExmpManager", exmpManageVO);
|
||||||
|
|
||||||
|
|||||||
@ -69,40 +69,20 @@ public class ExmpAppManageServiceImpl implements ExmpAppManageService {
|
|||||||
return exmpAppManageDAO.selectExmpAppDetailList(exmpManageVO);
|
return exmpAppManageDAO.selectExmpAppDetailList(exmpManageVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Map<String, Object> selectExmpAnswerManagerInfo(ExmpManageVO exmpManageVO) {
|
|
||||||
|
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
|
||||||
|
|
||||||
String ccTy = exmpAppManageDAO.selectOneAdjustExmpCcTy(exmpManageVO);
|
|
||||||
|
|
||||||
if(StringUtils.isEmpty(ccTy))
|
|
||||||
{
|
|
||||||
ccTy = "001";
|
|
||||||
}else {
|
|
||||||
int resutl = Integer.parseInt(ccTy)+1;
|
|
||||||
ccTy = Integer.toString(resutl);
|
|
||||||
}
|
|
||||||
|
|
||||||
map.put("ccTy", ccTy);
|
|
||||||
|
|
||||||
return map;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RestResponse insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception {
|
public RestResponse insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
exmpManageVO.setExmpMgrId(idgenExmpMrgService.getNextStringId());
|
exmpManageVO.setExmpMgrId(idgenExmpMrgService.getNextStringId());
|
||||||
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
||||||
for(ExmpManageVO model : exmpManageVO.getExmpList()){
|
// for(ExmpManageVO model : exmpManageVO.getExmpList()){
|
||||||
model.setExmpMgrId(exmpManageVO.getExmpMgrId());
|
// model.setExmpMgrId(exmpManageVO.getExmpMgrId());
|
||||||
model.setExmpDtlId(idgenExmpDtlService.getNextStringId());
|
// model.setExmpDtlId(idgenExmpDtlService.getNextStringId());
|
||||||
model.setFrstRegisterId(exmpManageVO.getFrstRegisterId());
|
// model.setFrstRegisterId(exmpManageVO.getFrstRegisterId());
|
||||||
model.setLastUpdusrId(exmpManageVO.getLastUpdusrId());
|
// model.setLastUpdusrId(exmpManageVO.getLastUpdusrId());
|
||||||
model.setExmpCcTy(exmpManageVO.getExmpCcTy());
|
// model.setExmpCcTy(exmpManageVO.getExmpCcTy());
|
||||||
exmpAppManageDAO.insertExmpDetailList(model);
|
// exmpAppManageDAO.insertExmpDetailList(model);
|
||||||
}
|
// }
|
||||||
return new RestResponse(HttpStatus.OK, "정상적으로 등록되었습니다.", LocalDateTime.now());
|
return new RestResponse(HttpStatus.OK, "정상적으로 등록되었습니다.", LocalDateTime.now());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return new RestResponse(HttpStatus.BAD_REQUEST, "오류가 발생하였습니다. 관리자에게 문의해 주세요", LocalDateTime.now());
|
return new RestResponse(HttpStatus.BAD_REQUEST, "오류가 발생하였습니다. 관리자에게 문의해 주세요", LocalDateTime.now());
|
||||||
|
|||||||
@ -64,50 +64,50 @@ public class ExmpAppManagerController {
|
|||||||
* @author : 이호영
|
* @author : 이호영
|
||||||
* @date : 2022.10.11
|
* @date : 2022.10.11
|
||||||
* @description : 예문관리 LIST
|
* @description : 예문관리 LIST
|
||||||
* @param exmpAppManageVO
|
* @param exmpManageVO
|
||||||
* @param model
|
* @param model
|
||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerList.do")
|
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerList.do")
|
||||||
public String exmpAppManagerList(@ModelAttribute("exmpAppManageVO") ExmpManageVO exmpAppManageVO , ModelMap model) throws Exception {
|
public String exmpAppManagerList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO , ModelMap model) throws Exception {
|
||||||
if(exmpAppManageVO.getPageUnit() != 10) {
|
if(exmpManageVO.getPageUnit() != 10) {
|
||||||
exmpAppManageVO.setPageUnit(exmpAppManageVO.getPageUnit());
|
exmpManageVO.setPageUnit(exmpManageVO.getPageUnit());
|
||||||
}
|
}
|
||||||
|
|
||||||
if("".equals(exmpAppManageVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
if("".equals(exmpManageVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||||
exmpAppManageVO.setSearchSortCnd("T1.Exmp_CC_TY");
|
exmpManageVO.setSearchSortCnd("T1.Exmp_CC_TY");
|
||||||
exmpAppManageVO.setSearchSortOrd("asc");
|
exmpManageVO.setSearchSortOrd("asc");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** paging */
|
/** paging */
|
||||||
PaginationInfo paginationInfo = new PaginationInfo();
|
PaginationInfo paginationInfo = new PaginationInfo();
|
||||||
paginationInfo.setCurrentPageNo(exmpAppManageVO.getPageIndex());
|
paginationInfo.setCurrentPageNo(exmpManageVO.getPageIndex());
|
||||||
paginationInfo.setRecordCountPerPage(exmpAppManageVO.getPageUnit());
|
paginationInfo.setRecordCountPerPage(exmpManageVO.getPageUnit());
|
||||||
paginationInfo.setPageSize(exmpAppManageVO.getPageSize());
|
paginationInfo.setPageSize(exmpManageVO.getPageSize());
|
||||||
|
|
||||||
exmpAppManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
exmpManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||||
exmpAppManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
exmpManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||||
exmpAppManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||||
|
|
||||||
exmpAppManageVO.setCodeId("02");
|
exmpManageVO.setExmpCd("02");
|
||||||
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpAppManageVO));
|
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
model.addAttribute("list", exmpAppManageService.selectExmpAppManagerList(exmpAppManageVO));
|
model.addAttribute("list", exmpAppManageService.selectExmpAppManagerList(exmpManageVO));
|
||||||
|
|
||||||
return "kccadr/adjPgrMgr/exmp/app/exmpAppManagerList";
|
return "kccadr/adjPgrMgr/exmp/app/exmpAppManagerList";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerCreate.do")
|
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerCreate.do")
|
||||||
public String exmpAppManagerCreate(ExmpManageVO exmpAppManageVO, ModelMap model) throws Exception {
|
public String exmpAppManagerCreate(ExmpManageVO exmpManageVO, ModelMap model) throws Exception {
|
||||||
return "kccadr/adjPgrMgr/exmp/app/exmpAppManagerCreate";
|
return "kccadr/adjPgrMgr/exmp/app/exmpAppManagerCreate";
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerModify.do")
|
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerModify.do")
|
||||||
public String exmpAppManagerModify(@ModelAttribute("exmpAppManageVO") ExmpManageVO exmpAppManageVO , ModelMap model) throws Exception {
|
public String exmpAppManagerModify(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO , ModelMap model) throws Exception {
|
||||||
|
|
||||||
Map<String, Object> resultMap = exmpAppManageService.selectExmpAppManagerInfo(exmpAppManageVO);;
|
Map<String, Object> resultMap = exmpAppManageService.selectExmpAppManagerInfo(exmpManageVO);;
|
||||||
|
|
||||||
model.addAttribute("fileList", resultMap.get("fileList"));
|
model.addAttribute("fileList", resultMap.get("fileList"));
|
||||||
model.addAttribute("mgrInfo", resultMap.get("mgrInfo"));
|
model.addAttribute("mgrInfo", resultMap.get("mgrInfo"));
|
||||||
@ -116,7 +116,7 @@ public class ExmpAppManagerController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/updateExmpManager.do")
|
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/updateExmpManager.do")
|
||||||
public ModelAndView updateExmpManager(@ModelAttribute("exmpAppManageVO") ExmpManageVO exmpAppManageVO
|
public ModelAndView updateExmpManager(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO
|
||||||
,ModelMap model, final MultipartHttpServletRequest multiRequest) throws Exception {
|
,ModelMap model, final MultipartHttpServletRequest multiRequest) throws Exception {
|
||||||
|
|
||||||
ModelAndView modelAndView = new ModelAndView();
|
ModelAndView modelAndView = new ModelAndView();
|
||||||
@ -125,36 +125,36 @@ public class ExmpAppManagerController {
|
|||||||
|
|
||||||
|
|
||||||
String uploadFolder = "";
|
String uploadFolder = "";
|
||||||
String atchFileId = exmpAppManageVO.getAtchFileId();
|
String atchFileId = exmpManageVO.getAtchFileId();
|
||||||
List<FileVO> result = null;
|
List<FileVO> result = null;
|
||||||
|
|
||||||
final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
||||||
if(!files.isEmpty() && StringUtils.isNotBlank(exmpAppManageVO.getAtchFileId())){
|
if(!files.isEmpty() && StringUtils.isNotBlank(exmpManageVO.getAtchFileId())){
|
||||||
FileVO fvo = new FileVO();
|
FileVO fvo = new FileVO();
|
||||||
fvo.setAtchFileId(atchFileId);
|
fvo.setAtchFileId(atchFileId);
|
||||||
int cnt = fileMngService.getMaxFileSN(fvo);
|
int cnt = fileMngService.getMaxFileSN(fvo);
|
||||||
result = fileUtil.parseFileInf(files, "Exmp_" , cnt, atchFileId, uploadFolder, "");
|
result = fileUtil.parseFileInf(files, "Exmp_" , cnt, atchFileId, uploadFolder, "");
|
||||||
fileMngService.updateFileInfs(result);
|
fileMngService.updateFileInfs(result);
|
||||||
}
|
}
|
||||||
exmpAppManageVO.setAtchFileId(atchFileId);
|
exmpManageVO.setAtchFileId(atchFileId);
|
||||||
exmpAppManageVO.setLastUpdusrId(loginVO.getUniqId());
|
exmpManageVO.setLastUpdusrId(loginVO.getUniqId());
|
||||||
|
|
||||||
exmpAppManageService.updateExmpManager(exmpAppManageVO);
|
exmpAppManageService.updateExmpManager(exmpManageVO);
|
||||||
modelAndView.addObject("result", KccadrConstants.SUCCESS);
|
modelAndView.addObject("result", KccadrConstants.SUCCESS);
|
||||||
return modelAndView;
|
return modelAndView;
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = {"/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do"}, method = RequestMethod.POST)
|
@RequestMapping(value = {"/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do"}, method = RequestMethod.POST)
|
||||||
public ResponseEntity<RestResponse> exmpAppManagerCheck(HttpServletRequest request , @RequestBody ExmpManageVO exmpAppManageVO) throws Exception {
|
public ResponseEntity<RestResponse> exmpAppManagerCheck(HttpServletRequest request , @RequestBody ExmpManageVO exmpManageVO) throws Exception {
|
||||||
return ResponseEntity.ok().body(exmpAppManageService.existsExmpManagerDataCheck(exmpAppManageVO));
|
return ResponseEntity.ok().body(exmpAppManageService.existsExmpManagerDataCheck(exmpManageVO));
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value="/kccadr/adjPgrMgr/exmp/insertExmpAppManager.do")
|
@RequestMapping(value="/kccadr/adjPgrMgr/exmp/insertExmpAppManager.do")
|
||||||
public ResponseEntity<RestResponse> insertExmpAppManager(ExmpManageVO exmpAppManageVO, final MultipartHttpServletRequest multiRequest) throws Exception {
|
public ResponseEntity<RestResponse> insertExmpAppManager(ExmpManageVO exmpManageVO, final MultipartHttpServletRequest multiRequest) throws Exception {
|
||||||
|
|
||||||
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||||
|
|
||||||
String atchFileId = exmpAppManageVO.getAtchFileId();
|
String atchFileId = exmpManageVO.getAtchFileId();
|
||||||
List<FileVO> result = null;
|
List<FileVO> result = null;
|
||||||
|
|
||||||
final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
final Map<String, MultipartFile> files = multiRequest.getFileMap();
|
||||||
@ -162,9 +162,9 @@ public class ExmpAppManagerController {
|
|||||||
result = fileUtil.parseFileInf(files, "Exmp_" , 0, atchFileId, "", "");
|
result = fileUtil.parseFileInf(files, "Exmp_" , 0, atchFileId, "", "");
|
||||||
atchFileId = fileMngService.insertFileInfs(result);
|
atchFileId = fileMngService.insertFileInfs(result);
|
||||||
}
|
}
|
||||||
exmpAppManageVO.setAtchFileId(atchFileId);
|
exmpManageVO.setAtchFileId(atchFileId);
|
||||||
exmpAppManageVO.setFrstRegisterId(loginVO.getUniqId());
|
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||||
return ResponseEntity.ok().body(exmpAppManageService.insertExmpAppManager(exmpAppManageVO));
|
return ResponseEntity.ok().body(exmpAppManageService.insertExmpAppManager(exmpManageVO));
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerDetail.do")
|
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpAppManagerDetail.do")
|
||||||
|
|||||||
@ -21,11 +21,11 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
/* 예문 관리 상세 PK */
|
/* 예문 관리 상세 PK */
|
||||||
private String exmpDtlId;
|
private String exmpDtlId;
|
||||||
|
|
||||||
private String expmCcTy;
|
private String exmpCcTy;
|
||||||
|
|
||||||
private String ccTyNm;
|
private String ccTyNm;
|
||||||
|
|
||||||
private String expmTit;
|
private String exmpTit;
|
||||||
|
|
||||||
private String ccTy;
|
private String ccTy;
|
||||||
|
|
||||||
@ -37,14 +37,13 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
|
|
||||||
private String atchFileId;
|
private String atchFileId;
|
||||||
|
|
||||||
private String exmpCcTy;
|
public List<ExmpManageVO> getExmpList() {
|
||||||
|
return exmpList;
|
||||||
private String exmpTit;
|
}
|
||||||
|
|
||||||
private String codeId;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setExmpList(List<ExmpManageVO> exmpList) {
|
||||||
|
this.exmpList = exmpList;
|
||||||
|
}
|
||||||
|
|
||||||
public String getExmpMgrId() {
|
public String getExmpMgrId() {
|
||||||
return exmpMgrId;
|
return exmpMgrId;
|
||||||
@ -62,12 +61,12 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
this.exmpDtlId = exmpDtlId;
|
this.exmpDtlId = exmpDtlId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getExpmCcTy() {
|
public String getExmpCcTy() {
|
||||||
return expmCcTy;
|
return exmpCcTy;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setExpmCcTy(String expmCcTy) {
|
public void setExmpCcTy(String exmpCcTy) {
|
||||||
this.expmCcTy = expmCcTy;
|
this.exmpCcTy = exmpCcTy;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCcTyNm() {
|
public String getCcTyNm() {
|
||||||
@ -78,12 +77,12 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
this.ccTyNm = ccTyNm;
|
this.ccTyNm = ccTyNm;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getExpmTit() {
|
public String getExmpTit() {
|
||||||
return expmTit;
|
return exmpTit;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setExpmTit(String expmTit) {
|
public void setExmpTit(String exmpTit) {
|
||||||
this.expmTit = expmTit;
|
this.exmpTit = exmpTit;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCcTy() {
|
public String getCcTy() {
|
||||||
@ -118,14 +117,6 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
this.exmpCn = exmpCn;
|
this.exmpCn = exmpCn;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<ExmpManageVO> getExmpList() {
|
|
||||||
return exmpList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setExmpList(List<ExmpManageVO> exmpList) {
|
|
||||||
this.exmpList = exmpList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getAtchFileId() {
|
public String getAtchFileId() {
|
||||||
return atchFileId;
|
return atchFileId;
|
||||||
}
|
}
|
||||||
@ -134,29 +125,7 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
this.atchFileId = atchFileId;
|
this.atchFileId = atchFileId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getExmpCcTy() {
|
|
||||||
return exmpCcTy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setExmpCcTy(String exmpCcTy) {
|
|
||||||
this.exmpCcTy = exmpCcTy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getExmpTit() {
|
|
||||||
return exmpTit;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setExmpTit(String exmpTit) {
|
|
||||||
this.exmpTit = exmpTit;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCodeId() {
|
|
||||||
return codeId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCodeId(String codeId) {
|
|
||||||
this.codeId = codeId;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -92,8 +92,8 @@ public class ExmpEffectManagerController {
|
|||||||
exmpManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
exmpManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||||
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||||
|
|
||||||
// 의견 코드
|
// 신청취지 코드
|
||||||
exmpManageVO.setCodeId("05");
|
exmpManageVO.setExmpCd("01");
|
||||||
|
|
||||||
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
@ -115,7 +115,6 @@ public class ExmpEffectManagerController {
|
|||||||
|
|
||||||
model.addAttribute("fileList", resultMap.get("fileList"));
|
model.addAttribute("fileList", resultMap.get("fileList"));
|
||||||
model.addAttribute("mgrInfo", resultMap.get("mgrInfo"));
|
model.addAttribute("mgrInfo", resultMap.get("mgrInfo"));
|
||||||
model.addAttribute("list", resultMap.get("list"));
|
|
||||||
return "kccadr/adjPgrMgr/exmp/effect/exmpEffectManagerModify";
|
return "kccadr/adjPgrMgr/exmp/effect/exmpEffectManagerModify";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,7 +125,7 @@ public class ExmpEffectManagerController {
|
|||||||
|
|
||||||
model.addAttribute("fileList", resultMap.get("fileList"));
|
model.addAttribute("fileList", resultMap.get("fileList"));
|
||||||
model.addAttribute("mgrInfo", resultMap.get("mgrInfo"));
|
model.addAttribute("mgrInfo", resultMap.get("mgrInfo"));
|
||||||
model.addAttribute("list", resultMap.get("list"));
|
// model.addAttribute("list", resultMap.get("list"));
|
||||||
|
|
||||||
return "kccadr/adjPgrMgr/exmp/effect/exmpEffectManagerDetail";
|
return "kccadr/adjPgrMgr/exmp/effect/exmpEffectManagerDetail";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -92,7 +92,7 @@ public class ExmpHelpManagerController {
|
|||||||
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||||
|
|
||||||
// 의견 코드
|
// 의견 코드
|
||||||
exmpManageVO.setCodeId("05");
|
exmpManageVO.setExmpCd("05");
|
||||||
|
|
||||||
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
@ -119,7 +119,7 @@ public class ExmpHelpManagerController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpHelpManagerDetail.do")
|
@RequestMapping(value = "/kccadr/adjPgrMgr/exmp/exmpHelpManagerDetail.do")
|
||||||
public String exmpHelpManagerDetail( ExmpManageVO exmpManageVO , ModelMap model) throws Exception {
|
public String exmpHelpManagerDetail(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO , ModelMap model) throws Exception {
|
||||||
|
|
||||||
Map<String, Object> resultMap = exmpAppManageService.selectExmpAppManagerInfo(exmpManageVO);;
|
Map<String, Object> resultMap = exmpAppManageService.selectExmpAppManagerInfo(exmpManageVO);;
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,7 @@ public class ExmpOpinionManagerController {
|
|||||||
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
exmpManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||||
|
|
||||||
// 의견 코드
|
// 의견 코드
|
||||||
exmpManageVO.setCodeId("CC007");
|
exmpManageVO.setExmpCd("03");
|
||||||
|
|
||||||
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
paginationInfo.setTotalRecordCount(exmpAppManageService.selectExmpAppManagerCount(exmpManageVO));
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
|
|||||||
@ -237,15 +237,15 @@ public class AdjstReqWebController {
|
|||||||
public ResponseEntity<RestResponse> adjstReqOpenExamplePopCn(@RequestBody AdjstReqVO adjstReqVO) throws Exception {
|
public ResponseEntity<RestResponse> adjstReqOpenExamplePopCn(@RequestBody AdjstReqVO adjstReqVO) throws Exception {
|
||||||
System.out.println("adjstReqVO.getExmpCd() :: "+ adjstReqVO.getExmpCd());
|
System.out.println("adjstReqVO.getExmpCd() :: "+ adjstReqVO.getExmpCd());
|
||||||
System.out.println("adjstReqVO.getExmpCcTy() :: "+ adjstReqVO.getExmpCcTy());
|
System.out.println("adjstReqVO.getExmpCcTy() :: "+ adjstReqVO.getExmpCcTy());
|
||||||
AdjstReqVO expm = adjstReqService.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
AdjstReqVO exmp = adjstReqService.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
||||||
|
|
||||||
// if (expm != null && StringUtils.isNotBlank(expm.getAtchFileId())) {
|
// if (exmp != null && StringUtils.isNotBlank(exmp.getAtchFileId())) {
|
||||||
// FileVO fileVO = new FileVO();
|
// FileVO fileVO = new FileVO();
|
||||||
// fileVO.setAtchFileId(expm.getAtchFileId());
|
// fileVO.setAtchFileId(exmp.getAtchFileId());
|
||||||
// List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
// List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
||||||
// model.addAttribute("fileList", fileList);
|
// model.addAttribute("fileList", fileList);
|
||||||
// }
|
// }
|
||||||
return ResponseEntity.ok().body(new RestResponse(HttpStatus.OK, expm.getExmpCn(), LocalDateTime.now()));
|
return ResponseEntity.ok().body(new RestResponse(HttpStatus.OK, exmp.getExmpCn(), LocalDateTime.now()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -253,14 +253,14 @@ public class AdjstReqWebController {
|
|||||||
*/
|
*/
|
||||||
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do")
|
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do")
|
||||||
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
||||||
AdjstReqVO expm = adjstReqService.selectAdjstReqOpenAnswerExamplePop(adjstReqVO);
|
AdjstReqVO exmp = adjstReqService.selectAdjstReqOpenAnswerExamplePop(adjstReqVO);
|
||||||
if (expm != null && StringUtils.isNotBlank(expm.getAtchFileId())) {
|
if (exmp != null && StringUtils.isNotBlank(exmp.getAtchFileId())) {
|
||||||
FileVO fileVO = new FileVO();
|
FileVO fileVO = new FileVO();
|
||||||
fileVO.setAtchFileId(expm.getAtchFileId());
|
fileVO.setAtchFileId(exmp.getAtchFileId());
|
||||||
List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
||||||
model.addAttribute("fileList", fileList);
|
model.addAttribute("fileList", fileList);
|
||||||
}
|
}
|
||||||
model.addAttribute("expm", expm);
|
model.addAttribute("exmp", exmp);
|
||||||
return "/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop";
|
return "/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -398,17 +398,15 @@ public class AdjstExpController {
|
|||||||
*/
|
*/
|
||||||
@RequestMapping("/web/kccadr/adjstExp/popup/adjstReqOpenExamplePopCn.do")
|
@RequestMapping("/web/kccadr/adjstExp/popup/adjstReqOpenExamplePopCn.do")
|
||||||
public ResponseEntity<RestResponse> adjstReqOpenExamplePopCn(@RequestBody AdjstReqVO adjstReqVO) throws Exception {
|
public ResponseEntity<RestResponse> adjstReqOpenExamplePopCn(@RequestBody AdjstReqVO adjstReqVO) throws Exception {
|
||||||
System.out.println("adjstReqVO.getExmpCd() :: "+ adjstReqVO.getExmpCd());
|
AdjstReqVO exmp = adjstReqService.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
||||||
System.out.println("adjstReqVO.getExmpCcTy() :: "+ adjstReqVO.getExmpCcTy());
|
|
||||||
AdjstReqVO expm = adjstReqService.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
|
||||||
|
|
||||||
// if (expm != null && StringUtils.isNotBlank(expm.getAtchFileId())) {
|
// if (exmp != null && StringUtils.isNotBlank(exmp.getAtchFileId())) {
|
||||||
// FileVO fileVO = new FileVO();
|
// FileVO fileVO = new FileVO();
|
||||||
// fileVO.setAtchFileId(expm.getAtchFileId());
|
// fileVO.setAtchFileId(exmp.getAtchFileId());
|
||||||
// List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
// List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
||||||
// model.addAttribute("fileList", fileList);
|
// model.addAttribute("fileList", fileList);
|
||||||
// }
|
// }
|
||||||
return ResponseEntity.ok().body(new RestResponse(HttpStatus.OK, expm.getExmpCn(), LocalDateTime.now()));
|
return ResponseEntity.ok().body(new RestResponse(HttpStatus.OK, exmp.getExmpCn(), LocalDateTime.now()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
COUNT(1) AS TOT
|
COUNT(1) AS TOT
|
||||||
FROM ADR_EXMP_MGR T1
|
FROM ADR_EXMP_MGR T1
|
||||||
WHERE CODE_ID = #codeId#
|
WHERE T1.EXMP_CD = #exmpCd#
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||||
( T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') OR
|
( T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') OR
|
||||||
@ -35,9 +35,8 @@
|
|||||||
, T1.FRST_REGISTER_ID AS frstRegisterId
|
, T1.FRST_REGISTER_ID AS frstRegisterId
|
||||||
, TO_CHAR(T1.LAST_UPDT_PNTTM, 'YYYY-MM-DD') AS lastUpdtPnttm
|
, TO_CHAR(T1.LAST_UPDT_PNTTM, 'YYYY-MM-DD') AS lastUpdtPnttm
|
||||||
, T1.LAST_UPDUSR_ID AS lastUpdusrId
|
, T1.LAST_UPDUSR_ID AS lastUpdusrId
|
||||||
, T1.CODE_ID AS codeId
|
|
||||||
FROM ADR_EXMP_MGR T1
|
FROM ADR_EXMP_MGR T1
|
||||||
WHERE T1.CODE_ID = #codeId#
|
WHERE T1.EXMP_CD = #exmpCd#
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||||
( T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') OR
|
( T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') OR
|
||||||
@ -90,20 +89,22 @@
|
|||||||
|
|
||||||
INSERT INTO ADR_EXMP_MGR (
|
INSERT INTO ADR_EXMP_MGR (
|
||||||
EXMP_MGR_ID
|
EXMP_MGR_ID
|
||||||
|
, EXMP_CD
|
||||||
, EXMP_CC_TY
|
, EXMP_CC_TY
|
||||||
, EXMP_TIT
|
, EXMP_TIT
|
||||||
|
, EXMP_CN
|
||||||
, ATCH_FILE_ID
|
, ATCH_FILE_ID
|
||||||
, FRST_REGIST_PNTTM
|
, FRST_REGIST_PNTTM
|
||||||
, FRST_REGISTER_ID
|
, FRST_REGISTER_ID
|
||||||
, CODE_ID
|
|
||||||
) VALUES (
|
) VALUES (
|
||||||
#exmpMgrId#
|
#exmpMgrId#
|
||||||
|
, #exmpCd#
|
||||||
, #exmpCcTy#
|
, #exmpCcTy#
|
||||||
, #exmpTit#
|
, #exmpTit#
|
||||||
|
, #exmpCn#
|
||||||
, #atchFileId#
|
, #atchFileId#
|
||||||
, NOW()
|
, NOW()
|
||||||
, #frstRegisterId#
|
, #frstRegisterId#
|
||||||
, #codeId#
|
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
@ -143,7 +144,6 @@
|
|||||||
, FRST_REGISTER_ID AS frstRegisterId
|
, FRST_REGISTER_ID AS frstRegisterId
|
||||||
, LAST_UPDT_PNTTM AS lastUpdtPnttm
|
, LAST_UPDT_PNTTM AS lastUpdtPnttm
|
||||||
, LAST_UPDUSR_ID AS lastUpdusrId
|
, LAST_UPDUSR_ID AS lastUpdusrId
|
||||||
, CODE_ID AS codeId
|
|
||||||
FROM ADR_EXMP_MGR
|
FROM ADR_EXMP_MGR
|
||||||
WHERE EXMP_MGR_ID = #exmpMgrId#
|
WHERE EXMP_MGR_ID = #exmpMgrId#
|
||||||
<!-- <isNotEmpty prepend="AND" property="exmpCcTy"> -->
|
<!-- <isNotEmpty prepend="AND" property="exmpCcTy"> -->
|
||||||
@ -159,18 +159,10 @@
|
|||||||
EXMP_MGR_ID
|
EXMP_MGR_ID
|
||||||
FROM ADR_EXMP_MGR
|
FROM ADR_EXMP_MGR
|
||||||
WHERE EXMP_CC_TY = #exmpCcTy#
|
WHERE EXMP_CC_TY = #exmpCcTy#
|
||||||
AND CODE_ID = #codeId#
|
AND EXMP_CD = #exmpCd#
|
||||||
)
|
)
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="ExmpAppManageDAO.selectOneAdjustExmpCcTy" parameterClass="exmpManageVO" resultClass="String">
|
|
||||||
SELECT
|
|
||||||
EXMP_CC_TY AS exmpCcTy
|
|
||||||
FROM ADR_EXMP_MGR
|
|
||||||
WHERE CODE_ID = #codeId#
|
|
||||||
ORDER BY EXMP_CC_TY DESC
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<select id="ExmpAppManageDAO.selectExmpDetailList" parameterClass="exmpManageVO" resultClass="exmpManageVO">
|
<select id="ExmpAppManageDAO.selectExmpDetailList" parameterClass="exmpManageVO" resultClass="exmpManageVO">
|
||||||
SELECT
|
SELECT
|
||||||
EXMP_MGR_ID AS exmpMgrId
|
EXMP_MGR_ID AS exmpMgrId
|
||||||
|
|||||||
@ -36,63 +36,6 @@ $(document).ready( function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncRowAdd(){
|
|
||||||
// 등록가능한 갯수
|
|
||||||
var len = $("select[name*=exmpCd]:first option").length;
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
var obj = $(".addTb > table > tbody > tr:last");
|
|
||||||
|
|
||||||
var cloneObj = obj.clone(true);
|
|
||||||
console.log('cloneObj : ',cloneObj);
|
|
||||||
if(len == 0 || rowLen >= (len-1)){
|
|
||||||
alert("등록가능한 항목은 갯수는 " + (len-1) + "개 입니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
var exmpCd = cloneObj.find("select[name*=exmpCd]");
|
|
||||||
var exmpCn = cloneObj.find("textarea[name*=exmpCn]");
|
|
||||||
exmpCd.val("");
|
|
||||||
exmpCn.val("");
|
|
||||||
exmpCd.attr("name", exmpCd.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
exmpCn.attr("name", exmpCn.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
obj.after(cloneObj);
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncRowDel(){
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
if(rowLen == 1){
|
|
||||||
alert("더이상 삭제할 수 없습니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$(".addTb > table > tbody > tr:last").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
// function fncSave(){
|
|
||||||
// var exmpCcTy = "<c:out value='${mgrInfo.exmpCcTy}' />";
|
|
||||||
// if(exmpCcTy != ''){
|
|
||||||
// saveProcess();
|
|
||||||
// }else{
|
|
||||||
// $.ajax({
|
|
||||||
// type: "POST",
|
|
||||||
// url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
|
||||||
// data: JSON.stringify({exmpCcTy : 0
|
|
||||||
// ,codeId : $('#codeId').val()}),
|
|
||||||
// dataType:'json',
|
|
||||||
// async: false,
|
|
||||||
// processData: false,
|
|
||||||
// contentType: "application/json",
|
|
||||||
// cache: false,
|
|
||||||
// success: function (data) {
|
|
||||||
// if(data.status == "OK"){
|
|
||||||
// saveProcess();
|
|
||||||
// }else{
|
|
||||||
// alert(data.message);
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
function saveProcess(){
|
function saveProcess(){
|
||||||
if(!validation()){
|
if(!validation()){
|
||||||
@ -115,7 +58,7 @@ function saveProcess(){
|
|||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
if(returnData.status == "OK"){
|
if(returnData.status == "OK"){
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
fncDetail();
|
fncGoList();
|
||||||
}else{
|
}else{
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
}
|
}
|
||||||
@ -140,18 +83,13 @@ function validation(){
|
|||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var cn = $('#exmpCn').val();
|
||||||
var validArr = [];
|
|
||||||
$.each(obj , function(idx, elm){
|
|
||||||
var cn = $(this).find("textarea[name*=exmpCn]").val();
|
|
||||||
|
|
||||||
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
|
||||||
|
|
||||||
|
|
||||||
if(cn == ''){
|
if(cn == ''){
|
||||||
alert("예문내용을 입력해주세요.["+(idx+1)+"]");
|
alert("예문내용을 입력해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
var textLen = conByteLeng(cn);
|
||||||
|
|
||||||
if(Number(textLen) > 2000){
|
if(Number(textLen) > 2000){
|
||||||
|
|
||||||
@ -160,18 +98,6 @@ function validation(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
|
||||||
var checkObj = validArr.reduce((accu, curr) => {
|
|
||||||
accu[curr] = (accu[curr] || 0)+1;
|
|
||||||
return accu;
|
|
||||||
}, {});
|
|
||||||
|
|
||||||
$.each(checkObj, function(key, value){
|
|
||||||
if(parseInt(value) > 1){
|
|
||||||
alert("동일한 항목을 중복으로 등록하실 수 없습니다.");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return flag;
|
return flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,13 +106,6 @@ function fncGoList(){
|
|||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAnswerManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAnswerManagerList.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncDetail(){
|
|
||||||
var varFrom = document.getElementById("createForm");
|
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAnswerManagerDetail.do'/>";
|
|
||||||
varFrom.submit();
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
#exmpTit{width: 95%}
|
#exmpTit{width: 95%}
|
||||||
@ -199,7 +118,7 @@ function fncDetail(){
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpCcTy" id="exmpCcTy" value="" />
|
<input type="hidden" name="exmpCcTy" id="exmpCcTy" value="" />
|
||||||
<!-- <input type="hidden" name="exmpTit" value="답변서예문" /> -->
|
<!-- <input type="hidden" name="exmpTit" value="답변서예문" /> -->
|
||||||
|
|
||||||
@ -209,18 +128,17 @@ function fncDetail(){
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>답변서예문등록</h2>
|
<h2>답변서예문관리 등록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>답변서예문관리</p></li>
|
<li><span class="cur_nav">답변서예문관리 등록</span></li>
|
||||||
<li><span class="cur_nav">답변서예문등록</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<p class="tb_tit">답변서</p>
|
<p class="tb_tit">기본 정보</p>
|
||||||
<div class="tbType02">
|
<div class="tbType02">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -236,18 +154,6 @@ function fncDetail(){
|
|||||||
<td>
|
<td>
|
||||||
<input type="text" placeholder="제목을 입력해주세요." name="exmpTit" id="exmpTit" value="<c:out value='${mgrInfo.exmpTit}' />">
|
<input type="text" placeholder="제목을 입력해주세요." name="exmpTit" id="exmpTit" value="<c:out value='${mgrInfo.exmpTit}' />">
|
||||||
</td>
|
</td>
|
||||||
<!-- <th>저작물종류</th> -->
|
|
||||||
<!-- <td> -->
|
|
||||||
<%-- <c:choose> --%>
|
|
||||||
<%-- <c:when test="${not empty mgrInfo}"> --%>
|
|
||||||
<%-- <kc:code codeId="CC002" code="${mgrInfo.exmpCcTy}"/> --%>
|
|
||||||
<%-- <input type="hidden" name="exmpCcTy" value="<c:out value='${mgrInfo.exmpCcTy}'/>"/> --%>
|
|
||||||
<%-- </c:when> --%>
|
|
||||||
<%-- <c:otherwise> --%>
|
|
||||||
<%-- <kc:select codeId="CC002" name="exmpCcTy" id="exmpCcTy" defaultText="선택" defaultValue="" selectedValue="${mgrInfo.exmpCcTy}"/> --%>
|
|
||||||
<%-- </c:otherwise> --%>
|
|
||||||
<%-- </c:choose> --%>
|
|
||||||
<!-- </td> -->
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="">첨부파일</span></th>
|
<th><span class="">첨부파일</span></th>
|
||||||
@ -324,49 +230,24 @@ function fncDetail(){
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>예문내용</p>
|
<p>답변서</p>
|
||||||
<!-- <div class="btn_wrap"> -->
|
|
||||||
<!-- <button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button> -->
|
|
||||||
<!-- <button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button> -->
|
|
||||||
<!-- </div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<%-- <col style="width: 27%"> --%>
|
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<!-- <th>항목</th> -->
|
|
||||||
<th>예문내용</th>
|
<th>예문내용</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:choose>
|
|
||||||
<c:when test="${fn:length(list) eq 0}">
|
|
||||||
<tr>
|
<tr>
|
||||||
<!-- <td> -->
|
|
||||||
<%-- <kc:select codeId="CC040" name="exmpList[0].exmpCd" id="test" defaultText="선택" defaultValue="" selectedValue="" css="style='width:200px; height:38px;'"/> --%>
|
|
||||||
<!-- </td> -->
|
|
||||||
<td>
|
<td>
|
||||||
<textarea name="exmpList[0].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"></textarea>
|
<textarea name="exmpCn" id="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:when>
|
|
||||||
<c:otherwise>
|
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
|
||||||
<!-- <td> -->
|
|
||||||
<%-- <kc:select codeId="CC040" name="exmpList[${status.index}].exmpCd" defaultText="선택" defaultValue="" selectedValue="${list.exmpCd}" css="style='width:200px; height:38px;'"/> --%>
|
|
||||||
<!-- </td> -->
|
|
||||||
<td>
|
|
||||||
<textarea name="exmpList[<c:out value='${status.index}' />].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"><c:out value='${list.exmpCn}' /></textarea>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</c:forEach>
|
|
||||||
</c:otherwise>
|
|
||||||
</c:choose>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -53,19 +53,18 @@
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>답변서예문상세</h2>
|
<h2>답변서예문관리 상세</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>답변서예문관리</p></li>
|
<li><span class="cur_nav">답변서예문관리 상세</span></li>
|
||||||
<li><span class="cur_nav">답변서예문상세</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -115,6 +114,7 @@
|
|||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
|
<%-- <col style="width: 20%"> --%>
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
@ -123,13 +123,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<c:out value="${fn:replace(list.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
<c:out value="${fn:replace(mgrInfo.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -81,7 +81,7 @@
|
|||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
||||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="0" />
|
<input type="hidden" name="exmpMgrId" value="0" />
|
||||||
|
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
@ -89,13 +89,13 @@
|
|||||||
|
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>답변서예문관리</h2>
|
<h2>답변서예문관리 목록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li>
|
<li>
|
||||||
<p>조정진행관리</p>
|
<p>조정진행관리</p>
|
||||||
</li>
|
</li>
|
||||||
<li><span class="cur_nav">답변서예문관리</span></li>
|
<li><span class="cur_nav">답변서예문관리 목록</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|||||||
@ -147,12 +147,12 @@
|
|||||||
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
||||||
|
|
||||||
if(cd == ''){
|
if(cd == ''){
|
||||||
alert("항목을 선택해주세요.["+(idx+1)+"]");
|
alert("항목을 선택해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cn == ''){
|
if(cn == ''){
|
||||||
alert("예문내용을 입력해주세요.["+(idx+1)+"]");
|
alert("예문내용을 입력해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,19 +204,18 @@
|
|||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value='${mgrInfo.codeId}' />">
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
|
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>답변서예문수정</h2>
|
<h2>답변서예문관리 수정</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>답변서예문관리</p></li>
|
<li><span class="cur_nav">답변서예문관리 수정</span></li>
|
||||||
<li><span class="cur_nav">답변서예문수정</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -328,14 +327,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
<tr>
|
||||||
<input type="hidden" name="exmpList[${status.index}].exmpDtlId" value="<c:out value='${list.exmpDtlId}' />">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<td>
|
<textarea name="exmpCn" id="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"><c:out value='${mgrInfo.exmpCn}' /></textarea>
|
||||||
<textarea name="exmpList[<c:out value='${status.index}' />].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"><c:out value='${list.exmpCn}' /></textarea>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -36,36 +36,6 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncRowAdd(){
|
|
||||||
// 등록가능한 갯수
|
|
||||||
var len = $("select[name*=exmpCd]:first option").length;
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
var obj = $(".addTb > table > tbody > tr:last");
|
|
||||||
|
|
||||||
var cloneObj = obj.clone(true);
|
|
||||||
console.log('cloneObj : ',cloneObj);
|
|
||||||
if(len == 0 || rowLen >= (len-1)){
|
|
||||||
alert("등록가능한 항목은 갯수는 " + (len-1) + "개 입니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
var exmpCd = cloneObj.find("select[name*=exmpCd]");
|
|
||||||
var exmpCn = cloneObj.find("textarea[name*=exmpCn]");
|
|
||||||
exmpCd.val("");
|
|
||||||
exmpCn.val("");
|
|
||||||
exmpCd.attr("name", exmpCd.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
exmpCn.attr("name", exmpCn.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
obj.after(cloneObj);
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncRowDel(){
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
if(rowLen == 1){
|
|
||||||
alert("더이상 삭제할 수 없습니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$(".addTb > table > tbody > tr:last").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncSave(){
|
function fncSave(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
@ -203,18 +173,17 @@
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" id="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청원인예문관리</h2>
|
<h2>신청원인예문관리 등록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>신청서예문관리</p></li>
|
<li><span class="cur_nav">신청원인예문관리 등록</span></li>
|
||||||
<li><span class="cur_nav">신청서예문등록</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -314,7 +283,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"></textarea>
|
<textarea name="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -53,19 +53,18 @@
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청서예문상세</h2>
|
<h2>신청원인예문관리 상세</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>신청서예문관리</p></li>
|
<li><span class="cur_nav">신청원인예문관리 상세</span></li>
|
||||||
<li><span class="cur_nav">신청서예문상세</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|||||||
@ -11,15 +11,15 @@
|
|||||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
||||||
<%
|
<%
|
||||||
/**
|
/**
|
||||||
* @Class Name : AdjustDeptManagerList.jsp
|
* @Class Name : exmpOpinionManagerList.jsp
|
||||||
* @Description : 조정부관리
|
* @Description : 신청원인 예문 관리
|
||||||
* @Modification Information
|
* @Modification Information
|
||||||
* @
|
* @
|
||||||
* @ 수정일 수정자 수정내용
|
* @ 수정일 수정자 수정내용
|
||||||
* @ ------- -------- ---------------------------
|
* @ ------- -------- ---------------------------
|
||||||
* @ 2021.08.09 김봉호 최초 생성
|
* @ 2022.10.12 이호영 최초 생성
|
||||||
* @author 김봉호
|
* @author 이호영
|
||||||
* @since 2021.08.21
|
* @since 2021.10.12
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
* @see
|
* @see
|
||||||
*
|
*
|
||||||
@ -78,11 +78,11 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form:form id="listForm" name="listForm" method="post">
|
<form:form id="listForm" name="listForm" method="post">
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpAppManageVO.pageIndex}' default='1' />"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
||||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpAppManageVO.searchSortCnd}" />" />
|
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpAppManageVO.searchSortOrd}" />" />
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpAppManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="expmCcTy" value="" />
|
<input type="hidden" name="exmpCcTy" value="" />
|
||||||
<input type="hidden" name="exmpMgrId" value="" />
|
<input type="hidden" name="exmpMgrId" value="" />
|
||||||
|
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
@ -90,13 +90,13 @@
|
|||||||
|
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청원인예문관리</h2>
|
<h2>신청원인예문관리 목록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li>
|
<li>
|
||||||
<p>조정진행관리</p>
|
<p>조정진행관리</p>
|
||||||
</li>
|
</li>
|
||||||
<li><span class="cur_nav">신청원인예문관리</span></li>
|
<li><span class="cur_nav">신청원인예문관리 목록</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -107,11 +107,11 @@
|
|||||||
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
|
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
|
||||||
<div class="list_util">
|
<div class="list_util">
|
||||||
<select name="searchCondition" id="searchCondition">
|
<select name="searchCondition" id="searchCondition">
|
||||||
<option value="" <c:if test="${empty exmpAppManageVO.searchCondition}">selected="selected"</c:if>>전체</option>
|
<option value="" <c:if test="${empty exmpManageVO.searchCondition}">selected="selected"</c:if>>전체</option>
|
||||||
<option value="1" <c:if test="${exmpAppManageVO.searchCondition eq '1'}">selected="selected"</c:if>>제목</option>
|
<option value="1" <c:if test="${exmpManageVO.searchCondition eq '1'}">selected="selected"</c:if>>제목</option>
|
||||||
<option value="2" <c:if test="${exmpAppManageVO.searchCondition eq '2'}">selected="selected"</c:if>>항목</option>
|
<option value="2" <c:if test="${exmpManageVO.searchCondition eq '2'}">selected="selected"</c:if>>항목</option>
|
||||||
</select>
|
</select>
|
||||||
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${exmpAppManageVO.searchKeyword}'/>">
|
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${exmpManageVO.searchKeyword}'/>">
|
||||||
<button class="btn_search" onclick="fncSelectConciliatorManageList(); return false;">검색</button>
|
<button class="btn_search" onclick="fncSelectConciliatorManageList(); return false;">검색</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -137,11 +137,11 @@
|
|||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
<c:forEach var="list" items="${list}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<c:if test="${exmpAppManageVO.searchSortOrd eq 'desc' }">
|
<c:if test="${exmpManageVO.searchSortOrd eq 'desc' }">
|
||||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((exmpAppManageVO.pageIndex -1)*exmpAppManageVO.pageUnit) ) - status.index }"/>
|
<c:out value="${ ( paginationInfo.totalRecordCount - ((exmpManageVO.pageIndex -1)*exmpManageVO.pageUnit) ) - status.index }"/>
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${exmpAppManageVO.searchSortOrd eq 'asc' }">
|
<c:if test="${exmpManageVO.searchSortOrd eq 'asc' }">
|
||||||
<c:out value="${(exmpAppManageVO.pageIndex - 1) * exmpAppManageVO.pageUnit + status.count}"/>
|
<c:out value="${(exmpManageVO.pageIndex - 1) * exmpManageVO.pageUnit + status.count}"/>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@ -196,27 +196,26 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form:form id="modifyForm" name="modifyForm" commandName="exmpAppManageVO" method="post">
|
<form:form id="modifyForm" name="modifyForm" commandName="exmpManageVO" method="post">
|
||||||
<input type="hidden" name="atchFileId" value="<c:out value='${mgrInfo.atchFileId}'/>"/>
|
<input type="hidden" name="atchFileId" value="<c:out value='${mgrInfo.atchFileId}'/>"/>
|
||||||
<input type="hidden" name="limitcount" value="3" /><!-- 최대 업로드 파일갯수 -->
|
<input type="hidden" name="limitcount" value="3" /><!-- 최대 업로드 파일갯수 -->
|
||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpAppManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpAppManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpAppManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpAppManageVO.searchSortOrd}" />"/>
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value='${mgrInfo.codeId}' />">
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
|
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청서예문수정</h2>
|
<h2>신청원인예문관리 수정</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>신청서예문관리</p></li>
|
<li><span class="cur_nav">신청원인예문관리 수정</span></li>
|
||||||
<li><span class="cur_nav">신청서예문수정</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -322,11 +321,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>항목추가</p>
|
<p><kc:code codeId="CC040" code="${mgrInfo.exmpCd}"/></p>
|
||||||
<!-- <div class="btn_wrap"> -->
|
|
||||||
<!-- <button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button> -->
|
|
||||||
<!-- <button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button> -->
|
|
||||||
<!-- </div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
@ -36,65 +36,9 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncRowAdd(){
|
|
||||||
// 등록가능한 갯수
|
|
||||||
var len = $("select[name*=exmpCd]:first option").length;
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
var obj = $(".addTb > table > tbody > tr:last");
|
|
||||||
|
|
||||||
var cloneObj = obj.clone(true);
|
|
||||||
console.log('cloneObj : ',cloneObj);
|
|
||||||
if(len == 0 || rowLen >= (len-1)){
|
|
||||||
alert("등록가능한 항목은 갯수는 " + (len-1) + "개 입니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
var exmpCd = cloneObj.find("select[name*=exmpCd]");
|
|
||||||
var exmpCn = cloneObj.find("textarea[name*=exmpCn]");
|
|
||||||
exmpCd.val("");
|
|
||||||
exmpCn.val("");
|
|
||||||
exmpCd.attr("name", exmpCd.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
exmpCn.attr("name", exmpCn.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
obj.after(cloneObj);
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncRowDel(){
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
if(rowLen == 1){
|
|
||||||
alert("더이상 삭제할 수 없습니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$(".addTb > table > tbody > tr:last").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncSave(){
|
function fncSave(){
|
||||||
var exmpCcTy = "<c:out value='${mgrInfo.exmpCcTy}' />";
|
|
||||||
if(exmpCcTy != ''){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
|
||||||
data: JSON.stringify({exmpCcTy : $("#exmpCcTy").val()
|
|
||||||
,codeId : $('#codeId').val()}),
|
|
||||||
dataType:'json',
|
|
||||||
async: false,
|
|
||||||
processData: false,
|
|
||||||
contentType: "application/json",
|
|
||||||
cache: false,
|
|
||||||
success: function (returnData) {
|
|
||||||
if(returnData.status == "OK"){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
alert(returnData.data);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function saveProcess(){
|
|
||||||
if(!validation()){
|
if(!validation()){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -115,7 +59,7 @@
|
|||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
if(returnData.status == "OK"){
|
if(returnData.status == "OK"){
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
fncDetail();
|
fncGoList();
|
||||||
}else{
|
}else{
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
}
|
}
|
||||||
@ -140,28 +84,13 @@
|
|||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($("#exmpCcTy").val() == ''){
|
var cn = $('#exmpCn').val();
|
||||||
alert("저작물을 선택해주세요.");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
var validArr = [];
|
|
||||||
$.each(obj , function(idx, elm){
|
|
||||||
var cd = $(this).find("select[name*=exmpCd]").val();
|
|
||||||
var cn = $(this).find("textarea[name*=exmpCn]").val();
|
|
||||||
validArr[idx] = cd;
|
|
||||||
|
|
||||||
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
|
||||||
|
|
||||||
if(cd == ''){
|
|
||||||
alert("항목을 선택해주세요.["+(idx+1)+"]");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(cn == ''){
|
if(cn == ''){
|
||||||
alert("예문내용을 입력해주세요.["+(idx+1)+"]");
|
alert("예문내용을 입력해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
var textLen = conByteLeng(cn);
|
||||||
|
|
||||||
if(Number(textLen) > 2000){
|
if(Number(textLen) > 2000){
|
||||||
|
|
||||||
@ -170,30 +99,12 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
|
||||||
var checkObj = validArr.reduce((accu, curr) => {
|
|
||||||
accu[curr] = (accu[curr] || 0)+1;
|
|
||||||
return accu;
|
|
||||||
}, {});
|
|
||||||
|
|
||||||
$.each(checkObj, function(key, value){
|
|
||||||
if(parseInt(value) > 1){
|
|
||||||
alert("동일한 항목을 중복으로 등록하실 수 없습니다.");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return flag;
|
return flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var varFrom = document.getElementById("createForm");
|
var varFrom = document.getElementById("createForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerList.do'/>";
|
||||||
varFrom.submit();
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncDetail(){
|
|
||||||
var varFrom = document.getElementById("createForm");
|
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerDetail.do'/>";
|
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -208,24 +119,23 @@
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청서예문등록</h2>
|
<h2>신청취지예문관리 등록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>신청서예문관리</p></li>
|
<li><span class="cur_nav">신청취지예문관리 등록</span></li>
|
||||||
<li><span class="cur_nav">신청서예문등록</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<p class="tb_tit">예문 저작물종류</p>
|
<p class="tb_tit">기본 정보</p>
|
||||||
<div class="tbType02">
|
<div class="tbType02">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -241,11 +151,6 @@
|
|||||||
<td>
|
<td>
|
||||||
<input type="text" placeholder="제목을 입력해주세요." name="exmpTit" id="exmpTit" value="">
|
<input type="text" placeholder="제목을 입력해주세요." name="exmpTit" id="exmpTit" value="">
|
||||||
</td>
|
</td>
|
||||||
<th>저작물종류</th>
|
|
||||||
<td>
|
|
||||||
<kc:select codeId="CC002" name="exmpCcTy" id="exmpCcTy" defaultText="선택" defaultValue="" selectedValue="${mgrInfo.exmpCcTy}"/>
|
|
||||||
<%-- <kc:select codeId="CC002" name="exmpCcTy" id="exmpCcTy" defaultText="선택" defaultValue=""/> --%>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="">첨부파일</span></th>
|
<th><span class="">첨부파일</span></th>
|
||||||
@ -304,31 +209,22 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>항목추가</p>
|
<p>신청취지</p>
|
||||||
<div class="btn_wrap">
|
|
||||||
<button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button>
|
|
||||||
<button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 27%">
|
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>항목</th>
|
|
||||||
<th>예문내용</th>
|
<th>예문내용</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<kc:select codeId="CC040" name="exmpList[0].exmpCd" id="test" defaultText="선택" defaultValue="" selectedValue="" css="style='width:200px; height:38px;'"/>
|
<textarea name="exmpCn" id="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"></textarea>
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<textarea name="exmpList[0].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"></textarea>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -36,13 +36,13 @@
|
|||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var varFrom = document.getElementById("detailForm");
|
var varFrom = document.getElementById("detailForm");
|
||||||
varFrom.exmpCcTy.value = '';
|
varFrom.exmpCcTy.value = '';
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerList.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncEdit(){
|
function fncEdit(){
|
||||||
var varFrom = document.getElementById("detailForm");
|
var varFrom = document.getElementById("detailForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerModify.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerModify.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -53,25 +53,24 @@
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청서예문상세</h2>
|
<h2>신청취지예문관리 상세</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>신청서예문관리</p></li>
|
<li><span class="cur_nav">신청취지예문관리 상세</span></li>
|
||||||
<li><span class="cur_nav">신청서예문상세</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<p class="tb_tit">예문 저작물종류</p>
|
<p class="tb_tit">기본정보</p>
|
||||||
<div class="tbType02">
|
<div class="tbType02">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -87,10 +86,6 @@
|
|||||||
<td>
|
<td>
|
||||||
<c:out value='${mgrInfo.exmpTit}' />
|
<c:out value='${mgrInfo.exmpTit}' />
|
||||||
</td>
|
</td>
|
||||||
<th>저작물종류</th>
|
|
||||||
<td>
|
|
||||||
<kc:code codeId="CC002" code="${mgrInfo.exmpCcTy}"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<c:if test="${not empty fileList }">
|
<c:if test="${not empty fileList }">
|
||||||
<tr>
|
<tr>
|
||||||
@ -110,49 +105,25 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>항목추가</p>
|
<p><kc:code codeId="CC040" code="${mgrInfo.exmpCd}"/></p>
|
||||||
<%--<div class="btn_wrap">
|
|
||||||
<button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button>
|
|
||||||
<button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button>
|
|
||||||
</div>--%>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 20%">
|
<%-- <col style="width: 20%"> --%>
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>항목</th>
|
|
||||||
<th>예문내용</th>
|
<th>예문내용</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:choose>
|
|
||||||
<c:when test="${fn:length(list) eq 0}">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
|
||||||
<kc:select codeId="CC040" name="exmpList[0].exmpCd" id="test" defaultText="선택" defaultValue="" selectedValue="" css="style='width:200px; height:38px;'"/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<textarea name="exmpList[0].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"></textarea>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</c:when>
|
|
||||||
<c:otherwise>
|
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<kc:code codeId="CC040" code="${list.exmpCd}"/>
|
|
||||||
</td>
|
|
||||||
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<c:out value="${fn:replace(list.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
<c:out value="${fn:replace(mgrInfo.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
|
||||||
</c:otherwise>
|
|
||||||
</c:choose>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -11,15 +11,15 @@
|
|||||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
||||||
<%
|
<%
|
||||||
/**
|
/**
|
||||||
* @Class Name : AdjustDeptManagerList.jsp
|
* @Class Name : exmpOpinionManagerList.jsp
|
||||||
* @Description : 조정부관리
|
* @Description : 신청취지 예문 관리
|
||||||
* @Modification Information
|
* @Modification Information
|
||||||
* @
|
* @
|
||||||
* @ 수정일 수정자 수정내용
|
* @ 수정일 수정자 수정내용
|
||||||
* @ ------- -------- ---------------------------
|
* @ ------- -------- ---------------------------
|
||||||
* @ 2021.08.09 김봉호 최초 생성
|
* @ 2022.10.12 이호영 최초 생성
|
||||||
* @author 김봉호
|
* @author 이호영
|
||||||
* @since 2021.08.21
|
* @since 2021.10.12
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
* @see
|
* @see
|
||||||
*
|
*
|
||||||
@ -39,13 +39,13 @@
|
|||||||
listForm.pageIndex.value = pageNo ;
|
listForm.pageIndex.value = pageNo ;
|
||||||
listForm.searchCondition.value = $('#searchCondition').val();
|
listForm.searchCondition.value = $('#searchCondition').val();
|
||||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerList.do'/>";
|
listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerList.do'/>";
|
||||||
listForm.submit();
|
listForm.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncCreate() {
|
function fncCreate() {
|
||||||
var listForm = document.listForm ;
|
var listForm = document.listForm ;
|
||||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerCreate.do'/>";
|
listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerCreate.do'/>";
|
||||||
listForm.submit();
|
listForm.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,7 +69,7 @@
|
|||||||
function fncDetailPage(exmpMgrId){
|
function fncDetailPage(exmpMgrId){
|
||||||
var listForm = document.listForm ;
|
var listForm = document.listForm ;
|
||||||
listForm.exmpMgrId.value = exmpMgrId;
|
listForm.exmpMgrId.value = exmpMgrId;
|
||||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerDetail.do'/>";
|
listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerDetail.do'/>";
|
||||||
listForm.submit();
|
listForm.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,10 +78,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form:form id="listForm" name="listForm" method="post">
|
<form:form id="listForm" name="listForm" method="post">
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpAppManageVO.pageIndex}' default='1' />"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />" />
|
||||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpAppManageVO.searchSortCnd}" />" />
|
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpAppManageVO.searchSortOrd}" />" />
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpAppManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="expmCcTy" value="" />
|
<input type="hidden" name="expmCcTy" value="" />
|
||||||
<input type="hidden" name="exmpMgrId" value="" />
|
<input type="hidden" name="exmpMgrId" value="" />
|
||||||
|
|
||||||
@ -90,13 +90,13 @@
|
|||||||
|
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청취지예문관리</h2>
|
<h2>신청취지예문관리 목록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li>
|
<li>
|
||||||
<p>조정진행관리</p>
|
<p>조정진행관리</p>
|
||||||
</li>
|
</li>
|
||||||
<li><span class="cur_nav">신청취지예문관리</span></li>
|
<li><span class="cur_nav">신청취지예문관리 목록</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -107,11 +107,11 @@
|
|||||||
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
|
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
|
||||||
<div class="list_util">
|
<div class="list_util">
|
||||||
<select name="searchCondition" id="searchCondition">
|
<select name="searchCondition" id="searchCondition">
|
||||||
<option value="" <c:if test="${empty exmpAppManageVO.searchCondition}">selected="selected"</c:if>>전체</option>
|
<option value="" <c:if test="${empty exmpManageVO.searchCondition}">selected="selected"</c:if>>전체</option>
|
||||||
<option value="1" <c:if test="${exmpAppManageVO.searchCondition eq '1'}">selected="selected"</c:if>>제목</option>
|
<option value="1" <c:if test="${exmpManageVO.searchCondition eq '1'}">selected="selected"</c:if>>제목</option>
|
||||||
<option value="2" <c:if test="${exmpAppManageVO.searchCondition eq '2'}">selected="selected"</c:if>>항목</option>
|
<option value="2" <c:if test="${exmpManageVO.searchCondition eq '2'}">selected="selected"</c:if>>항목</option>
|
||||||
</select>
|
</select>
|
||||||
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${exmpAppManageVO.searchKeyword}'/>">
|
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${exmpManageVO.searchKeyword}'/>">
|
||||||
<button class="btn_search" onclick="fncSelectConciliatorManageList(); return false;">검색</button>
|
<button class="btn_search" onclick="fncSelectConciliatorManageList(); return false;">검색</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -120,18 +120,14 @@
|
|||||||
<div class="list tbType01">
|
<div class="list tbType01">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 10%">
|
|
||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
<col style="width: 25%">
|
|
||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>번호</th>
|
<th>번호</th>
|
||||||
<th>저작물</th>
|
|
||||||
<th>제목</th>
|
<th>제목</th>
|
||||||
<th>항목</th>
|
|
||||||
<th>등록일</th>
|
<th>등록일</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -139,29 +135,23 @@
|
|||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
<c:forEach var="list" items="${list}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<c:if test="${exmpAppManageVO.searchSortOrd eq 'desc' }">
|
<c:if test="${exmpManageVO.searchSortOrd eq 'desc' }">
|
||||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((exmpAppManageVO.pageIndex -1)*exmpAppManageVO.pageUnit) ) - status.index }"/>
|
<c:out value="${ ( paginationInfo.totalRecordCount - ((exmpManageVO.pageIndex -1)*exmpManageVO.pageUnit) ) - status.index }"/>
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${exmpAppManageVO.searchSortOrd eq 'asc' }">
|
<c:if test="${exmpManageVO.searchSortOrd eq 'asc' }">
|
||||||
<c:out value="${(exmpAppManageVO.pageIndex - 1) * exmpAppManageVO.pageUnit + status.count}"/>
|
<c:out value="${(exmpManageVO.pageIndex - 1) * exmpManageVO.pageUnit + status.count}"/>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<kc:code codeId="${list.codeId}" code="${list.exmpCcTy}"/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<a href="#" onclick="fncDetailPage('${list.exmpMgrId}');"><c:out value="${list.exmpTit}"/></a>
|
<a href="#" onclick="fncDetailPage('${list.exmpMgrId}');"><c:out value="${list.exmpTit}"/></a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
|
||||||
<c:out value="${list.exmpNms}"/>
|
|
||||||
</td>
|
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.frstRegistPnttm}"/>
|
<c:out value="${list.frstRegistPnttm}"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
<c:if test="${empty list}">
|
<c:if test="${empty list}">
|
||||||
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
|
<tr><td colspan="3"><spring:message code="common.nodata.msg" /></td></tr>
|
||||||
</c:if>
|
</c:if>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@ -36,60 +36,7 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncRowAdd(){
|
|
||||||
// 등록가능한 갯수
|
|
||||||
var len = $("select[name*=exmpCd]:first option").length;
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
var obj = $(".addTb > table > tbody > tr:last");
|
|
||||||
var cloneObj = obj.clone(true);
|
|
||||||
if(len == 0 || rowLen >= (len-1)){
|
|
||||||
alert("등록가능한 항목은 갯수는 " + (len-1) + "개 입니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
var exmpCd = cloneObj.find("select[name*=exmpCd]");
|
|
||||||
var exmpCn = cloneObj.find("textarea[name*=exmpCn]");
|
|
||||||
exmpCd.val("");
|
|
||||||
exmpCn.val("");
|
|
||||||
exmpCd.attr("name", exmpCd.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
exmpCn.attr("name", exmpCn.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
obj.after(cloneObj);
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncRowDel(){
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
if(rowLen == 1){
|
|
||||||
alert("더이상 삭제할 수 없습니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$(".addTb > table > tbody > tr:last").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
function fn_modifyBtn(){
|
|
||||||
var exmpCcTy = "<c:out value='${mgrInfo.exmpCcTy}' />";
|
|
||||||
if(exmpCcTy != ''){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
|
||||||
data: JSON.stringify({exmpCcTy : $("#exmpCcTy").val()}),
|
|
||||||
dataType:'json',
|
|
||||||
async: false,
|
|
||||||
processData: false,
|
|
||||||
contentType: "application/json",
|
|
||||||
cache: false,
|
|
||||||
success: function (returnData) {
|
|
||||||
if(data.status == "OK"){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
alert(returnData.data);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function fn_modifyBtn(){
|
function fn_modifyBtn(){
|
||||||
if(!validation()){
|
if(!validation()){
|
||||||
@ -111,7 +58,7 @@
|
|||||||
cache: false,
|
cache: false,
|
||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
if(returnData.result == "SUCCESS"){
|
if(returnData.result == "SUCCESS"){
|
||||||
alert("정상적으로 등록되었습니다.");
|
alert("정상적으로 수정되었습니다.");
|
||||||
fncDetail();
|
fncDetail();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -147,12 +94,12 @@
|
|||||||
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
||||||
|
|
||||||
if(cd == ''){
|
if(cd == ''){
|
||||||
alert("항목을 선택해주세요.["+(idx+1)+"]");
|
alert("항목을 선택해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cn == ''){
|
if(cn == ''){
|
||||||
alert("예문내용을 입력해주세요.["+(idx+1)+"]");
|
alert("예문내용을 입력해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,13 +127,13 @@
|
|||||||
|
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var varFrom = document.getElementById("modifyForm");
|
var varFrom = document.getElementById("modifyForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerList.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncDetail(){
|
function fncDetail(){
|
||||||
var varFrom = document.getElementById("modifyForm");
|
var varFrom = document.getElementById("modifyForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerDetail.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpEffectManagerDetail.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -196,27 +143,26 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form:form id="modifyForm" name="modifyForm" commandName="exmpAppManageVO" method="post">
|
<form:form id="modifyForm" name="modifyForm" commandName="exmpManageVO" method="post">
|
||||||
<input type="hidden" name="atchFileId" value="<c:out value='${mgrInfo.atchFileId}'/>"/>
|
<input type="hidden" name="atchFileId" value="<c:out value='${mgrInfo.atchFileId}'/>"/>
|
||||||
<input type="hidden" name="limitcount" value="3" /><!-- 최대 업로드 파일갯수 -->
|
<input type="hidden" name="limitcount" value="3" /><!-- 최대 업로드 파일갯수 -->
|
||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpAppManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpAppManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpAppManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpAppManageVO.searchSortOrd}" />"/>
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value='${mgrInfo.codeId}' />">
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
|
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>신청서예문수정</h2>
|
<h2>신청취지예문관리 수정</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>신청서예문관리</p></li>
|
<li><span class="cur_nav">신청취지예문관리 수정</span></li>
|
||||||
<li><span class="cur_nav">신청서예문수정</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -322,36 +268,25 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>항목추가</p>
|
<p><kc:code codeId="CC040" code="${mgrInfo.exmpCd}"/></p>
|
||||||
<div class="btn_wrap">
|
|
||||||
<button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button>
|
|
||||||
<button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 27%">
|
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>항목</th>
|
|
||||||
<th>예문내용</th>
|
<th>예문내용</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
<tr>
|
||||||
<input type="hidden" name="exmpList[${status.index}].exmpDtlId" value="<c:out value='${list.exmpDtlId}' />">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<td>
|
<textarea name="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"><c:out value='${mgrInfo.exmpCn}' /></textarea>
|
||||||
<kc:select codeId="CC040" name="exmpList[${status.index}].exmpCd" defaultText="선택" defaultValue="" selectedValue="${list.exmpCd}" css="style='width:200px; height:38px;'"/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<textarea name="exmpList[<c:out value='${status.index}' />].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"><c:out value='${list.exmpCn}' /></textarea>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- btn_wrap -->
|
<!-- btn_wrap -->
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
%>
|
%>
|
||||||
<html lang="ko">
|
<html lang="ko">
|
||||||
<head>
|
<head>
|
||||||
<title>의견예문등록</title>
|
<title>진행단계도움말관리</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready( function() {
|
$(document).ready( function() {
|
||||||
@ -36,73 +36,48 @@ $(document).ready( function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncRowAdd(){
|
|
||||||
// 등록가능한 갯수
|
|
||||||
var len = $("select[name*=exmpCd]:first option").length;
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
var obj = $(".addTb > table > tbody > tr:last");
|
|
||||||
|
|
||||||
var cloneObj = obj.clone(true);
|
function dataChk(data){
|
||||||
console.log('cloneObj : ',cloneObj);
|
var flag = false;
|
||||||
if(len == 0 || rowLen >= (len-1)){
|
$.ajax({
|
||||||
alert("등록가능한 항목은 갯수는 " + (len-1) + "개 입니다.");
|
type:"POST",
|
||||||
return false;
|
url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
||||||
}
|
data: data,
|
||||||
var exmpCd = cloneObj.find("select[name*=exmpCd]");
|
dataType:'json',
|
||||||
var exmpCn = cloneObj.find("textarea[name*=exmpCn]");
|
async: false,
|
||||||
exmpCd.val("");
|
processData: false,
|
||||||
exmpCn.val("");
|
contentType: false,
|
||||||
exmpCd.attr("name", exmpCd.attr("name").replace(/[0-9]/gi, rowLen));
|
cache: false,
|
||||||
exmpCn.attr("name", exmpCn.attr("name").replace(/[0-9]/gi, rowLen));
|
success:function(returnData){
|
||||||
obj.after(cloneObj);
|
console.log(returnData);
|
||||||
|
flag = true;
|
||||||
|
},
|
||||||
|
error:function(request , status, error){
|
||||||
|
console.log('request : ', request);
|
||||||
|
console.log('status : ', status);
|
||||||
|
console.log('error : ', error);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
function fncRowDel(){
|
return flag;
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
if(rowLen == 1){
|
|
||||||
alert("더이상 삭제할 수 없습니다.");
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
$(".addTb > table > tbody > tr:last").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
// function fncSave(){
|
|
||||||
// var exmpCcTy = "<c:out value='${mgrInfo.exmpCcTy}' />";
|
|
||||||
// if(exmpCcTy != ''){
|
|
||||||
// saveProcess();
|
|
||||||
// }else{
|
|
||||||
// $.ajax({
|
|
||||||
// type: "POST",
|
|
||||||
// url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
|
||||||
// data: JSON.stringify({exmpCcTy : 0
|
|
||||||
// ,codeId : $('#codeId').val()}),
|
|
||||||
// dataType:'json',
|
|
||||||
// async: false,
|
|
||||||
// processData: false,
|
|
||||||
// contentType: "application/json",
|
|
||||||
// cache: false,
|
|
||||||
// success: function (data) {
|
|
||||||
// if(data.status == "OK"){
|
|
||||||
// saveProcess();
|
|
||||||
// }else{
|
|
||||||
// alert(data.message);
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
function saveProcess(){
|
function saveProcess(){
|
||||||
if(!validation()){
|
if(!validation()){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(confirm("해당내용을 저장 하시겠습니까?")){
|
if(confirm("해당내용을 저장 하시겠습니까?")){
|
||||||
|
|
||||||
|
|
||||||
var data = new FormData(document.getElementById("createForm"));
|
var data = new FormData(document.getElementById("createForm"));
|
||||||
_fileForm2.forEach(function(obj, idx) {
|
_fileForm2.forEach(function(obj, idx) {
|
||||||
if (obj) data.append("file"+idx, obj.fileObj);
|
if (obj) data.append("file"+idx, obj.fileObj);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log('dataChk() : ', dataChk(data));
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type:"POST",
|
type:"POST",
|
||||||
url: "/kccadr/adjPgrMgr/exmp/insertExmpAppManager.do",
|
url: "/kccadr/adjPgrMgr/exmp/insertExmpAppManager.do",
|
||||||
@ -115,7 +90,7 @@ function saveProcess(){
|
|||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
if(data.status == "OK"){
|
if(data.status == "OK"){
|
||||||
fncDetail();
|
fncGoList();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error:function(request , status, error){
|
error:function(request , status, error){
|
||||||
@ -123,33 +98,33 @@ function saveProcess(){
|
|||||||
console.log('status : ', status);
|
console.log('status : ', status);
|
||||||
console.log('error : ', error);
|
console.log('error : ', error);
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function validation(){
|
function validation(){
|
||||||
var obj = $(".addTb > table > tbody > tr");
|
|
||||||
var flag = true;
|
var flag = true;
|
||||||
|
|
||||||
if($("#exmpTit").val() == ''){
|
if($("#exmpTit").val() == ''){
|
||||||
alert("제목을 입력해주세요.");
|
alert("제목을 입력해주세요.");
|
||||||
|
$("#exmpTit").focus();
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if($("#exmpCcTy").val() == ''){
|
||||||
|
// alert("적용할 진행상태를 선택해주세요.");
|
||||||
|
// return flag = false;
|
||||||
|
// }
|
||||||
|
|
||||||
var validArr = [];
|
var cn = $('#exmpCn').val();
|
||||||
$.each(obj , function(idx, elm){
|
|
||||||
var cn = $(this).find("textarea[name*=exmpCn]").val();
|
|
||||||
|
|
||||||
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
|
||||||
|
|
||||||
|
|
||||||
if(cn == ''){
|
if(cn == ''){
|
||||||
alert("예문내용을 입력해주세요.["+(idx+1)+"]");
|
alert("예문내용을 입력해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
var textLen = conByteLeng(cn);
|
||||||
|
|
||||||
if(Number(textLen) > 2000){
|
if(Number(textLen) > 2000){
|
||||||
|
|
||||||
@ -158,32 +133,16 @@ function validation(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
|
||||||
var checkObj = validArr.reduce((accu, curr) => {
|
|
||||||
accu[curr] = (accu[curr] || 0)+1;
|
|
||||||
return accu;
|
|
||||||
}, {});
|
|
||||||
|
|
||||||
$.each(checkObj, function(key, value){
|
|
||||||
if(parseInt(value) > 1){
|
|
||||||
alert("동일한 항목을 중복으로 등록하실 수 없습니다.");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return flag;
|
return flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var varFrom = document.getElementById("createForm");
|
var varFrom = document.getElementById("createForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpHelpManagerList.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncDetail(){
|
|
||||||
var varFrom = document.getElementById("createForm");
|
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerDetail.do'/>";
|
|
||||||
varFrom.submit();
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
@ -197,7 +156,7 @@ function fncDetail(){
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpCcTy" id="exmpCcTy" value="" />
|
<input type="hidden" name="exmpCcTy" id="exmpCcTy" value="" />
|
||||||
<!-- <input type="hidden" name="exmpTit" value="답변서예문" /> -->
|
<!-- <input type="hidden" name="exmpTit" value="답변서예문" /> -->
|
||||||
|
|
||||||
@ -207,24 +166,23 @@ function fncDetail(){
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>의견예문등록</h2>
|
<h2>진행단계도움말관리 등록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>의견예문관리</p></li>
|
<li><span class="cur_nav">진행단계도움말관리 등록</span></li>
|
||||||
<li><span class="cur_nav">의견예문등록</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<p class="tb_tit">의견</p>
|
<p class="tb_tit">기본 정보</p>
|
||||||
<div class="tbType02">
|
<div class="tbType02">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 150px">
|
<col style="width: 150px">
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
<col style="width: 150px">
|
<col style="width: 200px">
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
|
|
||||||
@ -234,18 +192,17 @@ function fncDetail(){
|
|||||||
<td>
|
<td>
|
||||||
<input type="text" placeholder="제목을 입력해주세요." name="exmpTit" id="exmpTit" value="<c:out value='${mgrInfo.exmpTit}' />">
|
<input type="text" placeholder="제목을 입력해주세요." name="exmpTit" id="exmpTit" value="<c:out value='${mgrInfo.exmpTit}' />">
|
||||||
</td>
|
</td>
|
||||||
<!-- <th>저작물종류</th> -->
|
<th>적용할 진행상태</th>
|
||||||
<!-- <td> -->
|
<td>
|
||||||
<%-- <c:choose> --%>
|
<select name="exmpCcTy" id="exmpCcTy" class="">
|
||||||
<%-- <c:when test="${not empty mgrInfo}"> --%>
|
<option value="">선택</option>
|
||||||
<%-- <kc:code codeId="CC002" code="${mgrInfo.exmpCcTy}"/> --%>
|
<option value="01">STEP.01 접수</option>
|
||||||
<%-- <input type="hidden" name="exmpCcTy" value="<c:out value='${mgrInfo.exmpCcTy}'/>"/> --%>
|
<option value="02">STEP.02 기일지정</option>
|
||||||
<%-- </c:when> --%>
|
<option value="03">STEP.03 기일개최</option>
|
||||||
<%-- <c:otherwise> --%>
|
<option value="04">STEP.04 조정중</option>
|
||||||
<%-- <kc:select codeId="CC002" name="exmpCcTy" id="exmpCcTy" defaultText="선택" defaultValue="" selectedValue="${mgrInfo.exmpCcTy}"/> --%>
|
<option value="05">STEP.05 종료</option>
|
||||||
<%-- </c:otherwise> --%>
|
</select>
|
||||||
<%-- </c:choose> --%>
|
</td>
|
||||||
<!-- </td> -->
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="">첨부파일</span></th>
|
<th><span class="">첨부파일</span></th>
|
||||||
@ -322,7 +279,7 @@ function fncDetail(){
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>예문내용</p>
|
<p>진행단계도움말</p>
|
||||||
<!-- <div class="btn_wrap"> -->
|
<!-- <div class="btn_wrap"> -->
|
||||||
<!-- <button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button> -->
|
<!-- <button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button> -->
|
||||||
<!-- <button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button> -->
|
<!-- <button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button> -->
|
||||||
@ -331,40 +288,19 @@ function fncDetail(){
|
|||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<%-- <col style="width: 27%"> --%>
|
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<!-- <th>항목</th> -->
|
<th>내용</th>
|
||||||
<th>예문내용</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:choose>
|
|
||||||
<c:when test="${fn:length(list) eq 0}">
|
|
||||||
<tr>
|
<tr>
|
||||||
<!-- <td> -->
|
|
||||||
<%-- <kc:select codeId="CC040" name="exmpList[0].exmpCd" id="test" defaultText="선택" defaultValue="" selectedValue="" css="style='width:200px; height:38px;'"/> --%>
|
|
||||||
<!-- </td> -->
|
|
||||||
<td>
|
<td>
|
||||||
<textarea name="exmpList[0].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"></textarea>
|
<textarea name="exmpCn" id="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:when>
|
|
||||||
<c:otherwise>
|
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
|
||||||
<!-- <td> -->
|
|
||||||
<%-- <kc:select codeId="CC040" name="exmpList[${status.index}].exmpCd" defaultText="선택" defaultValue="" selectedValue="${list.exmpCd}" css="style='width:200px; height:38px;'"/> --%>
|
|
||||||
<!-- </td> -->
|
|
||||||
<td>
|
|
||||||
<textarea name="exmpList[<c:out value='${status.index}' />].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"><c:out value='${list.exmpCn}' /></textarea>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</c:forEach>
|
|
||||||
</c:otherwise>
|
|
||||||
</c:choose>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -36,13 +36,13 @@
|
|||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var varFrom = document.getElementById("detailForm");
|
var varFrom = document.getElementById("detailForm");
|
||||||
varFrom.exmpCcTy.value = '';
|
varFrom.exmpCcTy.value = '';
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpHelpManagerList.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncEdit(){
|
function fncEdit(){
|
||||||
var varFrom = document.getElementById("detailForm");
|
var varFrom = document.getElementById("detailForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerModify.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpHelpManagerModify.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -53,25 +53,24 @@
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>의견예문상세</h2>
|
<h2>진행단계도움말관리 상세</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>의견예문관리</p></li>
|
<li><span class="cur_nav">진행단계도움말관리 상세</span></li>
|
||||||
<li><span class="cur_nav">의견예문상세</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<p class="tb_tit">의견</p>
|
<p class="tb_tit">기본정보</p>
|
||||||
<div class="tbType02">
|
<div class="tbType02">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -106,7 +105,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>예문</p>
|
<p>의견</p>
|
||||||
<%--<div class="btn_wrap">
|
<%--<div class="btn_wrap">
|
||||||
<button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button>
|
<button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button>
|
||||||
<button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button>
|
<button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button>
|
||||||
@ -115,6 +114,7 @@
|
|||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
|
<%-- <col style="width: 20%"> --%>
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
@ -123,13 +123,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<c:out value="${fn:replace(list.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
<c:out value="${fn:replace(mgrInfo.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -11,15 +11,15 @@
|
|||||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
||||||
<%
|
<%
|
||||||
/**
|
/**
|
||||||
* @Class Name : AdjustDeptManagerList.jsp
|
* @Class Name : exmpOpinionManagerList.jsp
|
||||||
* @Description : 조정부관리
|
* @Description : 도움말 예문 관리
|
||||||
* @Modification Information
|
* @Modification Information
|
||||||
* @
|
* @
|
||||||
* @ 수정일 수정자 수정내용
|
* @ 수정일 수정자 수정내용
|
||||||
* @ ------- -------- ---------------------------
|
* @ ------- -------- ---------------------------
|
||||||
* @ 2021.08.09 김봉호 최초 생성
|
* @ 2022.10.12 이호영 최초 생성
|
||||||
* @author 김봉호
|
* @author 이호영
|
||||||
* @since 2021.08.21
|
* @since 2021.10.12
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
* @see
|
* @see
|
||||||
*
|
*
|
||||||
@ -81,7 +81,7 @@
|
|||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
||||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="0" />
|
<input type="hidden" name="exmpMgrId" value="0" />
|
||||||
|
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
|
|||||||
@ -64,32 +64,6 @@
|
|||||||
$(".addTb > table > tbody > tr:last").remove();
|
$(".addTb > table > tbody > tr:last").remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fn_modifyBtn(){
|
|
||||||
var exmpCcTy = "<c:out value='${mgrInfo.exmpCcTy}' />";
|
|
||||||
if(exmpCcTy != ''){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
|
||||||
data: JSON.stringify({exmpCcTy : $("#exmpCcTy").val()}),
|
|
||||||
dataType:'json',
|
|
||||||
async: false,
|
|
||||||
processData: false,
|
|
||||||
contentType: "application/json",
|
|
||||||
cache: false,
|
|
||||||
success: function (returnData) {
|
|
||||||
if(returnData.status == "OK"){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
alert(returnData.data);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function fn_modifyBtn(){
|
function fn_modifyBtn(){
|
||||||
if(!validation()){
|
if(!validation()){
|
||||||
@ -110,7 +84,8 @@
|
|||||||
contentType: false,
|
contentType: false,
|
||||||
cache: false,
|
cache: false,
|
||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
if(returnData.status == "OK"){
|
console.log('returnData : ', returnData);
|
||||||
|
if(returnData.result == "SUCCESS"){
|
||||||
alert("정상적으로 등록되었습니다.");
|
alert("정상적으로 등록되었습니다.");
|
||||||
fncDetail();
|
fncDetail();
|
||||||
}
|
}
|
||||||
@ -133,11 +108,6 @@
|
|||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($("#exmpCcTy").val() == ''){
|
|
||||||
alert("저작물을 선택해주세요.");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
var validArr = [];
|
var validArr = [];
|
||||||
$.each(obj , function(idx, elm){
|
$.each(obj , function(idx, elm){
|
||||||
var cd = $(this).find("select[name*=exmpCd]").val();
|
var cd = $(this).find("select[name*=exmpCd]").val();
|
||||||
@ -180,13 +150,13 @@
|
|||||||
|
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var varFrom = document.getElementById("modifyForm");
|
var varFrom = document.getElementById("modifyForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpHelpManagerList.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncDetail(){
|
function fncDetail(){
|
||||||
var varFrom = document.getElementById("modifyForm");
|
var varFrom = document.getElementById("modifyForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerDetail.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpHelpManagerDetail.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,19 +174,18 @@
|
|||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value='${mgrInfo.codeId}' />">
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
|
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>의견예문수정</h2>
|
<h2>진행단계도움말관리 수정</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>의견예문관리</p></li>
|
<li><span class="cur_nav">진행단계도움말관리 수정</span></li>
|
||||||
<li><span class="cur_nav">의견예문수정</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -328,14 +297,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
<tr>
|
||||||
<input type="hidden" name="exmpList[${status.index}].exmpDtlId" value="<c:out value='${list.exmpDtlId}' />">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<td>
|
<textarea name="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"><c:out value='${mgrInfo.exmpCn}' /></textarea>
|
||||||
<textarea name="exmpList[<c:out value='${status.index}' />].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"><c:out value='${list.exmpCn}' /></textarea>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -36,63 +36,7 @@ $(document).ready( function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncRowAdd(){
|
|
||||||
// 등록가능한 갯수
|
|
||||||
var len = $("select[name*=exmpCd]:first option").length;
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
var obj = $(".addTb > table > tbody > tr:last");
|
|
||||||
|
|
||||||
var cloneObj = obj.clone(true);
|
|
||||||
console.log('cloneObj : ',cloneObj);
|
|
||||||
if(len == 0 || rowLen >= (len-1)){
|
|
||||||
alert("등록가능한 항목은 갯수는 " + (len-1) + "개 입니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
var exmpCd = cloneObj.find("select[name*=exmpCd]");
|
|
||||||
var exmpCn = cloneObj.find("textarea[name*=exmpCn]");
|
|
||||||
exmpCd.val("");
|
|
||||||
exmpCn.val("");
|
|
||||||
exmpCd.attr("name", exmpCd.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
exmpCn.attr("name", exmpCn.attr("name").replace(/[0-9]/gi, rowLen));
|
|
||||||
obj.after(cloneObj);
|
|
||||||
}
|
|
||||||
|
|
||||||
function fncRowDel(){
|
|
||||||
var rowLen = $(".addTb > table > tbody > tr").length;
|
|
||||||
if(rowLen == 1){
|
|
||||||
alert("더이상 삭제할 수 없습니다.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$(".addTb > table > tbody > tr:last").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
// function fncSave(){
|
|
||||||
// var exmpCcTy = "<c:out value='${mgrInfo.exmpCcTy}' />";
|
|
||||||
// if(exmpCcTy != ''){
|
|
||||||
// saveProcess();
|
|
||||||
// }else{
|
|
||||||
// $.ajax({
|
|
||||||
// type: "POST",
|
|
||||||
// url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
|
||||||
// data: JSON.stringify({exmpCcTy : 0
|
|
||||||
// ,codeId : $('#codeId').val()}),
|
|
||||||
// dataType:'json',
|
|
||||||
// async: false,
|
|
||||||
// processData: false,
|
|
||||||
// contentType: "application/json",
|
|
||||||
// cache: false,
|
|
||||||
// success: function (data) {
|
|
||||||
// if(data.status == "OK"){
|
|
||||||
// saveProcess();
|
|
||||||
// }else{
|
|
||||||
// alert(data.message);
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
function saveProcess(){
|
function saveProcess(){
|
||||||
if(!validation()){
|
if(!validation()){
|
||||||
@ -115,7 +59,7 @@ function saveProcess(){
|
|||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
if(data.status == "OK"){
|
if(data.status == "OK"){
|
||||||
fncDetail();
|
fncGoList();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error:function(request , status, error){
|
error:function(request , status, error){
|
||||||
@ -138,18 +82,13 @@ function validation(){
|
|||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var cn = $('#exmpCn').val();
|
||||||
var validArr = [];
|
|
||||||
$.each(obj , function(idx, elm){
|
|
||||||
var cn = $(this).find("textarea[name*=exmpCn]").val();
|
|
||||||
|
|
||||||
var textLen = conByteLeng(cn); //예문 입력 내용 Byte 계산 처리
|
|
||||||
|
|
||||||
|
|
||||||
if(cn == ''){
|
if(cn == ''){
|
||||||
alert("예문내용을 입력해주세요.["+(idx+1)+"]");
|
alert("예문내용을 입력해주세요.");
|
||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
var textLen = conByteLeng(cn);
|
||||||
|
|
||||||
if(Number(textLen) > 2000){
|
if(Number(textLen) > 2000){
|
||||||
|
|
||||||
@ -158,32 +97,16 @@ function validation(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
|
||||||
var checkObj = validArr.reduce((accu, curr) => {
|
|
||||||
accu[curr] = (accu[curr] || 0)+1;
|
|
||||||
return accu;
|
|
||||||
}, {});
|
|
||||||
|
|
||||||
$.each(checkObj, function(key, value){
|
|
||||||
if(parseInt(value) > 1){
|
|
||||||
alert("동일한 항목을 중복으로 등록하실 수 없습니다.");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return flag;
|
return flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var varFrom = document.getElementById("createForm");
|
var varFrom = document.getElementById("createForm");
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerList.do'/>";
|
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerList.do'/>";
|
||||||
varFrom.submit();
|
varFrom.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncDetail(){
|
|
||||||
var varFrom = document.getElementById("createForm");
|
|
||||||
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpOpinionManagerDetail.do'/>";
|
|
||||||
varFrom.submit();
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
@ -197,7 +120,7 @@ function fncDetail(){
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpCcTy" id="exmpCcTy" value="" />
|
<input type="hidden" name="exmpCcTy" id="exmpCcTy" value="" />
|
||||||
<!-- <input type="hidden" name="exmpTit" value="답변서예문" /> -->
|
<!-- <input type="hidden" name="exmpTit" value="답변서예문" /> -->
|
||||||
|
|
||||||
@ -207,18 +130,17 @@ function fncDetail(){
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>의견예문등록</h2>
|
<h2>의견관리 등록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>의견예문관리</p></li>
|
<li><span class="cur_nav">의견관리 등록</span></li>
|
||||||
<li><span class="cur_nav">의견예문등록</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<p class="tb_tit">의견</p>
|
<p class="tb_tit">기본 정보</p>
|
||||||
<div class="tbType02">
|
<div class="tbType02">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -322,7 +244,7 @@ function fncDetail(){
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>예문내용</p>
|
<p>의견</p>
|
||||||
<!-- <div class="btn_wrap"> -->
|
<!-- <div class="btn_wrap"> -->
|
||||||
<!-- <button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button> -->
|
<!-- <button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button> -->
|
||||||
<!-- <button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button> -->
|
<!-- <button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button> -->
|
||||||
@ -331,40 +253,19 @@ function fncDetail(){
|
|||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<%-- <col style="width: 27%"> --%>
|
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<!-- <th>항목</th> -->
|
|
||||||
<th>예문내용</th>
|
<th>예문내용</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:choose>
|
|
||||||
<c:when test="${fn:length(list) eq 0}">
|
|
||||||
<tr>
|
<tr>
|
||||||
<!-- <td> -->
|
|
||||||
<%-- <kc:select codeId="CC040" name="exmpList[0].exmpCd" id="test" defaultText="선택" defaultValue="" selectedValue="" css="style='width:200px; height:38px;'"/> --%>
|
|
||||||
<!-- </td> -->
|
|
||||||
<td>
|
<td>
|
||||||
<textarea name="exmpList[0].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"></textarea>
|
<textarea name="exmpCn" id="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:when>
|
|
||||||
<c:otherwise>
|
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
|
||||||
<!-- <td> -->
|
|
||||||
<%-- <kc:select codeId="CC040" name="exmpList[${status.index}].exmpCd" defaultText="선택" defaultValue="" selectedValue="${list.exmpCd}" css="style='width:200px; height:38px;'"/> --%>
|
|
||||||
<!-- </td> -->
|
|
||||||
<td>
|
|
||||||
<textarea name="exmpList[<c:out value='${status.index}' />].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"><c:out value='${list.exmpCn}' /></textarea>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</c:forEach>
|
|
||||||
</c:otherwise>
|
|
||||||
</c:choose>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -53,25 +53,24 @@
|
|||||||
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
<input type="hidden" name="searchCondition" value="<c:out value='${exmpManageVO.searchCondition}'/>"/>
|
||||||
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
<input type="hidden" name="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}'/>"/>
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
<input type="hidden" name="exmpMgrId" value="<c:out value="${exmpManageVO.exmpMgrId}" />" />
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>의견예문상세</h2>
|
<h2>의견관리 상세</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>의견예문관리</p></li>
|
<li><span class="cur_nav">의견관리 상세</span></li>
|
||||||
<li><span class="cur_nav">의견예문상세</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<p class="tb_tit">의견</p>
|
<p class="tb_tit">기본정보</p>
|
||||||
<div class="tbType02">
|
<div class="tbType02">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -106,7 +105,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<div class="tb_tit">
|
<div class="tb_tit">
|
||||||
<p>예문</p>
|
<p>의견</p>
|
||||||
<%--<div class="btn_wrap">
|
<%--<div class="btn_wrap">
|
||||||
<button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button>
|
<button type="button" class="btn_plus" onclick="fncRowAdd(); return false;"><i></i></button>
|
||||||
<button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button>
|
<button type="button" class="btn_minus" onclick="fncRowDel(); return false;"><i></i></button>
|
||||||
@ -115,6 +114,7 @@
|
|||||||
<div class="list tbType01 addTb">
|
<div class="list tbType01 addTb">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
|
<%-- <col style="width: 20%"> --%>
|
||||||
<col style="width: auto">
|
<col style="width: auto">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
@ -123,13 +123,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<c:out value="${fn:replace(list.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
<c:out value="${fn:replace(mgrInfo.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -11,15 +11,15 @@
|
|||||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
||||||
<%
|
<%
|
||||||
/**
|
/**
|
||||||
* @Class Name : AdjustDeptManagerList.jsp
|
* @Class Name : exmpOpinionManagerList.jsp
|
||||||
* @Description : 조정부관리
|
* @Description : 의견 예문 관리
|
||||||
* @Modification Information
|
* @Modification Information
|
||||||
* @
|
* @
|
||||||
* @ 수정일 수정자 수정내용
|
* @ 수정일 수정자 수정내용
|
||||||
* @ ------- -------- ---------------------------
|
* @ ------- -------- ---------------------------
|
||||||
* @ 2021.08.09 김봉호 최초 생성
|
* @ 2022.10.12 이호영 최초 생성
|
||||||
* @author 김봉호
|
* @author 이호영
|
||||||
* @since 2021.08.21
|
* @since 2021.10.12
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
* @see
|
* @see
|
||||||
*
|
*
|
||||||
@ -51,20 +51,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function fn_egov_checkAll(){
|
|
||||||
var FLength = document.getElementsByName("memSeqArr").length;
|
|
||||||
var checkAllValue = document.getElementById('checkAll').checked;
|
|
||||||
|
|
||||||
//undefined
|
|
||||||
if( FLength == 1){
|
|
||||||
document.getElementById("memSeqArr0").checked = checkAllValue;
|
|
||||||
} else {
|
|
||||||
for(var i=0; i < FLength; i++) {
|
|
||||||
document.getElementsByName("memSeqArr")[i].checked = checkAllValue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function fncDetailPage(exmpMgrId){
|
function fncDetailPage(exmpMgrId){
|
||||||
var listForm = document.listForm ;
|
var listForm = document.listForm ;
|
||||||
@ -81,7 +67,7 @@
|
|||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
||||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
<input type="hidden" name="searchSortCnd" value="<c:out value="${exmpManageVO.searchSortCnd}" />" />
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />" />
|
||||||
<input type="hidden" name="codeId" value="<c:out value="${exmpManageVO.codeId}" />" />
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
<input type="hidden" name="exmpMgrId" value="0" />
|
<input type="hidden" name="exmpMgrId" value="0" />
|
||||||
|
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
@ -89,13 +75,13 @@
|
|||||||
|
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>의견예문관리</h2>
|
<h2>의견관리 목록</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li>
|
<li>
|
||||||
<p>조정진행관리</p>
|
<p>조정진행관리</p>
|
||||||
</li>
|
</li>
|
||||||
<li><span class="cur_nav">의견예문관리</span></li>
|
<li><span class="cur_nav">의견관리 목록</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
|
|||||||
@ -64,32 +64,6 @@
|
|||||||
$(".addTb > table > tbody > tr:last").remove();
|
$(".addTb > table > tbody > tr:last").remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fn_modifyBtn(){
|
|
||||||
var exmpCcTy = "<c:out value='${mgrInfo.exmpCcTy}' />";
|
|
||||||
if(exmpCcTy != ''){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/kccadr/adjPgrMgr/exmp/existsExmpManagerDataCheck.do",
|
|
||||||
data: JSON.stringify({exmpCcTy : $("#exmpCcTy").val()}),
|
|
||||||
dataType:'json',
|
|
||||||
async: false,
|
|
||||||
processData: false,
|
|
||||||
contentType: "application/json",
|
|
||||||
cache: false,
|
|
||||||
success: function (returnData) {
|
|
||||||
if(returnData.status == "OK"){
|
|
||||||
saveProcess();
|
|
||||||
}else{
|
|
||||||
alert(returnData.data);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function fn_modifyBtn(){
|
function fn_modifyBtn(){
|
||||||
if(!validation()){
|
if(!validation()){
|
||||||
@ -110,7 +84,8 @@
|
|||||||
contentType: false,
|
contentType: false,
|
||||||
cache: false,
|
cache: false,
|
||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
if(returnData.status == "OK"){
|
console.log('returnData : ', returnData);
|
||||||
|
if(returnData.result == "SUCCESS"){
|
||||||
alert("정상적으로 등록되었습니다.");
|
alert("정상적으로 등록되었습니다.");
|
||||||
fncDetail();
|
fncDetail();
|
||||||
}
|
}
|
||||||
@ -133,11 +108,6 @@
|
|||||||
return flag = false;
|
return flag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($("#exmpCcTy").val() == ''){
|
|
||||||
alert("저작물을 선택해주세요.");
|
|
||||||
return flag = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
var validArr = [];
|
var validArr = [];
|
||||||
$.each(obj , function(idx, elm){
|
$.each(obj , function(idx, elm){
|
||||||
var cd = $(this).find("select[name*=exmpCd]").val();
|
var cd = $(this).find("select[name*=exmpCd]").val();
|
||||||
@ -204,19 +174,18 @@
|
|||||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}'/>"/>
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${exmpManageVO.searchSortOrd}" />"/>
|
||||||
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
<input type="hidden" name="exmpMgrId" value="<c:out value='${mgrInfo.exmpMgrId}' />">
|
||||||
<input type="hidden" name="codeId" id="codeId" value="<c:out value='${mgrInfo.codeId}' />">
|
<input type="hidden" name="exmpCd" value="<c:out value="${exmpManageVO.exmpCd}" />" />
|
||||||
|
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap">
|
<div class="cont_wrap">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- cont_tit -->
|
<!-- cont_tit -->
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>의견예문수정</h2>
|
<h2>의견관리 수정</h2>
|
||||||
<ul class="cont_nav">
|
<ul class="cont_nav">
|
||||||
<li class="home"><a href="/"><i></i></a></li>
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
<li><p>조정진행관리</p></li>
|
<li><p>조정진행관리</p></li>
|
||||||
<li><p>의견예문관리</p></li>
|
<li><span class="cur_nav">의견관리 수정</span></li>
|
||||||
<li><span class="cur_nav">의견예문수정</span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- //cont_tit -->
|
<!-- //cont_tit -->
|
||||||
@ -328,14 +297,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
|
||||||
<tr>
|
<tr>
|
||||||
<input type="hidden" name="exmpList[${status.index}].exmpDtlId" value="<c:out value='${list.exmpDtlId}' />">
|
<td style="text-align: left; line-height: 30px; padding: 10px;">
|
||||||
<td>
|
<textarea name="exmpCn" placeholder="예문을 입력해주세요." style="resize: none; height: 250px; width:96%; margin: 10px 0;"><c:out value='${mgrInfo.exmpCn}' /></textarea>
|
||||||
<textarea name="exmpList[<c:out value='${status.index}' />].exmpCn" placeholder="예문을 입력해주세요." style="resize: none; width:96%; margin: 10px 0;"><c:out value='${list.exmpCn}' /></textarea>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -41,9 +41,9 @@ $(document).ready(function(){
|
|||||||
<p>조정신청 예문</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
|
<p>조정신청 예문</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="popup_cont">
|
<div class="popup_cont">
|
||||||
<c:if test="${not empty expm.expmCd}">
|
<c:if test="${not empty exmp.exmpCd}">
|
||||||
<div class="cont_tit03">
|
<div class="cont_tit03">
|
||||||
* <kc:code codeId="CC040" code="${expm.expmCd}"/>
|
* <kc:code codeId="CC040" code="${exmp.exmpCd}"/>
|
||||||
</div>
|
</div>
|
||||||
</c:if>
|
</c:if>
|
||||||
<table class="popup_tbType01 t_center">
|
<table class="popup_tbType01 t_center">
|
||||||
@ -55,8 +55,8 @@ $(document).ready(function(){
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" style="line-height: 30px; text-align: left;">
|
<td colspan="2" style="line-height: 30px; text-align: left;">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${not empty expm.expmCn}">
|
<c:when test="${not empty exmp.exmpCn}">
|
||||||
<c:out value="${fn:replace(expm.expmCn, crlf , '<br/>')}" escapeXml="false" />
|
<c:out value="${fn:replace(exmp.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
등록된 내용이 없습니다.
|
등록된 내용이 없습니다.
|
||||||
|
|||||||
@ -61,7 +61,6 @@
|
|||||||
* B :진행
|
* B :진행
|
||||||
* C :종결
|
* C :종결
|
||||||
*/
|
*/
|
||||||
alert(type);
|
|
||||||
var listForm = document.listForm ;
|
var listForm = document.listForm ;
|
||||||
listForm.action = "<c:url value='/web/kccadr/adjstExpDetail/adjstIncidentDetail.do'/>";
|
listForm.action = "<c:url value='/web/kccadr/adjstExpDetail/adjstIncidentDetail.do'/>";
|
||||||
if(type == undefined)
|
if(type == undefined)
|
||||||
|
|||||||
@ -41,9 +41,9 @@ $(document).ready(function(){
|
|||||||
<p>조정신청 예문</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
|
<p>조정신청 예문</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="popup_cont">
|
<div class="popup_cont">
|
||||||
<c:if test="${not empty expm.expmCd}">
|
<c:if test="${not empty exmp.exmpCd}">
|
||||||
<div class="cont_tit03">
|
<div class="cont_tit03">
|
||||||
* <kc:code codeId="CC040" code="${expm.expmCd}"/>
|
* <kc:code codeId="CC040" code="${exmp.exmpCd}"/>
|
||||||
</div>
|
</div>
|
||||||
</c:if>
|
</c:if>
|
||||||
<table class="popup_tbType01 t_center">
|
<table class="popup_tbType01 t_center">
|
||||||
@ -55,8 +55,8 @@ $(document).ready(function(){
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" style="line-height: 30px; text-align: left;">
|
<td colspan="2" style="line-height: 30px; text-align: left;">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${not empty expm.expmCn}">
|
<c:when test="${not empty exmp.exmpCn}">
|
||||||
<c:out value="${fn:replace(expm.expmCn, crlf , '<br/>')}" escapeXml="false" />
|
<c:out value="${fn:replace(exmp.exmpCn, crlf , '<br/>')}" escapeXml="false" />
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
등록된 내용이 없습니다.
|
등록된 내용이 없습니다.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user