fix : 코드 정리

main
이범준 2 years ago
parent ad05bb4c05
commit 9442411038

@ -34,6 +34,49 @@
<script defer type="text/javascript"> <script defer type="text/javascript">
/* 사용자 수정 화면*/
function fn_goMyView() {
/* ====================
* 2020.11.20 박민규
* 회원 유형별 페이지 분기
====================*/
//2020.11.20. 주석처리
// var popUrl ='<c:url value="/framework/biz/mng/usr/UserRegMng_view.do"/>';
// var popOption = "width=1100px, height=600px, resizable=no, scrollbars=no, location=no, top=100px, left=100px";
let popUrl ='';
let popOption = '';
let params = {
selectedId: '${sessionScope.XitLoginSession.uniqId}'
//TODO : 개발완료후 이부분 제거
,tilesDef: 'popup'
};
if('GNR'=='${sessionScope.XitLoginSession.userSe}'){
popUrl ='<c:url value="/framework/biz/mng/usr/GnrUserRegMng_view.do"/>';
popOption = {width: 738, height: 630};
}
else if('ENT'=='${sessionScope.XitLoginSession.userSe}'){
popUrl ='<c:url value="/framework/biz/mng/usr/EntUserRegMng_view.do"/>';
popOption = {width: 738, height: 777};
}
else{
popUrl ='<c:url value="/framework/biz/mng/usr/modifyUserPopup.do"/>';
popOption = {width: 1100, height: 600};
params = {uniqId: '${sessionScope.XitLoginSession.uniqId}'}
}
const target = '정보수정';
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}
//모달창 외부 클릭시 닫기
,onOverlayClick: () => {
$.unblockUI();
popup?.self?.close();
}
});
popup = CmmPopup.open(popUrl, params, popOption, target);
}
/************************************************************************** /**************************************************************************
* initialize * initialize
**************************************************************************/ **************************************************************************/

@ -3,7 +3,7 @@
<nav> <nav>
<div class="nav-box"> <div class="nav-box">
<div id="sneatMenu" style="height: 52rem;"> <div id="sneatMenu" style="height: 100%;">
<div class="app-brand border py-1 px-3"> <div class="app-brand border py-1 px-3">
<a href="#" class="app-brand-link gap-2 logo" onclick="$('#ifrTabs').tabs({active: 0})"> <a href="#" class="app-brand-link gap-2 logo" onclick="$('#ifrTabs').tabs({active: 0})">
<img src="<c:url value='/'/>resources/images/login/mainLogo_01.png" class="app-brand-logo w-px-30 h-px-30" alt="logo" /> <img src="<c:url value='/'/>resources/images/login/mainLogo_01.png" class="app-brand-logo w-px-30 h-px-30" alt="logo" />
@ -32,49 +32,6 @@
<script type="text/javascript"> <script type="text/javascript">
/* 사용자 수정 화면*/
function fn_goMyView() {
/* ====================
* 2020.11.20 박민규
* 회원 유형별 페이지 분기
====================*/
//2020.11.20. 주석처리
// var popUrl ='<c:url value="/framework/biz/mng/usr/UserRegMng_view.do"/>';
// var popOption = "width=1100px, height=600px, resizable=no, scrollbars=no, location=no, top=100px, left=100px";
let popUrl ='';
let popOption = '';
let params = {
selectedId: '${sessionScope.XitLoginSession.uniqId}'
//TODO : 개발완료후 이부분 제거
,tilesDef: 'popup'
};
if('GNR'=='${sessionScope.XitLoginSession.userSe}'){
popUrl ='<c:url value="/framework/biz/mng/usr/GnrUserRegMng_view.do"/>';
popOption = {width: 738, height: 630};
}
else if('ENT'=='${sessionScope.XitLoginSession.userSe}'){
popUrl ='<c:url value="/framework/biz/mng/usr/EntUserRegMng_view.do"/>';
popOption = {width: 738, height: 777};
}
else{
popUrl ='<c:url value="/framework/biz/mng/usr/modifyUserPopup.do"/>';
popOption = {width: 1100, height: 600};
params = {uniqId: '${sessionScope.XitLoginSession.uniqId}'}
}
const target = '정보수정';
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}
//모달창 외부 클릭시 닫기
,onOverlayClick: () => {
$.unblockUI();
popup?.self?.close();
}
});
popup = CmmPopup.open(popUrl, params, popOption, target);
}
/* ==================== /* ====================
* 2023.03.22 이범준 * 2023.03.22 이범준
* 동적 메뉴 렌더링 함수 * 동적 메뉴 렌더링 함수

Loading…
Cancel
Save