This commit is contained in:
myname 2024-11-13 18:26:25 +09:00
commit 0c6d441a15
59 changed files with 2751 additions and 5316 deletions

View File

@ -16,6 +16,8 @@ import seed.com.gtm.seedfile.SeedFileService;
import seed.com.gtm.util.Criteria;
import seed.com.gtm.util.PageMaker;
import seed.com.user.counsel.CounselService;
import seed.common.service.InnorixFileService;
import seed.utils.FairnetUtils;
import seed.utils.SeedUtils;
@Controller
@ -30,6 +32,9 @@ public class OnlineCounselController {
@Autowired
private CounselService service2;
@Autowired
private InnorixFileService innorixFileService;
public void setSessionMessageRemove(HttpSession session){
session.removeAttribute("url");
session.removeAttribute("message");
@ -71,6 +76,16 @@ public class OnlineCounselController {
model.addAttribute("memberList", memberList);
model.addAttribute("fileList", fileService.fileList(paramMap));
//이노릭스 수정화면 파일 넘겨주기
String innorixFileListInfoStr = "";
try {
innorixFileListInfoStr = FairnetUtils.innorixFileListInfo(fileService.fileList(paramMap));
}catch(Exception e){
System.out.println("이노릭스 에러");
}
model.addAttribute("innorixFileListInfoStr", innorixFileListInfoStr);
return "/seed/_extra/gtm/onlineCounsel/view";
}
@ -105,6 +120,17 @@ public class OnlineCounselController {
fileService.fileInsert(paramMap, request, session);
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
paramMap.put("innorixDataIdx", paramMap.get("dataIdx"));
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
map.put("message", "common.message.reg");
map.put("url", "/gtm/case/onlineCounsel/list.do");
@ -149,6 +175,21 @@ public class OnlineCounselController {
"&searchDate4=" + searchDate4 + "&searchDate5=" + searchDate5 + "&searchDate6=" + searchDate6 + "&searchApp=" + searchApp + "&searchMa=" + searchMa + "&searchTitle=" + searchTitle +
"&searchType=" + searchType + "&searchState=" + searchState + "&fileFuncType=" + fileFuncType);
fileService.fileDel(paramMap);
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
String counselSeqTemp = counselSeq;
int innorixDataIdx = Integer.parseInt(counselSeqTemp);
paramMap.put("innorixDataIdx", innorixDataIdx);
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
return "/_common/jsp/message";
}
@ -251,6 +292,15 @@ public class OnlineCounselController {
paramMap.put("fileFuncType", SeedUtils.setReplaceNull(paramMap.get("fileFuncType2")));
model.addAttribute("fileList2", fileService.fileList(paramMap));
//이노릭스 수정화면 파일 넘겨주기
String innorixFileListInfoStr = "";
try {
innorixFileListInfoStr = FairnetUtils.innorixFileListInfo(fileService.fileList(paramMap));
}catch(Exception e){
System.out.println("이노릭스 에러");
}
model.addAttribute("innorixFileListInfoStr", innorixFileListInfoStr);
return "/seed/_extra/gtm/onlineCounsel/lawView";
}
@ -262,6 +312,7 @@ public class OnlineCounselController {
model.addAttribute("memberList", memberList);
return "/seed/_extra/gtm/onlineCounsel/lawWrite";
}
@ -282,6 +333,17 @@ public class OnlineCounselController {
map.put("message", "common.message.reg");
map.put("url", "/gtm/case/onlineCounsel/lawList.do");
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
paramMap.put("innorixDataIdx", paramMap.get("dataIdx"));
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
return "/_common/jsp/message";
}
@ -327,6 +389,19 @@ public class OnlineCounselController {
"&searchDate4=" + searchDate4 + "&searchDate5=" + searchDate5 + "&searchDate6=" + searchDate6 + "&searchApp=" + searchApp + "&searchMa=" + searchMa + "&searchTitle=" + searchTitle +
"&searchType=" + searchType + "&searchState=" + searchState + "&fileFuncType=" + fileFuncType + "&fileFuncType2=" + fileFuncType2);
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
String counselSeqTemp = counselSeq;
int innorixDataIdx = Integer.parseInt(counselSeqTemp);
paramMap.put("innorixDataIdx", innorixDataIdx);
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
return "/_common/jsp/message";
}

View File

@ -16,7 +16,9 @@ import org.springframework.web.bind.annotation.RequestParam;
import seed.com.gtm.seedfile.SeedFileService;
import seed.com.gtm.util.PageMaker;
import seed.common.service.InnorixFileService;
import seed.com.gtm.util.Criteria;
import seed.utils.FairnetUtils;
import seed.utils.SeedDbUtilsSupport;
@Controller
@ -28,6 +30,9 @@ public class ExamBoardController {
@Autowired
private SeedFileService fileService;
@Autowired
private InnorixFileService innorixFileService;
public void setSessionMessageRemove(HttpSession session){
session.removeAttribute("url");
session.removeAttribute("message");
@ -58,6 +63,17 @@ public class ExamBoardController {
paramMap.put("dataIdx", paramMap.get("seq"));
fileService.fileInsert(paramMap, request, session);
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
paramMap.put("innorixDataIdx", paramMap.get("dataIdx"));
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
map.put("message", "common.message.reg");
map.put("url", "/gtm/case/exam/"+boardIdx+"/list.do");
@ -159,6 +175,15 @@ public class ExamBoardController {
model.addAttribute("fileList", fileList);
model.addAttribute("fileListSize", fileList.size());
//이노릭스 수정화면 파일 넘겨주기
String innorixFileListInfoStr = "";
try {
innorixFileListInfoStr = FairnetUtils.innorixFileListInfo(fileList);
}catch(Exception e){
System.out.println("이노릭스 에러");
}
model.addAttribute("innorixFileListInfoStr", innorixFileListInfoStr);
return "/seed/_extra/gtm/exam/edit";
}
@ -179,6 +204,19 @@ public class ExamBoardController {
"&fileFuncType=" + paramMap.get("fileFuncType")
);
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
String bbsNoStr = (String)paramMap.get("examNo");
int innorixDataIdx = Integer.parseInt(bbsNoStr);
paramMap.put("innorixDataIdx", innorixDataIdx);
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
return "/_common/jsp/message";
}

View File

@ -16,6 +16,8 @@ import org.springframework.web.bind.annotation.RequestParam;
import seed.com.gtm.seedfile.SeedFileService;
import seed.com.gtm.util.Criteria;
import seed.com.gtm.util.PageMaker;
import seed.common.service.InnorixFileService;
import seed.utils.FairnetUtils;
@Controller
@RequestMapping("/gtm/case")
@ -26,6 +28,9 @@ public class TeamBoardController {
@Autowired
private SeedFileService fileService;
@Autowired
private InnorixFileService innorixFileService;
@RequestMapping(value="/team/board/write.do", method=RequestMethod.GET)
public String teamWrite(ModelMap model, @RequestParam Map<String,Object> paramMap){
return "/seed/_extra/gtm/team/write";
@ -44,6 +49,17 @@ public class TeamBoardController {
paramMap.put("dataIdx", paramMap.get("seq"));
fileService.fileInsert(paramMap, request, session);
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
paramMap.put("innorixDataIdx", paramMap.get("dataIdx"));
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
map.put("message", "common.message.reg");
map.put("url", "/gtm/case/team/board/list.do");
@ -94,6 +110,15 @@ public class TeamBoardController {
model.addAttribute("fileList", fileList);
model.addAttribute("fileListSize", fileList.size());
//이노릭스 수정화면 파일 넘겨주기
String innorixFileListInfoStr = "";
try {
innorixFileListInfoStr = FairnetUtils.innorixFileListInfo(fileList);
}catch(Exception e){
System.out.println("이노릭스 에러");
}
model.addAttribute("innorixFileListInfoStr", innorixFileListInfoStr);
return "/seed/_extra/gtm/team/edit";
}
@ -112,6 +137,19 @@ public class TeamBoardController {
"&fileFuncType=" + paramMap.get("fileFuncType")
);
//이노릭스 대용량 업로드
String innorixFileListStr = (String) paramMap.get("innorixFileListVO");
if(!"".equals(innorixFileListStr)) {
try {
String dataIdx = (String)paramMap.get("dataIdx");
int innorixDataIdx = Integer.parseInt(dataIdx);
paramMap.put("innorixDataIdx", innorixDataIdx);
innorixFileService.innorixExtraFileInsert(innorixFileListStr, paramMap);
}catch(Exception e) {
System.out.println("이노릭스에러");
}
}
return "/_common/jsp/message";
}

View File

@ -1,5 +1,7 @@
package seed.com.user.check;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Map;
@ -334,4 +336,132 @@ public class WebUserCheckController {
}
@RequestMapping("/web/user/siren/case/04/154/check.do")
public String getCheckCodeAndRedirect(ModelMap map, HttpServletRequest req, HttpServletResponse response, HttpSession session) {
// @RequestParam("retInfo") String retInfo,
// @RequestParam("nextUrl") String nextUrl){
String retInfo = req.getParameter("retInfo").trim();
String hpName = ""; //성명
String hpSex = ""; //성별
String hpBirYMD = ""; //생년월일
String hpFgnGbn = ""; //내외국인 구분값
String hpDi = ""; //DI
String hpCi1 = ""; //CI
String hpCi2 = ""; //CI
String hpResult = ""; // 본인확인결과 (Y/N)
String hpCertDate = ""; // 검증시간
String hpCertGb = ""; // 인증수단
String hpCellNo = ""; // 핸드폰 번호
String hpCellCorp = ""; // 이동통신사
String hpAddVar = "";
//복화화용 변수
String hpEncPara = "";
String hpEncMsg = "";
String hpMsgChk = "N";
//-----------------------------------------------------------------------------------------------------------------
//쿠키값 가져 오기
/* Cookie[] cookies = req.getCookies();
String cookiename = "";
String cookiereqNum = "";
if(cookies!=null){
for (int i = 0; i < cookies.length; i++){
Cookie hpC = cookies[i];
cookiename = hpC.getName();
cookiereqNum = hpC.getValue();
if(cookiename.compareTo("hpReqNum")==0) break;
cookiereqNum = null;
}
}*/
String hpReqNumKey = (String)session.getAttribute("hpReqNumKey");
// 1. 암호화 모듈 (jar) Loading
com.sci.v2.pcc.secu.SciSecuManager sciSecuMg = new com.sci.v2.pcc.secu.SciSecuManager();
//쿠키에서 생성한 값을 Key로 생성 한다.
retInfo = sciSecuMg.getDec(retInfo, hpReqNumKey);
// 2.1차 파싱---------------------------------------------------------------
String[] aRetInfo1 = retInfo.split("\\^");
hpEncPara = aRetInfo1[0]; //암호화된 통합 파라미터
hpEncMsg = aRetInfo1[1]; //암호화된 통합 파라미터의 Hash값
String encMsg2 = sciSecuMg.getMsg(hpEncPara);
// 3./변조 검증 ---------------------------------------------------------------
if(encMsg2.equals(hpEncMsg)){
hpMsgChk="Y";
}
if(hpMsgChk.equals("N")){
map.put("siteIdx", "case");
map.put("url", "/case/index.do");
map.put("message", "잘못된 접근 입니다.");
map.put("opener", "");
map.put("append", "");
map.put("self", "");
return "/_common/jsp/umessage";
}
retInfo = sciSecuMg.getDec(hpEncPara, hpReqNumKey);
String[] aRetInfo = retInfo.split("\\^");
hpName = aRetInfo[0];
hpBirYMD = aRetInfo[1];
hpSex = aRetInfo[2];
hpFgnGbn = aRetInfo[3];
hpDi = aRetInfo[4];
hpCi1 = aRetInfo[5];
hpCi2 = aRetInfo[6];
hpResult = aRetInfo[9];
hpCellNo = aRetInfo[11];
hpCellCorp = aRetInfo[12];
hpAddVar = aRetInfo[14];
/* String[] valList = hpAddVar.split(",");
String agreeCheck = "";
String personalCheck = "";
String mediType = "";
if(valList.length > 1){
agreeCheck = valList[0];
personalCheck = valList[1];
mediType = valList[2];
}*/
//이름은 인코딩되서 날라옴
try {
hpName = URLDecoder.decode(hpName, "UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
session.setAttribute("hpName", hpName);
session.setAttribute("hpBirYMD", hpBirYMD);
session.setAttribute("hpSex", hpSex);
session.setAttribute("hpFgnGbn", hpFgnGbn);
session.setAttribute("hpDi", hpDi);
session.setAttribute("hpCi1", hpCi1);
session.setAttribute("hpCi2", hpCi2);
session.setAttribute("hpResult", hpResult);
session.setAttribute("hpCellNo", hpCellNo);
session.setAttribute("hpCellCorp", hpCellCorp);
session.setAttribute("hpAddVar", hpAddVar);
/* session.setAttribute("agreeCheck", agreeCheck);
session.setAttribute("personalCheck", personalCheck);
session.setAttribute("mediType", mediType);*/
//세션유지 2시간
session.setMaxInactiveInterval(60*60*2);
// return "redirect:" + nextUrl;
return "/_extra/user/siren/myPage_hpParamPop";
}
}

View File

@ -109,6 +109,11 @@ public class WebMediationController {
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx
, HttpServletRequest req){
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
// String tempHpDi = SeedUtils.setReplaceNull(session.getAttribute("hpDi"));
/*String tempAgreeCheck = SeedUtils.setReplaceNull(session.getAttribute("agreeCheck"));*/
// if(tempHpDi.equals("")/* || tempAgreeCheck.equals("")*/){
@ -273,6 +278,11 @@ public class WebMediationController {
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx
, HttpServletRequest req){
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
// String tempHpDi = SeedUtils.setReplaceNull(session.getAttribute("hpDi"));
/*String tempAgreeCheck = SeedUtils.setReplaceNull(session.getAttribute("agreeCheck"));*/
// if(tempHpDi.equals("")/* || tempAgreeCheck.equals("")*/){
@ -443,6 +453,11 @@ public class WebMediationController {
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx
, HttpServletRequest req){
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
// String tempHpDi = SeedUtils.setReplaceNull(session.getAttribute("hpDi"));
/*String tempAgreeCheck = SeedUtils.setReplaceNull(session.getAttribute("agreeCheck"));*/
// if(tempHpDi.equals("")/* || tempAgreeCheck.equals("")*/){
@ -612,6 +627,11 @@ public class WebMediationController {
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx
, HttpServletRequest req){
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
// String tempHpDi = SeedUtils.setReplaceNull(session.getAttribute("hpDi"));
/*String tempAgreeCheck = SeedUtils.setReplaceNull(session.getAttribute("agreeCheck"));*/
// if(tempHpDi.equals("")/* || tempAgreeCheck.equals("")*/){
@ -781,6 +801,11 @@ public class WebMediationController {
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx
, HttpServletRequest req){
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
/*----권한체크----*/
setSessionMessageRemove(session);
@ -1056,12 +1081,21 @@ public class WebMediationController {
// /web/user/mediation/case/01/154/mediationStep01.do
// /web/user/mediation/case/02/154/mediationStep01.do
@RequestMapping("/web/user/mediation/{siteIdx}/02/{siteMenuIdx}/mediationStep01.do")
public ModelAndView mediationType(ModelMap map, HttpSession session,
@PathVariable(value="siteIdx") String siteIdx,
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx){
// req.getSession().setAttribute("ci", dataObject.get("ci"));
// req.getSession().setAttribute("hpName", dataObject.get("hpName"));
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
/*----권한체크----*/
setSessionMessageRemove(session);
@ -1186,6 +1220,12 @@ public class WebMediationController {
@RequestParam(value="mediType", defaultValue="") String mediType
){
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
if(agreeCheck.equals("") || agreeCheck == null || mediType.equals("") || mediType == null){
map.put("siteIdx", "case");
@ -1331,6 +1371,11 @@ public class WebMediationController {
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx
){
// CI 체크
if(!ciCheck(map, session)) {
return new ModelAndView("/_common/jsp/umessage");
}
String agreeCheck = session.getAttribute("agreeCheck").toString();
if(agreeCheck.equals("") || agreeCheck == null){
map.put("siteIdx", "case");
@ -1881,30 +1926,17 @@ public class WebMediationController {
//return new ModelAndView("/_extra/web/user/mediation/mediationStep05");
}
// @RequestMapping("/web/user/mediation/{siteIdx}/05/{siteMenuIdx}/write.do")
// public ModelAndView setMediation(ModelMap map, HttpServletRequest request, HttpSession session, HttpServletRequest httpServletRequest,
// @RequestParam Map<String,Object> paramMap,
// @PathVariable(value="siteIdx") String siteIdx,
// @PathVariable(value="siteMenuIdx") Integer siteMenuIdx){
@RequestMapping("/web/user/mediation/{siteIdx}/05/{siteMenuIdx}/writeAjax.do")
public ResponseEntity<?> writeAjax(ModelMap map, HttpServletRequest request, HttpSession session, HttpServletRequest httpServletRequest,
@RequestParam Map<String,Object> paramMap,
@PathVariable(value="siteIdx") String siteIdx,
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx){
String tempHpDi = SeedUtils.setReplaceNull(session.getAttribute("hpDi"));
// if(tempHpDi.equals("")){
// map.put("siteIdx", "case");
// map.put("url", "/case/index.do");
// map.put("message", "user.message.medi.alert");
// map.put("opener", "");
// map.put("append", "");
// map.put("self", "");
//
// return new ModelAndView("/_common/jsp/umessage");
// }
// CI 체크
if(!ciCheck(map, session)) {
paramMap.put("sts", "fail");
return new ResponseEntity<>(paramMap, HttpStatus.OK);
}
/*----권한체크----*/
setSessionMessageRemove(session);
@ -2031,6 +2063,7 @@ public class WebMediationController {
paramMap.put("rceptNo", service.getNumber());
map.put("rceptNo", paramMap.get("rceptNo"));
map.put("applcntCompany", paramMap.get("applcntCompany"));
map.put("hpCi1", session.getAttribute("hpCi1"));
//접수마스터 INSERT
service.rceptmstInsert(paramMap);
@ -2237,19 +2270,12 @@ public class WebMediationController {
@PathVariable(value="siteIdx") String siteIdx,
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx){
String tempHpDi = SeedUtils.setReplaceNull(session.getAttribute("hpDi"));
//String tempAgreeCheck = SeedUtils.setReplaceNull(session.getAttribute("agreeCheck"));
// if(tempHpDi.equals("") /*|| tempAgreeCheck.equals("")*/){
// map.put("siteIdx", "case");
// map.put("url", "/case/index.do");
// map.put("message", "user.message.medi.expiration");
// map.put("opener", "");
// map.put("append", "");
// map.put("self", "");
//
// return new ModelAndView("/_common/jsp/umessage");
// }
// CI 체크
if(!ciCheck(map, session)) {
paramMap.put("sts", "fail");
return new ResponseEntity<>(paramMap, HttpStatus.OK);
}
/*----권한체크----*/
setSessionMessageRemove(session);
@ -2669,5 +2695,25 @@ public class WebMediationController {
return new ResponseEntity<>(paramMap, HttpStatus.OK);
//return new ModelAndView("/_extra/web/user/mediation/mediationStep05");
}
private Boolean ciCheck(ModelMap map, HttpSession session) {
String ci = SeedUtils.setReplaceNull(session.getAttribute("hpCi1"));
if(ci.equals("")){
map.put("siteIdx", "case");
map.put("url", "/web/user/mypage/case/01/168/myCheck.do");
map.put("message", "user.message.medi.ci.alert");
map.put("opener", "");
map.put("append", "");
map.put("self", "");
return false;
}
return true;
}
}

View File

@ -4,6 +4,7 @@ import java.io.BufferedReader;
import java.io.IOException;
import java.text.ParseException;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -109,7 +110,7 @@ private Logger log = Logger.getLogger(this.getClass());
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx
){
if(!SeedUtils.setReplaceNull(session.getAttribute("hpName")).equals("")){
if(!SeedUtils.setReplaceNull(session.getAttribute("hpCi1")).equals("")){
map.put("siteIdx", "case");
// map.put("url", "/user/mypage/case/01/169/myMediationList.do");
map.put("url", "/");
@ -128,11 +129,9 @@ private Logger log = Logger.getLogger(this.getClass());
// "nextUrl=/user/mypage/"+siteIdx+"/01/"+siteMenuIdx+"/myCheck.do" +
// "&commandCode=my"
// );
FairnetUtils.certTest(map, req, session, "my");
FairnetUtils.certSet(map, req, session, "my");
}
System.out.println("session.getId1111111111 :: " + session.getId());
session.removeAttribute("myPass");
setSessionMessageRemove(session);
@ -1004,7 +1003,7 @@ private Logger log = Logger.getLogger(this.getClass());
jsonBuilder.append(line);
}
Map<String, String> dataObject = new Gson().fromJson(jsonBuilder.toString(), Map.class);
req.getSession().setAttribute("ci", dataObject.get("ci"));
req.getSession().setAttribute("hpCi1", dataObject.get("hpCi1"));
req.getSession().setAttribute("hpName", dataObject.get("hpName"));
} catch (IOException e) {
@ -1014,12 +1013,20 @@ private Logger log = Logger.getLogger(this.getClass());
}
@RequestMapping("/web/user/mypage/case/01/168/devCiMakePopCiCheck.do")
public String devCiMakePopCiCheck(ModelMap map
public ResponseEntity<?> devCiMakePopCiCheck(ModelMap map
, HttpSession session
, HttpServletRequest req
){
return "/web/xxx/devCiMakePop";
// JSON 데이터 받기
Map returnMap = new HashMap<String, String>();
try {
returnMap.put("hpCi1",req.getSession().getAttribute("hpCi1"));
returnMap.put("hpName",req.getSession().getAttribute("hpName"));
} catch (Exception e) {
e.printStackTrace();
}
return new ResponseEntity<>(returnMap, HttpStatus.OK);
}
@RequestMapping("/web/user/mypage/case/01/168/devCiRemove.do")
@ -1028,7 +1035,7 @@ private Logger log = Logger.getLogger(this.getClass());
, HttpServletRequest req
){
req.getSession().removeAttribute("ci");
req.getSession().removeAttribute("hpCi1");
req.getSession().removeAttribute("hpName");
return "redirect:/";

View File

@ -5,6 +5,7 @@ import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
@ -13,6 +14,7 @@ import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
import com.ibm.icu.text.SimpleDateFormat;
@ -257,4 +259,130 @@ public class WebHomeController {
return new ModelAndView("/web/site/"+siteIdx+"/jsp/content/"+managerSiteMenuService.getSiteMenuMapForm(siteMenuIdx, new String[] {"siteMenuIdxs"}).get("_siteMenuIdxs"));
}
@RequestMapping(value = "/web/user/extra/{siteIdx}/{pageFolder}/{pageName}/jsp/Page.do")
public ModelAndView getExtraPage(HttpServletRequest httpServletRequest, HttpSession session, Map<String, Object> map,
@PathVariable(value="siteIdx") String siteIdx,
@PathVariable(value="pageFolder") String pageFolder,
@PathVariable(value="pageName") String pageName,
@RequestParam(value="siteMenuIdx", defaultValue="", required=false) Integer siteMenuIdx){
if(siteMenuIdx != null && !siteMenuIdx.equals("")){
Integer memberIdx = Integer.valueOf(SeedUtils.setReplaceNull(session.getAttribute("memberIdx"),"0"));
String memberGrant = (memberIdx == 0) ? "N" : SeedUtils.setReplaceNull(managerMemberService.getMemberMapForm(memberIdx, new String[] {"memberGrant"}).get("_memberGrant"), "N");
boolean memberAuthM = managerSiteManagerService.getSiteManagerListCnt(siteIdx, memberIdx);
boolean memberAuth = managerSiteMenuManagerService.getSiteMenuManagerListCnt(siteMenuIdx, memberIdx);
//메뉴 권한설정
if(!memberGrant.equals("S") && !memberAuthM && !memberAuth &&
!managerSiteMenuAuthService.getSiteMenuAuthChk(siteMenuIdx, memberIdx)){
map.put("message", "common.message.no.grant");
if(memberIdx.equals(0)){
map.put("url", "/"+siteIdx+"/index.do");
}else{
map.put("self", "history");
}
return new ModelAndView("/_common/jsp/umessage");
}
Map<Object, Object> tSiteMenuDB = managerSiteMenuService.getSiteMenuMapForm(siteMenuIdx,
new String[] {"siteMenuName", "siteMenuParentTitle", "siteMenuStatus", "siteMenuType", "siteMenuLinkUrl", "siteMenuCharge", "siteMenuCharge", "siteMenuSNS",
"siteMenuTitle", "siteMenuRegDate", "siteMenuModDate", "siteMenuNameType", "siteMenuIdxs", "siteMenuDepth", "siteMenuSatisfaction", "siteMenuIdx1",
"tSite.siteActiveMenuWidth", "tSite.siteService", "tSite.siteServiceSdate", "tSite.siteServiceSdate"});
if(!memberGrant.equals("S") && !memberAuthM && !memberAuth){
if(!SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuStatus")).equals("U")){
map.put("message", "common.message.no.siteMenu");
map.put("self", "history");
return new ModelAndView("/_common/jsp/umessage");
}
}
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteService")).equals("Y")){
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
try{
Date getDate = new Date();
Date sDate = formatter.parse(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteServiceSdate")));
Date eDate = formatter.parse(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteServiceEdate")));
if((sDate.compareTo(formatter.parse(formatter.format(getDate))) > 0 && eDate.compareTo(formatter.parse(formatter.format(getDate))) > 0) ||
(sDate.compareTo(formatter.parse(formatter.format(getDate))) < 0 && eDate.compareTo(formatter.parse(formatter.format(getDate))) < 0)){
return new ModelAndView("redirect:/user/common/service/"+siteIdx+".do");
}
}catch(ParseException e){
log.error("CHECK ERROR:",e);
}
}
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuType")).equals("F") ||
SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuType")).equals("L")){
return new ModelAndView("redirect:"+SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuLinkUrl")));
}
String siteMenuManager = "N";
StringBuffer siteMenuManagerIdx = new StringBuffer();
String siteMenuCharge = SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuCharge"), "N");
List<Map<Object, Object>> siteMenuManagerList =
managerSiteMenuManagerService.getSiteMenuManagerMapList(siteMenuIdx, new String[] {"siteMenuManagerStatus", "tMember.memberIdx"});
for(int i=0; i<siteMenuManagerList.size(); i++){
Map<Object, Object> tSiteMenuManagerDB = siteMenuManagerList.get(i);
if(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_siteMenuManagerStatus")).equals("U")){
if(!memberIdx.equals(0) &&
memberIdx.equals(Integer.parseInt(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_memberIdx"), "0"))) &&
siteMenuManager.equals("N")){
siteMenuManager = "Y";
}
siteMenuManagerIdx.append(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_memberIdx")).toString());
siteMenuManagerIdx.append(",");
}
}
if(memberGrant.equals("S") || memberAuthM){
siteMenuManager = "Y";
}
//편집 권한
map.put("siteMenuManager", siteMenuManager);
//담당자 보기 설정
map.put("siteMenuCharge", siteMenuCharge);
//담당자 이름
map.put("siteMenuManagerIdx", siteMenuManagerIdx.toString());
//만족도 설정
map.put("siteMenuSatisfaction", SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuSatisfaction"), "N"));
map.put("siteMenuSubTitle", managerSiteMenuService.getSiteMenuSubTitleForm(siteIdx, SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuIdx1"))));
String siteMenuTitle = managerSiteMenuService.getSiteMenuParentName(siteIdx, SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuIdxs")), "edit").replaceAll("", "|") +
" | " + SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuName"));
map.put("siteMenuTitle", siteMenuTitle);
//부모메뉴 타이틀 설정한 경우 해당 글의 부모 타이틀을 가져옴
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuParentTitle") ,"N").equals("Y")){
String[] siteMenuTitles = siteMenuTitle.split("\\|");
tSiteMenuDB.put("_siteMenuName", siteMenuTitles[Integer.parseInt(tSiteMenuDB.get("_siteMenuDepth").toString())-1]);
}
map.put("tSiteMenuDB", tSiteMenuDB);
map.put("memberAuthM", memberAuthM);
map.put("seedMenuAuth", managerGroupService.getGroupList(siteIdx, memberIdx, memberMerge, memberMergeSiteIdx));
}
return new ModelAndView("/_extra/user/"+pageFolder+"/"+pageName);
}
}

View File

@ -6,9 +6,11 @@ import org.springframework.stereotype.Component;
@Component
public class CertGlobalSet {
private static String retUrl;
private static String retUrl; // 아이핀 인증 returnUrl의 was url
private static String hpRetUrl;
private static String hpRetUrl; // 휴대폰 본인인증 returnUrl의 was url
private static String hpSrvNo; // 휴대폰본인인증 서비스 번호
@Value("#{globalSettings['cert.retUrl']}")
@ -19,6 +21,10 @@ public class CertGlobalSet {
public void setHpRetUrl(String hpRetUrl) {
CertGlobalSet.hpRetUrl = hpRetUrl;
}
@Value("#{globalSettings['cert.hpSrvNo']}")
public void setHpSrvNo(String hpSrvNo) {
CertGlobalSet.hpSrvNo = hpSrvNo;
}
public static String getRetUrl() {
return retUrl;
@ -26,5 +32,8 @@ public class CertGlobalSet {
public static String getHpRetUrl() {
return hpRetUrl;
}
public static String getHpSrvNo() {
return hpSrvNo;
}
}

View File

@ -116,7 +116,7 @@ public class FairnetUtils {
}
public static void certTest(ModelMap map, HttpServletRequest req, HttpSession session,String commandCode ) {
public static void certSet(ModelMap map, HttpServletRequest req, HttpSession session,String commandCode ) {
String nextUrl = req.getParameter("nextUrl");
// String commandCode = req.getParameter("commandCode");
@ -166,13 +166,15 @@ public class FairnetUtils {
//실서버
srvNo = "009002";
hpSrvNo = "012002";
// hpSrvNo = "012002";
hpSrvNo = CertGlobalSet.getHpSrvNo();
// retUrl = "23http://fairnet.kofair.or.kr/user/extra/case/siren/myPage_ipin_popup_seed/jsp/Page.do";
retUrl = CertGlobalSet.getRetUrl() + "/user/extra/case/siren/myPage_ipin_popup_seed/jsp/Page.do";
retUrl = CertGlobalSet.getRetUrl() + "/web/user/extra/case/siren/myPage_ipin_popup_seed/jsp/Page.do";
// hpRetUrl = "32http://fairnet.kofair.or.kr/user/extra/case/siren/myPage_hpParamPop/jsp/Page.do";
hpRetUrl = CertGlobalSet.getHpRetUrl() + "/user/extra/case/siren/myPage_hpParamPop/jsp/Page.do";
// hpRetUrl = CertGlobalSet.getHpRetUrl() + "/web/user/extra/case/siren/myPage_hpParamPop/jsp/Page.do";
hpRetUrl = CertGlobalSet.getHpRetUrl() + "/web/user/siren/case/04/154/check.do";
}else if(commandCode.equals("online")){//온라인 분쟁조정 상담 본인인증
//개발서버

View File

@ -224,7 +224,9 @@ oz.ozServerNm=http://119.193.215.98:8086
gw.url=https://ovis.opco.co.kr
#\ubcf8\uc778\uc778\uc99d \uc11c\ubc84\uc8fc\uc18c
cert.sServerName=23http://fairnet.kofair.or.kr
cert.retUrl=23http://119.193.215.98:8083
cert.hpRetUrl=32http://119.193.215.98:8083
cert.hpSrvNo=015006
#\ub300\uc6a9\ub7c9 innorix license
Globals.Innorix.License=dev

View File

@ -225,8 +225,9 @@ gw.url=https://ovis.opco.co.kr
ngw.url=https://gw.kofair.or.kr
#\ubcf8\uc778\uc778\uc99d \uc11c\ubc84\uc8fc\uc18c
cert.retUrl=23http://119.193.215.98:8070
cert.hpRetUrl=32http://119.193.215.98:8070
cert.retUrl=23http://119.193.215.98:8084
cert.hpRetUrl=32http://119.193.215.98:8084
cert.hpSrvNo=016006
#\ub300\uc6a9\ub7c9 innorix license
Globals.Innorix.License=dev

View File

@ -403,7 +403,9 @@ oz.ozServerNm=http://119.193.215.98:8086
gw.url=https://gwd.unicologx.com
#\ubcf8\uc778\uc778\uc99d \uc11c\ubc84\uc8fc\uc18c
cert.sServerName=23http://fairnet.kofair.or.kr
cert.retUrl=23https://fairnet.kofair.or.kr
cert.hpRetUrl=23https://fairnet.kofair.or.kr
cert.hpSrvNo=012006
#\ub300\uc6a9\ub7c9 innorix license
Globals.Innorix.License=svr

View File

@ -3167,3 +3167,4 @@ common.confirm.cancle=\uc2b9\uc778\ucde8\uc18c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
user.message.medi.ci.alert=\ubcf8\uc778\uc778\uc99d\uc744 \uc9c4\ud589\ud574 \uc8fc\uc138\uc694

View File

@ -155,7 +155,7 @@
<pattern>/web/kccadr/adjst/adjstProgressTutorial.do</pattern>
<pattern>/kccadr/textsence/textSenseResponse.do</pattern>
<pattern>/web/user/mypage/case/01/168/devCiMakePop.do</pattern>
<pattern>/web/user/siren/case/04/154/check.do</pattern>
</decorator>

View File

@ -1,71 +1,15 @@
<%@ page contentType = "text/html;charset=ksc5601"%>
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%><!-- 추가 -->
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
%>
<%
String param = "";
String enc_retInfo = request.getParameter("retInfo").trim();
String nextUrl = "/user/mypage/case/01/168/myMediationList.do";
param= "?retInfo="+enc_retInfo+"&nextUrl="+ nextUrl;
/* 본인확인결과 가져오기*/
String hpResult = ""; // 본인확인결과 (Y/N)
//복화화용 변수
String hpEncPara = "";
String hpEncMsg = "";
String hpMsgChk = "N";
String hpReqNumKey = (String)session.getAttribute("hpReqNumKey");
// 1. 암호화 모듈 (jar) Loading
com.sci.v2.pcc.secu.SciSecuManager sciSecuMg = new com.sci.v2.pcc.secu.SciSecuManager();
//쿠키에서 생성한 값을 Key로 생성 한다.
enc_retInfo = sciSecuMg.getDec(enc_retInfo, hpReqNumKey);
// 2.1차 파싱---------------------------------------------------------------
String[] aRetInfo1 = enc_retInfo.split("\\^");
hpEncPara = aRetInfo1[0]; //암호화된 통합 파라미터
hpEncMsg = aRetInfo1[1]; //암호화된 통합 파라미터의 Hash값
String encMsg2 = sciSecuMg.getMsg(hpEncPara);
// 3.위/변조 검증 ---------------------------------------------------------------
if(encMsg2.equals(hpEncMsg)){
hpMsgChk="Y";
}
enc_retInfo = sciSecuMg.getDec(hpEncPara, hpReqNumKey);
String[] aRetInfo = enc_retInfo.split("\\^");
hpResult = aRetInfo[9];
%>
<%-- <%@ page contentType = "text/html;charset=ksc5601"%> --%>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%><!-- 추가 -->
<html>
<head>
<script language="JavaScript">
function end() {
if('<%=hpResult%>' == 'Y'){
window.opener.location.href = '/user/siren/case/04/154/check.do<%=param%>';
//document.frm.submit();
self.close();
}else{
self.close();
}
window.opener.location.href = '/';
self.close();
}
</script>
</head>
<body onload="javascript:end()">
<%-- <form:form id="frm" name="frm" action="/user/case/userCheck/getCheckCode/check.do" method="post">
<input type="hidden" name="retInfo" value="<%=enc_retInfo%>">
<input type="hidden" name="nextUrl" value="<%=nextUrl%>">
</form:form> --%>
</body>
</html>

View File

@ -29,6 +29,10 @@
<script type="text/javascript" src="/site/case/js/jquery.easing.min.js"></script>
<link href="/site/case/jsp/navigation/css/navigation.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="/kofair_case_seed/css/reset.css" />
<link rel="stylesheet" href="/kofair_case_seed/css/font.css" />
<link rel="stylesheet" href="/kofair_case_seed/usr/style/style.css" />
<script type="text/javascript">
@ -46,7 +50,7 @@
<body>
<form:form id="frm" action="/user/proc/case/ResolutionCommittee/loginProc.do" method="post">
<input type="hidden" name="next_url" value="/case/subIndex/203.do"/>
<article class="sub_con_wrap">
<article class="sub_con_wrap login_wrap">
<div class="sub_con_wrap_inner">
<h2 class="blind">본문</h2>
<div class="meet_lg_wrap1 meet_lg_wrap center">
@ -63,17 +67,17 @@
<div class="login_wrap2">
<legend class="blind">협의회 조회 폼</legend>
<div class="id_wrap">
<label for="01" class="disc7">아이디</label>
<input type="text" name="memberId" id="memberId" class="inp_label lg_r" />
<label for="01">· 아이디</label>
<input type="text" name="memberId" id="memberId" class="inp_label" />
</div>
<div class="id_wrap">
<label for="02" class="disc7">비밀번호</label>
<input type="password" name="memberPwd" id="memberPwd" class="inp_label lg_r" />
<label for="02">· 비밀번호</label>
<input type="password" name="memberPwd" id="memberPwd" class="inp_label" />
</div>
</div>
</div>
<div class="meet_lg_r">
<input type="button" id="loginBtn" value="로그인" class="btn_login2" />
<button type="button" id="loginBtn" class="btn_login2">로그인</button>
</div>
</fieldset>
<div class="meet_lg_noti">

View File

@ -8,24 +8,9 @@
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
<script src="/AnySign4PC/anySign4PCInterface.js"></script>
<!-- <script src="/AnySign4PC/anySign4PCInterface.js"></script> -->
<script type="text/javascript">
var CBA_window;
function openCBAWindow(){
CBA_window = window.open('', 'IPINWindow', 'width=450, height=550, resizable=0, scrollbars=0, status=0, titlebar=0, toolbar=0, left=300, top=200' );
if(CBA_window == null){
alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다.");
}
document.signup.action = 'https://ipin.siren24.com/i-PIN/jsp/ipin_j10.jsp';
document.signup.target = 'IPINWindow';
document.signup.submit();
}
var PCC_window;
function openPCCWindow(){
@ -41,25 +26,6 @@
return true;
}
function aUserCallback(aResult) {
var result = aResult.split('|');
var user = result[1].split(',')[0].split('=');
/*var name = user[1];
var idx = name.indexOf('(');
if(idx != -1) {
name = name.substring(0,idx);
}
idx = name.indexOf('-');
if(idx != -1) {
name = name.substring(0,idx);
}*/
document.signCms.reqCert.value = result[0];
document.signCms.reqName.value = user[1];
document.signCms.action = '/user/mypage/user/check.do';
document.signCms.submit();
}
</script>
<div class="sub_content self_identification w100per">
@ -72,8 +38,8 @@
<h3 class="sub_con_tit">본인인증</h3>
<div class="box gray_border">
<ul class="info_ul">
<li class="title blue_border">「개인정보 보호법」개정시행(2014.8.7)에 따라 분쟁조정 신청단계에서는 고유식별정보(주민등록번호)를 수집하지 아니하고 '휴대폰 인증‘ 및 ‘아이핀(I-Pin)’으로 고유식별정보를 대체합니다.</li>
<li class="title blue_border">한국공정거래조정원에서는 보다 깨끗하고 안정적인 서비스를 제공하기 위해 아이핀(I-Pin) 및 휴대폰인증을 통한 본인확인제를 실시하고 있습니다.</li>
<li class="title blue_border">「개인정보 보호법」개정시행(2014.8.7)에 따라 분쟁조정 신청단계에서는 고유식별정보(주민등록번호)를 수집하지 아니하고 휴대폰 및 간편인증을 이용하여 고유식별정보를 대체합니다.</li>
<li class="title blue_border">한국공정거래조정원에서는 보다 깨끗하고 안정적인 서비스를 제공하기 위해 휴대폰 및 간편인증을 통한 본인확인제를 실시하고 있습니다.</li>
</ul>
</div>
<ul class="idf_method">
@ -84,15 +50,15 @@
</button>
</li>
<li>
<button type="button" class="btn_idf ipin" onclick="openCBAWindow();">
<i class="icon ipin"></i>
<span>아이핀 인증하기</span>
<button type="button" class="btn_idf naver">
<i class="icon naver"></i>
<span>네이버</span>
</button>
</li>
<li>
<button type="button" class="btn_idf aut_cefi" onclick="AnySign.SignDataCMS(AnySign.mXgateAddress, AnySign.aCAList, '이 내용이 전자서명됩니다.', 16777216, '', AnySign.mLimitedTrial,aUserCallback);">
<i class="icon aut_cefi"></i>
<span>공동인증서(구 공인인증서)</span>
<button type="button" class="btn_idf kakao">
<i class="icon kakao"></i>
<span>카카오톡</span>
</button>
</li>
<li>
@ -113,166 +79,7 @@
</div>
</div>
<form:form id="signup" name="signup" action="" method="post">
<input type="hidden" name="agreeCheck" value="${agreeCheck}">
<input type="hidden" name="personalCheck" value="${personalCheck}">
<input type="hidden" name="mediType" value="${mediType}">
<input type="hidden" name="id" value="${id}">
<input type="hidden" name="reqNum" value="${reqNum}">
<input type="hidden" name="retUrl" value="${retUrl}">
<input type="hidden" name="srvNo" value="${srvNo}">
<input type="hidden" name="reqInfo" value="${reqInfo}">
</form:form>
<form:form id="hpSignup" name="hpSignup" action="" method="post">
<input type="hidden" name="reqInfo" value="${hpReqInfo}">
<input type="hidden" name="retUrl" value="${hpRetUrl}">
</form:form>
<form:form id="signCms" name="signCms" action="" method="post">
<input type="hidden" name="reqCert" value="">
<input type="hidden" name="reqName" value="">
</form:form>
<%-- <!doctype html>
<html lang="ko">
<head>
<title><c:out escapeXml='true' value='${siteMenuTitle}'/></title>
<link href="/site/<c:out escapeXml='true' value='${siteIdx}'/>/jsp/navigation/css/navigation.css" rel="stylesheet" type="text/css"/>
<c:if test='${siteMenuCharge == "Y"}'>
<link href="/site/<c:out escapeXml='true' value='${siteIdx}'/>/jsp/charge/css/charge.css" rel="stylesheet" type="text/css"/>
</c:if>
<c:if test='${siteMenuSatisfaction == "Y"}'>
<link href="/site/<c:out escapeXml='true' value='${siteIdx}'/>/jsp/satisfaction/css/satisfaction.css" rel="stylesheet" type="text/css"/>
</c:if>
<script src="/AnySign4PC/anySign4PCInterface.js"></script>
<c:import url="/common/jsPage/sub.do"></c:import>
<script type="text/javascript">
var CBA_window;
function openCBAWindow(){
CBA_window = window.open('', 'IPINWindow', 'width=450, height=550, resizable=0, scrollbars=0, status=0, titlebar=0, toolbar=0, left=300, top=200' );
if(CBA_window == null){
alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다.");
}
document.signup.action = 'https://ipin.siren24.com/i-PIN/jsp/ipin_j10.jsp';
document.signup.target = 'IPINWindow';
document.signup.submit();
}
var PCC_window;
function openPCCWindow(){
var PCC_window = window.open('', 'PCCV3Window', 'width=430, height=560, resizable=1, scrollbars=no, status=0, titlebar=0, toolbar=0, left=300, top=200' );
if(PCC_window == null){
alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다.");
}
document.hpSignup.action = 'https://pcc.siren24.com/pcc_V3/jsp/pcc_V3_j10.jsp';
document.hpSignup.target = 'PCCV3Window';
document.hpSignup.submit();
return true;
}
function aUserCallback(aResult) {
var result = aResult.split('|');
var user = result[1].split(',')[0].split('=');
/*var name = user[1];
var idx = name.indexOf('(');
if(idx != -1) {
name = name.substring(0,idx);
}
idx = name.indexOf('-');
if(idx != -1) {
name = name.substring(0,idx);
}*/
document.signCms.reqCert.value = result[0];
document.signCms.reqName.value = user[1];
document.signCms.action = '/user/mypage/user/check.do';
document.signCms.submit();
}
</script>
</head>
<body>
<c:if test='${memberAuthM || memberGrant == "S"}'>
<div class="seedLayOutBtn"><a href="/gtm/<c:out escapeXml='true' value='${siteIdx}'/>/siteLayOutSet.do?siteLayOutType=sub#siteLayOutSet" id="layOutEdit"><s:message code="common.button.layOut.edit"/></a></div>
</c:if>
<c:import url="/${siteIdx}/sub/header/layOut.do"></c:import>
<c:import url="/${siteIdx}/sub/sub/layOut.do"></c:import>
<c:if test='${tSiteMenuDB._siteMenuSNS == "Y"}'>
<c:import url="/common/sns/${siteIdx}/${siteMenuIdx}.do"></c:import>
</c:if>
<article class="sub_con_wrap">
<div class="sub_con_wrap_inner">
<h2 class="blind">본문</h2>
<div class="sub_tit">
<h3 class="tit1">마이페이지</h3>
</div>
<div class="sub_con">
<div class="indent mgt30">
<h4 class="mgb10 inblock indent disc2">본인인증</h4>
<ul class="indent">
<li class="indent2 disc3 mgt10"><p>「개인정보 보호법」개정시행(2014.8.7)에 따라 분쟁조정 신청단계에서는 고유식별정보(주민등록번호)를 수집하지 아니하고 '휴대폰 인증‘ 및 ‘아이핀(I-Pin)’으로 고유식별정보를 대체합니다.</p></li>
<!-- <li class="indent2 disc3 mgt20"><p>다만, 「전자문서 및 전자거래 기본법」 시행령 제22조의 3에 해당하는 경우에는 「개인정보 보호법」 시행령 제 19조 제 1호에 따른 주민등록번호가 포함된 자료를 처리할 수 있습니다.</p></li> -->
<li class="indent2 disc3 mgt20"><p>한국공정거래조정원에서는 보다 깨끗하고 안정적인 서비스를 제공하기 위해 아이핀(I-Pin) 및 휴대폰인증을 통한 본인확인제를 실시하고 있습니다.</p></li>
</ul>
</div>
<div class="certify_btn_wrap clear mgt50">
<span class="certify certify1"><a href="#" class="certify_btn_1" onclick="openPCCWindow();">휴대폰 인증하기</a></span>
<span class="certify certify2"><a href="#" class="certify_btn_2" onclick="openCBAWindow();">아이핀 인증하기</a></span>
<span class="certify certify3"><a href="#" class="certify_btn_3" onclick="AnySign.SignDataCMS(AnySign.mXgateAddress, AnySign.aCAList, '이 내용이 전자서명됩니다.', 16777216, '', AnySign.mLimitedTrial,aUserCallback);">공인인증서</a></span>
</div>
<div class="clear"></div>
<div class="indent2">
<p class="indent2 tit5 mgt50 disc1">본인인증은 본인 명의의 휴대폰 인증을 통해서만 가능하며, 사업자 대표가 아닌 자(소속 임직원, 법무법인, 친인척 등)가 신청하는 경우 추후 조정절차 과정에서 추가로 관련 자료의 제출 요구를 받으실 수 있습니다.</p>
</div>
</div><!-- E : sub_con -->
</div><!-- E : sub_con_wrap_inner -->
</article><!-- E : sub_con_wrap -->
<form:form id="signup" name="signup" action="" method="post">
<input type="hidden" name="agreeCheck" value="${agreeCheck}">
<input type="hidden" name="personalCheck" value="${personalCheck}">
<input type="hidden" name="mediType" value="${mediType}">
<input type="hidden" name="id" value="${id}">
<input type="hidden" name="reqNum" value="${reqNum}">
<input type="hidden" name="retUrl" value="${retUrl}">
<input type="hidden" name="srvNo" value="${srvNo}">
<input type="hidden" name="reqInfo" value="${reqInfo}">
</form:form>
<form:form id="hpSignup" name="hpSignup" action="" method="post">
<input type="hidden" name="reqInfo" value="${hpReqInfo}">
<input type="hidden" name="retUrl" value="${hpRetUrl}">
</form:form>
<form:form id="signCms" name="signCms" action="" method="post">
<input type="hidden" name="reqCert" value="">
<input type="hidden" name="reqName" value="">
</form:form>
<c:if test='${siteMenuCharge == "Y"}'>
<c:import url="/common/charge/${siteIdx}.do?siteMenuManagerIdx=${siteMenuManagerIdx}"></c:import>
</c:if>
<c:if test='${siteMenuSatisfaction == "Y"}'>
<c:import url="/common/satisfaction/${siteIdx}/${siteMenuIdx}.do"></c:import>
</c:if>
<c:import url="/${siteIdx}/sub/footer/layOut.do"></c:import>
</body>
</html> --%>

View File

@ -4,6 +4,9 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<link rel="stylesheet" href="/kofair_case_seed/usr/style/mypage.css">
<script src="/kofair_case_seed/usr/scripts/mypage.js"></script>
<script type="text/javascript">
function SetPriceInput(str){
str=str.replace(/,/g,'');

View File

@ -2,6 +2,9 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!-- css -->
<link rel="stylesheet" href="/kofair_case_seed/usr/style/counsel.css">
<!-- js -->
<script src="/js/lib/jquery-1.9.1.min.js"></script>
<script src="/js/lib/jquery-migrate-1.2.1.min.js"></script>

View File

@ -60,6 +60,7 @@
${bbsView.BBS_REG_NM}
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
@ -70,7 +71,7 @@
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<div id="fileControl" class="w100per dragdrop_wrap"></div>
<input type="hidden" name="fileFuncType" value="form_notice" />
<input type="hidden" name="innorixFileListVO" value="" />
@ -235,22 +236,6 @@
// 파일 삭제 이벤트
control.on('removeFiles', function (p) {
fn_deleteCallBackInnorix(p[0].dataIdx)
/* if (removeFlag == true) {
// 삭제된 파일정보 배열에 담기
for (var i = 0; i < p.length; i++ ) {
var fileObj = new Object();
if (p[i].transferType == "download")
{
fileObj.downloadUrl = p[i].downloadUrl;
fileObj.printFileName = p[i].printFileName;
fileObj.fileSize = p[i].fileSize;
delFileArr.push(fileObj);
deleteArr(downFileArr, "printFileName", p[i].printFileName);
}
}
}
removeFlag = true; */
});
});

View File

@ -68,7 +68,7 @@
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<div id="fileControl" class="w100per dragdrop_wrap"></div>
<input type="hidden" name="fileFuncType" value="form_notice" />
<input type="hidden" name="innorixFileListVO" value="" />

View File

@ -1,259 +1,379 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!doctype html>
<html lang="ko">
<head>
<title>정보 관리</title>
<link href='/css/space.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<script src="/editor/webnote.js"></script>
</head>
<body>
<div class="page-title-wrap clear">
<div class="page-title-inner">
<h3 class="page-title">분쟁조정 사례(${menuName})</h3>
<div class="tooltipBox type01">
<button type="button" class="page-tip">페이지안내</button>
<div class="tooltipText">
<p>분쟁조정 사례(${menuName})를 수정 할 수 있는 페이지 입니다.</p>
</div>
</div>
</div>
</div>
<form:form name="frm" id="frm" action="" method="post">
<input type="hidden" name="boardIdxx" id="boardIdxx" value="">
<input type="hidden" name="medBig" id="medBig" value="">
</form:form>
<form:form name="writeFrm" id="writeFrm" action="/gtm/case/exam/${boardIdx}/edit.do" method="post">
<input type="hidden" name="examNo" value="${param.examNo}">
<input type="hidden" name="searchType" value="${param.searchType}">
<input type="hidden" name="searchTilte" value="${param.searchTilte}">
<input type="hidden" name="page" id="page" value="${param.page}">
<input type="hidden" name="medBig2" id="medBig2" value="">
<input type="hidden" name="medSmall2" id="medSmall2" value="">
<input type="hidden" name="examType" id="examType" value="">
<fieldset>
<div class="bbs-view-layout">
<div class="bbs-view-item">
<p class="item-title">제목</p>
<div class="item-box">
<input type="text" name="examSubj" id="examSubj" maxlength="250" value="${bbsView.EXAM_SUBJ}">
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">작성자</p>
<div class="item-box">
${memberName}
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
<label for="upFile" class="btn btn_text btn_36 blue_border temp-file-button" style="display:flex;justify-content:center;align-items:center;">첨부파일</label>
</div>
<ul class="upFileHtml" id="upFileHtml">
<c:forEach items="${fileList}" var="list" varStatus="status">
<li id="fileUploadP${status.count}" class="bbsFileHtml">
<img src="/img/user/bbs/icon_file.gif" alt="gif">&nbsp;&nbsp;<span>${list.EXTRA_FILE_NAME}</span>
<a href="javascript:;" onclick="javascript:jf_delete_file('${status.count}', '${list.EXTRA_FILE_SIZE}');" class="del ml7"><img src="/img/user/bbs/btn_file_del.png" alt="삭제"></a>
<input type="hidden" name="fileIdx" value="${list.EXTRA_FILE_IDX}" class="fileIdxClass"/>
</li>
</c:forEach>
</ul>
<input type="hidden" name="fileFuncType" value="exam" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">사건 유형 및 분류 선택</p>
<div class="item-box">
<select name="examTypeSell" id="examTypeSell" class="sel_default">
</select>
<span> / </span>
<!-- <select name="mediationBigType" id="mediationBigType" class="sch-select" onchange="mediationSmall()"> -->
<select name="mediationBigType" id="mediationBigType" class="sch-select">
<option value="">대분류 선택</option>
<option value="big1" >불성립</option>
<option value="big2" >성립</option>
<option value="big4" >심의</option>
<option value="big5" >종결</option>
<option value="big3" >중지</option>
</select>
<!-- <span> / </span>
<select name="mediationSmallType" id="mediationSmallType" class="sch-select">
<option value="">소분류 선택</option>
</select> -->
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">사건의 개요</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT}</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">분쟁사실 및 당사자 주장</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont2" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT2}</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">검토</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont3" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT3}</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">조정결과</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont4" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT4}</textarea>
</div>
</div>
</div>
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill">저장</button>
<button type="button" onclick="javascript:goList()" class="btn btn_text btn_46 gray_fill">목록</button>
</div>
</fieldset>
</form:form>
<!-- 파일 입시저장을 위한 폼 -->
<form id="fileTempUpFrm" action="/seed/extra/temp/file.do" method="post" enctype="multipart/form-data">
<input type="hidden" name="fileFuncType" value="exam" />
<div class="temp-file-area">
<input type="file" name="upFile" id="upFile" class="essential temp-file-hideen" onchange="fileTempUp();" required title="첨부파일" value="" style="ime-mode: disabled;" >
</div>
</form>
<form name="paramFrm" id="paramFrm" action="/gtm/case/exam/${boardIdx}/list.do" method="get">
<input type="hidden" name="searchType" value="${param.searchType}">
<input type="hidden" name="searchTilte" value="${param.searchTilte}">
<input type="hidden" name="page" id="page" value="${param.page}">
</form>
<script type="text/javascript">
webnote.setConfig({
auto_start: true, //페이지로딩시 페이지에 웹노트 에디터를 자동으로 생성할것인지(true: 자동생성, false: 생성안함)
lang: "ko", //언어셋(lang 디렉토리내에 언어셋.txt 파일이 있어야 함(ex: ko.txt)
base_dir: "/editor", //웹노트 설치디렉토리를 직접 지정
css_url: "/editor/webnote.css", //기본 css 파일을 직접 지정
icon_dir: "/editor/icon", //기본 아이콘 디렉토리를 직접 지정
emoticon_dir: "/editor/emoticon", //기본 이모티콘 디렉토리를 직접 지정
attach_proc: "/common/proc/case/editor/editorFileReg.do", //에디터에 이미지 즉시 업로드를 처리하는 서버스크립트를 직접 지정
delete_proc: "/common/proc/case/editor/editorFileDel.do", //에디터에 즉시 업로드된 이미지 삭제를 처리하는 서버스크립트를 직접 지정(attach_proc 과 같을경우 설정 불필요)
use_blind: true, //팝업메뉴 출력 시 반투명 배경 스크린 사용여부(true:사용(기본), false: 미사용)
allow_dndupload: false, //드래그&드롭을 통한 이미지 파일 업로드 허용 여부
allow_dndresize: false, //드래그&드롭을 통한 에디터 사이즈(높이) 조절 허용 여부
//fonts: ["굴림체","궁서체"], //선택할 수 있는 폰트종류를 직접 정의
//fontsizes: ["9pt","10pt"], //선택할 수 있는 폰트사이즈를 직접 정의(단위포함)
lineheights: ["120%","150%","180%"], //선택할 수 있는 줄간격을 직접 정의(단위포함)
//emoticons: ["Nerd"], //선택할 수 있는 이모티콘들을 직접 정의(png파일은 확장자 생략 가능하며, 그외에는 확장자까지 입력 : PNG, GIF, JPG 만 가능)
//specialchars: ["§","☆"], //선택할 수 있는 특수문자를 직접 정의
code_highlight: true,
fade_popup: true, //팝업 열리기/닫히기 시 fade in/out 기능 적용 여부(사용pc 사용이 낮은경우 false로 )
attach_list_view: false
});
$(window).load(function(){
$("#idx_toolbar_webnote_content_imagecenter").hide();
$("#idx_toolbarcontainer_webnote_content img").each(function(index, item) {
if($(item).attr("class") != "webnote_seperator"){
var event = $(item).attr("onclick");
$(item).wrap("<a href='javascript:;' onclick="+event+">");
$(item).attr("onclick", "");
}
});
});
$(document).ready(function(){
loadexamGubun();
var medBiglist = $("#mediationBigType option");
for(var i = 0; i < medBiglist.size(); i++){
if(medBiglist[i].text == '${bbsView.EXAM_RESULT1}'){
$(medBiglist[i]).attr("selected", true);
}
}
$("#writeFrm").submit(function(){
if($("#examSubj").val().trim() == ""){
alert("제목을 입력해 주세요.");
$("#examSubj").focus();
return false;
}
/* if($("#regMberNm").val().trim() == ""){
alert("작성자를 입력해 주세요.");
$("#regMberNm").focus();
return false;
} */
/* if($("#content").val() == ""){
alert("내용을 입력해 주세요.");
$("#content").focus();
return false;
} */
$("#examType").val($("#examTypeSell option:selected").text());
$("#medBig2").val($("#mediationBigType option:selected").text());
});
});
function goList(){
$("#paramFrm").submit();
}
function loadexamGubun(){
var url = "";
$("#type").val("L");
$("#boardIdxx").val(${boardIdx});
var param = jQuery('#frm').serialize();
url = "/user/case/Exam/ajax/BBsInfo.do";
XHR2(url, param, function(r){
var html2 = "";
if(r.data.length != 0){
$("#examTypeSell").empty();
$.each(r.data, function(k,v){
if(v.value == '${bbsView.EXAM_TYPE}'){
html2 += '<option name=search value='+v.value+' selected>'+v.value+'</option>';
}else{
html2 += '<option name=search value='+v.value+'>'+v.value+'</option>';
}
})
$("#examTypeSell").append(html2);
}
})
}
</script>
<script src="/js/jquery.form.js"></script>
<script src="/js/seedFileUtil.js"></script>
</body>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
<head>
<title>정보 관리</title>
<link href='/css/space.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<script src="/editor/webnote.js"></script>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
</head>
<body>
<div class="page-title-wrap clear">
<div class="page-title-inner">
<h3 class="page-title">분쟁조정 사례(${menuName})</h3>
<div class="tooltipBox type01">
<button type="button" class="page-tip">페이지안내</button>
<div class="tooltipText">
<p>분쟁조정 사례(${menuName})를 수정 할 수 있는 페이지 입니다.</p>
</div>
</div>
</div>
</div>
<form:form name="frm" id="frm" action="" method="post">
<input type="hidden" name="boardIdxx" id="boardIdxx" value="">
<input type="hidden" name="medBig" id="medBig" value="">
</form:form>
<form:form name="writeFrm" id="writeFrm" action="/gtm/case/exam/${boardIdx}/edit.do" method="post">
<input type="hidden" name="examNo" value="${param.examNo}">
<input type="hidden" name="searchType" value="${param.searchType}">
<input type="hidden" name="searchTilte" value="${param.searchTilte}">
<input type="hidden" name="page" id="page" value="${param.page}">
<input type="hidden" name="medBig2" id="medBig2" value="">
<input type="hidden" name="medSmall2" id="medSmall2" value="">
<input type="hidden" name="examType" id="examType" value="">
<fieldset>
<div class="bbs-view-layout">
<div class="bbs-view-item">
<p class="item-title">제목</p>
<div class="item-box">
<input type="text" name="examSubj" id="examSubj" maxlength="250" value="${bbsView.EXAM_SUBJ}">
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">작성자</p>
<div class="item-box">
${memberName}
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl" class="w100per dragdrop_wrap"></div>
<input type="hidden" name="fileFuncType" value="exam" />
<input type="hidden" name="innorixFileListVO" value="" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div>
<%-- <div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
<label for="upFile" class="btn btn_text btn_36 blue_border temp-file-button" style="display:flex;justify-content:center;align-items:center;">첨부파일</label>
</div>
<ul class="upFileHtml" id="upFileHtml">
<c:forEach items="${fileList}" var="list" varStatus="status">
<li id="fileUploadP${status.count}" class="bbsFileHtml">
<img src="/img/user/bbs/icon_file.gif" alt="gif">&nbsp;&nbsp;<span>${list.EXTRA_FILE_NAME}</span>
<a href="javascript:;" onclick="javascript:jf_delete_file('${status.count}', '${list.EXTRA_FILE_SIZE}');" class="del ml7"><img src="/img/user/bbs/btn_file_del.png" alt="삭제"></a>
<input type="hidden" name="fileIdx" value="${list.EXTRA_FILE_IDX}" class="fileIdxClass"/>
</li>
</c:forEach>
</ul>
<input type="hidden" name="fileFuncType" value="exam" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div> --%>
<div class="bbs-view-item">
<p class="item-title">사건 유형 및 분류 선택</p>
<div class="item-box">
<select name="examTypeSell" id="examTypeSell" class="sel_default">
</select>
<span> / </span>
<!-- <select name="mediationBigType" id="mediationBigType" class="sch-select" onchange="mediationSmall()"> -->
<select name="mediationBigType" id="mediationBigType" class="sch-select">
<option value="">대분류 선택</option>
<option value="big1" >불성립</option>
<option value="big2" >성립</option>
<option value="big4" >심의</option>
<option value="big5" >종결</option>
<option value="big3" >중지</option>
</select>
<!-- <span> / </span>
<select name="mediationSmallType" id="mediationSmallType" class="sch-select">
<option value="">소분류 선택</option>
</select> -->
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">사건의 개요</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT}</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">분쟁사실 및 당사자 주장</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont2" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT2}</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">검토</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont3" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT3}</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">조정결과</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont4" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">${bbsView.EXAM_CONT4}</textarea>
</div>
</div>
</div>
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill" style="display:none;">저장</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="innorixUpload();">저장</button>
<button type="button" onclick="javascript:goList()" class="btn btn_text btn_46 gray_fill">목록</button>
</div>
</fieldset>
</form:form>
<!-- 파일 입시저장을 위한 폼 -->
<form id="fileTempUpFrm" action="/seed/extra/temp/file.do" method="post" enctype="multipart/form-data">
<input type="hidden" name="fileFuncType" value="exam" />
<div class="temp-file-area">
<input type="file" name="upFile" id="upFile" class="essential temp-file-hideen" onchange="fileTempUp();" required title="첨부파일" value="" style="ime-mode: disabled;" >
</div>
</form>
<form name="paramFrm" id="paramFrm" action="/gtm/case/exam/${boardIdx}/list.do" method="get">
<input type="hidden" name="searchType" value="${param.searchType}">
<input type="hidden" name="searchTilte" value="${param.searchTilte}">
<input type="hidden" name="page" id="page" value="${param.page}">
</form>
<script type="text/javascript">
webnote.setConfig({
auto_start: true, //페이지로딩시 페이지에 웹노트 에디터를 자동으로 생성할것인지(true: 자동생성, false: 생성안함)
lang: "ko", //언어셋(lang 디렉토리내에 언어셋.txt 파일이 있어야 함(ex: ko.txt)
base_dir: "/editor", //웹노트 설치디렉토리를 직접 지정
css_url: "/editor/webnote.css", //기본 css 파일을 직접 지정
icon_dir: "/editor/icon", //기본 아이콘 디렉토리를 직접 지정
emoticon_dir: "/editor/emoticon", //기본 이모티콘 디렉토리를 직접 지정
attach_proc: "/common/proc/case/editor/editorFileReg.do", //에디터에 이미지 즉시 업로드를 처리하는 서버스크립트를 직접 지정
delete_proc: "/common/proc/case/editor/editorFileDel.do", //에디터에 즉시 업로드된 이미지 삭제를 처리하는 서버스크립트를 직접 지정(attach_proc 과 같을경우 설정 불필요)
use_blind: true, //팝업메뉴 출력 시 반투명 배경 스크린 사용여부(true:사용(기본), false: 미사용)
allow_dndupload: false, //드래그&드롭을 통한 이미지 파일 업로드 허용 여부
allow_dndresize: false, //드래그&드롭을 통한 에디터 사이즈(높이) 조절 허용 여부
//fonts: ["굴림체","궁서체"], //선택할 수 있는 폰트종류를 직접 정의
//fontsizes: ["9pt","10pt"], //선택할 수 있는 폰트사이즈를 직접 정의(단위포함)
lineheights: ["120%","150%","180%"], //선택할 수 있는 줄간격을 직접 정의(단위포함)
//emoticons: ["Nerd"], //선택할 수 있는 이모티콘들을 직접 정의(png파일은 확장자 생략 가능하며, 그외에는 확장자까지 입력 : PNG, GIF, JPG 만 가능)
//specialchars: ["§","☆"], //선택할 수 있는 특수문자를 직접 정의
code_highlight: true,
fade_popup: true, //팝업 열리기/닫히기 시 fade in/out 기능 적용 여부(사용pc 사용이 낮은경우 false로 )
attach_list_view: false
});
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
var fileList = "";
$(window).load(function(){
$("#idx_toolbar_webnote_content_imagecenter").hide();
$("#idx_toolbarcontainer_webnote_content img").each(function(index, item) {
if($(item).attr("class") != "webnote_seperator"){
var event = $(item).attr("onclick");
$(item).wrap("<a href='javascript:;' onclick="+event+">");
$(item).attr("onclick", "");
}
});
});
$(document).ready(function(){
loadexamGubun();
var medBiglist = $("#mediationBigType option");
for(var i = 0; i < medBiglist.size(); i++){
if(medBiglist[i].text == '${bbsView.EXAM_RESULT1}'){
$(medBiglist[i]).attr("selected", true);
}
}
$("#writeFrm").submit(function(){
if($("#examSubj").val().trim() == ""){
alert("제목을 입력해 주세요.");
$("#examSubj").focus();
return false;
}
/* if($("#regMberNm").val().trim() == ""){
alert("작성자를 입력해 주세요.");
$("#regMberNm").focus();
return false;
} */
/* if($("#content").val() == ""){
alert("내용을 입력해 주세요.");
$("#content").focus();
return false;
} */
$("#examType").val($("#examTypeSell option:selected").text());
$("#medBig2").val($("#mediationBigType option:selected").text());
});
/* 이노릭스 대용량 업로드 솔루션 */
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("#fileTempUpFrm").find("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
var downFileArr =${innorixFileListInfoStr};
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
// 파일전송 컨트롤 로딩 완료
control.on('loadComplete', function (p) {
resetFileArr = downFileArr; // 다운로드 정보 초기화 정보 생성
resetFileArr = resetFileArr.slice(0); // 배열 깊은 복사
control.presetDownloadFiles(resetFileArr); // 다운로드 파일 추가
});
// 파일 삭제 이벤트
control.on('removeFiles', function (p) {
fn_deleteCallBackInnorix(p[0].dataIdx)
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 수정
첨부파일이 없을 시 바로 게시글 수정
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
function fn_deleteCallBackInnorix(dataIdx){
var deleteFileData = $("#deleteFileDataId").val();
if(deleteFileData != ""){
deleteFileData = deleteFileData+","+dataIdx
}else{
deleteFileData = dataIdx
}
$("#deleteFileDataId").val(deleteFileData);
}
function goList(){
$("#paramFrm").submit();
}
function loadexamGubun(){
var url = "";
$("#type").val("L");
$("#boardIdxx").val(${boardIdx});
var param = jQuery('#frm').serialize();
url = "/user/case/Exam/ajax/BBsInfo.do";
XHR2(url, param, function(r){
var html2 = "";
if(r.data.length != 0){
$("#examTypeSell").empty();
$.each(r.data, function(k,v){
if(v.value == '${bbsView.EXAM_TYPE}'){
html2 += '<option name=search value='+v.value+' selected>'+v.value+'</option>';
}else{
html2 += '<option name=search value='+v.value+'>'+v.value+'</option>';
}
})
$("#examTypeSell").append(html2);
}
})
}
</script>
<script src="/js/jquery.form.js"></script>
<script src="/js/seedFileUtil.js"></script>
</body>
</html>

View File

@ -1,6 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
@ -11,6 +12,12 @@
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
<script src="/editor/webnote.js"></script>
</head>
@ -47,7 +54,24 @@
${memberName}
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<input type="hidden" name="fileFuncType" value="exam" />
<input type="hidden" name="innorixFileListVO" value="" />
</div>
</div>
<!-- <div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
@ -60,7 +84,7 @@
<input type="hidden" name="uploadFileCnt" value="0" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div>
</div> -->
<div class="bbs-view-item">
<p class="item-title">사건 유형 및 분류 선택</p>
<div class="item-box">
@ -114,7 +138,8 @@
<input type="hidden" name="medSmall2" id="medSmall2" value="">
<input type="hidden" name="examType" id="examType" value="">
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill">저장</button>
<button type="submit" class="btn btn_text btn_46 blue_fill" style="display:none;">저장</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="innorixUpload();">저장</button>
<button type="button" onclick="javascript:goList()" class="btn btn_text btn_46 gray_fill">목록</button>
</div>
</fieldset>
@ -159,6 +184,10 @@
attach_list_view: false
});
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
$(window).load(function(){
$("#idx_toolbar_webnote_content_imagecenter").hide();
@ -199,8 +228,77 @@
return false;
} */
});
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("#fileTempUpFrm").find("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
// 업로드 완료 후 temp 파일 저장 - 사용X
//control.on('afterAddFiles', function (p) {
//console.log('afterAddFiles : ', p);
//var postObj = new Object();
//postObj.directory = directory;
//control.setPostData(postObj);
//control.upload(); // 업로드 시작
/* $("#fileTempUpFrm").submit(); */
/* fn_callBackInnorix(p.files); // 파일 정보 DB isnert function */
//});
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 작성
첨부파일이 없을 시 바로 게시글 작성
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작 */
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
function goList(){
$("#paramFrm").submit();

View File

@ -0,0 +1,239 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!doctype html>
<html lang="ko">
<head>
<title>정보 관리</title>
<link href='/css/space.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<script src="/editor/webnote.js"></script>
</head>
<body>
<div class="page-title-wrap clear">
<div class="page-title-inner">
<h3 class="page-title">분쟁조정 사례(${menuName})</h3>
<div class="tooltipBox type01">
<button type="button" class="page-tip">페이지안내</button>
<div class="tooltipText">
<p>분쟁조정 사례(${menuName})를 작성 할 수 있는 페이지 입니다.</p>
</div>
</div>
</div>
</div>
<form:form name="frm" id="frm" action="" method="post">
<input type="hidden" name="boardIdxx" id="boardIdxx" value="">
<input type="hidden" name="medBig" id="medBig" value="">
</form:form>
<%-- <form:form name="writeFrm" id="writeFrm" action="${pageType}/${siteIdx}/${boardIdx}/write.do" method="post"> --%>
<form:form name="writeFrm" id="writeFrm" action="/gtm/case/exam/${boardIdx}/write.do" method="post">
<fieldset>
<div class="bbs-view-layout">
<div class="bbs-view-item">
<p class="item-title">제목</p>
<div class="item-box">
<input type="text" name="examSubj" id="examSubj" maxlength="250">
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">작성자</p>
<div class="item-box">
${memberName}
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
<label for="upFile" class="btn btn_text btn_36 blue_border temp-file-button" style="display:flex;justify-content:center;align-items:center;">첨부파일</label>
</div>
<ul class="upFileHtml" id="upFileHtml">
</ul>
<input type="hidden" name="fileFuncType" value="exam" />
<input type="hidden" name="uploadFileCnt" value="0" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">사건 유형 및 분류 선택</p>
<div class="item-box">
<select name="examTypeSell" id="examTypeSell" class="sel_default">
</select>
<span> / </span>
<select name="mediationBigType" id="mediationBigType" class="sch-select" onchange="mediationSmall()">
<option value="">대분류 선택</option>
<option value="big1" >불성립</option>
<option value="big2" >성립</option>
<option value="big4" >심의</option>
<option value="big5" >종결</option>
<option value="big3" >중지</option>
</select>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">사건의 개요</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">
</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">분쟁사실 및 당사자 주장</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont2" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">
</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">검토</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont3" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">
</textarea>
</div>
</div>
<div class="bbs-view-item">
<p class="item-title">조정결과</p>
<div class="item-box">
<textarea class="bg_essential " name="editorParam_examCont4" id="content" title="내용을 입력하세요" style="width:99%; height:300px;" editor="webnote" tools="deny:images,emoticon,special_chars">
</textarea>
</div>
</div>
</div>
<input type="hidden" name="medBig2" id="medBig2" value="">
<input type="hidden" name="medSmall2" id="medSmall2" value="">
<input type="hidden" name="examType" id="examType" value="">
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill">저장</button>
<button type="button" onclick="javascript:goList()" class="btn btn_text btn_46 gray_fill">목록</button>
</div>
</fieldset>
</form:form>
<!-- 파일 입시저장을 위한 폼 -->
<form id="fileTempUpFrm" action="/seed/extra/temp/file.do" method="post" enctype="multipart/form-data">
<input type="hidden" name="fileFuncType" value="exam" />
<div class="temp-file-area">
<input type="file" name="upFile" id="upFile" class="essential temp-file-hideen" onchange="fileTempUp();" required title="첨부파일" value="" style="ime-mode: disabled;" >
</div>
</form>
<form name="paramFrm" id="paramFrm" action="/gtm/case/exam/${boardIdx}/list.do" method="get">
<input type="hidden" name="searchType" value="${param.searchType}">
<input type="hidden" name="searchTilte" value="${param.searchTilte}">
<input type="hidden" name="page" id="page" value="${param.page}">
</form>
<%-- <form:form name="frm" id="frm" action="" method="post">
<input type="hidden" name="medBig" id="medBig" value="">
</form:form> --%>
<script type="text/javascript">
webnote.setConfig({
auto_start: true, //페이지로딩시 페이지에 웹노트 에디터를 자동으로 생성할것인지(true: 자동생성, false: 생성안함)
lang: "UTF-8", //언어셋(lang 디렉토리내에 언어셋.txt 파일이 있어야 함(ex: ko.txt)
base_dir: "/editor", //웹노트 설치디렉토리를 직접 지정
css_url: "/editor/webnote.css", //기본 css 파일을 직접 지정
icon_dir: "/editor/icon", //기본 아이콘 디렉토리를 직접 지정
emoticon_dir: "/editor/emoticon", //기본 이모티콘 디렉토리를 직접 지정
attach_proc: "/common/proc/case/editor/editorFileReg.do", //에디터에 이미지 즉시 업로드를 처리하는 서버스크립트를 직접 지정
delete_proc: "/common/proc/case/editor/editorFileDel.do", //에디터에 즉시 업로드된 이미지 삭제를 처리하는 서버스크립트를 직접 지정(attach_proc 과 같을경우 설정 불필요)
use_blind: true, //팝업메뉴 출력 시 반투명 배경 스크린 사용여부(true:사용(기본), false: 미사용)
allow_dndupload: false, //드래그&드롭을 통한 이미지 파일 업로드 허용 여부
allow_dndresize: false, //드래그&드롭을 통한 에디터 사이즈(높이) 조절 허용 여부
//fonts: ["굴림체","궁서체"], //선택할 수 있는 폰트종류를 직접 정의
//fontsizes: ["9pt","10pt"], //선택할 수 있는 폰트사이즈를 직접 정의(단위포함)
lineheights: ["120%","150%","180%"], //선택할 수 있는 줄간격을 직접 정의(단위포함)
//emoticons: ["Nerd"], //선택할 수 있는 이모티콘들을 직접 정의(png파일은 확장자 생략 가능하며, 그외에는 확장자까지 입력 : PNG, GIF, JPG 만 가능)
//specialchars: ["§","☆"], //선택할 수 있는 특수문자를 직접 정의
code_highlight: true,
fade_popup: true, //팝업 열리기/닫히기 시 fade in/out 기능 적용 여부(사용pc 사용이 낮은경우 false로 )
attach_list_view: false
});
$(window).load(function(){
$("#idx_toolbar_webnote_content_imagecenter").hide();
$("#idx_toolbarcontainer_webnote_content img").each(function(index, item) {
if($(item).attr("class") != "webnote_seperator"){
var event = $(item).attr("onclick");
$(item).wrap("<a href='javascript:;' onclick="+event+">");
$(item).attr("onclick", "");
}
});
});
$(document).ready(function(){
loadexamGubun();
$("#writeFrm").submit(function(){
if($("#examSubj").val().trim() == ""){
alert("제목을 입력해 주세요.");
$("#examSubj").focus();
return false;
}
$("#examType").val($("#examTypeSell option:selected").text());
$("#medBig2").val($("#mediationBigType option:selected").text());
$("#medSmall2").val($("#mediationSmallType option:selected").text());
/* if($("#regMberNm").val().trim() == ""){
alert("작성자를 입력해 주세요.");
$("#regMberNm").focus();
return false;
} */
/* if($("#content").val() == ""){
alert("내용을 입력해 주세요.");
$("#content").focus();
return false;
} */
});
});
function goList(){
$("#paramFrm").submit();
}
function loadexamGubun(){
var url = "";
$("#type").val("L");
$("#boardIdxx").val(${boardIdx});
var param = jQuery('#frm').serialize();
url = "/user/case/Exam/ajax/BBsInfo.do";
XHR2(url, param, function(r){
var html2 = "";
if(r.data.length != 0){
$("#examTypeSell").empty();
$.each(r.data, function(k,v){
html2 += '<option name=search value='+v.value+'>'+v.value+'</option>';
})
$("#examTypeSell").append(html2);
}
})
}
</script>
<script src="/js/jquery.form.js"></script>
<script src="/js/seedFileUtil.js"></script>
</body>
</html>

View File

@ -1,6 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
<head>
@ -9,6 +10,13 @@
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
</head>
<body>
@ -212,9 +220,25 @@
</select>
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">상담기록카드</p>
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<input type="hidden" name="fileFuncType" value="lawCard" />
<input type="hidden" name="innorixFileListVO" value="" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
<%-- <div class="item-box">
<div class="temp-file-area">
<label for="upFile" style='display:flex;justify-content:center;align-items:center;' class="btn btn_text btn_36 blue_border temp-file-button">첨부파일</label>
</div>
@ -231,7 +255,7 @@
<input type="hidden" name="fileFuncType" value="lawCard" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div> --%>
</div>
</div>
</fieldset>
@ -251,7 +275,8 @@
<c:if test="${data.counselState eq '01'}">
<button type="button" class="btn btn_text btn_46 blue_border violet mb10" onclick="goChange()">상담변경</button>
</c:if>
<button type="submit" class="btn btn_text btn_46 blue_fill violet mb10">등록</button>
<button type="submit" class="btn btn_text btn_46 blue_fill violet mb10" style="display:none;">등록</button>
<button type="button" class="btn btn_text btn_46 blue_fill violet mb10" onclick="innorixUpload();">등록</button>
</c:if>
<button type="button" class="btn btn_text btn_46 gray_fill lightgray mb10" onclick="goList()">목록</button>
<!-- <button type="button" class="btn-normal lightgray mb10" onclick="PrintElem(document.getElementById('printBox'));">인쇄</button> -->
@ -338,6 +363,12 @@
return true;
}
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
var fileList = "";
$(document).ready(function(){
caseGubunCombo();
counselAppTypeCombo();
@ -379,8 +410,95 @@
$(optionList[i]).attr("selected", true);
}
}
/* 이노릭스 대용량 업로드 솔루션 */
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("#fileTempUpFrm").find("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
var downFileArr =${innorixFileListInfoStr};
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
// 파일전송 컨트롤 로딩 완료
control.on('loadComplete', function (p) {
resetFileArr = downFileArr; // 다운로드 정보 초기화 정보 생성
resetFileArr = resetFileArr.slice(0); // 배열 깊은 복사
control.presetDownloadFiles(resetFileArr); // 다운로드 파일 추가
});
// 파일 삭제 이벤트
control.on('removeFiles', function (p) {
fn_deleteCallBackInnorix(p[0].dataIdx)
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 수정
첨부파일이 없을 시 바로 게시글 수정
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
function fn_deleteCallBackInnorix(dataIdx){
var deleteFileData = $("#deleteFileDataId").val();
if(deleteFileData != ""){
deleteFileData = deleteFileData+","+dataIdx
}else{
deleteFileData = dataIdx
}
$("#deleteFileDataId").val(deleteFileData);
}
//상담분야
function caseGubunCombo(){
var url = "";

View File

@ -1,6 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
<head>
@ -9,6 +10,13 @@
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
</head>
<body>
@ -132,32 +140,47 @@
</select>
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">상담기록카드</p>
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<input type="hidden" name="fileFuncType" value="lawCard" />
<input type="hidden" name="innorixFileListVO" value="" />
</div>
<%-- <div class="item-box">
<div class="temp-file-area">
<label for="upFile" class="btn btn_text blue_border btn_36 temp-file-button" style="display:flex;justify-content:center;align-items:center;">첨부파일</label>
</div>
<ul class="upFileHtml" id="upFileHtml">
<%-- <c:forEach items="${fileList2}" var="list" varStatus="status">
<c:forEach items="${fileList2}" var="list" varStatus="status">
<li id="fileUploadP${status.count}" class="bbsFileHtml">
<img src="/img/user/bbs/icon_file.gif" alt="gif">&nbsp;&nbsp;
<a href="/seed/extra/down/file.do?dataIdx=${list.EXTRA_FILE_IDX}&funcType=${list.EXTRA_FUNC_TYPE}&pathKey1=${siteIdx}">${list.EXTRA_FILE_NAME}</a>
<a href="javascript:;" onclick="javascript:jf_delete_file('${status.count}', '${list.EXTRA_FILE_SIZE}');" class="del ml7"><img src="/img/user/bbs/btn_file_del.png" alt="삭제"></a>
<input type="hidden" name="fileIdx" value="${list.EXTRA_FILE_IDX}" class="fileIdxClass"/>
</li>
</c:forEach> --%>
</c:forEach>
</ul>
<input type="hidden" name="fileFuncType" value="lawCard" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div> --%>
</div>
</div>
</fieldset>
<br>
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill btn-normal violet mb10">등록</button>
<button type="submit" class="btn btn_text btn_46 blue_fill btn-normal violet mb10" style="display:none;">등록</button>
<button type="button" class="btn btn_text btn_46 blue_fill btn-normal violet mb10" onclick="innorixUpload();">등록</button>
<button type="button" class="btn btn_text btn_46 gray_fill btn-normal lightgray mb10" onclick="goList()">목록</button>
</div>
</form:form>
@ -172,6 +195,12 @@
</form>
<script type="text/javascript">
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
function goList(){
location.href = "/gtm/case/onlineCounsel/lawList.do";
}
@ -249,8 +278,66 @@
$(optionList[i]).attr("selected", true);
}
}
/* 이노릭스 대용량 업로드 솔루션 */
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("#fileTempUpFrm").find("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 작성
첨부파일이 없을 시 바로 게시글 작성
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작 */
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
//상담분야
function caseGubunCombo(){
var url = "";

View File

@ -2,6 +2,7 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
<head>
@ -10,6 +11,12 @@
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
</head>
<body>
@ -100,15 +107,31 @@
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">첨부파일</p>
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<input type="hidden" name="fileFuncType" value="online" />
<input type="hidden" name="innorixFileListVO" value="" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
<%-- <div class="item-box">
<c:forEach items="${fileList}" var="list" varStatus="status">
<div style="margin-top:10px">
<img src="/img/user/bbs/icon_file.gif" alt="gif">&nbsp;&nbsp;<a href="/seed/extra/down/file.do?dataIdx=${list.EXTRA_FILE_IDX}&funcType=${list.EXTRA_FUNC_TYPE}&pathKey1=${siteIdx}">${list.EXTRA_FILE_NAME}</a>
</div>
</c:forEach>
</div>
</div> --%>
</div>
<div class="bbs-view-item">
@ -251,7 +274,8 @@
<c:if test="${data.counselState eq '01'}">
<button type="button" class="btn btn_text btn_46 blue_border" onclick="goChange()">상담변경</button>
</c:if>
<button type="submit" class="btn btn_text btn_46 blue_fill">등록</button>
<button type="submit" class="btn btn_text btn_46 blue_fill" style="display:none;">등록</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="innorixUpload();">등록</button>
</c:if>
<button type="button" class="btn btn_text btn_46 gray_fill" onclick="goList()">목록</button>
</div>
@ -275,6 +299,13 @@
<input type="hidden" name="searchState" id="searchState" value="${param.searchState}">
</form>
<script type="text/javascript">
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
var fileList = "";
function goList(){
$("#moveFrm").attr("action", "/gtm/case/onlineCounsel/list.do");
$("#moveFrm").submit();
@ -357,8 +388,90 @@
$("#amPmBox").text(text);
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
var downFileArr =${innorixFileListInfoStr};
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
// 파일전송 컨트롤 로딩 완료
control.on('loadComplete', function (p) {
resetFileArr = downFileArr; // 다운로드 정보 초기화 정보 생성
resetFileArr = resetFileArr.slice(0); // 배열 깊은 복사
control.presetDownloadFiles(resetFileArr); // 다운로드 파일 추가
});
// 파일 삭제 이벤트
control.on('removeFiles', function (p) {
fn_deleteCallBackInnorix(p[0].dataIdx)
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 수정
첨부파일이 없을 시 바로 게시글 수정
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
function fn_deleteCallBackInnorix(dataIdx){
var deleteFileData = $("#deleteFileDataId").val();
if(deleteFileData != ""){
deleteFileData = deleteFileData+","+dataIdx
}else{
deleteFileData = dataIdx
}
$("#deleteFileDataId").val(deleteFileData);
}
//상담분야
function caseGubunCombo(){
var url = "";

View File

@ -2,6 +2,7 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
<head>
@ -10,6 +11,13 @@
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
</head>
<body>
@ -63,9 +71,26 @@
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">첨부파일</p>
<div class="item-box">
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<input type="hidden" name="fileFuncType" value="online" />
<input type="hidden" name="innorixFileListVO" value="" />
<input type="hidden" name="uploadFileCnt" value="0" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
<!-- <div class="item-box">
<div class="temp-file-area">
<label for="upFile" class="btn btn_text btn_36 blue_border temp-file-button" style="display:flex;justify-content:center;align-items:center;">첨부파일</label>
</div>
@ -75,7 +100,7 @@
<input type="hidden" name="fileFuncType" value="online" />
<input type="hidden" name="uploadFileCnt" value="0" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div> -->
</div>
<div class="bbs-view-item">
<p class="item-title">이메일</p>
@ -187,7 +212,8 @@
</fieldset>
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill">등록</button>
<button type="submit" class="btn btn_text btn_46 blue_fill" style="display:none;">등록</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="innorixUpload();">등록</button>
<button type="button" class="btn btn_text btn_46 gray_fill" onclick="goList()">목록</button>
</div>
</form:form>
@ -218,6 +244,11 @@
location.href="/gtm/case/onlineCounsel/list.do";
}
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
$(document).ready(function(){
@ -273,8 +304,66 @@
counselAppTypeCombo();
counselResertGubunCombo();
counselRouteCombo();
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("#fileTempUpFrm").find("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 작성
첨부파일이 없을 시 바로 게시글 작성
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작 */
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
//상담분야
function caseGubunCombo(){
var url = "";

View File

@ -1,6 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
<head>
@ -10,6 +11,12 @@
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
<script src="/editor/webnote.js"></script>
</head>
@ -46,9 +53,25 @@
${memberName}
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<input type="hidden" name="fileFuncType" value="team" />
<input type="hidden" name="innorixFileListVO" value="" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
<%-- <div class="item-box">
<div class="temp-file-area">
<label for="upFile" class="btn btn_text btn_36 blue_border temp-file-button" style="display:flex;justify-content:center;align-items:center;">첨부파일</label>
</div>
@ -64,7 +87,7 @@
<input type="hidden" name="fileFuncType" value="team" />
<input type="hidden" name="uploadFileCnt" value="${fileListSize}" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div> --%>
</div>
<div class="bbs-view-item">
<p class="item-title">내용</p>
@ -75,7 +98,8 @@
</div>
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill btn-normal violet">저장</button>
<button type="submit" class="btn btn_text btn_46 blue_fill btn-normal violet" style="display:none;">저장</button>
<button type="button" class="btn btn_text btn_46 blue_fill btn-normal violet" onclick="innorixUpload();">저장</button>
<a href="javascript:goList()" class="btn btn_text btn_46 gray_fill btn-normal lightgray" style="display:flex;justify-content:center;align-items:center;">목록</a>
</div>
</fieldset>
@ -116,7 +140,14 @@
fade_popup: true, //팝업 열리기/닫히기 시 fade in/out 기능 적용 여부(사용pc 사용이 낮은경우 false로 )
attach_list_view: false
});
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
var fileList = "";
$(window).load(function(){
$("#idx_toolbar_webnote_content_imagecenter").hide();
@ -150,8 +181,93 @@
return false;
} */
});
/* 이노릭스 대용량 업로드 솔루션 */
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("#fileTempUpFrm").find("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
var downFileArr =${innorixFileListInfoStr};
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
// 파일전송 컨트롤 로딩 완료
control.on('loadComplete', function (p) {
resetFileArr = downFileArr; // 다운로드 정보 초기화 정보 생성
resetFileArr = resetFileArr.slice(0); // 배열 깊은 복사
control.presetDownloadFiles(resetFileArr); // 다운로드 파일 추가
});
// 파일 삭제 이벤트
control.on('removeFiles', function (p) {
fn_deleteCallBackInnorix(p[0].dataIdx)
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 수정
첨부파일이 없을 시 바로 게시글 수정
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
function fn_deleteCallBackInnorix(dataIdx){
var deleteFileData = $("#deleteFileDataId").val();
if(deleteFileData != ""){
deleteFileData = deleteFileData+","+dataIdx
}else{
deleteFileData = dataIdx
}
$("#deleteFileDataId").val(deleteFileData);
}
function goList(){
$("#paramFrm").submit();
}

View File

@ -1,6 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!doctype html>
<html lang="ko">
<head>
@ -10,6 +11,12 @@
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<!-- 대용량 파일 업로드 솔루션 -->
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
<script src="/editor/webnote.js"></script>
</head>
<body>
@ -84,9 +91,24 @@
${memberName}
</div>
</div>
<!-- innorix 대용량 업로드 솔루션 -->
<div class="bbs-view-item">
<p class="item-title">첨부자료</p>
<div class="item-box">
<div class="temp-file-area">
<!-- 단일 파일 업로드 -->
<input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialogSingle();"/>
<!-- 멀티 파일 업로드 -->
<!-- <input type="button" value="첨부파일" class="btn btn_text btn_36 blue_border temp-file-button" onclick="control.openFileDialog();"/> -->
</div>
<!-- 첨부파일 업로드 목록 및 드래그&드랍 영역 -->
<div id="fileControl"></div><br/>
<input type="hidden" name="fileFuncType" value="team" />
<input type="hidden" name="innorixFileListVO" value="" />
</div>
<!-- <div class="item-box">
<div class="temp-file-area">
<label for="upFile" class="btn btn_text btn_36 blue_border temp-file-button" style="display:flex;justify-content:center;align-items:center;">첨부파일</label>
</div>
@ -96,7 +118,7 @@
<input type="hidden" name="fileFuncType" value="team" />
<input type="hidden" name="uploadFileCnt" value="0" id="uploadFileCntId" />
<input type="hidden" name="deleteFileData" value="" id="deleteFileDataId" />
</div>
</div> -->
</div>
<div class="bbs-view-item">
<p class="item-title">내용</p>
@ -106,7 +128,8 @@
</div>
</div>
<div class="btn_wrap right">
<button type="submit" class="btn btn_text btn_46 blue_fill">저장</button>
<button type="submit" class="btn btn_text btn_46 blue_fill" style="display:none;">저장</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="innorixUpload();">저장</button>
<button type="button" onclick="javascript:goList()" class="btn btn_text btn_46 gray_fill">목록</button>
</div>
</fieldset>
@ -149,6 +172,11 @@
});
/* innorix-1
첨부파일 업로드 경로 전역 변수 선언
*/
var directory = "";
$(window).load(function(){
$("#idx_toolbar_webnote_content_imagecenter").hide();
@ -181,8 +209,66 @@
return false;
} */
});
/* innorix-2
첨부파일 업로드 경로 설정
fileFuncType와 세션의 siteId등의 정보를 이용해 업로드 경로 설정
*/
var fileFuncType = $("#fileTempUpFrm").find("input[name='fileFuncType']").val();
var url = "<c:url value='/seed/innorix/getRealFileDirectoryAjax.do'/>"
getFileDirectory(fileFuncType, url, function(result){
directory = result;
});
/* innorix-3
이노릭스 업로드 컨트롤 생성
control 객체는 innorixCommon.js에서 생성
*/
control = innorix.create({
el: '#fileControl', // 컨트롤 출력 HTML 객체 ID
transferMode: 'both', // 업로드, 다운로드 혼합사용
agent : false,
installUrl: "<c:url value='/innorix/install/install.html'/>", // Agent 설치 페이지
uploadUrl: "<c:url value='/innorix/exam/seedUpload.jsp'/>", // 업로드 URL
allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"]
});
/* innorix-5
이노릭스 업로드 완료 후
콜백 함수로 파일 정보 전달
*/
control.on('uploadComplete', function (p) {
console.log('uploadComplete : ', p);
fn_callBackInnorix(p.files); // 파일 정보 DB isnert function
});
});
/* innorix-4
이노릭스 업로드 시작
첨부파일이 있을 시 업로드 후 게시글 작성
첨부파일이 없을 시 바로 게시글 작성
*/
function innorixUpload(){
if(control.getUploadFiles().length > 0){
var postObj = new Object();
postObj.directory = directory;
control.setPostData(postObj);
control.upload(); // 업로드 시작 */
}else{
$("button[type='submit']").click();
}
}
/* innorix-6
게시글 등록 처리
첨부파일 정보 DB 등록 및 게시글 등록 처리
*/
function fn_callBackInnorix(data){
$("input[name='innorixFileListVO']").val(JSON.stringify(data));
$("button[type='submit']").click();
}
function goList(){
$("#paramFrm").submit();
}

View File

@ -24,7 +24,9 @@ $(document).ready(function(){
};
//시작일
jQuery("#fixDay").datetimepicker();
jQuery("#fixDay").datetimepicker({
buttonImage: "/kofair_case_seed/adm/images/component/icon_calendar.png"
});
//$('img.ui-datepicker-trigger').css({'cursor':'pointer', 'margin-bottom':'-4px'}); //아이콘(icon) 위치
setTimeout(function() {
@ -545,7 +547,7 @@ function fn_checkList() {
<div class="form-inline">
<div class="form-group" style="vertical-align: middle;">
<div class="calendar">
<input type="text" class="form-element" style="width:140px;" id="fixDay" name="fixDay"/>
<input type="text" class="form-element" style="width:160px !important;" id="fixDay" name="fixDay"/>
</div>
<!-- <input type="text" class="form-element" style="width:140px;" placeholder="시간(ex: 11:00)"/> -->
</div>

View File

@ -4259,16 +4259,16 @@ function nanumProcessStart(){
</select>
<c:if test="${memberId == masterData.caseExaminer && (memberPosition == '0912000000' || memberPosition == '0911000000')}">
<c:if test="${masterData.statePro == '0402000000'}">
<button type="button" class="btn-default fl" onclick="smsAutoPopOpen('${caseNo}', '1');">조사관배정SMS</button>
<button type="button" class="btn btn_text btn_36 gray_fill btn-default fl" onclick="smsAutoPopOpen('${caseNo}', '1');">조사관배정SMS</button>
</c:if>
<c:if test="${masterData.statePro == '0403000000'}">
<button type="button" class="btn-default fl" onclick="smsAutoPopOpen('${caseNo}', '2');">출석조사SMS</button>
<button type="button" class="btn btn_text btn_36 gray_fill btn-default fl" onclick="smsAutoPopOpen('${caseNo}', '2');">출석조사SMS</button>
</c:if>
<button type="button" class="btn-default fl" onclick="smsPopOpen();">SMS발송</button>
<button type="button" class="btn-default fl" onclick="faxPopOpen('${memberId}')">FAX발송</button>
<button type="button" class="btn-default responsive fr returnList">목록</button>
<button type="button" class="btn btn_text btn_36 gray_fill btn-default fl" onclick="smsPopOpen();">SMS발송</button>
<button type="button" class="btn btn_text btn_36 gray_fill btn-default fl" onclick="faxPopOpen('${memberId}')">FAX발송</button>
<button type="button" class="btn btn_text btn_36 gray_fill btn-default responsive fr returnList">목록</button>
<c:if test="${masterData.statePro != '0405000000'}">
<button type="button" class="btn-default violet responsive fr regIns">저장</button>
<button type="button" class="btn btn_text btn_36 blue_fill btn-default violet responsive fr regIns">저장</button>
</c:if>
</c:if>
@ -5598,7 +5598,7 @@ function nanumProcessStart(){
<div class="slide_wrap">
<button type="button" class="btn-temp-view">더보기 <i class="fr"></i></button>
<div class="bbs-view-layout" style="margin-bottom: 20px;">
<div style="margin-bottom: 20px;">
<div class="data-table layout-type col-table">
<table>
<colgroup>
@ -5714,10 +5714,16 @@ function nanumProcessStart(){
<th rowspan="7">기타 확인사항</th>
<th>소송</th>
<td>
<input type="radio" id="lawsuitCheck1" name="lawsuitCheck" value="N" <c:if test="${selectRceptsttus.lawsuitCheck == 'N'}">checked="checked"</c:if>>
<label for="radio01">미진행</label>
<input type="radio" id="lawsuitCheck2" name="lawsuitCheck" value="Y" <c:if test="${selectRceptsttus.lawsuitCheck == 'Y'}">checked="checked"</c:if>>
<label for="radio02">진행</label>
<div class="radio_wrap">
<span>
<input type="radio" id="lawsuitCheck1" name="lawsuitCheck" value="N" <c:if test="${selectRceptsttus.lawsuitCheck == 'N'}">checked="checked"</c:if>>
<label for="radio01">미진행</label>
</span>
<span>
<input type="radio" id="lawsuitCheck2" name="lawsuitCheck" value="Y" <c:if test="${selectRceptsttus.lawsuitCheck == 'Y'}">checked="checked"</c:if>>
<label for="radio02">진행</label>
</span>
</div>
</td>
<td colspan="2">
<input type="text" id="lawsutNote" name="lawsutNote" value="${selectRceptsttus.lawsutNote}" maxlength="100">
@ -5726,10 +5732,16 @@ function nanumProcessStart(){
<tr style="border-bottom: 1px solid #e8e8e8">
<th>타 협의회 조정</th>
<td>
<input type="radio" id="conferenceResult1" name="conferenceResult" value="N" <c:if test="${selectRceptsttus.conferenceResult == 'N'}">checked="checked"</c:if>>
<label for="radio01">미진행</label>
<input type="radio" id="conferenceResult2" name="conferenceResult" value="Y" <c:if test="${selectRceptsttus.conferenceResult == 'Y'}">checked="checked"</c:if>>
<label for="radio02">진행</label>
<div class="radio_wrap">
<span>
<input type="radio" id="conferenceResult1" name="conferenceResult" value="N" <c:if test="${selectRceptsttus.conferenceResult == 'N'}">checked="checked"</c:if>>
<label for="radio01">미진행</label>
</span>
<span>
<input type="radio" id="conferenceResult2" name="conferenceResult" value="Y" <c:if test="${selectRceptsttus.conferenceResult == 'Y'}">checked="checked"</c:if>>
<label for="radio02">진행</label>
</span>
</div>
</td>
<td colspan="2">
<input type="text" id="conferenceNote" name="conferenceNote" value="${selectRceptsttus.conferenceNote }" maxlength="100">
@ -5738,10 +5750,16 @@ function nanumProcessStart(){
<tr style="border-bottom: 1px solid #e8e8e8">
<th>중재</th>
<td>
<input type="radio" id="arbitrationCheck1" name="arbitrationCheck" value="N" <c:if test="${selectRceptsttus.arbitrationCheck == 'N'}">checked="checked"</c:if>>
<label for="radio03">미진행</label>
<input type="radio" id="arbitrationCheck2" name="arbitrationCheck" value="Y" <c:if test="${selectRceptsttus.arbitrationCheck == 'Y'}">checked="checked"</c:if>>
<label for="radio04">진행</label>
<div class="radio_wrap">
<span>
<input type="radio" id="arbitrationCheck1" name="arbitrationCheck" value="N" <c:if test="${selectRceptsttus.arbitrationCheck == 'N'}">checked="checked"</c:if>>
<label for="radio03">미진행</label>
</span>
<span>
<input type="radio" id="arbitrationCheck2" name="arbitrationCheck" value="Y" <c:if test="${selectRceptsttus.arbitrationCheck == 'Y'}">checked="checked"</c:if>>
<label for="radio04">진행</label>
</span>
</div>
</td>
<td colspan="2">
<input type="text" id="arbitrationNote" name="arbitrationNote" value="${selectRceptsttus.arbitrationNote }" maxlength="100">
@ -5750,10 +5768,16 @@ function nanumProcessStart(){
<tr style="border-bottom: 1px solid #e8e8e8">
<th>타 조정기구 조정</th>
<td>
<input type="radio" id="regulatingOrgan1" name="regulatingOrgan" value="N" <c:if test="${selectRceptsttus.regulatingOrgan == 'N'}">checked="checked"</c:if>>
<label for="radio03">미진행</label>
<input type="radio" id="regulatingOrgan2" name="regulatingOrgan" value="Y" <c:if test="${selectRceptsttus.regulatingOrgan == 'Y'}">checked="checked"</c:if>>
<label for="radio04">진행</label>
<div class="radio_wrap">
<span>
<input type="radio" id="regulatingOrgan1" name="regulatingOrgan" value="N" <c:if test="${selectRceptsttus.regulatingOrgan == 'N'}">checked="checked"</c:if>>
<label for="radio03">미진행</label>
</span>
<span>
<input type="radio" id="regulatingOrgan2" name="regulatingOrgan" value="Y" <c:if test="${selectRceptsttus.regulatingOrgan == 'Y'}">checked="checked"</c:if>>
<label for="radio04">진행</label>
</span>
</div>
</td>
<td colspan="2">
<input type="text" id="regulatingNote" name="regulatingNote" value="${selectRceptsttus.regulatingNote }" maxlength="100">
@ -5762,10 +5786,16 @@ function nanumProcessStart(){
<tr>
<th>공정거래위원회 조사</th>
<td>
<input type="radio" id="ftcInvestigation1" name="ftcInvestigation" value="N" <c:if test="${selectRceptsttus.ftcInvestigation == 'N'}">checked="checked"</c:if>>
<label for="radio03">미진행</label>
<input type="radio" id="ftcInvestigation2" name="ftcInvestigation" value="Y" <c:if test="${selectRceptsttus.ftcInvestigation == 'Y'}">checked="checked"</c:if>>
<label for="radio04">진행</label>
<div class="radio_wrap">
<span>
<input type="radio" id="ftcInvestigation1" name="ftcInvestigation" value="N" <c:if test="${selectRceptsttus.ftcInvestigation == 'N'}">checked="checked"</c:if>>
<label for="radio03">미진행</label>
</span>
<span>
<input type="radio" id="ftcInvestigation2" name="ftcInvestigation" value="Y" <c:if test="${selectRceptsttus.ftcInvestigation == 'Y'}">checked="checked"</c:if>>
<label for="radio04">진행</label>
</span>
</div>
</td>
<td colspan="2">
<input type="text" id="ftcNote" name="ftcNote" value="${selectRceptsttus.ftcNote }" maxlength="100">
@ -5775,10 +5805,16 @@ function nanumProcessStart(){
<tr style="border-bottom: 1px solid #e8e8e8">
<th>당사자간 합의가 완료되어 <br>조정조서 작성을 요청하는<br> 사안인지 여부</th>
<td>
<input type="radio" id="parAgreement1" name="parAgreement" value="N" <c:if test="${selectRceptsttus.parAgreement == 'N' or empty selectRceptsttus.parAgreement}">checked="checked"</c:if>>
<label for="radio03">아니오</label>
<input type="radio" id="parAgreement2" name="parAgreement" value="Y" <c:if test="${selectRceptsttus.parAgreement == 'Y'}">checked="checked"</c:if>>
<label for="radio04">예</label>
<div class="radio_wrap">
<span>
<input type="radio" id="parAgreement1" name="parAgreement" value="N" <c:if test="${selectRceptsttus.parAgreement == 'N' or empty selectRceptsttus.parAgreement}">checked="checked"</c:if>>
<label for="radio03">아니오</label>
</span>
<span>
<input type="radio" id="parAgreement2" name="parAgreement" value="Y" <c:if test="${selectRceptsttus.parAgreement == 'Y'}">checked="checked"</c:if>>
<label for="radio04">예</label>
</span>
</div>
</td>
</tr>
</c:if>
@ -5786,10 +5822,16 @@ function nanumProcessStart(){
<tr style="border-bottom: 1px solid #e8e8e8">
<th>동일사안 공정거래위원회<br>시정조치 여부</th>
<td>
<input type="radio" id="ftcCorrect1" name="ftcCorrect" value="N" <c:if test="${selectRceptsttus.ftcCorrect == 'N'}">checked="checked"</c:if>>
<label for="radio03">아니오</label>
<input type="radio" id="ftcCorrect2" name="ftcCorrect" value="Y" <c:if test="${selectRceptsttus.ftcCorrect == 'Y'}">checked="checked"</c:if>>
<label for="radio04">예</label>
<div class="radio_wrap">
<span>
<input type="radio" id="ftcCorrect1" name="ftcCorrect" value="N" <c:if test="${selectRceptsttus.ftcCorrect == 'N'}">checked="checked"</c:if>>
<label for="radio03">아니오</label>
</span>
<span>
<input type="radio" id="ftcCorrect2" name="ftcCorrect" value="Y" <c:if test="${selectRceptsttus.ftcCorrect == 'Y'}">checked="checked"</c:if>>
<label for="radio04">예</label>
</span>
</div>
</td>
<td colspan="2">
<input type="text" id="ftcCorrectNote" name="ftcCorrectNote" value="${selectRceptsttus.ftcCorrectNote }" maxlength="100">

View File

@ -1676,7 +1676,7 @@ function showConsignmentGubun(){
</c:forEach>
</c:if>
<c:if test="${empty applcntData}">
<div align="center">
<div class="bbs-view-item" align="center" style="border-top:2px solid #222;">
등록된 데이터가 없습니다.
</div>
</c:if>
@ -1782,7 +1782,7 @@ function showConsignmentGubun(){
</c:if>
<c:if test="${empty applcntData}">
<div align="center">
<div class="bbs-view-item" align="center" style="border-top:2px solid #222;">
등록된 데이터가 없습니다.
</div>
</c:if>
@ -1910,7 +1910,7 @@ function showConsignmentGubun(){
</c:if>
<c:if test="${empty respondentData}">
<div align="center">
<div class="bbs-view-item" align="center" style="border-top:2px solid #222;">
등록된 데이터가 없습니다.
</div>
</c:if>
@ -2016,7 +2016,7 @@ function showConsignmentGubun(){
</c:if>
<c:if test="${empty selectResagent}">
<c:if test="${empty respondentData}">
<div align="center">
<div class="bbs-view-item" align="center" style="border-top:2px solid #222;">
등록된 데이터가 없습니다.
</div>
</c:if>

View File

@ -299,45 +299,46 @@ function webLogListExcelDownload(){
<div class="cont">
<div class="search_detail">
<ul class="search_ul">
<li>
<div class="calendar calendar_term">
<input type="text" id="startDate01" name="searchStartDt" value="${searchVO.searchStartDt}"> ~ <input type="text" id="endDate" name="searchEndDt" value="${searchVO.searchEndDt}">
</div>
<!--
<input type="hidden" name="cal_url" id="cal_url" value="<c:url value='/sym/cmm/EgovNormalCalPopup.do'/>" >
<input type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="10" maxlength="10" class="readOnlyClass" value="<c:out value="${searchVO.searchBgnDe}"/>" readonly >
<a href="#" onClick="javascript:fn_egov_NormalCalendar(document.forms.frm, document.forms.frm.ntceBgndeYYYMMDD);">
<input type="button" class="calBtn">
</a>
&nbsp;&nbsp;~&nbsp;&nbsp;
<input type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="10" maxlength="10" class="readOnlyClass" value="<c:out value="${searchVO.searchEndDe}"/>" readonly >
<a href="#" onClick="javascript:fn_egov_NormalCalendar(document.forms.frm, document.forms.frm.ntceEnddeYYYMMDD);">
<input type="button" class="calBtn">
</a>
-->
</li>
<li>
<select name="searchCondition" id="searchCondition" class="select" title="검색조건선택">
<option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option>
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>메뉴명</option>
</select>
<!--
<select name="dateType" id="dateType" class="select" title="검색조건선택">
<option value='D' <c:if test="${searchVO.dateType == 'D'}">selected</c:if>>일별</option>
<option value='M' <c:if test="${searchVO.dateType == 'M'}">selected</c:if>>월별</option>
<option value='Y' <c:if test="${searchVO.dateType == 'Y'}">selected</c:if>>년별</option>
</select>
-->
<input id="searchKeyword" name="searchKeyword" class="recentSearch" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" maxlength="50"/>
<button class="btn_search" onclick="fn_select('1'); return false;">검색</button>
</li>
<ul class="search_ul" style="gap:10px;">
<li>
<div class="calendar calendar_term">
<input type="text" id="startDate01" name="searchStartDt" value="${searchVO.searchStartDt}"> ~ <input type="text" id="endDate" name="searchEndDt" value="${searchVO.searchEndDt}">
</div>
<!--
<input type="hidden" name="cal_url" id="cal_url" value="<c:url value='/sym/cmm/EgovNormalCalPopup.do'/>" >
<input type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="10" maxlength="10" class="readOnlyClass" value="<c:out value="${searchVO.searchBgnDe}"/>" readonly >
<a href="#" onClick="javascript:fn_egov_NormalCalendar(document.forms.frm, document.forms.frm.ntceBgndeYYYMMDD);">
<input type="button" class="calBtn">
</a>
&nbsp;&nbsp;~&nbsp;&nbsp;
<input type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="10" maxlength="10" class="readOnlyClass" value="<c:out value="${searchVO.searchEndDe}"/>" readonly >
<a href="#" onClick="javascript:fn_egov_NormalCalendar(document.forms.frm, document.forms.frm.ntceEnddeYYYMMDD);">
<input type="button" class="calBtn">
</a>
-->
</li>
<li>
<select name="searchCondition" id="searchCondition" class="select" title="검색조건선택" style="width:120px;margin:0 5px 0 0;">
<option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option>
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>메뉴명</option>
</select>
<!--
<select name="dateType" id="dateType" class="select" title="검색조건선택">
<option value='D' <c:if test="${searchVO.dateType == 'D'}">selected</c:if>>일별</option>
<option value='M' <c:if test="${searchVO.dateType == 'M'}">selected</c:if>>월별</option>
<option value='Y' <c:if test="${searchVO.dateType == 'Y'}">selected</c:if>>년별</option>
</select>
-->
<input id="searchKeyword" name="searchKeyword" class="recentSearch" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="50" title="검색" maxlength="50"/>
</li>
<li>
<button class="btn btn_text btn_36 blue_border btn_search" onclick="fn_select('1'); return false;">검색</button>
</li>
</ul>
</div>
@ -346,36 +347,36 @@ function webLogListExcelDownload(){
<div class="table-layout">
<table>
<caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup>
<col style="width: 8%">
<col style="width: 12%">
<col style="width: 20%">
<col style="width: 20%">
<col style="width: 20%">
</colgroup>
<thead>
<tr>
<th>번호 <button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th>메뉴명 <button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<th>접속수 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th>
<th>최초접속일자 <button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
<th>최종접속일자 <button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<colgroup>
<col style="width: 8%">
<col style="width: 12%">
<col style="width: 20%">
<col style="width: 20%">
<col style="width: 20%">
</colgroup>
<thead>
<tr>
<th>번호 <button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th>메뉴명 <button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<th>접속수 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th>
<th>최초접속일자 <button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
<th>최종접속일자 <button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${userMenuList}" varStatus="status">
<tr>
<td><c:out value="${status.count}"/></td>
<td><c:out value="${result.menuNm}"/></td>
<td><c:out value="${result.totalLogCnt}"/></td>
<td><c:out value="${result.searchStartDt}"/></td>
<td><c:out value="${result.searchEndDt}"/></td>
</tr>
</c:forEach>
<c:if test="${empty userMenuList}">
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
<c:forEach var="result" items="${userMenuList}" varStatus="status">
<tr>
<td><c:out value="${status.count}"/></td>
<td><c:out value="${result.menuNm}"/></td>
<td><c:out value="${result.totalLogCnt}"/></td>
<td><c:out value="${result.searchStartDt}"/></td>
<td><c:out value="${result.searchEndDt}"/></td>
</tr>
</c:forEach>
<c:if test="${empty userMenuList}">
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>

View File

@ -840,14 +840,14 @@ function set_bbs(){
</span>
<span id="contentNameSpan" style="color: blue"></span>
<a style="display: none;cursor:pointer;" id="btnBBS"
<a style="display: none;cursor:pointer;vertical-align:middle;" id="btnBBS"
target="_blank" title="새창으로" onclick="searchBBSId(); return false;"
style="selector-dummy:expression(this.hideFocus=false);" >
<img src="<c:url value='/img/post/serch_img.png' />" alt='게시판ID 검색' width="15" height="15" />
style="selector-dummy:expression(this.hideFocus=false);" class="btn btn_text btn_36 blue_border">
<%-- <img src="<c:url value='/img/post/serch_img.png' />" alt='게시판ID 검색' width="15" height="15" /> --%>
<span style="vertical-align: middle;">(게시판ID 검색)</span>
</a>
<span id="BBSNameSpan" style="color: blue"></span>
<div>
<div style="margin:6px 0 0 0;">
<span id="showUrl" style="display: none;" >
URL <input type="text" name="url" id="url" style="width:80%;"/>
<input type="hidden" id="url_tmp" name="url_tmp"/>

View File

@ -27,12 +27,12 @@
<script src="/kccadrPb/usr/script/jquery-3.5.0.js"></script>
<script type="text/javascript" src="/js/new_login.js"></script>
<link rel="stylesheet" href="/kofair_case_seed/css/font.css" />
<link rel="stylesheet" href="/kofair_case_seed/css/reset.css" />
<link rel="stylesheet" href="/kofair_case_seed/adm/style/common.css" />
<link rel="stylesheet" href="/kofair_case_seed/adm/style/layout.css" />
<link rel="stylesheet" href="/kofair_case_seed/adm/style/style.css" />
<link rel="stylesheet" href="/kccadrPb/adm/css/reset.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/font.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/common.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/content.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/content_media.css">
<script type="text/javascript">
<c:if test="${!empty message}">alert("${message}");</c:if>
@ -126,12 +126,13 @@ function getid(form){
<div class="login_all_wrap">
<div class="login_wrap">
<div class="login_left_box">
<!-- <img src="/kccadrPb/adm/image/login_logo.png" alt="한국저작권위원회 KOREA COPYRIGHT COMMISSION"> -->
<img src="/kofair_case_seed/adm/images/layout/login_logo.png" alt="FAIR 한국공정거래조정원">
<p class="logo_bottom">분쟁조정시스템</p>
</div>
<div class="login_right_box login_right_otp_box">
<p class="login_tit">로그인</p>
<kc:profile value="local">
아이디 선택 : <select id="devIdSelect" style="width: 400px; height: 30px;" onchange="login()">
아이디 선택 : <select id="devIdSelect" style="width: 100%; height: 30px;" onchange="login()">
<option value="">로그인할 아이디를 선택해주세요.</option>
<option value="seed">관리자1-ROLE_ADMIN</option>
<option value="member">관리자2-ROLE_ADMIN2</option>
@ -141,19 +142,19 @@ function getid(form){
<div class="id_box">
<p>ID</p>
<label for="id_text"></label>
<input type="text" id="id_text" name="id_text" maxlength="15" placeholder="아이디를 입력해주세요" class="id">
<input type="text" id="id_text" name="id_text" class="input_text w100per" maxlength="15" placeholder="아이디를 입력해주세요" class="id">
</div>
<div class="pw_box">
<p>PASSWORD</p>
<label for="password_text"></label>
<input type="password" autocomplete="off" id="password_text" name="password_text" value="<c:out value='${password}'/>" placeholder="비밀번호를 입력해주세요." class="pw" onkeydown="javascript:if (event.keyCode == 13) { actionLogin();return false; }">
<input type="password" autocomplete="off" id="password_text" name="password_text" class="input_text w100per" value="<c:out value='${password}'/>" placeholder="비밀번호를 입력해주세요." class="pw" onkeydown="javascript:if (event.keyCode == 13) { actionLogin();return false; }">
</div>
<div class="saveId">
<input type="checkbox" id="checkId" name="checkId">
<label for="checkId">아이디저장</label>
</div>
<div class="submit_box">
<input type="submit" value="로그인" class="submit" id="login_submit" onclick="javascript:actionLogin();return false;">
<input type="submit" value="로그인" class="btn btn_text blue_fill w100per submit" id="login_submit" onclick="javascript:actionLogin();return false;">
</div>
<div class="copyright">

View File

@ -3,7 +3,6 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ page import="egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper" %>
<%@ page import="kcc.com.cmm.LoginVO" %>
<script type="text/javascript">
$(document).ready(function (){
@ -46,6 +45,21 @@
location.href = url;
}
}
function ciCheck(){
$.ajax({
url: '/web/user/mypage/case/01/168/devCiMakePopCiCheck.do',
type: 'POST',
contentType: 'application/json',
success: function(response) {
alert("CI :: " + response.hpCi1);
alert("hpName :: " + response.hpName);
},
error: function(error) {
alert("error");
}
});
}
</script>
@ -61,13 +75,14 @@
</a>
</h1>
<div class="util_bar">
<!-- <div class="search_area"> -->
<!-- <input type="text" class="input_text input_search" title="검색어 입력"> -->
<!-- <button type="button" class="btn btn_icon btn_search" title="검색버튼"> -->
<!-- <i class="icon search"></i> -->
<!-- </button> -->
<!-- </div> -->
<div class="search_area">
<input type="text" class="input_text input_search" title="검색어 입력">
<button type="button" class="btn btn_icon btn_search" title="검색버튼">
<i class="icon search"></i>
</button>
</div>
<div class="util_btn_area">
<button type="button" class="btn btn_text btn_40 blue_fill" onclick="ciCheck(); return false;"><i class="icon sertification"></i>개발용_CI값확인</button>
<button type="button" class="btn btn_text btn_40 blue_fill" onclick="location.href='/web/user/mypage/case/01/168/devCiRemove.do'"><i class="icon sertification"></i>개발용_CI값삭제</button>
<button type="button" class="btn btn_text btn_40 blue_fill" onclick="location.href='/web/user/mypage/case/01/168/myCheck.do'"><i class="icon sertification"></i>본인인증</button>
<button type="button" class="btn btn_text btn_40 blue_fill hide"><i class="icon sertification_out"></i>인증해제</button>
@ -130,97 +145,57 @@
</nav>
<div class="full_all_menu">
<div class="top_area">
<div class="inner">
<h1 class="logo"><a href="./index.html" title="메인으로 이동"><img src="/kofair_case_seed/usr/images/layout/header_logo.png" alt="한국공정거래조정원 KOREA FAIR TRADE MEDIATION AGENCY"></a></h1>
<button type="button" class="btn only_icon btn_menu_close"><i class="icon menu close"></i></button>
</div>
</div>
<nav class="nav">
<div class="inner">
<ul class="menu_ul">
<li>
<a href="#none" class="menu_title">분쟁조정안내</a>
<ul class="depth02_ul">
<li>
<a href="#none" class="depth02">분쟁조정 안내</a>
<ul class="depth03_ul">
<li><a href="#none">분쟁조정제도</a></li>
<li><a href="#none">분쟁조정절차</a></li>
<li><a href="#none">분쟁조정관련 서식</a></li>
<li><a href="#none">법령자료실</a></li>
<li><a href="#none">자료실</a></li>
</ul>
</li>
<li>
<a href="#none" class="depth02">자주하는 질문</a>
<ul class="depth03_ul">
<li><a href="#none">조정신청 관련 질문</a></li>
<li><a href="#none">절차진행 관련 질문</a></li>
<li><a href="#none">(성립/불성립)절차종료 관련 질문</a></li>
<li><a href="#none">(기타)절차종결 관련 질문</a></li>
</ul>
</li>
<li>
<a href="#none" class="depth02">뉴스레터</a>
<ul class="depth03_ul">
<li><a href="#none">뉴스레터 자료</a></li>
<li><a href="#none">뉴스레터 서비스</a></li>
</ul>
</li>
<li>
<a href="#none" class="depth02">공지사항</a>
</li>
<li>
<a href="#none" class="depth02">오시는 길</a>
</li>
</ul>
</li>
<li>
<a href="#none" class="menu_title">분쟁조정 신청</a>
<ul class="depth02_ul">
<li><a href="#none" class="depth02">분쟁조정 신청하기</a></li>
<li><a href="#none" class="depth02">분쟁조정 사건조회</a></li>
</ul>
</li>
<li>
<a href="#none" class="menu_title">분쟁조정 상담</a>
<ul class="depth02_ul">
<li>
<a href="#none" class="depth02">상담신청</a>
<ul class="depth03_ul">
<li><a href="#none">분쟁조정 상담</a></li>
<li><a href="#none">무료법률 상담</a></li>
<li><a href="https://pf.kakao.com/_xgxoKil" target="_blank">실시간 상담 <i class="icon outlink"></i></a></li>
</ul>
</li>
</ul>
</li>
<li>
<a href="#none" class="menu_title">분쟁조정 사례</a>
<ul class="depth02_ul">
<li><a href="#none" class="depth02">공정거래</a></li>
<li><a href="#none" class="depth02">가맹사업거래</a></li>
<li><a href="#none" class="depth02">하도급거래</a></li>
<li><a href="#none" class="depth02">대규모유통업거래</a></li>
<li><a href="#none" class="depth02">불공정약관</a></li>
<li><a href="#none" class="depth02">대리점 거래</a></li>
</ul>
</li>
<li>
<a href="#none" class="menu_title">마이페이지</a>
<ul class="depth02_ul">
<li><a href="#none" class="depth02">본인인증</a></li>
<li><a href="#none" class="depth02">분쟁조정 신청현황</a></li>
<li><a href="#none" class="depth02">분쟁조정 상담신청</a></li>
<li><a href="#none" class="depth02">법률상담예약</a></li>
</ul>
</li>
</ul>
</div>
</nav>
</div>
<div class="top_area">
<div class="inner">
<h1 class="logo"><a href="./index.html" title="메인으로 이동"><img src="/kofair_case_seed/usr/images/layout/header_logo.png" alt="한국공정거래조정원 KOREA FAIR TRADE MEDIATION AGENCY"></a></h1>
<button type="button" class="btn only_icon btn_menu_close"><i class="icon menu close"></i></button>
</div>
</div>
<nav class="nav">
<div class="inner">
<ul class="menu_ul">
<c:forEach var="resultListOne" items="${menuResultList}" varStatus="status">
<c:if test="${resultListOne.depths eq '1' }">
<li>
<a href="#" class="menu_title" id="${resultListOne.menuNo}">
<c:out value="${resultListOne.menuNm}" />
</a>
<ul class="depth02_ul">
<c:forEach var="resultListTwo" items="${menuResultList}" varStatus="status">
<c:if test="${resultListTwo.depths eq '2' && resultListOne.menuNo eq resultListTwo.upperMenuId }">
<li>
<a href="${resultListTwo.menuType ne 'M' ? resultListTwo.url : '#'}" class="depth02"
<c:if test="${resultListTwo.menuType eq 'M'}">onclick="depthTwoClick(this); return false;"</c:if>>
<c:out value="${resultListTwo.menuNm}" />
</a>
<c:if test="${resultListTwo.childMenuCnt gt 0}">
<ul class="depth03_ul">
<c:forEach var="resultListThree" items="${menuResultList}" varStatus="status">
<c:if test="${resultListThree.depths eq '3' && resultListTwo.menuNo eq resultListThree.upperMenuId }">
<li>
<a href="${empty resultListThree.url ? '#' : resultListThree.url}"
${resultListThree.menuType eq 'O' ? 'target="_blank"' : ''}>
<c:out value="${resultListThree.menuNm}" />
<c:if test="${resultListThree.menuType eq 'O'}">
<i class="icon outlink"></i>
</c:if>
</a>
</li>
</c:if>
</c:forEach>
</ul>
</c:if>
</li>
</c:if>
</c:forEach>
</ul>
</li>
</c:if>
</c:forEach>
</ul>
</div>
</nav>
</div>
<!-- //전체메뉴 -->
<div class="mobile_header">
<div class="header_wrap">
@ -232,14 +207,14 @@
<div class="header_util">
<button type="button" class="btn only_icon btn_sertification"><i></i></button>
<button type="button" class="btn only_icon btn_sertification_out hide"><i></i></button>
<!-- <button type="button" class="btn only_icon btn_search"><i></i></button> -->
<button type="button" class="btn only_icon btn_search"><i></i></button>
<button type="button" class="btn only_icon btn_menu"><i></i></button>
</div>
</div>
<!-- <div class="search_area"> -->
<!-- <input type="text" class="input_text input_search"> -->
<!-- <button type="button" class="btn_search"><i></i></button> -->
<!-- </div> -->
<div class="search_area">
<input type="text" class="input_text input_search">
<button type="button" class="btn_search"><i></i></button>
</div>
<div class="all_menu_wrap">
<div class="top_area">
<h1 class="logo">
@ -275,7 +250,6 @@
</li>
</c:if>
</c:forEach>
</ul>
</li>
</c:if>

View File

@ -36,7 +36,7 @@
<c:forEach var="listDep3" items="${whereAmIList}" varStatus="status3">
<c:if test="${listDep3.upperMenuId eq listDep2.menuNo}">
<li>
<a href="${listDep3.url}" <c:if test="${listDep3.menuNo eq menuManageVO.menuNo}">class="active"</c:if> target="_blank">
<a href="${listDep3.url}" <c:if test="${listDep3.menuNo eq menuManageVO.menuNo}">class="active"</c:if>>
<c:out value="${listDep3.menuNm}"/>
</a>
</li>

View File

@ -9,7 +9,7 @@
var hpNameValue = $('input[name="hpName"]').val();
var jsonData = {
ci: ciValue,
hpCi1: ciValue,
hpName: hpNameValue
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -13,7 +13,13 @@ function leftMenu() {
})
})
$(".menu_title").each(function(idx,itm){
var menuTitle = $(itm).text().trim();
if(menuTitle == "Dashboard"){
$(itm).addClass("none");
}
})
$('.menu_title').on('click',function () {

View File

@ -12,6 +12,7 @@
.leftmenu .depth01_li.active{border:0;}
.leftmenu .menu_title{position:relative;display:flex;width:100%;height:54px;font-size:18px;font-weight:500;text-align:left;color:#888bbc;letter-spacing:-0.4px;align-items:center;}
.leftmenu .menu_title::after{position:absolute;content:"";width:10px;height:10px;border-top:2px solid #888bbc;border-right:2px solid #888bbc;transform:rotate(-45deg);right:20px;top:23px;}
.leftmenu .menu_title.none::after{display:none;}
.leftmenu .active .menu_title{color:#fff;}
.leftmenu .active .menu_title::after{border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(135deg);top:20px;}
@ -50,4 +51,36 @@
.user_info_ul li .icon.user{width:20px;height:20px;margin:0 4px 0 0;background:url(/kofair_case_seed/adm/images/layout/icon_user.png) no-repeat center center;}
.user_info_ul select{width:145px;padding:0 0 0 20px;font-size:16px;border:0 !important;background:transparent url(/kofair_case_seed/adm/images/layout/icon_userinfo_select.png) no-repeat calc(100% - 20px) center !important;}
.user_info .btn_logout{width:94px;height:38px;font-size:16px;border-radius:40px;background:#adadb5;}
.user_info .btn_logout{width:94px;height:38px;font-size:16px;border-radius:40px;background:#adadb5;}
/* 로그인 */
.login_all_wrap{display:flex;width:100%;min-width:1240px;height:100vh;justify-content:center;align-items:center;padding:50px 0;box-sizing:border-box;background-color:#fbf9f7;background-image:url(/kofair_case_seed/adm/images/layout/login_bg_left.png), url(/kofair_case_seed/adm/images/layout/login_bg_right.png);background-position:left bottom, right top; background-repeat:no-repeat;}
.login_wrap{display: flex; width: 1000px; height: 584px; background-color: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 0 15px rgba(0,0,0,0.2);}
.login_wrap .login_left_box,.login_wrap .login_right_box{width: 50%;}
.login_wrap .login_left_box{display: flex; flex-direction:column; justify-content: center; align-items: center; background-image: url(/kofair_case_seed/adm/images/layout/login.jpg); background-repeat: no-repeat;}
.login_wrap .login_left_box img{margin:50px 0 10px 0;}
.login_wrap .login_left_box p{padding:6px 22px 8px 22px;font-size:18px;color:#fff;letter-spacing:1.5px;font-weight:400;border:1px solid rgba(255,255,255,0.5);border-radius:100px;background:rgba(0,0,0,0.3);text-shadow:0 0 5px rgba(0,0,0,0.8);}
.login_wrap .login_right_box{position: relative; padding: 80px 50px 0 90px; box-sizing: border-box;}
.login_wrap .login_tit.orange{position:relative;display:inline-block;font-size: 34px; font-weight: 600; margin-bottom: 20px;color:#ea5404;}
.login_wrap .login_tit.orange::after{position: absolute; content: " "; width: 100%; height: 10px; background-color: #ea5404; opacity: 0.15; left: 0; bottom: 0;}
.login_wrap .login_tit{font-size: 30px; font-weight: 500; margin-bottom: 54px;}
.login_wrap .id_box,.login_wrap .pw_box{margin-bottom: 20px;}
.login_wrap .id_box p,.login_wrap .pw_box p{font-size: 16px; font-weight: 600; color: #999; margin-bottom: 9px;}
.login_wrap .id_box input[type="text"],.login_wrap .pw_box input[type="password"]{width: calc(100% - 40px); background-color: #fff; border: 1px solid #e5e5e5;}
.login_wrap .id_box input[type="text"]::placeholder,.login_wrap .pw_box input[type="password"]::placeholder{font-size: 15px; color: #cccccc; font-weight: 400;}
.login_wrap .saveId{margin-top: 10px;}
.login_wrap input[type="checkbox"]{width: 20px; height: 20px;}
.login_wrap input[type="checkbox"]+label{width: auto; height: auto; margin: 4px 0 0 0; padding-left: 5px; clip: auto; color: #444; font-size: 16px; font-weight: 400;}
.login_wrap .submit_box{margin-top: 36px;}
.login_wrap .submit_box input[type="submit"]{width: 180px; height: 50px; background-color: #ea5404; border-radius: 5px; color: #fff; font-size: 20px; font-weight: 500; border: 0; transition: background-color 0.2s ease-in-out;}
.login_wrap .submit_box input[type="submit"]:hover{background-color: #de3900; transition: background-color 0.2s ease-in-out;}
.login_wrap .copyright{font-size: 14px; position: absolute; bottom: 40px; color: #333;}
.login_wrap .login_right_box.login_right_otp_box {display:flex;flex-direction:column;justify-content:center;padding:0 80px;}
.login_wrap .login_right_box.login_right_otp_box .login_tit {margin-bottom:29px;}
.login_wrap .login_right_box.login_right_otp_box .id_box,
.login_wrap .login_right_box.login_right_otp_box .pw_box {margin-bottom:15px;}
.login_wrap .login_right_box.login_right_otp_box .otp_phone_box {display:block;}
.login_wrap .login_right_box.login_right_otp_box .otp_phone_box input[type=text] {width:calc(100% - 145px);border:1px solid #e5e5e5;background:#f4f4f4;border-radius:5px;}
.login_wrap .login_right_box.login_right_otp_box .otp_phone_box .otp_phone_btn {width:100px;height:38px;font-size:14px;text-align:center;vertical-align:top;border:1px solid #e5e5e5;border-radius:5px;}
.login_wrap .login_right_box.login_right_otp_box .submit_box {margin-top:26px;}

View File

@ -49,6 +49,7 @@ form h3,.title.depth02{font-size:20px;font-weight:bold;}
.wrap .form-group.calendar input[type="text"],.wrap .hasDatepicker{width:150px !important;height:36px;}
.ui-widget-content{border:1px solid #e8e8e8 !important;background:#fff !important;color:#333 !important;box-shadow: 0 0 5px rgba(0,0,0,0.08);}
.ui-datepicker .ui-datepicker-buttonpane.ui-widget-content{box-shadow:none;border:0 !important;}
.ui-widget-content *{font-family:'Noto Sans KR', sans-serif !important;}
.ui-datepicker{padding:10px 15px !important;}
.ui-datepicker .ui-datepicker-header{padding:0;border:0;background:#fff;}
@ -67,6 +68,11 @@ form h3,.title.depth02{font-size:20px;font-weight:bold;}
.dateimepicker-hour,.dateimepicker-minuts{font-size:15px !important;font-weight:500;line-height:1;padding:0 10px;margin:-1px 4px 0 0;vertical-align:middle;}
.ui-datepicker.ui-widget{font-size:16px !important;}
.ui-datepicker .ui-datepicker-buttonpane button{position:relative;height:30px;font-size:15px;color:transparent !important;background:#fff !important;margin:0 !important;padding:0 10px !important;border:1px solid #d5d5d5 !important;}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current::after{position:absolute;content:"오늘";font-size:15px;color:#666;left:50%;transform:translateX(-50%);}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close{font-weight:400;}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close::after{position:absolute;content:"닫기";font-size:15px;color:#666;;left:50%;transform:translateX(-50%);}
/* table - 리스트 */
.wrap .form-wrap{border:0;}
.wrap .table_top,.wrap .search_wrap .calendar_term,.wrap .table_top .search_wrap,.wrap .table_top .type_select{display:flex;align-items:center;gap:5px;}
@ -174,6 +180,10 @@ form h3,.title.depth02{font-size:20px;font-weight:bold;}
/* editor */
div.webnote_toolbar_container{display:flex;}
/* 드래그드롭 */
.dragdrop_wrap{margin:10px 0 0 0;border-radius:5px;}
.bbs-view-item .innorix_basic div.irx_filetree.empty-uploader{background:url(/kofair_case_seed/adm/images/component/dragdrop_img.png) no-repeat center center !important;}
/* 댓글 */
.cmmt_wrap{margin-top: 30px;}
.cmmt_tit{display: flex; align-items: center;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@ -91,7 +91,8 @@
<b class="title orange_border blue_border">분쟁조정 단계별 절차 안내</b>
<div class="box gray_border">
<img src="/kofair_case_seed/usr/images/info/img_process_01.png" alt="1. 직접신청 / 조정의뢰(공정위) 다음 2. 한국공정거래조정원 사건 접수 다음 3. 사실관계 확인 다음 4. 분쟁조정협의회 다음 4-1. 조정안제시 의결 (수락시) 조정성립 (불수락 시) 조정 불성립 4-2. 조정절차 종료 의결 - 조정 성립, 조정불성립, 종결* 다음 4-2-1. 분쟁조정 종료 다음 4-2-2 공정거래위원회 보고 및 당사자 종료사실 통지**">
<img src="/kofair_case_seed/usr/images/info/img_process_01.png" class="pc_img" alt="1. 직접신청 / 조정의뢰(공정위) 다음 2. 한국공정거래조정원 사건 접수 다음 3. 사실관계 확인 다음 4. 분쟁조정협의회 다음 4-1. 조정안제시 의결 (수락시) 조정성립 (불수락 시) 조정 불성립 4-2. 조정절차 종료 의결 - 조정 성립, 조정불성립, 종결* 다음 4-2-1. 분쟁조정 종료 다음 4-2-2 공정거래위원회 보고 및 당사자 종료사실 통지**">
<img src="/kofair_case_seed/usr/images/info/img_process_01_m.png" class="m_img" alt="1. 직접신청 / 조정의뢰(공정위) 다음 2. 한국공정거래조정원 사건 접수 다음 3. 사실관계 확인 다음 4. 분쟁조정협의회 다음 4-1. 조정안제시 의결 (수락시) 조정성립 (불수락 시) 조정 불성립 4-2. 조정절차 종료 의결 - 조정 성립, 조정불성립, 종결* 다음 4-2-1. 분쟁조정 종료 다음 4-2-2 공정거래위원회 보고 및 당사자 종료사실 통지**">
<ul class="info_ul">
<li><span class="color_red">* </span>취하, 소제기, 각하, 조정안 미제시 등 법령 등에 의하여 조정절차를 종료한 경우</li>
<li><span class="color_red">** </span>조정이 성립되지 않은 경우, 피신청인의 관련 법률 위반 여부를 확인하고 싶은 신청인은 조정원의 통지 공문 내용에 따라 공정거래위원회에 신고서 제출</li>
@ -128,7 +129,8 @@
</div>
<div class="box gray_border">
<img src="/kofair_case_seed/usr/images/info/img_process_02.png" alt="1. 직접신청 / 조정의뢰(공정위) 다음 2. 분쟁조정협의회 절차개시의결 다음 3. 집단분쟁조정절차 게시공고(일간지, 홈페이지 등 14일 이상) - 추가당사자 접수 /- 대표당사자 선임 / - 당사자 제외 다음 4. 분쟁조정협의회 다음 4-1. 조정안제시 의결 (수락시) 조정성립 - 보상계획 제출 권고 (안될경우 다시 분쟁조정협의회) (불수락 시) 조정 불성립 4-2. 조정절차 종료 의결 - 조정성립, 조정불성립, 종결 - 분쟁조정 종료 - 공정거래위원회 보고 및 당사자 종료사실 통지">
<img src="/kofair_case_seed/usr/images/info/img_process_02.png" class="pc_img" alt="1. 직접신청 / 조정의뢰(공정위) 다음 2. 분쟁조정협의회 절차개시의결 다음 3. 집단분쟁조정절차 게시공고(일간지, 홈페이지 등 14일 이상) - 추가당사자 접수 /- 대표당사자 선임 / - 당사자 제외 다음 4. 분쟁조정협의회 다음 4-1. 조정안제시 의결 (수락시) 조정성립 - 보상계획 제출 권고 (안될경우 다시 분쟁조정협의회) (불수락 시) 조정 불성립 4-2. 조정절차 종료 의결 - 조정성립, 조정불성립, 종결 - 분쟁조정 종료 - 공정거래위원회 보고 및 당사자 종료사실 통지">
<img src="/kofair_case_seed/usr/images/info/img_process_02_m.png" class="m_img" alt="1. 직접신청 / 조정의뢰(공정위) 다음 2. 분쟁조정협의회 절차개시의결 다음 3. 집단분쟁조정절차 게시공고(일간지, 홈페이지 등 14일 이상) - 추가당사자 접수 /- 대표당사자 선임 / - 당사자 제외 다음 4. 분쟁조정협의회 다음 4-1. 조정안제시 의결 (수락시) 조정성립 - 보상계획 제출 권고 (안될경우 다시 분쟁조정협의회) (불수락 시) 조정 불성립 4-2. 조정절차 종료 의결 - 조정성립, 조정불성립, 종결 - 분쟁조정 종료 - 공정거래위원회 보고 및 당사자 종료사실 통지">
</div>
<dl class="info_ul text">

View File

@ -2,156 +2,156 @@
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>한국공정거래조정원 온라인분쟁조정시스템 > 분쟁조정 신청 > 분쟁조정 신청하기</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>한국공정거래조정원 온라인분쟁조정시스템 > 분쟁조정 신청 > 분쟁조정 신청하기</title>
<!-- css -->
<link rel="stylesheet" href="/kofair_case_seed/css/reset.css">
<link rel="stylesheet" href="/kofair_case_seed/css/font.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/common.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/layout.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/popup.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/style.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/request.css">
<!-- css -->
<link rel="stylesheet" href="/kofair_case_seed/css/reset.css">
<link rel="stylesheet" href="/kofair_case_seed/css/font.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/common.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/layout.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/popup.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/style.css">
<link rel="stylesheet" href="/kofair_case_seed/usr/style/request.css">
<!-- js -->
<script src="/kofair_case_seed/script/lib/jquery-3.5.0.js"></script>
<script src="/kofair_case_seed/usr/scripts/common.js"></script>
<script src="/kofair_case_seed/usr/scripts/layout.js"></script>
<script src="/kofair_case_seed/usr/scripts/popup.js"></script>
<script src="/kofair_case_seed/usr/scripts/ui.js"></script>
<script src="/kofair_case_seed/usr/scripts/request.js"></script>
<!-- js -->
<script src="/kofair_case_seed/script/lib/jquery-3.5.0.js"></script>
<script src="/kofair_case_seed/usr/scripts/common.js"></script>
<script src="/kofair_case_seed/usr/scripts/layout.js"></script>
<script src="/kofair_case_seed/usr/scripts/popup.js"></script>
<script src="/kofair_case_seed/usr/scripts/ui.js"></script>
<script src="/kofair_case_seed/usr/scripts/request.js"></script>
<!-- 달력 -->
<link rel="stylesheet" href="/kofair_case_seed/script/plugin/datapicker/default.css">
<script src="/kofair_case_seed/script/plugin/datapicker/duet.js"></script>
<script type="module" src="/kofair_case_seed/script/plugin/datapicker/duet.esm.js"></script>
<script src="/kofair_case_seed/script/plugin/datapicker/duet.system.js"></script>
<!-- 달력 -->
<link rel="stylesheet" href="/kofair_case_seed/script/plugin/datapicker/default.css">
<script src="/kofair_case_seed/script/plugin/datapicker/duet.js"></script>
<script type="module" src="/kofair_case_seed/script/plugin/datapicker/duet.esm.js"></script>
<script src="/kofair_case_seed/script/plugin/datapicker/duet.system.js"></script>
<style>
.apl03_info_content.apl05 .blue_border.title.depth03{margin:30px 0 25px 0;}
</style>
<style>
.apl03_info_content.apl05 .blue_border.title.depth03{margin:30px 0 25px 0;}
</style>
</head>
<body>
<div class="mask"></div>
<div class="mask"></div>
<div class="wrap sub">
<div data-include-path="/kofair_case_seed/usr/layout/_header.html"></div>
<div class="wrap sub">
<div data-include-path="/kofair_case_seed/usr/layout/_header.html"></div>
<div class="contents sub">
<div class="contents sub">
<div class="sub_visual">
<h2>분쟁조정 신청</h2>
</div>
<div class="sub_visual">
<h2>분쟁조정 신청</h2>
</div>
<div class="inner">
<div class="inner">
<!-- lnb -->
<div class="lnb">
<p class="title">분쟁조정 신청</p>
<ul class="lnb_menu">
<li>
<a href="#none" class="lnb_menu_title">분쟁조정 신청하기</a>
</li>
<li>
<a href="#none" class="lnb_menu_title">분쟁조정 사건조회</a>
</li>
</ul>
</div>
<!-- //lnb -->
<div class="sub_content apl03_info_content apl05">
<!-- lnb -->
<div class="lnb">
<p class="title">분쟁조정 신청</p>
<ul class="lnb_menu">
<li>
<a href="#none" class="lnb_menu_title">분쟁조정 신청하기</a>
</li>
<li>
<a href="#none" class="lnb_menu_title">분쟁조정 사건조회</a>
</li>
</ul>
</div>
<!-- //lnb -->
<div class="sub_content apl03_info_content apl05">
<!-- page_location -->
<ul class="page_location">
<li><i class="icon home"></i></li>
<li>분쟁조정 신청</li>
<li>분쟁조정 신청하기</li>
</ul>
<!-- //page_location -->
<!-- page_location -->
<ul class="page_location">
<li><i class="icon home"></i></li>
<li>분쟁조정 신청</li>
<li>분쟁조정 신청하기</li>
</ul>
<!-- //page_location -->
<h3 class="sub_con_tit">분쟁조정 신청하기</h3>
<p class="sub_con_sub_tit">거래유형에 따른 분쟁조정 신청방법 및 절차를 알려드립니다.</p>
<h3 class="sub_con_tit">분쟁조정 신청하기</h3>
<p class="sub_con_sub_tit">거래유형에 따른 분쟁조정 신청방법 및 절차를 알려드립니다.</p>
<ul class="process_step_wrap step5">
<li>
<p>STEP 01 <span>개인정보수집</span></p>
<i class="icon step step01"></i>
</li>
<li>
<p>STEP 02 <span>신청인 정보</span></p>
<i class="icon step step02"></i>
</li>
<li>
<p>STEP 03 <span>피신청인 정보</span></p>
<i class="icon step step03"></i>
</li>
<li>
<p>STEP 04 <span>사건현황</span></p>
<i class="icon step step04"></i>
</li>
<li class="active">
<p>STEP 05 <span>분쟁정보</span></p>
<i class="icon step step05"></i>
</li>
</ul>
<ul class="process_step_wrap step5">
<li>
<p>STEP 01 <span>개인정보수집</span></p>
<i class="icon step step01"></i>
</li>
<li>
<p>STEP 02 <span>신청인 정보</span></p>
<i class="icon step step02"></i>
</li>
<li>
<p>STEP 03 <span>피신청인 정보</span></p>
<i class="icon step step03"></i>
</li>
<li>
<p>STEP 04 <span>사건현황</span></p>
<i class="icon step step04"></i>
</li>
<li class="active">
<p>STEP 05 <span>분쟁정보</span></p>
<i class="icon step step05"></i>
</li>
</ul>
<!-- 사건현황 -->
<!-- 사건현황 -->
<div class="table_top title mt0">
<p class="title orange_border blue_border">분쟁정보</p>
</div>
<div class="table_top title mt0">
<p class="title orange_border blue_border">분쟁정보</p>
</div>
<p class="title blue_border depth03 fw_regular">신청내용에는 분쟁과 관련한 정보와 분쟁조정을 통해 구제받고자 하는 취지(손해의 배상, 계약의 유지 또는 해지 등) 및 그 취지를 설명할 수 있는 이유를 구체적이고 명확하게 기재하여야 조정절차가 보다 신속하게 진행될 수 있습니다.</p>
<div class="table_type_rows textarea_table_wrap">
<table>
<colgroup>
<col style="width:200px;">
<col style="width:calc(100% - 200px);">
</colgroup>
<tbody>
<tr>
<th><p class="required_text">*<span>필수입력</span></p>신청취지</th>
<td>
<div class="length_wrap">
<textarea name="" id="" class="input_text" placeholder="내용을 입력해주세요."></textarea>
<p class="length"><span class="color_red">0</span>/ 1300자</p>
</div>
</td>
</tr>
<tr>
<th><p class="required_text">*<span>필수입력</span></p>신청이유</th>
<td>
<div class="length_wrap">
<textarea name="" id="" class="input_text" placeholder="내용을 입력해주세요."></textarea>
<p class="length"><span class="color_red">0</span>/ 1300자</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p class="title blue_border depth03 fw_regular">신청내용에는 분쟁과 관련한 정보와 분쟁조정을 통해 구제받고자 하는 취지(손해의 배상, 계약의 유지 또는 해지 등) 및 그 취지를 설명할 수 있는 이유를 구체적이고 명확하게 기재하여야 조정절차가 보다 신속하게 진행될 수 있습니다.</p>
<div class="table_type_rows textarea_table_wrap">
<table>
<colgroup>
<col style="width:200px;">
<col style="width:calc(100% - 200px);">
</colgroup>
<tbody>
<tr>
<th><p class="required_text">*<span>필수입력</span></p>신청취지</th>
<td>
<div class="length_wrap">
<textarea name="" id="" class="input_text" placeholder="내용을 입력해주세요."></textarea>
<p class="length"><span class="color_red">0</span>/ 1300자</p>
</div>
</td>
</tr>
<tr>
<th><p class="required_text">*<span>필수입력</span></p>신청이유</th>
<td>
<div class="length_wrap">
<textarea name="" id="" class="input_text" placeholder="내용을 입력해주세요."></textarea>
<p class="length"><span class="color_red">0</span>/ 1300자</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="btn_wrap">
<div class="area_left">
<button type="button" class="btn btn_text btn_45 gray_fill">이전단계</button>
</div>
<div class="area_right">
<button type="button" class="btn btn_text btn_45 darkgray_border">임시저장</button>
<button type="button" class="btn btn_text btn_45 darkblue_fill" onclick="location.href='/kofair_case_seed/usr/request/apl_07.html'">신청</button>
</div>
</div>
</div>
<div class="btn_wrap">
<div class="area_left">
<button type="button" class="btn btn_text btn_45 gray_fill">이전단계</button>
</div>
<div class="area_right">
<button type="button" class="btn btn_text btn_45 darkgray_border">임시저장</button>
<button type="button" class="btn btn_text btn_45 darkblue_fill" onclick="location.href='/kofair_case_seed/usr/request/apl_07.html'">신청</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div data-include-path="/kofair_case_seed/usr/layout/_footer.html"></div>
</div>
<div data-include-path="/kofair_case_seed/usr/layout/_footer.html"></div>
</div>
</body>
</html>

View File

@ -5,6 +5,8 @@ $(function () {
}, 100)
}
})
// header, footer 공통 영역 불러오기
@ -18,7 +20,7 @@ window.addEventListener('load', function () {
if (this.readyState == 4 && this.status == 200) {
header();
el.outerHTML = this.responseText;
}
};
xhttp.open('GET', includePath, true);
@ -26,52 +28,52 @@ window.addEventListener('load', function () {
}
});
});
document.addEventListener('DOMContentLoaded', function () {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
titleFormat: function (date) {
year = date.date.year;
month = date.date.month + 1;
return year + "년 " + month + "월";
},
locale: "ko",
buttonText: {
today: "오늘"
},
height: "auto",
dayCellContent: function (info) {
var number = document.createElement('a');
number.classList.add('fc-daygrid-day-number');
number.innerHTML = info.dayNumberText.replace("일", "");
if (info.view.type === 'dayGridMonth') {
if ($(".wrap").find("#calendar").length > 0) {
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
titleFormat: function (date) {
year = date.date.year;
month = date.date.month + 1;
return year + "년 " + month + "월";
},
locale: "ko",
buttonText: {
today: "오늘"
},
height: "auto",
dayCellContent: function (info) {
var number = document.createElement('a');
number.classList.add('fc-daygrid-day-number');
number.innerHTML = info.dayNumberText.replace("일", "");
if (info.view.type === 'dayGridMonth') {
return {
html: number.outerHTML
};
}
return {
html: number.outerHTML
};
}
return {
domNodes: []
}
},
events:[
{
domNodes: []
}
},
events: [{
title: '조정절차 관련 일정',
start: '2024-10-15',
}
]
});
calendar.render();
}]
});
calendar.render();
}
});
// 달력팝업
function calendar() {
// 캘린더 고유 클래스 추가
$(".input_calendar").each(function (idx, itm) {
$(".input_calendar").not(".start_date,.end_date").each(function (idx, itm) {
idx += 1;
$(itm).addClass("input_calendar" + idx);
});
@ -79,11 +81,14 @@ function calendar() {
$(".start_date").each(function (idx, itm) {
idx += 1;
$(itm).addClass("start_date" + idx);
$(itm).attr("id", "start_date" + idx);
});
$(".end_date").each(function (idx, itm) {
idx += 1;
$(itm).addClass("end_date" + idx);
$(itm).attr("id", "end_date" + idx);
$(itm).find(".duet-date__input").attr("id", "end_date" + idx);
});
setTimeout(function () {
@ -112,300 +117,345 @@ function calendar() {
setTimeout(function () {
for (var i = 1; i < duetdateleng; i++) {
calendarNum[i] = document.querySelector(".input_calendar" + i);
calendarNum[i].dateAdapter = {
parse: function parse() {
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""
var createDate = arguments.length > 1 ? arguments[1] : undefined
var matches = value.match(DATE_FORMAT)
if (calendarNum[i] !== null) {
calendarNum[i].dateAdapter = {
parse: function parse() {
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""
var createDate = arguments.length > 1 ? arguments[1] : undefined
var matches = value.match(DATE_FORMAT)
if (matches) {
return createDate(matches[3], matches[2], matches[1])
}
},
format: function format(date) {
if (date.getMonth() < 9) {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat(date.getDate())
if (matches) {
return createDate(matches[3], matches[2], matches[1])
}
} else {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat('0', date.getDate())
},
format: function format(date) {
if (date.getMonth() < 9) {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat(date.getDate())
}
} else {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat(date.getDate())
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat(date.getDate())
}
}
}
},
}
},
}
// 달력 플러그인 실행
calendarNum[i].localization = {
placeholder: '날짜 입력',
selectedDateMessage: 'Selected date is',
prevMonthLabel: '이전 달 보기',
nextMonthLabel: '다음 달 보기',
monthSelectLabel: '달 선택',
yearSelectLabel: '년도 선택',
closeLabel: '달력 닫기',
dayNames: ['일', '월', '화', '수', '목', '금', '토'],
monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
identifier: "input_date",
name: "input_date"
}
// 달력 플러그인 실행
calendarNum[i].localization = {
placeholder: '날짜 입력',
selectedDateMessage: 'Selected date is',
prevMonthLabel: '이전 달 보기',
nextMonthLabel: '다음 달 보기',
monthSelectLabel: '달 선택',
yearSelectLabel: '년도 선택',
closeLabel: '달력 닫기',
dayNames: ['일', '월', '화', '수', '목', '금', '토'],
monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
identifier: "input_date",
name: "input_date"
}
// 달력 닫았을 때 input, input[type=hidden]에 value 값 넣어주기
calendarNum[i].addEventListener("duetClose", function (e) {
startDt = e.target;
startDtVal = e.target.value;
startSub = startDtVal.replace(/\-/g, '');
var inputName = $(this).attr("name");
});
setTimeout(function () {
$("duet-date-picker .duet-date__input").each(function (idx, itm) {
idx += 1;
$(itm).attr("name", "input_date" + idx);
$(itm).attr("id", "input_date" + idx);
// 달력 닫았을 때 input, input[type=hidden]에 value 값 넣어주기
calendarNum[i].addEventListener("duetClose", function (e) {
startDt = e.target;
startDtVal = e.target.value;
startSub = startDtVal.replace(/\-/g, '');
var inputName = $(this).attr("name");
});
$("duet-date-picker .duet-date__input").attr('onkeydown', 'this.value=dateSetting(this.value);');
}, 100)
setTimeout(function () {
$("duet-date-picker").not(".start_date,.end_date").find(".duet-date__input").each(function (idx, itm) {
idx += 1;
$(itm).attr("name", "input_date" + idx);
$(itm).attr("id", "input_date" + idx);
});
$("duet-date-picker .duet-date__input").attr('onkeydown', 'this.value=dateSetting(this.value);');
}, 100)
}
}
// 시작날짜
for (var i = 1; i < duetdateleng; i++) {
startDateNum[i] = document.querySelector(".start_date" + i);
startDateNum[i].dateAdapter = {
parse: function parse() {
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""
var createDate = arguments.length > 1 ? arguments[1] : undefined
var matches = value.match(DATE_FORMAT)
if (startDateNum[i] !== null) {
startDateNum[i].dateAdapter = {
parse: function parse() {
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""
var createDate = arguments.length > 1 ? arguments[1] : undefined
var matches = value.match(DATE_FORMAT)
if (matches) {
return createDate(matches[3], matches[2], matches[1])
}
},
format: function format(date) {
if (date.getMonth() < 9) {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat(date.getDate())
if (matches) {
return createDate(matches[3], matches[2], matches[1])
}
} else {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat('0', date.getDate())
},
format: function format(date) {
if (date.getMonth() < 9) {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat(date.getDate())
}
} else {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat(date.getDate())
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat(date.getDate())
}
}
}
},
},
}
// 달력 플러그인 실행
startDateNum[i].localization = {
placeholder: '날짜 입력',
selectedDateMessage: 'Selected date is',
prevMonthLabel: '이전 달 보기',
nextMonthLabel: '다음 달 보기',
monthSelectLabel: '달 선택',
yearSelectLabel: '년도 선택',
closeLabel: '달력 닫기',
dayNames: ['일', '월', '화', '수', '목', '금', '토'],
monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
identifier: "start_date",
name: "start_date"
}
// 달력 닫았을 때 input, input[type=hidden]에 value 값 넣어주기
startDateNum[i].addEventListener("duetClose", function (e) {
startDt = e.target;
startDtVal = e.target.value;
startSub = startDtVal.replace(/\-/g, '');
var inputName = $(startDt).attr("id");
$(".start_date").each(function (idx, itm) {
$(this).find(".duet-date__input").attr("id", inputName);
$(this).find(".duet-date__input").attr("name", inputName);
$(this).find(".duet-date__input").attr("value", startDtVal);
$(this).find(".duet-date__input").next().attr("name", inputName + "_submit");
$(this).find(".duet-date__input").next().attr("value", startSub);
});
});
//날짜 값 바꼈을 때 시작일, 종료일 찾아 alert 띄우기
startDateNum[i].addEventListener("duetChange", function (e) {
startDt = e.target;
var startDateNum = startDt.id;
startDateNum = startDateNum.replace("start_date", "");
startDtVal = e.target.value;
// var n = i - 1;
var endDtVal = $(".end_date" + startDateNum).find(".duet-date__input").val();
endDtVal = endDtVal.replace(/[.]/gi, '');
startDtVal = startDtVal.replace(/[.]/gi, '');
if (startDtVal > endDtVal && endDtVal != "") {
e.target.value = "";
alert("시작일이 종료일보다 클 수 없습니다.");
} else {}
});
setTimeout(function () {
$("duet-date-picker.start_date .duet-date__input").each(function (idx, itm) {
idx += 1;
$(itm).attr("name", "start_date" + idx);
$(itm).attr("id", "start_date" + idx);
});
$("duet-date-picker .duet-date__input").attr('onkeydown', 'this.value=dateSetting(this.value);');
}, 100)
startDateNum[i].addEventListener("duetFocus", function (e) {
calendarSetting();
});
}
// 달력 플러그인 실행
startDateNum[i].localization = {
placeholder: '날짜 입력',
selectedDateMessage: 'Selected date is',
prevMonthLabel: '이전 달 보기',
nextMonthLabel: '다음 달 보기',
monthSelectLabel: '달 선택',
yearSelectLabel: '년도 선택',
closeLabel: '달력 닫기',
dayNames: ['일', '월', '화', '수', '목', '금', '토'],
monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
identifier: "start_date",
name: "start_date"
}
// 달력 닫았을 때 input, input[type=hidden]에 value 값 넣어주기
startDateNum[i].addEventListener("duetClose", function (e) {
startDt = e.target;
startDtVal = e.target.value;
startSub = startDtVal.replace(/\-/g, '');
var inputName = $(this).attr("name");
$(".start_date").each(function (idx, itm) {
$(this).find(".duet-date__input").attr("id", inputName + idx);
$(this).find(".duet-date__input").attr("name", inputName);
$(this).find(".duet-date__input").attr("value", startSub);
$(this).find(".duet-date__input").next().attr("name", inputName + i + "_submit");
$(this).find(".duet-date__input").next().attr("value", startSub);
});
});
//날짜 값 바꼈을 때 시작일, 종료일 찾아 alert 띄우기
startDateNum[i].addEventListener("duetChange", function (e) {
startDt = e.target;
startDtVal = e.target.value;
var n = i - 1;
var endDtVal = $(".end_date" + n).find(".duet-date__input").val();
endDtVal = endDtVal.replace(/[.]/gi, '');
startDtVal = startDtVal.replace(/[.]/gi, '');
if (startDtVal > endDtVal && endDtVal != "") {
e.target.value = "";
alert("시작일이 종료일보다 클 수 없습니다.");
} else {}
});
setTimeout(function () {
$("duet-date-picker.start_date .duet-date__input").each(function (idx, itm) {
idx += 1;
$(itm).attr("name", "start_date" + idx);
$(itm).attr("id", "start_date" + idx);
});
$("duet-date-picker .duet-date__input").attr('onkeydown', 'this.value=dateSetting(this.value);');
}, 100)
startDateNum[i].addEventListener("duetFocus", function (e) {
calendarSetting();
});
}
// 종료날짜
for (var i = 1; i < duetdateleng; i++) {
endDateNum[i] = document.querySelector(".end_date" + i);
endDateNum[i].dateAdapter = {
parse: function parse() {
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""
var createDate = arguments.length > 1 ? arguments[1] : undefined
var matches = value.match(DATE_FORMAT)
if (endDateNum[i] !== null) {
endDateNum[i].dateAdapter = {
parse: function parse() {
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""
var createDate = arguments.length > 1 ? arguments[1] : undefined
var matches = value.match(DATE_FORMAT)
if (matches) {
return createDate(matches[3], matches[2], matches[1])
}
},
format: function format(date) {
if (date.getMonth() < 9) {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat(date.getDate())
if (matches) {
return createDate(matches[3], matches[2], matches[1])
}
} else {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat('0', date.getDate())
},
format: function format(date) {
if (date.getMonth() < 9) {
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat('0', date.getMonth() + 1, ".")
.concat(date.getDate())
}
} else {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat(date.getDate())
if (date.getDate() < 10) {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat('0', date.getDate())
} else {
return ""
.concat(date.getFullYear(), ".")
.concat(date.getMonth() + 1, ".")
.concat(date.getDate())
}
}
}
},
},
}
// 달력 플러그인 실행
endDateNum[i].localization = {
placeholder: '날짜 입력',
selectedDateMessage: 'Selected date is',
prevMonthLabel: '이전 달 보기',
nextMonthLabel: '다음 달 보기',
monthSelectLabel: '달 선택',
yearSelectLabel: '년도 선택',
closeLabel: '달력 닫기',
dayNames: ['일', '월', '화', '수', '목', '금', '토'],
monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
identifier: "end_date",
name: "end_date"
}
// 달력 닫았을 때 input, input[type=hidden]에 value 값 넣어주기
endDateNum[i].addEventListener("duetClose", function (e) {
endDt = e.target;
endDtVal = e.target.value;
endSub = endDtVal.replace(/\-/g, '');
var inputName = $(this).attr("name");
console.log(inputName)
$(".end_date").each(function (idx, itm) {
$(itm).find(".duet-date__input").attr("id", inputName);
$(itm).find(".duet-date__input").attr("name", inputName);
$(itm).find(".duet-date__input").attr("value", endDtVal);
$(itm).find(".duet-date__input").next().attr("name", inputName + "_submit");
$(itm).find(".duet-date__input").next().attr("value", endSub);
});
});
//날짜 값 바꼈을 때 시작일, 종료일 찾아 alert 띄우기
endDateNum[i].addEventListener("duetChange", function (e) {
endDt = e.target;
endDtVal = e.target.value;
var endDateNum = endDt.id;
endDateNum = endDateNum.replace("end_date", "");
// var n = i - 1
var startDtVal = $(".start_date" + endDateNum).find(".duet-date__input").val();
startDtVal = startDtVal.replace(/[.]/gi, '');
endDtVal = endDtVal.replace(/[.]/gi, '');
//console.log(startDtVal,endDtVal)
//console.log("2",startDtVal,endDtVal);
if (endDtVal < startDtVal) {
e.target.value = "";
alert("종료일이 시작일보다 작을 수 없습니다.");
} else {}
});
setTimeout(function () {
$("duet-date-picker.end_date").each(function (idx, itm) {
idx += 1;
$(itm).attr("name", "end_date" + idx);
$(itm).attr("id", "end_date" + idx);
});
$("duet-date-picker .duet-date__input").attr('onkeydown', 'this.value=dateSetting(this.value);');
}, 100)
endDateNum[i].addEventListener("duetFocus", function (e) {
calendarSetting();
});
}
// 달력 플러그인 실행
endDateNum[i].localization = {
placeholder: '날짜 입력',
selectedDateMessage: 'Selected date is',
prevMonthLabel: '이전 달 보기',
nextMonthLabel: '다음 달 보기',
monthSelectLabel: '달 선택',
yearSelectLabel: '년도 선택',
closeLabel: '달력 닫기',
dayNames: ['일', '월', '화', '수', '목', '금', '토'],
monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
identifier: "end_date",
name: "end_date"
}
// 달력 닫았을 때 input, input[type=hidden]에 value 값 넣어주기
endDateNum[i].addEventListener("duetClose", function (e) {
endDt = e.target;
endDtVal = e.target.value;
endSub = endDtVal.replace(/\-/g, '');
var inputName = $(this).attr("name");
$(".end_date").each(function (idx, itm) {
$(this).find(".duet-date__input").attr("id", inputName + idx);
$(this).find(".duet-date__input").attr("name", inputName);
$(this).find(".duet-date__input").attr("value", endSub);
$(this).find(".duet-date__input").next().attr("name", inputName + i + "_submit");
$(this).find(".duet-date__input").next().attr("value", endSub);
});
});
//날짜 값 바꼈을 때 시작일, 종료일 찾아 alert 띄우기
endDateNum[i].addEventListener("duetChange", function (e) {
endDt = e.target;
endDtVal = e.target.value;
var n = i - 1
var startDtVal = $(".start_date" + n).find(".duet-date__input").val();
startDtVal = startDtVal.replace(/[.]/gi, '');
endDtVal = endDtVal.replace(/[.]/gi, '');
//console.log("2",startDtVal,endDtVal);
if (endDtVal < startDtVal) {
e.target.value = "";
alert("종료일이 시작일보다 작을 수 없습니다.");
} else {}
});
setTimeout(function () {
$("duet-date-picker.end_date").each(function (idx, itm) {
idx += 1;
$(itm).attr("name", "end_date" + idx);
$(itm).attr("id", "end_date" + idx);
});
$("duet-date-picker .duet-date__input").attr('onkeydown', 'this.value=dateSetting(this.value);');
}, 100)
endDateNum[i].addEventListener("duetFocus", function (e) {
calendarSetting();
});
}
//input에 value 값 추가
$(".duet-date__input").focusout(function () {
var thisVal = $(this).val();
$(this).closest(".hydrated").attr("value", thisVal);
$(this).attr("value", thisVal);
$(this).next('input[type=hidden]').attr("value", thisVal);
/*var startVal = $('.startDate .duet-date__input').val();
var endVal = $('.endDate .duet-date__input').val();*/
var startName, endName;
if ($(this).closest(".hydrated").is(".start_date")) {
var startNum = $(this).closest(".start_date").attr("id");
startNum = startNum.replace("start_date", "");
var startVal = $('#start_date' + startNum).find('.duet-date__input').val();
var endVal = $('#end_date' + startNum).find('.duet-date__input').val();
startName = $('#start_date' + startNum);
endName = $('#end_date' + startNum);
calendarMsgKey(this, startVal, endVal, startName, endName);
} else if ($(this).closest(".hydrated").is(".end_date")) {
var endNum = $(this).closest(".end_date").attr("id");
endNum = endNum.replace("end_date", "");
var startVal = $('#start_date' + endNum).find('.duet-date__input').val();
var endVal = $('#end_date' + endNum).find('.duet-date__input').val();
startName = $('#start_date' + endNum).attr("id");
endName = $('#end_date' + endNum).attr("id");
calendarMsgKey(this, startVal, endVal, startName, endName);
}
});
}, 10)
function calendarMsgKey(ipt, startVal, endVal, startName, endName) {
startVal = startVal.replace(/[.]/gi, '');
endVal = endVal.replace(/[.]/gi, '');
//console.log(startVal+"start", endVal+"end");
if ($(ipt).is("[name=start_date]") > 0) {
if (startVal > endVal && $(ipt).is("[name=start_date]") == true && endVal != "") {
//console.log("1",startVal,endVal);
startVal = startVal.replace(/[-]/gi, '');
endVal = endVal.replace(/[-]/gi, '');
if ($(ipt).closest(".input_calendar").is(".start_date") > 0) {
if (startVal > endVal && $(ipt).closest(".input_calendar").is(".start_date") == true && endVal != "") {
alert("시작일이 종료일보다 클 수 없습니다.");
ipt.value = "";
} else if (startVal > endVal && $(ipt).is("[name=end_date]") == true && startVal != "") {
//console.log("2",startVal,endVal);
//console.log(ipt);
} else if (startVal > endVal && $(ipt).is(".end_date") == true && startVal != "") {
if ($("duet-date-picker.end_date").val() == "") {
} else {
@ -414,13 +464,10 @@ function calendar() {
}
} else {}
} else {
if (startVal > endVal && $(ipt).is("[name=" + startName + "]") == true && endVal != "") {
//console.log("1",startVal,endVal);
if (startVal > endVal && $(ipt).is("#" + startName) == true && endVal != "") {
alert("시작일이 종료일보다 클 수 없습니다.");
ipt.value = "";
} else if (startVal > endVal && $(ipt).is("[name=" + endName + "]") == true && startVal != "") {
//console.log("2",startVal,endVal);
//console.log(ipt);
} else if (startVal > endVal && $(ipt).is("#" + endName) == true && startVal != "") {
if ($("duet-date-picker.end_date").val() == "") {
} else {
@ -432,35 +479,63 @@ function calendar() {
}
function dateSetting(objValue) {
var v = objValue.replace("--", "-");
//console.log(event.keyCode); // 한글쪽 - 189, 숫자키 쪽 109
if (v.match(/^\d{4}$/) !== null) {
if (event.keyCode == "8") {
// 백스페이스 키를 누를 때 '.' 안생기게
} else {
v = v + '-';
}
} else if (v.match(/^\d{4}\-\d{2}$/) !== null) {
if (event.keyCode == "8") {
// 백스페이스 키를 누를 때 '.' 안생기게
} else {
v = v + '-';
}
}
// '-' 막기
if (event.keyCode == "190" || event.keyCode == "110") {
event.preventDefault();
return v;
} else {}
return v;
}
}
function calendarSetting() {
$('.calendar_wrap').each(function () {
$(this).find('.duet-date__input').attr('onkeydown', 'this.value=dateSetting(this.value);');
$(this).find('.duet-date__input').attr('onblur', 'this.value=dateSettingHere(this.value);');
$(this).find('.duet-date__input').attr('onblur', 'this.value=dateSetting(this.value);');
});
}
function dateSetting(objValue) {
var v = objValue.replace("..", ".");
console.log(event.keyCode); // 한글쪽 - 189, 숫자키 쪽 109
var v = objValue.replace("--", "-");
//console.log(event.keyCode); // 한글쪽 - 189, 숫자키 쪽 109
if (v.match(/^\d{4}$/) !== null) {
if (event.keyCode == "8") {
// 백스페이스 키를 누를 때 '.' 안생기게
} else {
v = v + '.';
v = v + '-';
}
} else if (v.match(/^\d{4}\.\d{2}$/) !== null) {
} else if (v.match(/^\d{4}\-\d{2}$/) !== null) {
if (event.keyCode == "8") {
// 백스페이스 키를 누를 때 '.' 안생기게
} else {
v = v + '.';
v = v + '-';
}
}
// '-' 막기
if (event.keyCode == "189" || event.keyCode == "109") {
if (event.keyCode == "190" || event.keyCode == "110") {
event.preventDefault();
return v;
} else {}

View File

@ -122,6 +122,7 @@ function snb() {
var menuText = $(itm).text().trim();
if(menuText == "실시간 상담"){
$(itm).html("실시간 상담 <i class='icon outlink' style='margin:5px 0 0 10px;'></i>");
$(itm).attr("target","_blank");
}
})

View File

@ -30,7 +30,7 @@
.free_counsel_content .depth02:nth-child(2){margin:0;}
.free_counsel_content .box.gray_border .info_ul .title{font-weight:400;}
.free_counsel_content .box.gray_border .info_ul .title::after{top:7px;}
.free_counsel_content .check_wrap{display:flex;margin:20px 0 0 0;font-size:1.7rem;justify-content:space-between;align-items:flex-start;}
.free_counsel_content .check_wrap{display:flex;margin:20px 0 0 0;font-size:1.7rem;line-height:1.4;justify-content:space-between;align-items:flex-start;}
.free_counsel_content .check_wrap .checkbox{margin:-3px 10px 0 0;}
.free_counsel_content .check_wrap label{color:#888;}
.free_counsel_content .check_wrap :checked+label{color:#333;}

View File

@ -38,6 +38,8 @@
.process_content .box.gray_border.gray_fill.terms_info{padding:40px;text-align:left;}
.process_content .terms_info p{font-size:1.7rem;font-weight:400;color:#666;line-height:1.5;margin:10px 0 0 0;}
.process_content .m_img{display:none;}
/* 오시는 길 */
.map_area{width:100%;height:auto;}
.map_box{display:flex;background:#f4f5f7;border-radius:0 0 5px 5px;padding:30px 90px;align-items:center;}
@ -76,6 +78,9 @@
.process_content .info_ul.text dd .color_brown{font-size:3.4rem;}
.process_content .terms_info p{font-size:3.4rem;margin:20px 0 0 0;}
.process_content .m_img{display:block;}
.process_content .pc_img{display:none;}
/* 분쟁조정 제도 */
.system_info{margin:80px 0 0 0;}
.system_info .system_dl dt{margin:60px 0 0 0;}

View File

@ -38,7 +38,7 @@
.idf_method .btn_idf.kakao span{background:#f9d300;color:#371c1d;}
/* 분쟁조정신청현황 > 현황 */
.apl_status_content.detail h3{margin:0 0 40px 0;}
.apl_status_content.detail h3{margin:32px 0 40px 0;}
.apl_status_content.detail .table_top.title{border-bottom:1px solid #cacaca;padding:0 0 10px 0;}
.apl_status_content.detail .apl_list>li{margin:30px 0;}
.apl_status_content.detail .apl_list .apl_title{position:relative;}

View File

@ -161,6 +161,9 @@
.inquiry_content .input_box.column .input_text{width:calc(100% - 300px);border:0;}
/* 분쟁조정 신청 */
.apl_info_content.apl02 .gray_border.box .title{font-size:3.8rem;}
.apl_info_content.apl02 .sub_dl{margin:60px 0;font-size:3.4rem;gap:12px;}
.apl_info_content.apl02 .checkbox_wrap .checkbox{width:36px;height:36px;margin:8px 22px 0 0;}
.apl03_info_content .step5{flex-wrap:wrap;gap:40px;}
.apl03_info_content .step5 li{width:calc((100% - 120px)/3);padding:26px 0;}
.apl03_info_content .step5 li::before{height:4px;}
@ -297,6 +300,9 @@
.inquiry_content .input_box.column .input_text{width:calc(100% - 150px);border:0;}
/* 분쟁조정 신청 */
.apl_info_content.apl02 .gray_border.box .title{font-size:1.9rem;}
.apl_info_content.apl02 .sub_dl{margin:30px 0;font-size:1.7rem;gap:6px;}
.apl_info_content.apl02 .checkbox_wrap .checkbox{width:18px;height:18px;margin:4px 11px 0 0;}
.apl03_info_content .process_step_wrap.step5 .step,.apl03_info_content .process_step_wrap.step5 .active .step{height:35px;background-size:auto 100%;}
.apl03_info_content .process_step_wrap.step5 li::before{height:1px;}
.apl03_info_content .btn.btn_text.btn_35.gray_fill{width:calc(100% - 100px);}

View File

@ -42,10 +42,31 @@
.sub_con_tit{margin:32px 0 0 0;font-size:3.6rem;font-weight:bold;color:#333;}
.sub_con_sub_tit{margin:40px 0;font-size:1.7rem;font-weight:400;color:#666;}
.login_wrap *{font-family:'Noto Sans KR', sans-serif;}
.login_wrap .meet_lg_wrap1.center{max-width:450px;}
.login_wrap .meet_lg_wrap .meet_lg{border:1px solid #d5d5d5;background:#fff;box-shadow:0 0 5px rgba(0,0,0,0.08);}
.login_wrap .meet_lg_wrap .meet_lg_tit{display:flex;height:auto;padding:40px 0 0 0;margin:0;line-height:1.4;font-size:20px;justify-content:center;align-items:center;}
.login_wrap .meet_lg_wrap .meet_lg_tit h1{position:relative;}
.login_wrap .meet_lg_wrap .meet_lg_tit h1::after{position:absolute;content:"";width:20px;height:3px;background:#2e40ba;bottom:-22px;left:50%;transform:translateX(-50%);}
.login_wrap .meet_lg_wrap .meet_lg_con fieldset{display:flex;justify-content:space-between;align-items:stretch;}
.login_wrap .meet_lg_wrap .meet_lg_r{height:auto;}
.login_wrap .meet_lg_wrap .meet_lg_r button{height:100%;font-size:17px;font-weight:500;}
.login_wrap .meet_lg_wrap .login_wrap2{display:flex;flex-direction:column;gap:10px;}
.login_wrap .meet_lg_wrap .id_wrap{display:flex;height:auto;align-items:center;gap:5px;}
.login_wrap .meet_lg_wrap .id_wrap label{width:100px;margin:0;}
.login_wrap .meet_lg_wrap .id_wrap .inp_label{width:100%;padding:0 10px;border-radius:5px;margin:0;height:35px;}
.login_wrap .c_dahong{color:#2e40ba;font-weight:600;}
.login_wrap .btn_login2{background:#2e40ba;}
.login_wrap .meet_lg_noti{margin:10px 0 0 0;padding:5px 10px;font-size:15px;color:#666;background:#f5f5f5;border-radius:5px;}
.login_wrap .meet_lg_noti img{margin:1px 0 0 0;}
.login_wrap .meet_lg_noti p{display:flex;align-items:center;gap:5px;}
.search_wrap{display:flex;margin:40px 0 30px 0;padding:30px;border-radius:5px;background:#f4f5f7;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;}
.search_wrap li{display:flex;font-size:1.6rem;align-items:center;gap:10px;}
.search_wrap .calendar{width:130px;}
.search_wrap .calendar .duet-date__input{font-size:1.5rem;;}
.search_wrap .calendar .duet-date__input{font-size:1.5rem;}
.search_wrap .btn_search{width:80px;}
.page{display:flex;margin:40px 0 0 0;justify-content:center;align-items:center;}
@ -166,7 +187,7 @@
.file_upload_wrap li a .file_size{font-size:1.4rem;font-weight:300;color:#666;margin:0 0 0 35px;}
/* info_ul */
.info_ul{display:flex;flex-direction:column;gap:25px;}
.info_ul{display:flex;line-height:1.4;flex-direction:column;gap:25px;}
.info_ul .btn_wrap{margin:20px 0 0 0;}
.info_ul .title+.btn_wrap{padding:0 0 0 19px;}
@ -277,6 +298,7 @@
.lnb{display:none;}
.sub_visual h2{font-size:4.2rem;}
.sub_content{width:100%;margin:0;}
.sub_content, .wrap>.sub>.inner>form[method="post"]:not(#listForm,#searchForm){width:100%;}
.page_location{width:calc(100% + 60px);height:80px;border-bottom:2px solid #2e40ba;margin:0 0 0 -30px;padding:0 0 0 30px;gap:50px;flex-wrap:unset;white-space:nowrap;}
.page_location li{font-size:3.2rem;padding:0;}
.page_location li:first-child{padding:0;}