diff --git a/list.txt b/list.txt index f617ac19..b9e6a0f0 100644 --- a/list.txt +++ b/list.txt @@ -1,2 +1,3 @@ #src\main\resources\egovframework\egovProps\globals.properties -src\main\webapp\WEB-INF\views\body\join\join.jsp \ No newline at end of file +src\main\webapp\WEB-INF\views\web\input\meta_info.jsp +src\main\webapp\WEB-INF\views\web\input\meta_info1.jsp \ No newline at end of file diff --git a/src/main/resources/egovframework/egovProps/globals.properties.sample b/src/main/resources/egovframework/egovProps/globals.properties.sample new file mode 100644 index 00000000..5ee13edf --- /dev/null +++ b/src/main/resources/egovframework/egovProps/globals.properties.sample @@ -0,0 +1,56 @@ +############################################## +################### DB\uad00\ub828 ################### +############################################## + +# Oracle +Oracle.Driver=oracle.jdbc.driver.OracleDriver + +################################################################ +# Oracle.Url=jdbc:oracle:thin:@192.168.0.8:3452:orcl is prod +#Oracle.Url=jdbc:oracle:thin:@192.168.0.8:3452:orcl +# dbnt devlop server +Oracle.Url=jdbc:oracle:thin:@118.219.150.34:1521:ORAGEODEV +# develop local server +#Oracle.Url=jdbc:oracle:thin:@192.168.86.2:1521:xe +# thkim local test +#Oracle.Url=jdbc:oracle:thin:@127.0.0.1:1521:ORAGEODEV +#Oracle.Url=jdbc:oracle:thin:@vas2.com:1521:ORAGEODEV +################################################################ + +#Oracle.Url=jdbc:oracle:thin:@192.168.0.29:1521:xe +#Oracle.Url=jdbc:oracle:thin:@192.168.0.71:1521:orcl +#Oracle.Url=jdbc:oracle:thin:@220.121.145.78:7080:xe +#Oracle.Url=jdbc:oracle:thin:@localhost:1521:orcl +#Oracle.Url=jdbc:oracle:thin:@218.232.234.162:1521:ORAGEO +Oracle.ID=geoinfo +Oracle.Password=geoinfo +# thkim local test +#Oracle.Password=dbnt060928!rlaxogh +#Oracle.Password=!!kictgis1234 + + +############################################### +################### \ud30c\uc77c\uad00\ub828 ################### +############################################### + +#Geoinfo.FilePath=D:\\Tomcat6\\geoinfoEgov\\webapps\\geoinfo\\files\\ +Geoinfo.FilePath=D:\\app_geoinfo\\app\\files\\ +#\uac80\uc0c9\uc720\ud1b5 3\ucc28\uc6d0 +#Geoinfo.FilePath3D=files\\4dim\\2014\\ +Geoinfo.FilePath3D=D:\\app_geoinfo\\app\\files\\4dim\\2014\\ +#\uc804\ubb38\uac00\uc758\uacac +Geoinfo.Report=files\\report\\ + +#\uc785\ub825\uc2dc\uc2a4\ud15c +Geoinfo.WebFilePath=files\\web\\ + +Globals.FileExtImg=.jpeg,.jpg,.bmp,.tiff,.gif,.png +Globals.FileExtZip=.hwp,.pdf,.zip,.xls,.xlsx,.ppt,.pptx + + +############################################### +################### JWT ################### +############################################### +JWT.secret_key=RnrxhWlQksportalSystem!@!@$#@!@#@!$12442321 +# The token expires in 1,800,000 milliseconds, which is equal to 30 minutes. +JWT.access_expired=1800000 \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/web/input/meta_info.jsp b/src/main/webapp/WEB-INF/views/web/input/meta_info.jsp index aea17e68..e6657e9a 100644 --- a/src/main/webapp/WEB-INF/views/web/input/meta_info.jsp +++ b/src/main/webapp/WEB-INF/views/web/input/meta_info.jsp @@ -152,9 +152,36 @@ window.onload = function() { //숫자 입력 fn_onkeyNumber("HOLE_NUMBER","float02"); fn_onkeyNumber("SEARCHDATE","int"); - fn_onkeyNumber("TEL","phone"); - fn_onkeyNumber("PHONE","phone"); - + //fn_onkeyNumber("TEL","phone"); + //fn_onkeyNumber("PHONE","phone"); + + // 전화번호 + var telInput = document.getElementById("TEL"); + telInput.addEventListener('blur', function(event) { + debugger; + let inputValue = event.target.value; + event.target.value = removeNonNumeric(inputValue); + }); + telInput.addEventListener('keyup', function(event) { + debugger; + let inputValue = event.target.value; + event.target.value = removeNonNumeric(inputValue); + }); + + // 휴대폰 + var phoneInput = document.getElementById("PHONE"); + phoneInput.addEventListener('focusout', function(event) { + debugger; + let inputValue = event.target.value; + event.target.value = removeNonNumeric(inputValue); + }); + phoneInput.addEventListener('keyup', function(event) { + debugger; + let inputValue = event.target.value; + event.target.value = removeNonNumeric(inputValue); + }); + + var projectNameInput = document.getElementById("PROJECT_NAME"); projectNameInput.addEventListener('focusout', function() { var projectName = this.value; @@ -185,8 +212,17 @@ window.onload = function() { } }); }); + + + + }; +function removeNonNumeric(str) { + let inputValue = String(str); + return inputValue.replace(/[^0-9]/g, '');; +} + function getProjectCode() { url = location.href; diff --git a/src/main/webapp/WEB-INF/views/web/input/meta_info1.jsp b/src/main/webapp/WEB-INF/views/web/input/meta_info1.jsp index a3f52712..43643ed6 100644 --- a/src/main/webapp/WEB-INF/views/web/input/meta_info1.jsp +++ b/src/main/webapp/WEB-INF/views/web/input/meta_info1.jsp @@ -3,23 +3,70 @@ <%@ include file="/include/inc_head_2021_new.jsp" %>