|
|
@ -54,9 +54,6 @@
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group">
|
|
|
|
<select id="institute" name="institute" class="form-select mb-2"
|
|
|
|
<select id="institute" name="institute" class="form-select mb-2"
|
|
|
|
style="height:45px;width:100%;max-width:560px;">
|
|
|
|
style="height:45px;width:100%;max-width:560px;">
|
|
|
|
<option value="4060000">파주시</option>
|
|
|
|
|
|
|
|
<option value="4050000">용인시</option>
|
|
|
|
|
|
|
|
<option value="3910000">평택시</option>
|
|
|
|
|
|
|
|
<option value="default">기본</option>
|
|
|
|
<option value="default">기본</option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -90,15 +87,13 @@
|
|
|
|
<template id="selectInstDialogTemplate">
|
|
|
|
<template id="selectInstDialogTemplate">
|
|
|
|
<select class="form-select form-control-sm" id="selectInst">
|
|
|
|
<select class="form-select form-control-sm" id="selectInst">
|
|
|
|
<option value="">선택</option>
|
|
|
|
<option value="">선택</option>
|
|
|
|
<option value="4060000">파주시</option>
|
|
|
|
|
|
|
|
<option value="4050000">용인시</option>
|
|
|
|
|
|
|
|
<option value="3910000">평택시</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
|
|
|
|
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var INST_LIST = [];
|
|
|
|
|
|
|
|
|
|
|
|
${functions}
|
|
|
|
${functions}
|
|
|
|
|
|
|
|
|
|
|
@ -132,22 +127,22 @@ function login() {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
/**
|
|
|
|
$("#formAuthentication input").onEnterPress(login);
|
|
|
|
|
|
|
|
if ($("#userId").val())
|
|
|
|
|
|
|
|
$("#password").focus();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 회원가입 팝업
|
|
|
|
* 회원가입 팝업
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function fnOpenSignup(){
|
|
|
|
function fnOpenSignup(){
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
|
id : "selectInstDialog",
|
|
|
|
id : "selectInstDialog",
|
|
|
|
title : "기관 선택",
|
|
|
|
title : "기관 선택",
|
|
|
|
content : document.getElementById("selectInstDialogTemplate").innerHTML,
|
|
|
|
content : document.getElementById("selectInstDialogTemplate").innerHTML,
|
|
|
|
size : "sm",
|
|
|
|
size : "sm",
|
|
|
|
init : () => {},
|
|
|
|
init : () => {
|
|
|
|
|
|
|
|
var options = "";
|
|
|
|
|
|
|
|
for(var i=0; i < INST_LIST.length; i++){
|
|
|
|
|
|
|
|
options += "<option value='"+INST_LIST[i].INST_CD+"'>"+INST_LIST[i].INST_NM+"</option>";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$("#selectInst").append(options);
|
|
|
|
|
|
|
|
},
|
|
|
|
onOK : () => {
|
|
|
|
onOK : () => {
|
|
|
|
if($("#selectInst").val() == ""){
|
|
|
|
if($("#selectInst").val() == ""){
|
|
|
|
alert("기관을 선택하세요.");
|
|
|
|
alert("기관을 선택하세요.");
|
|
|
@ -162,22 +157,43 @@ $(function(){
|
|
|
|
onClose : () => {}
|
|
|
|
onClose : () => {}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 아이디 찾기 팝업
|
|
|
|
* 아이디 찾기 팝업
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function fn_FindId(){
|
|
|
|
function fn_FindId(){
|
|
|
|
window.open(".do", "findId", {width: 500, height:300});
|
|
|
|
window.open(".do", "findId", {width: 500, height:300});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 비밀번호 찾기 팝업
|
|
|
|
* 비밀번호 찾기 팝업
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function fn_FindPw(){
|
|
|
|
function fn_FindPw(){
|
|
|
|
window.open(".do", "findPw", {width: 500, height:330});
|
|
|
|
window.open(".do", "findPw", {width: 500, height:330});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
$("#formAuthentication input").onEnterPress(login);
|
|
|
|
|
|
|
|
if ($("#userId").val())
|
|
|
|
|
|
|
|
$("#password").focus();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url : wctx.url("/error/instList.do"),
|
|
|
|
|
|
|
|
data : { },
|
|
|
|
|
|
|
|
success : (resp) => {
|
|
|
|
|
|
|
|
INST_LIST = resp.instList;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var options = "";
|
|
|
|
|
|
|
|
for(var i=0; i < INST_LIST.length; i++){
|
|
|
|
|
|
|
|
options += "<option value='"+INST_LIST[i].INST_CD+"'>"+INST_LIST[i].INST_NM+"</option>";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$("#institute").append(options);
|
|
|
|
|
|
|
|
$("#institute").val("4060000");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|