spa식으로 변경

dev_tymeleaf
jangwonseokicom 1 year ago
parent 24ba911482
commit dfea91edc8

@ -107,8 +107,8 @@ public class LoginService {
LoginVO userResult = user.toLoginVO();
// return "forward:/adm/main/actionMain.do";
return "layout/adm/common/dashboard";
// return "layout/adm/common/dashboard";
return "layout/main";
} else {
log.info("Fail!");
}

@ -1,8 +1,4 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<meta charset="UTF-8">
<title>대시보드</title>
@ -120,5 +116,4 @@
</section>
</body>
</th:block>
</html>

@ -1,8 +1,3 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<meta charset="UTF-8">
<title>시나리오코드</title>
@ -141,7 +136,7 @@
});
}
function fncDeleteCommonCode(){
function fncDeleteCommonCode() {
var json = {};
var majorCode = $("#setMajorCode").val();
var custCode = $("#setCustCode").val();
@ -341,7 +336,7 @@
// if the second column cell is blank apply special formatting
//
console.dir(row);
$(row).addClass('modalLoad').attr('rel','reg_edit_modal');
$(row).addClass('modalLoad').attr('rel', 'reg_edit_modal');
}
,
columnDefs: [
@ -667,7 +662,9 @@
</dl>
<dl>
<%-- <dt><h4><em class="important">대분류</em></h4></dt>--%>
<%--
<dt><h4><em class="important">대분류</em></h4></dt>
--%>
<dt><h4><em class="">대분류</em></h4></dt>
<dd>
<div class="ipt_box">
@ -728,5 +725,3 @@
<!-- modal :: 공통 코드 수정 팝업 end -->
</body>
</th:block>
</html>

@ -1,15 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>고객사관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
PagingDataTable();
$('#listTable tbody').on('dblclick', 'tr', function () {
@ -162,13 +157,13 @@
$('#listTable').DataTable().ajax.reload();
};
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -177,8 +172,8 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
<section id="Content" class="system_management">
</div>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -235,18 +230,18 @@
<table id="listTable" class="">
<colgroup>
<col width="auto">
<!-- <col width="auto">-->
<!-- <col width="auto">-->
<!-- <col width="auto">-->
<!-- <col width="auto">-->
<col width="auto">
<col width="auto">
<col width="auto">
</colgroup>
<thead>
<tr>
<!-- <th>고객사코드</th>-->
<!-- <th>고객사코드</th>-->
<th>고객사명</th>
<th>고객사안내멘트</th>
<!-- <th>대표번호</th>-->
<!-- <th>대표번호</th>-->
<th>사용유무</th>
<th>생성일</th>
@ -259,7 +254,5 @@
</div>
</div>
</div>
</section>
</body>
</th:block>
</html>
</section>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>고객사화면</title>
</head>
<body>
</head>
<body>
<div class="skip_navigation">
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -19,12 +13,12 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<header id="header">
</header>
<script>
<script>
$(document).ready(function () {
// 권한 조회
@ -487,8 +481,8 @@
}
</script>
<section id="Content" class="system_management">
</script>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -571,10 +565,10 @@
</div>
</div>
</div>
</section>
</section>
<div class="modal" id="reg_modal">
<div class="modal" id="reg_modal">
<div class="modal_header">
<h3>서비스그룹 신규등록</h3>
</div>
@ -664,10 +658,8 @@
<div class="modal_controller">
<a href="#" class="close">close</a>
</div>
</div>
</div>
</body>
</th:block>
</html>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>고객사화면</title>
</head>
<body>
</head>
<body>
<div class="skip_navigation">
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -19,12 +13,12 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<header id="header">
</header>
<script>
<script>
$(document).ready(function () {
// 권한 조회
@ -643,8 +637,8 @@
}
</script>
<section id="Content" class="system_management">
</script>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -727,10 +721,10 @@
</div>
</div>
</div>
</section>
</section>
<div class="modal" id="reg_modal">
<div class="modal" id="reg_modal">
<div class="modal_header">
<h3>서비스그룹 신규등록</h3>
</div>
@ -809,10 +803,8 @@
<div class="modal_controller">
<a href="#" class="close">close</a>
</div>
</div>
</div>
</body>
</th:block>
</html>
</body>

@ -1,15 +1,9 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>그룹별권한</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getOpr();
@ -344,14 +338,14 @@
$('#listTable').DataTable().ajax.reload();
};
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -360,11 +354,11 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<section id="Content" class="system_management">
<header id="header">
</header>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -456,10 +450,10 @@
</div>
</div>
</div>
</section>
</section>
<!-- modal :: 권한그룹생성 -->
<div class="modal" id="createGroupModal">
<!-- modal :: 권한그룹생성 -->
<div class="modal" id="createGroupModal">
<div class="modal_header">
<h3>권한그룹 생성</h3>
</div>
@ -521,9 +515,7 @@
<div class="modal_controller">
<a href="#" class="close">close</a>
</div>
</div>
</div>
</body>
</th:block>
</html>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>그룹별권한</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getOpr();
@ -300,14 +294,14 @@
}
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -316,11 +310,11 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<section id="Content" class="system_management">
<header id="header">
</header>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -418,9 +412,7 @@
</div>
</div>
</section>
</section>
</body>
</th:block>
</html>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>그룹별권한</title>
</head>
</head>
<script>
z
<script>
z
$(document).ready(function () {
getOpr();
getServiceGroupQueryString();
@ -46,14 +40,14 @@ z
})
};
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -62,11 +56,11 @@ z
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<section id="Content" class="system_management">
<header id="header">
</header>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -320,9 +314,6 @@ z
</div>
</div>
</section>
</section>
</body>
</body>
</th:block>
</html>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>정책별메뉴</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getOpr();
@ -169,11 +163,11 @@
$('#listTable').DataTable().ajax.reload();
};
</script>
</script>
<body>
<body>
<div class="skip_navigation">
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -182,13 +176,13 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<header id="header">
</header>
<section id="Content" class="system_management">
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -299,8 +293,6 @@
</div>
</div>
</div>
</section>
</section>
</body>
</th:block>
</html>
</body>

@ -1,15 +1,9 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>서비스그룹 관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
$('.tbl-card-li').each(function () {
@ -208,16 +202,16 @@
})
}
</script>
</script>
<header id="header">
</header>
<header id="header">
</header>
<body>
<h1>ICOMSYS ADMIN</h1>
<body>
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -226,10 +220,10 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
<h1>ICOMSYS ADMIN</h1>
</div>
<h1>ICOMSYS ADMIN</h1>
<section id="Content" class="system_management">
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -457,7 +451,5 @@
</div>
</div>
</section>
</body>
</th:block>
</html>
</section>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>서비스그룹 관리List</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getMainOprSelectBox();
@ -208,14 +202,14 @@
};
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<h1>대시보드</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -224,10 +218,10 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<section id="Content" class="system_management">
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -317,8 +311,6 @@
</div>
</div>
</div>
</section>
</section>
</body>
</th:block>
</html>
</body>

