spa식으로 변경

dev_tymeleaf
jangwonseokicom 1 year ago
parent 24ba911482
commit dfea91edc8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -3,12 +3,6 @@
<th:block th:fragment="sidebarFragment"> <th:block th:fragment="sidebarFragment">
<style>
header + article {
z -index: 0;
}
</style>
<article> <article>
<div class="lnb_menu_btn_area open"> <div class="lnb_menu_btn_area open">
<a href="#" class="lnb_menu_menu"> <a href="#" class="lnb_menu_menu">
@ -28,10 +22,11 @@
<script type=text/javascript> <script type=text/javascript>
$(document).ready(function () { $(document).ready(function () {
testGetAuth(); GetAuth();
PageControll('/admin/common/dashboard/manage.do');
}).off(lnbEvt()) }).off(lnbEvt())
function testGetAuth() { function GetAuth() {
$.ajax({ $.ajax({
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
@ -41,26 +36,54 @@
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
var addMenu = ''; 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 = "#"; var menuUrl = "#";
if (e.url != '0') { if (e.url != '0') {
menuUrl = e.url; menuUrl = e.url;
} }
addMenu += '<li>' addMenu += '<li>'
+ '<a href=' + menuUrl + '>' //+ '<a href=' + menuUrl + '>'
+ '<a value=' + menuUrl + '>'
// + '<a href="'+'javascript:PageControll('+ menuUrl +')">'
+ '<span>' + '<span>'
+ e.menuName + e.menuName + '</span></a>'
+ '</span></a>'
+ '<ul class="depth' + e.level + '" id="menuSeq' + e.seq + '">' + '<ul class="depth' + e.level + '" id="menuSeq' + e.seq + '">'
+ '</ul>' + '</ul>'
+ '</li>' + '</li>'
$('#menuSeq' + e.seqUpper).append(addMenu); $('#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>
<script th:src="@{/lib/assets/js/scripts.js}"></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) { .complete(function (data) {
if (data.status == 200) { if (data.status == 200) {
console.log(data);
document.cookie = 'accessToken=' + data.responseText + '; path=/;'; document.cookie = 'accessToken=' + data.responseText + '; path=/;';
console.log("cookie ="+document.cookie)
document.signinInfoForm.action = '/adm/main/actionSecurityLogin.do'; document.signinInfoForm.action = '/adm/main/actionSecurityLogin.do';
document.signinInfoForm.submit(); document.signinInfoForm.submit();
} else if (data.status == 400) { } else if (data.status == 400) {

Loading…
Cancel
Save