<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="com.biz_nis.cmn.CommonMethod" %> <%@ page import="com.biz_nis.nw_prstus.nw_list.NetworkListDAO" %> <%@ page import="com.biz_nis.nw_prstus.nw_list.NetworkListDTO" %> <%@ page import="org.apache.log4j.Logger" %> <% Logger l_oLogger = Logger.getLogger( "" ); request.setCharacterEncoding("UTF-8"); //parameter int p_nCurPage = CommonMethod.intNullChk(request.getParameter("cur_page"), 1); int p_nListSize = CommonMethod.intNullChk(request.getParameter("list_size"), 10); String p_sSrch_fr_dt = CommonMethod.nullChk(request.getParameter("srch_fr_dt")); String p_sSrch_to_dt = CommonMethod.nullChk(request.getParameter("srch_to_dt")); String p_sSlct_idstry = CommonMethod.nullChk(request.getParameter("slct_idstry")); String p_sSlct_entp = CommonMethod.nullChk(request.getParameter("slct_entp")); String p_sSlct_jobcl = CommonMethod.nullChk(request.getParameter("slct_jobcl")); String p_sNet_seq = CommonMethod.nullChk(request.getParameter("net_seq")); NetworkListDAO l_oNetworkListDAO = new NetworkListDAO(); NetworkListDTO l_oNetworkListDTO = new NetworkListDTO(); l_oNetworkListDTO = (NetworkListDTO)l_oNetworkListDAO.getNetworkListMgrInfo( p_sNet_seq ); String l_sNet_idstry = CommonMethod.nullChk(l_oNetworkListDTO.getNet_idstry()).trim(); String l_sNet_dstic = CommonMethod.nullChk(l_oNetworkListDTO.getNet_dstic()).trim(); String l_sNet_entp_id = Integer.toString(l_oNetworkListDTO.getNet_entp_id()).trim(); String l_sNet_mbr_id = CommonMethod.nullChk(l_oNetworkListDTO.getNet_mbr_id()).trim(); String l_sNet_jobcl = CommonMethod.nullChk(l_oNetworkListDTO.getNet_jobcl()).trim(); String l_sNet_tel01 = CommonMethod.nullChk(l_oNetworkListDTO.getNet_tel01()).trim(); String l_sNet_tel02 = CommonMethod.nullChk(l_oNetworkListDTO.getNet_tel02()).trim(); String l_sNet_tel03 = CommonMethod.nullChk(l_oNetworkListDTO.getNet_tel03()).trim(); %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <title>â–’â–’â–’ SCG â–’â–’â–’</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link type="text/css" rel="stylesheet" href="/css/style.css"> <script type="text/javascript" src="/js/cmn/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/js/cmn/cmn.js"></script> <script type="text/javascript" src="/js/cmn/validation.js"></script> <script type="text/javascript" src="/js/cmn/paging.js"></script> <script language="javascript"> <!-- $(document).ready(function(){ var url1 = "/jsp/cmn/cmn_ajax_option.jsp?gubun=idstry"; var url2 = "/jsp/cmn/cmn_ajax_option.jsp?gubun=entp"; var url3 = "/jsp/cmn/cmn_ajax_option.jsp?gubun=mbr"; var params; fn_ajax_select(url1, "hirk_cd=A01", "net_idstry", "<%= l_sNet_idstry %>", "select"); fn_ajax_select(url1, "hirk_cd=<%= l_sNet_idstry %>", "net_dstic", "<%= l_sNet_dstic %>", "select"); fn_ajax_select(url2, "idstry=<%= l_sNet_idstry %>&dstic=<%= l_sNet_dstic %>", "net_entp_id", "<%= l_sNet_entp_id %>", "select"); fn_ajax_select(url3, "", "net_mbr_id", "<%= l_sNet_mbr_id %>", "select"); //산업별 하위 코드 $("#net_idstry").change(function(){ if ($("#net_idstry").val() != "") { params = "hirk_cd="+$("#net_idstry").val(); fn_ajax_select(url1, params, "net_dstic", "", "select"); } else $("#net_dstic").find("option").remove().end().append("<option selected=\"selected\" value=''>= ì„ íƒ =</option>"); }); //업체코드 $("#net_dstic").change(function(){ if ($("#net_dstic").val() != "") { params = "idstry="+$("#net_idstry").val()+"&dstic="+$("#net_dstic").val(); fn_ajax_select(url2, params, "net_entp_id", "", "select"); } else $("#net_entp_id").find("option").remove().end().append("<option selected=\"selected\" value=''>= ì„ íƒ =</option>"); }); $("#btnLogOut").click(function(){ fn_logout(); }); $("#btnInsert").click(function(){ fn_insert(); }); $("#btnDelete").click(function(){ fn_delete(); }); $("#btnList").click(function(){ $("#form").attr("action", "/jsp/nw_prstus/nw_list/nw_list_list.jsp"); $("#form").submit(); }); }); function fn_logout() { document.location.href="/jsp/login/logout.jsp"; } function fn_insert() { if (confirm("ì €ìž¥í•˜ì‹œê² ìŠµë‹ˆê¹Œ?")) { if (!validate(form)) { return; } else { if (fn_radio_check()) { $("#flag").val("U"); $("#form").attr("action", "/jsp/nw_prstus/nw_list/nw_list_proc.jsp"); $("#form").submit(); } } } } function fn_delete() { if (confirm("ì‚ì œí•˜ì‹œê² ìŠµë‹ˆê¹Œ?")) { $("#flag").val("D"); $("#form").attr("action", "/jsp/nw_prstus/nw_list/nw_list_proc.jsp"); $("#form").submit(); } } function fn_radio_check() { if ($("td#net_a_kind input:checked").length < 1) { alert("※ 구분(A)는 필수 í•ëª© 입니다!"); return false; } if ($("td#net_b_kind input:checked").length < 1) { alert("※ ì—…ë¬´ì—°ê´€ì„±ì€ í•„ìˆ˜ í•ëª© 입니다!"); return false; } if ($("td#net_c_kind input:checked").length < 1) { alert("※ 친êµê¸°ê°„ì€ í•„ìˆ˜ í•ëª© 입니다!"); return false; } if ($("td#net_d_kind input:checked").length < 1) { alert("※ 친밀ë„는 필수 í•ëª© 입니다!"); return false; } if ($("td#net_e_kind input:checked").length < 1) { alert("※ ì ‘ì´‰ë¹ˆë„는 필수 í•ëª© 입니다!"); return false; } if ($("td#net_f_kind input:checked").length < 1) { alert("※ ì¹œë°€ê°€ëŠ¥ì„±ì€ í•„ìˆ˜ í•ëª© 입니다!"); return false; } if ($("td#net_g_kind input:checked").length < 1) { alert("※ 중요ë„는 필수 í•ëª© 입니다!"); return false; } return true; } //--> </script> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0"> <!-- top START --> <%@ include file = "/include/inc_sub_top.jsp"%> <!-- top END --> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="167" valign="top" > <!-- top START --> <%@ include file = "/include/inc_sub_left_menu_nw_prstus.jsp"%> <!-- top END --> </td> <td width="20" background='/image/new_top/left_line.gif' valign="top"><img src='/image/new_top/left_top.gif' ></td> <td valign="top"> <table border="0" cellPadding="0" cellSpacing="0" width="100%"> <tr> <td bgcolor="E4E3E3" height="1"><img src='/image/new_top/spacer.gif'></td> </tr> <tr> <td height="10"></td> </tr> </table> <table border="0" cellPadding="0" cellSpacing="0"> <tr> <td width="10"></td> <td> <table width="780" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <!--내용시작--> <!--타ì´í‹€--> <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#E2F4DD"> <tr bgcolor="FFFFFF" height="30"> <td class="p14" style="padding-top:10" height="45"> <img src="/image/icon/ico_01.gif" width="18" height="11" border="0" align="absmiddle" hspace="3"> <b> ë„¤íŠ¸ì›Œí¬ ë“±ë¡</b> </td> </tr> </table> <!--타ì´í‹€--> <!-- help BOX --> <table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="E6E6E6"> <form id="form" name="form" method="post"> <input type="hidden" id="flag" name="flag" value="U"> <input type="hidden" id="cur_page" name="cur_page" value="<%= p_nCurPage %>"/> <input type="hidden" id="list_size" name="list_size" value="<%= p_nListSize %>"/> <input type="hidden" id="srch_fr_dt" name="srch_fr_dt" value="<%= p_sSrch_fr_dt %>"/> <input type="hidden" id="srch_to_dt" name="srch_to_dt" value="<%= p_sSrch_to_dt %>"/> <input type="hidden" id="slct_idstry" name="slct_idstry" value="<%= p_sSlct_idstry %>"/> <input type="hidden" id="slct_entp" name="slct_entp" value="<%=p_sSlct_entp %>"> <input type="hidden" id="slct_jobcl" name="slct_jobcl" value="<%=p_sSlct_jobcl %>"> <input type="hidden" id="net_seq" name="net_seq" value="<%=p_sNet_seq %>"> <tr> <td width="120" colspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">* 산업별 분류</td> <td align="left" bgcolor="#ffffff" style="padding:10px"> <select id="net_idstry" name="net_idstry" style="width:200px" hname="산업별 분류" required> <option selected="selected" value="">= ì„ íƒ =</option> </select> </td> <td width="100" align="center" bgcolor="#F5F5F5" style="padding:10px">* 구분</td> <td align="left" bgcolor="#ffffff" style="padding:10px"> <select id="net_dstic" name="net_dstic" style="width:150px" hname="구분" required> <option selected="selected" value="">= ì„ íƒ =</option> </select> </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">* ì—…ì²´</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px"> <select id="net_entp_id" name="net_entp_id" style="width:200px" hname="ì—…ì²´" required> <option selected="selected" value="">= ì„ íƒ =</option> </select> </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">* ìž„ì›</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px"> <select id="net_mbr_id" name="net_mbr_id" style="width:200px" hname="ìž„ì›" required> <option selected="selected" value="">= ì„ íƒ =</option> </select> </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">* ì´ë¦„</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px"> <input id="net_user_nm" name="net_user_nm" class="box" value="<%= CommonMethod.nullChk(l_oNetworkListDTO.getNet_user_nm().trim() ) %>" maxlength="10" size="30" style="ime-mode:active" required> </td> </tr> <tr> <td rowspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">* ì§ì±…</td> <td align="center" bgcolor="#F5F5F5" style="padding:10px">ì§ê¸‰</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px"> <input id="net_jobcl" name="net_jobcl" class="box" value="<%= CommonMethod.nullChk(l_oNetworkListDTO.getNet_jobcl().trim() ) %>"" maxlength="50" size="30" hname="ì§ê¸‰" required style="ime-mode:active"required> </td> </tr> <tr> <td align="center" bgcolor="#F5F5F5" style="padding:10px">구분(A)</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px" id="net_a_kind"> <input type="radio" id="net_a" name="net_a" value="4" <%= CommonMethod.getChecked("4",Integer.toString(l_oNetworkListDTO.getNet_a()) ) %>> 오너 <input type="radio" id="net_a" name="net_a" value="3" <%= CommonMethod.getChecked("3",Integer.toString(l_oNetworkListDTO.getNet_a()) ) %>> 오너ë¼ì¸ <input type="radio" id="net_a" name="net_a" value="2" <%= CommonMethod.getChecked("2",Integer.toString(l_oNetworkListDTO.getNet_a()) ) %>> ì „ë¬¸ê²½ì˜ì¸ <input type="radio" id="net_a" name="net_a" value="1" <%= CommonMethod.getChecked("1",Integer.toString(l_oNetworkListDTO.getNet_a()) ) %>> ìž„ì› <input type="radio" id="net_a" name="net_a" value="0" <%= CommonMethod.getChecked("0",Integer.toString( l_oNetworkListDTO.getNet_a() ) ) %>> ì‹¤ë¬´ìž </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">나ì´</td> <td align="left" bgcolor="#ffffff" style="padding:10px"> <input id="net_age" name="net_age" class="box" value="<%= l_oNetworkListDTO.getNet_age() %>" maxlength="2" size="30" style="ime-mode:disabled" onkeyPress="if((event.keyCode>47)&&(event.keyCode<58)){event.returnValue=true;} else {event.returnValue=false;}"> </td> <td align="center" bgcolor="#F5F5F5" style="padding:10px">ì—°ë½ì²˜</td> <td align="left" bgcolor="#ffffff" style="padding:10px"> <input id="net_tel01" name="net_tel01" class="box" value="<%= l_sNet_tel01 %>" maxlength="4" size="6" onkeyUp="fn_moveNextField(this,4,this.form.net_tel02);" onkeyPress="if((event.keyCode>47)&&(event.keyCode<58)){event.returnValue=true;} else {event.returnValue=false;}"> - <input id="net_tel02" name="net_tel02" class="box" value="<%= l_sNet_tel02 %>" maxlength="4" size="6" onkeyUp="fn_moveNextField(this,4,this.form.net_tel03);" onkeyPress="if((event.keyCode>47)&&(event.keyCode<58)){event.returnValue=true;} else {event.returnValue=false;}"> - <input id="net_tel03" name="net_tel03" class="box" value="<%= l_sNet_tel03 %>" maxlength="4" size="6" onkeyUp="fn_moveNextField(this,4,this.form.net_relshp);" onkeyPress="if((event.keyCode>47)&&(event.keyCode<58)){event.returnValue=true;} else {event.returnValue=false;}"> </td> </tr> <tr> <td width="80" rowspan="6" align="center" bgcolor="#F5F5F5" style="padding:10px">* 관계</td> <td width="100" align="center" bgcolor="#F5F5F5" style="padding:10px">관계</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px"> <input id="net_relshp" name="net_relshp" class="box" value="<%= CommonMethod.nullChk(l_oNetworkListDTO.getNet_relshp().trim() ) %>" size="30" maxlength="50" style="ime-mode:active" hname="관계" required> </td> </tr> <tr> <td width="80" align="center" bgcolor="#F5F5F5" style="padding:10px">업무연계성</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px" id="net_b_kind"> <input type="radio" id="net_b" name="net_b" value="4" <%= CommonMethod.getChecked("4", Integer.toString(l_oNetworkListDTO.getNet_b()) ) %>> 현재연관 <input type="radio" id="net_b" name="net_b" value="3" <%= CommonMethod.getChecked("3", Integer.toString(l_oNetworkListDTO.getNet_b()) ) %>> 향후매우 <input type="radio" id="net_b" name="net_b" value="2" <%= CommonMethod.getChecked("2", Integer.toString(l_oNetworkListDTO.getNet_b()) ) %>> 향후보통 <input type="radio" id="net_b" name="net_b" value="1" <%= CommonMethod.getChecked("1", Integer.toString(l_oNetworkListDTO.getNet_b()) ) %>> ìž ìž¬ì <input type="radio" id="net_b" name="net_b" value="0" <%= CommonMethod.getChecked("0", Integer.toString(l_oNetworkListDTO.getNet_b()) ) %>> 약간 </td> </tr> <tr> <td align="center" bgcolor="#F5F5F5" style="padding:10px">친êµê¸°ê°„</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px" id="net_c_kind"> <input type="radio" id="net_c" name="net_c" value="4" <%= CommonMethod.getChecked("4", Integer.toString(l_oNetworkListDTO.getNet_c()) ) %>> 10년초과 <input type="radio" id="net_c" name="net_c" value="3" <%= CommonMethod.getChecked("3", Integer.toString(l_oNetworkListDTO.getNet_c()) ) %>> 6~10ë…„ <input type="radio" id="net_c" name="net_c" value="2" <%= CommonMethod.getChecked("2", Integer.toString(l_oNetworkListDTO.getNet_c()) ) %>> 1~5ë…„ <input type="radio" id="net_c" name="net_c" value="1" <%= CommonMethod.getChecked("1", Integer.toString(l_oNetworkListDTO.getNet_c()) ) %>> 6개월~1ë…„ <input type="radio" id="net_c" name="net_c" value="0" <%= CommonMethod.getChecked("0", Integer.toString(l_oNetworkListDTO.getNet_c()) ) %>> 6개월ì´í•˜ </td> </tr> <tr> <td align="center" bgcolor="#F5F5F5" style="padding:10px">친밀ë„</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px" id="net_d_kind"> <input type="radio" id="net_d" name="net_d" value="4" <%= CommonMethod.getChecked("4", Integer.toString(l_oNetworkListDTO.getNet_d()) ) %>> 막ì—(매우친밀) <input type="radio" id="net_d" name="net_d" value="3" <%= CommonMethod.getChecked("3", Integer.toString(l_oNetworkListDTO.getNet_d()) ) %>> 친밀 <input type="radio" id="net_d" name="net_d" value="2" <%= CommonMethod.getChecked("2", Integer.toString(l_oNetworkListDTO.getNet_d()) ) %>> 보통 <input type="radio" id="net_d" name="net_d" value="1" <%= CommonMethod.getChecked("1", Integer.toString(l_oNetworkListDTO.getNet_d()) ) %>> 대면 <input type="radio" id="net_d" name="net_d" value="0" <%= CommonMethod.getChecked("0", Integer.toString(l_oNetworkListDTO.getNet_d()) ) %>> ì¤‘ê³„ìž </td> </tr> <tr> <td align="center" bgcolor="#F5F5F5" style="padding:10px">ì ‘ì´‰ë¹ˆë„</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px" id="net_e_kind"> <input type="radio" id="net_e" name="net_e" value="4" <%= CommonMethod.getChecked("4", Integer.toString(l_oNetworkListDTO.getNet_e()) ) %>> 5회ì´í•˜ <input type="radio" id="net_e" name="net_e" value="3" <%= CommonMethod.getChecked("3", Integer.toString(l_oNetworkListDTO.getNet_e()) ) %>> 6~12회 <input type="radio" id="net_e" name="net_e" value="2" <%= CommonMethod.getChecked("2", Integer.toString(l_oNetworkListDTO.getNet_e()) ) %>> 13~24회 <input type="radio" id="net_e" name="net_e" value="1" <%= CommonMethod.getChecked("1", Integer.toString(l_oNetworkListDTO.getNet_e()) ) %>> 24회초과 <input type="radio" id="net_e" name="net_e" value="0" <%= CommonMethod.getChecked("0", Integer.toString(l_oNetworkListDTO.getNet_e()) ) %>> 24회초과 </td> </tr> <tr> <td align="center" bgcolor="#F5F5F5" style="padding:10px">친밀가능성</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:15x" id="net_f_kind"> <input type="radio" id="net_f" name="net_f" value="4" <%= CommonMethod.getChecked("4", Integer.toString(l_oNetworkListDTO.getNet_f()) ) %>> 현재친밀 <input type="radio" id="net_f" name="net_f" value="3" <%= CommonMethod.getChecked("3", Integer.toString(l_oNetworkListDTO.getNet_f()) ) %>> 향후매우 <input type="radio" id="net_f" name="net_f" value="2" <%= CommonMethod.getChecked("2", Integer.toString(l_oNetworkListDTO.getNet_f()) ) %>> 향후보통 <input type="radio" id="net_f" name="net_f" value="1" <%= CommonMethod.getChecked("1", Integer.toString(l_oNetworkListDTO.getNet_f()) ) %>> ìž ìž¬ì <input type="radio" id="net_f" name="net_f" value="0" <%= CommonMethod.getChecked("0", Integer.toString(l_oNetworkListDTO.getNet_f()) ) %>> 약간 </td> </tr> <tr> <td rowspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">* 중요ë„</td> <td align="center" bgcolor="#F5F5F5" style="padding:10px">중요ë„</td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px" id="net_g_kind"> <input type="radio" id="net_g" name="net_g" value="4" <%= CommonMethod.getChecked("4", Integer.toString(l_oNetworkListDTO.getNet_g()) ) %>> 현재중요 <input type="radio" id="net_g" name="net_g" value="3" <%= CommonMethod.getChecked("3", Integer.toString(l_oNetworkListDTO.getNet_g()) ) %>> 향후중요 <input type="radio" id="net_g" name="net_g" value="2" <%= CommonMethod.getChecked("2", Integer.toString(l_oNetworkListDTO.getNet_g()) ) %>> 향후보통 <input type="radio" id="net_g" name="net_g" value="1" <%= CommonMethod.getChecked("1", Integer.toString(l_oNetworkListDTO.getNet_g()) ) %>> ìž ìž¬ì <input type="radio" id="net_g" name="net_g" value="0" <%= CommonMethod.getChecked("0", Integer.toString(l_oNetworkListDTO.getNet_g()) ) %>> 약간 </td> </tr> <tr> <td align="center" bgcolor="#F5F5F5" style="padding:10px">* ì‚¬ìœ </td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px"> <input id="net_resn" name="net_resn" class="box" value="<%= CommonMethod.nullChk(l_oNetworkListDTO.getNet_resn().trim() ) %>" size="90" maxlength="100" style="ime-mode:active" hname="ì‚¬ìœ " required></td> </tr> <tr> <td colspan="2" align="center" bgcolor="#F5F5F5" style="padding:10px">ë¹„ê³ </td> <td colspan="3" align="left" bgcolor="#ffffff" style="padding:10px"> <textarea id="net_rmark" name="net_rmark" wrap="harkd" rows="4" cols="65" style="ime-mode:active"><%=CommonMethod.nullChk( l_oNetworkListDTO.getNet_rmark().trim() ) %></textarea> </td> </tr> </form> </table> <br> <!-- 관리ìžì •ë³´ --> <p align="center"> <% if ( "mgr01".equals(CommonMethod.nullChk( (String)session.getAttribute("mbr_usr_dstic") ) ) ) { %> <img id="btnInsert" src="/image/button/bu_confirm_gray.gif" style="cursor:hand;"> <img id="btnDelete" src="/image/button/bu_delete_orange.gif" style="cursor:hand;"> <% } %> <img id="btnList" src="/image/button/bu_can_gray.gif" style="cursor:hand;" border="0"> </p> <p> </p> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <!-- bottom START --> <%@ include file = "/include/inc_sub_bottom.jsp"%> <!-- bottom END --> </body> </html>