@ -1,15 +1,9 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>서비스그룹 관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
$('.tbl-card-li').each(function () {
@ -539,12 +533,12 @@
;
</script>
</script>
<body>
<h1>ICOMSYS ADMIN</h1>
<body>
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -553,10 +547,10 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
<h1>ICOMSYS ADMIN</h1>
</div>
<h1>ICOMSYS ADMIN</h1>
<section id="Content" class="system_management">
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -641,10 +635,10 @@
</div>
</div>
</section>
</section>
<div class="modal" id="reg_modal">
<div class="modal" id="reg_modal">
<div class="modal_header">
<h3>시나리오그룹 신규등록</h3>
</div>
@ -728,10 +722,8 @@
<div class="modal_controller">
<a href="#" class="close">close</a>
</div>
</div>
</div>
</body>
</th:block>
</html>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>사용자관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
// getOprSelect();
@ -246,13 +240,13 @@
}
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -261,11 +255,11 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<section id="Content" class="system_management">
<header id="header">
</header>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -377,9 +371,9 @@
</div>
</div>
</div>
</section>
</section>
</body>
</body>
</th:block>
</html>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>운영자관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getCust();
@ -242,13 +236,13 @@
}
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -257,11 +251,11 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<section id="Content" class="system_management">
<header id="header">
</header>
<section id="Content" class="system_management">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -371,9 +365,7 @@
</div>
</div>
</div>
</section>
</section>
</body>
</th:block>
</html>
</body>

