|
|
@ -94,8 +94,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<template id="selectInstDialogTemplate">
|
|
|
|
<template id="selectOrgDialogTemplate">
|
|
|
|
<select class="form-select form-control-sm" id="selectInst">
|
|
|
|
<select class="form-select form-control-sm" id="selectOrg">
|
|
|
|
<option value="">선택</option>
|
|
|
|
<option value="">선택</option>
|
|
|
|
<c:forEach items="${sggList}" var="item">
|
|
|
|
<c:forEach items="${sggList}" var="item">
|
|
|
|
<option value="${item.SGG_CD}">${item.SGG_NM}</option>
|
|
|
|
<option value="${item.SGG_CD}">${item.SGG_NM}</option>
|
|
|
@ -160,25 +160,25 @@ function login() {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function fnOpenSignup(){
|
|
|
|
function fnOpenSignup(){
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
|
id : "selectInstDialog",
|
|
|
|
id : "selectOrgDialog",
|
|
|
|
title : "기관 선택",
|
|
|
|
title : "기관 선택",
|
|
|
|
content : document.getElementById("selectInstDialogTemplate").innerHTML,
|
|
|
|
content : document.getElementById("selectOrgDialogTemplate").innerHTML,
|
|
|
|
size : "sm",
|
|
|
|
size : "sm",
|
|
|
|
init : () => {
|
|
|
|
init : () => {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onOK : () => {
|
|
|
|
onOK : () => {
|
|
|
|
if($("#selectInst").val() == ""){
|
|
|
|
if($("#selectOrg").val() == ""){
|
|
|
|
alert("기관을 선택하세요.");
|
|
|
|
alert("기관을 선택하세요.");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dialog.close("selectInstDialog");
|
|
|
|
dialog.close("selectOrgDialog");
|
|
|
|
|
|
|
|
|
|
|
|
var popupWidth = 950;
|
|
|
|
var popupWidth = 950;
|
|
|
|
var popupHeight = 500;
|
|
|
|
var popupHeight = 500;
|
|
|
|
var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
var popupY= (window.screen.height / 2) - (popupHeight / 2);
|
|
|
|
var popupY= (window.screen.height / 2) - (popupHeight / 2);
|
|
|
|
|
|
|
|
|
|
|
|
var popup = window.open(wctx.url("/signupPage.do")+"?institute="+$("#selectInst").val(),
|
|
|
|
var popup = window.open(wctx.url("/signupPage.do")+"?sggCd="+$("#selectOrg").val(),
|
|
|
|
"regAccount",
|
|
|
|
"regAccount",
|
|
|
|
"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY);
|
|
|
|
"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY);
|
|
|
|
|
|
|
|
|
|
|
@ -232,7 +232,7 @@ $(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
selectValue = sysSgg;
|
|
|
|
selectValue = sysSgg;
|
|
|
|
isSelectable = $("#institute option[value='"+selectValue+"']").not("[disabled]").length;
|
|
|
|
isSelectable = $("#orgID option[value='"+selectValue+"']").not("[disabled]").length;
|
|
|
|
if(isSelectable){
|
|
|
|
if(isSelectable){
|
|
|
|
$("#orgID").val(selectValue);
|
|
|
|
$("#orgID").val(selectValue);
|
|
|
|
$("#userId").focus();
|
|
|
|
$("#userId").focus();
|
|
|
|