@ -1,9 +1,3 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<meta charset="UTF-8">
<title>사용자관리</title>
@ -343,7 +337,7 @@
contentType: "application/json; charset=utf-8",
datatype: "JSON",
async: false,
url: '/adm/menu/oprmng'+ "?serviceType=M",
url: '/adm/menu/oprmng' + "?serviceType=M",
success: function (data) {
// console.log(JSON.stringify(data));
data.forEach(function (e, f) {
@ -384,14 +378,14 @@
}
;
function SelectServiceGroupUpdate(custCode){
function SelectServiceGroupUpdate(custCode) {
var html1 = '';
$.ajax({
type: "GET",
contentType: "application/json; charset=utf-8",
datatype: "JSON",
async: false,
url: '/admin/common/system/userAdmin/service/select' + "?custCode="+custCode,
url: '/admin/common/system/userAdmin/service/select' + "?custCode=" + custCode,
success: function (data) {
// console.log(JSON.stringify(data));
data.forEach(function (e, f) {
@ -458,11 +452,10 @@
var reg = /(?=.*?[A-Za-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{10,}$/;
if(text2.length > 7){
if (text2.length > 7) {
if (text1 === text2) {
$('#passDoubleCheckUi').html(htmlY)
}
else {
} else {
$('#passDoubleCheckUi').html(htmlN)
}
}
@ -470,19 +463,15 @@
if (text1.length < 10 || text1.length > 20) {
$('#passCheckUi').html(htmlN)
return;
}
else if (text1.search(/\s/) != -1) {
} else if (text1.search(/\s/) != -1) {
$('#passCheckUi').html(htmlN)
return false;
}
else if (false === reg.test(text1)) {
} else if (false === reg.test(text1)) {
$('#passCheckUi').html(regDesc)
return false;
}
else if ($('#newUserPassDoubleChkVal').val() == "Y") {
} else if ($('#newUserPassDoubleChkVal').val() == "Y") {
newUserDoublePassCheck()
}
else {
} else {
$('#passCheckUi').html(htmlY)
return true;
}
@ -724,7 +713,5 @@
</body>
</th:block>
</html>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>운영자관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getOpr();
@ -489,13 +483,13 @@
}
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -504,12 +498,12 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<header id="header">
</header>
<section id="Content" class="bot_common">
<section id="Content" class="bot_common">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -641,9 +635,9 @@
</div>
</div>
</div>
</section>
</section>
<div class="modal" id="reg_modal">
<div class="modal" id="reg_modal">
<div class="modal_header">
<h3>서비스그룹 권한</h3>
</div>
@ -685,11 +679,9 @@
<div class="modal_controller">
<a href="#" class="close">close</a>
</div>
</div>
</div>
</body>
</th:block>
</html>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>사용자관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getCust();
getOpr();
@ -552,13 +546,13 @@
return;
}
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -567,12 +561,12 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<header id="header">
</header>
<section id="Content" class="bot_common">
<section id="Content" class="bot_common">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -715,10 +709,10 @@
</div>
</div>
</div>
</section>
</section>
<div class="modal" id="reg_modal">
<div class="modal" id="reg_modal">
<div class="modal_header">
<h3>시나리오그룹 권한</h3>
</div>
@ -760,11 +754,9 @@
<div class="modal_controller">
<a href="#" class="close">close</a>
</div>
</div>
</div>
</body>
</th:block>
</html>
</body>

@ -1,16 +1,10 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<head>
<head>
<meta charset="UTF-8">
<title>사용자관리</title>
</head>
</head>
<script>
<script>
$(document).ready(function () {
getOpr();
@ -515,13 +509,13 @@
}
</script>
</script>
<body>
<body>
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<h1>ICOMSYS ADMIN</h1>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
@ -530,12 +524,12 @@
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
</div>
<header id="header">
</header>
<header id="header">
</header>
<section id="Content" class="bot_common">
<section id="Content" class="bot_common">
<div class="location">
<ul>
<li class="home"><a href="#">HOME</a></li>
@ -664,9 +658,9 @@
</div>
</div>
</div>
</section>
</section>
<div class="modal" id="reg_modal">
<div class="modal" id="reg_modal">
<div class="modal_header">
<h3>시나리오그룹 권한</h3>
</div>
@ -708,11 +702,9 @@
<div class="modal_controller">
<a href="#" class="close">close</a>
</div>
</div>
</div>
</body>
</th:block>
</html>
</body>

@ -3,12 +3,6 @@
<th:block th:fragment="sidebarFragment">
<style>
header + article {
z -index: 0;
}
</style>
<article>
<div class="lnb_menu_btn_area open">
<a href="#" class="lnb_menu_menu">
@ -28,10 +22,11 @@
<script type=text/javascript>
$(document).ready(function () {
testGetAuth();
GetAuth();
PageControll('/admin/common/dashboard/manage.do');
}).off(lnbEvt())
function testGetAuth() {
function GetAuth() {
$.ajax({
type: "GET",
contentType: "application/json; charset=utf-8",
@ -41,26 +36,54 @@
success: function (data) {
data.forEach(function (e, i) {
var addMenu = '';
if (!(e.level == '0' || e.level == '1' )&& !$("#menuSeq" + e.seq).length > 0) {
if (!(e.level == '0' || e.level == '1') && !$("#menuSeq" + e.seq).length > 0) {
var menuUrl = "#";
if (e.url != '0') {
menuUrl = e.url;
}
addMenu += '<li>'
+ '<a href=' + menuUrl + '>'
//+ '<a href=' + menuUrl + '>'
+ '<a value=' + menuUrl + '>'
// + '<a href="'+'javascript:PageControll('+ menuUrl +')">'
+ '<span>'
+ e.menuName
+ '</span></a>'
+ e.menuName + '</span></a>'
+ '<ul class="depth' + e.level + '" id="menuSeq' + e.seq + '">'
+ '</ul>'
+ '</li>'
$('#menuSeq' + e.seqUpper).append(addMenu);
}
})
$(".lnb").on("click", "a", function() {
PageControll($(this).attr("value"));
});
}
})
};
function PageControll(e) {
if (e == '#') {
return;
}
var redi = '';
if (e == "" || e == null) {
redi = '/admin/common/dashboard/manage.do'
} else {
redi = e;
}
$.ajax({
type: "GET",
contentType: "application/json; charset=utf-8",
datatype: "HTML",
async: false,
url: redi,
success: function (data) {
$('#pageControll').html(data);
}
});
}
</script>
<script th:src="@{/lib/assets/js/scripts.js}"></script>

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/layout}">
<th:block layout:fragment="content">
<div id="pageControll">
</div>
</th:block>
</html>

@ -140,8 +140,9 @@
})
.complete(function (data) {
if (data.status == 200) {
console.log(data);
document.cookie = 'accessToken=' + data.responseText + '; path=/;';
console.log("cookie ="+document.cookie)
document.signinInfoForm.action = '/adm/main/actionSecurityLogin.do';
document.signinInfoForm.submit();
} else if (data.status == 400) {

Loading…
Cancel
Save