시스템 관리 jsp 의존성 제거

dev_tymeleaf
jangwonseokicom 2 years ago
parent 75d1b3b423
commit 24ba911482

@ -38,14 +38,14 @@
// console.log(rowData.custCode); // console.log(rowData.custCode);
// alert("cust - " + rowData.custCode) // alert("cust - " + rowData.custCode)
// document.location.href = "/BotMain_VM/admin/common/system/cust/update" + "?custCode=" + rowData.custCode; // document.location.href = "/BotMain_VM/admin/common/system/cust/update" + "?custCode=" + rowData.custCode;
document.location.href = 'layout/admin/common/system/cust/update' + "?custCode=" + rowData.custCode; document.location.href = '/view/admin/common/system/cust/update' + "?custCode=" + rowData.custCode;
// document.location.href = '/admin/common/system/cust/view'; // document.location.href = '/admin/common/system/cust/view';
} }
function fnInsertBtn() { function fnInsertBtn() {
// document.location.href = "/BotMain_VM/admin/common/system/cust/insert"; // document.location.href = "/BotMain_VM/admin/common/system/cust/insert";
document.location.href = '/admin/common/system/cust/insert'; document.location.href = '/view/admin/common/system/cust/insert';
} }
var PagingDataTable = function () { var PagingDataTable = function () {

@ -483,7 +483,7 @@
}; };
function listgo() { function listgo() {
document.location.href = '/admin/common/system/cust/manage.do'; document.location.href = '/view/admin/common/system/cust/manage.do';
} }

@ -639,7 +639,7 @@
}; };
function listgo() { function listgo() {
document.location.href = '/admin/common/system/cust/manage.do'; document.location.href = '/view/admin/common/system/cust/manage.do';
} }

@ -52,7 +52,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/adm/menu/role'/>", url: '/adm/menu/role',
success: function (data) { success: function (data) {
role = data; role = data;
} }
@ -73,9 +73,9 @@
var role = getRoleAndOpr(); var role = getRoleAndOpr();
// console.log(role) // console.log(role)
if (role === 'SYSTEMADMIN') { if (role === 'SYSTEMADMIN') {
setUrl = "<c:url value='/adm/menu/oprmng'/>"; setUrl = '/adm/menu/oprmng';
} else { } else {
setUrl = "<c:url value='/adm/menu/oprmng'/>" setUrl = '/adm/menu/oprmng'
// + "?serviceType=S" // + "?serviceType=S"
; ;
} }
@ -101,7 +101,7 @@
}; };
function viewPage(rowData) { function viewPage(rowData) {
document.location.href = "<c:url value='/admin/common/system/groupAuth/update'/>" + "?authGroupSeq=" + rowData.authGroupSeq; document.location.href = '/view/admin/common/system/groupAuth/update' + "?authGroupSeq=" + rowData.authGroupSeq;
// document.location.href = "/BotMain_VM/admin/common/system/groupAuth/update" + "?authGroupSeq=" + rowData.authGroupSeq; // document.location.href = "/BotMain_VM/admin/common/system/groupAuth/update" + "?authGroupSeq=" + rowData.authGroupSeq;
} }
@ -150,7 +150,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/groupAuth/insert'/>", url: '/admin/common/system/groupAuth/insert',
data: JSON.stringify(insertJson), data: JSON.stringify(insertJson),
}) })
.complete(function (data) { .complete(function (data) {
@ -158,7 +158,7 @@
// console.log(data.status); // console.log(data.status);
if (data.status == 200) { if (data.status == 200) {
// document.location.href = "/BotMain_VM/admin/common/system/groupAuth/manage.do"; // document.location.href = "/BotMain_VM/admin/common/system/groupAuth/manage.do";
document.location.href = "<c:url value='/admin/common/system/groupAuth/manage.do'/>"; document.location.href = '/view/admin/common/system/groupAuth/manage.do';
} else { } else {
// console.log(JSON.stringify(this)); // console.log(JSON.stringify(this));
} }
@ -175,7 +175,7 @@
} }
var treeData = []; var treeData = [];
setUrl = "<c:url value='/admin/common/system/groupAuth/newTree'/>" + "?serviceGroup=" + serviceGroup; setUrl = '/admin/common/system/groupAuth/newTree' + "?serviceGroup=" + serviceGroup;
$.ajax({ $.ajax({
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
@ -229,7 +229,7 @@
$('#listTable').DataTable( $('#listTable').DataTable(
{ {
ajax: { ajax: {
url: "<c:url value='/admin/common/system/groupAuth/list'/>", url: '/admin/common/system/groupAuth/list',
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
type: "POST", type: "POST",
dataType: "JSON", dataType: "JSON",

@ -52,7 +52,7 @@
} }
function listgo() { function listgo() {
document.location.href = "<c:url value='/admin/common/system/groupAuth/manage.do'/>"; document.location.href = '/view/admin/common/system/groupAuth/manage.do';
} }
function getUserSearch() { function getUserSearch() {
@ -69,7 +69,7 @@
async: false, async: false,
datatype: "JSON", datatype: "JSON",
// url: "/BotMain_VM/admin/common/system/groupAuth/userSearch" + "?authGroupSeq=" + getQueryString(), // url: "/BotMain_VM/admin/common/system/groupAuth/userSearch" + "?authGroupSeq=" + getQueryString(),
url: "<c:url value='/admin/common/system/groupAuth/userSearch'/>" + "?authGroupSeq=" + getQueryString(), url: '/admin/common/system/groupAuth/userSearch' + "?authGroupSeq=" + getQueryString(),
data: JSON.stringify(json), data: JSON.stringify(json),
success: success:
function (data) { function (data) {
@ -125,13 +125,13 @@
datatype: "JSON", datatype: "JSON",
async: false, async: false,
// url: "/BotMain_VM/admin/common/system/groupAuth/modify/update", // url: "/BotMain_VM/admin/common/system/groupAuth/modify/update",
url: "<c:url value='/admin/common/system/groupAuth/modify/update'/>", url: '/admin/common/system/groupAuth/modify/update',
data: JSON.stringify(json), data: JSON.stringify(json),
success: success:
function (data) { function (data) {
// console.log("modfu suc - "); // console.log("modfu suc - ");
// document.location.href = "/BotMain_VM/admin/common/system/groupAuth/update" + "?authGroupSeq=" + getQueryString(); // document.location.href = "/BotMain_VM/admin/common/system/groupAuth/update" + "?authGroupSeq=" + getQueryString();
document.location.href = "<c:url value='/admin/common/system/groupAuth/manage.do'/>"; document.location.href = '/view/admin/common/system/groupAuth/manage.do';
} }
}) })
@ -151,7 +151,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
async: false, async: false,
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/adm/menu/oprmng'/>", url: '/adm/menu/oprmng',
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) {
@ -171,7 +171,7 @@
async: false, async: false,
datatype: "JSON", datatype: "JSON",
data: authGroupSeq, data: authGroupSeq,
url: "<c:url value='/admin/common/system/groupAuth/update/select'/>", url: '/admin/common/system/groupAuth/update/select',
success: function (data) { success: function (data) {
// console.log(data.authGroupSeq); // console.log(data.authGroupSeq);
// console.log(data.authPolicyVal); // console.log(data.authPolicyVal);

@ -10,7 +10,7 @@
</head> </head>
<script> <script>
z
$(document).ready(function () { $(document).ready(function () {
getOpr(); getOpr();
getServiceGroupQueryString(); getServiceGroupQueryString();
@ -35,7 +35,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/adm/menu/oprmng'/>", url: '/adm/menu/oprmng',
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) {

@ -36,7 +36,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/adm/menu/oprmng'/>", url: '/adm/menu/oprmng',
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) {
@ -53,7 +53,7 @@
$('#listTable').DataTable( $('#listTable').DataTable(
{ {
ajax: { ajax: {
url: "<c:url value='/admin/common/system/policyMenu/list'/>", url: '/admin/common/system/policyMenu/list',
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
type: "POST", type: "POST",
dataType: "JSON", dataType: "JSON",

@ -49,10 +49,10 @@
if (getServiceGroupQueryString() == null) { if (getServiceGroupQueryString() == null) {
//유저어드민 //유저어드민
setUrl = "<c:url value='/admin/common/system/serviceGroup/view'/>"; setUrl = '/admin/common/system/serviceGroup/view';
} else { } else {
//시스템어드민 //시스템어드민
setUrl = "<c:url value='/admin/common/system/serviceGroup/view'/>" + "?serviceGroup=" + getServiceGroupQueryString(); setUrl = '/admin/common/system/serviceGroup/view' + "?serviceGroup=" + getServiceGroupQueryString();
} }

@ -40,7 +40,7 @@
function fnServiceGroupInsertBtn() { function fnServiceGroupInsertBtn() {
// document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/insert"; // document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/insert";
document.location.href = "<c:url value='/admin/common/system/serviceGroup/insert'/>"; document.location.href = '/view/admin/common/system/serviceGroup/insert';
}; };
function getOpr() { function getOpr() {
@ -48,7 +48,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/adm/menu/oprmng'/>", url: '/adm/menu/oprmng',
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) {
@ -64,7 +64,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/adm/menu/main/oprmng'/>", url: '/adm/menu/main/oprmng',
success: function (data) { success: function (data) {
data.forEach(function (e, f) { data.forEach(function (e, f) {
$('#serviceGroup').append("<option value=" + e.serviceGroup + ">" + e.serviceGroupName + "</option>"); $('#serviceGroup').append("<option value=" + e.serviceGroup + ">" + e.serviceGroupName + "</option>");
@ -77,7 +77,7 @@
function viewPage(rowData) { function viewPage(rowData) {
// console.log(rowData.serviceGroup); // console.log(rowData.serviceGroup);
// document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/view" + "?serviceGroup=" + rowData.serviceGroup; // document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/view" + "?serviceGroup=" + rowData.serviceGroup;
document.location.href = "<c:url value='/admin/common/system/serviceGroup/view'/>" + "?serviceGroup=" + rowData.serviceGroup; document.location.href = '/view/admin/common/system/serviceGroup/view' + "?serviceGroup=" + rowData.serviceGroup;
} }
var PagingDataTable = function () { var PagingDataTable = function () {
@ -86,7 +86,7 @@
$('#listTable').DataTable( $('#listTable').DataTable(
{ {
ajax: { ajax: {
url: "<c:url value='/admin/common/system/serviceGroup/list'/>", url: '/admin/common/system/serviceGroup/list',
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
type: "POST", type: "POST",
dataType: "JSON", dataType: "JSON",

@ -92,7 +92,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/serviceGroup/doubleCheck'/>", url: '/admin/common/system/serviceGroup/doubleCheck',
data: JSON.stringify(checkJson), data: JSON.stringify(checkJson),
}) })
.complete(function (data) { .complete(function (data) {
@ -177,7 +177,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
async: false, async: false,
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/admin/common/system/serviceGroup/insert'/>", url: '/admin/common/system/serviceGroup/insert',
data: JSON.stringify(insertJson), data: JSON.stringify(insertJson),
}) })
.complete(function (data) { .complete(function (data) {
@ -185,7 +185,7 @@
// console.log(data.status); // console.log(data.status);
if (data.status == 200) { if (data.status == 200) {
// document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/view" + "?serviceGroup=" + mainServiceGroup; // document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/view" + "?serviceGroup=" + mainServiceGroup;
document.location.href = "<c:url value='/admin/common/system/serviceGroup/view'/>" + "?serviceGroup=" + mainServiceGroup; document.location.href = '/view/admin/common/system/serviceGroup/view' + "?serviceGroup=" + mainServiceGroup;
} else if (data.status == 405) { } else if (data.status == 405) {
$.utils.warning("NLP연결에 실패했습니다."); $.utils.warning("NLP연결에 실패했습니다.");
} else { } else {
@ -236,7 +236,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
async: false, async: false,
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/admin/common/system/serviceGroup/update'/>", url: '/admin/common/system/serviceGroup/update',
data: JSON.stringify(updateJson), data: JSON.stringify(updateJson),
}) })
.complete(function (data) { .complete(function (data) {
@ -244,7 +244,7 @@
// console.log(data.status); // console.log(data.status);
if (data.status == 200) { if (data.status == 200) {
// document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/view" + "?serviceGroup=" + mainServiceGroup; // document.location.href = "/BotMain_VM/admin/common/system/serviceGroup/view" + "?serviceGroup=" + mainServiceGroup;
document.location.href = "<c:url value='/admin/common/system/serviceGroup/view'/>" + "?serviceGroup=" + mainServiceGroup; document.location.href = '/view/admin/common/system/serviceGroup/view' + "?serviceGroup=" + mainServiceGroup;
} else if (data.status == 405) { } else if (data.status == 405) {
$.utils.warning("NLP연결에 실패했습니다."); $.utils.warning("NLP연결에 실패했습니다.");
} else { } else {
@ -259,10 +259,10 @@
if (getServiceGroupQueryString() == null) { if (getServiceGroupQueryString() == null) {
//유저어드민 //유저어드민
setUrl = "<c:url value='/admin/common/system/serviceGroup/select'/>"; setUrl = '/admin/common/system/serviceGroup/select';
} else { } else {
//시스템어드민 //시스템어드민
setUrl = "<c:url value='/admin/common/system/serviceGroup/select'/>" + "?serviceGroup=" + getServiceGroupQueryString(); setUrl = '/admin/common/system/serviceGroup/select' + "?serviceGroup=" + getServiceGroupQueryString();
} }
$.ajax({ $.ajax({
type: "GET", type: "GET",
@ -483,10 +483,10 @@
if (getServiceGroupQueryString() == null) { if (getServiceGroupQueryString() == null) {
//유저어드민 //유저어드민
setUrl = "<c:url value='/admin/common/system/serviceGroup/select'/>"; setUrl = '/admin/common/system/serviceGroup/select';
} else { } else {
//시스템어드민 //시스템어드민
setUrl = "<c:url value='/admin/common/system/serviceGroup/select'/>" + "?serviceGroup=" + getServiceGroupQueryString(); setUrl = '/admin/common/system/serviceGroup/select' + "?serviceGroup=" + getServiceGroupQueryString();
} }
$.ajax({ $.ajax({
type: "GET", type: "GET",

@ -46,7 +46,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/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) {
@ -65,7 +65,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/cust/select'/>", url: '/admin/common/system/user/cust/select',
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) {
@ -80,7 +80,7 @@
function viewPage(rowData) { function viewPage(rowData) {
// console.log(rowData.userSeq); // console.log(rowData.userSeq);
// document.location.href = "/BotMain_VM/admin/common/system/user/view" + "?userSeq=" + rowData.userSeq; // document.location.href = "/BotMain_VM/admin/common/system/user/view" + "?userSeq=" + rowData.userSeq;
document.location.href = "<c:url value='/admin/common/system/user/view'/>" + "?userSeq=" + rowData.userSeq; document.location.href = '/view/admin/common/system/user/view' + "?userSeq=" + rowData.userSeq;
} }
var PagingDataTable = function () { var PagingDataTable = function () {
@ -89,7 +89,7 @@
$('#listTable').DataTable( $('#listTable').DataTable(
{ {
ajax: { ajax: {
url: "<c:url value='/admin/common/system/user/list'/>", url: '/admin/common/system/user/list',
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
type: "POST", type: "POST",
dataType: "JSON", dataType: "JSON",
@ -242,7 +242,7 @@
function fnInsertBtn() { function fnInsertBtn() {
// document.location.href = "/BotMain_VM/admin/common/system/user/insert"; // document.location.href = "/BotMain_VM/admin/common/system/user/insert";
document.location.href = "<c:url value='/admin/common/system/user/insert'/>"; document.location.href = '/view/admin/common/system/user/insert';
} }

@ -44,7 +44,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/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) {
@ -63,7 +63,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/cust/select'/>", url: '/admin/common/system/user/cust/select',
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) {
@ -78,7 +78,7 @@
function viewPage(rowData) { function viewPage(rowData) {
// console.log(rowData.userSeq); // console.log(rowData.userSeq);
document.location.href = "<c:url value='/admin/common/system/userAdmin/view'/>" + "?userSeq=" + rowData.userSeq; document.location.href = '/view/admin/common/system/userAdmin/view' + "?userSeq=" + rowData.userSeq;
// document.location.href = '/admin/common/system/cust/view'; // document.location.href = '/admin/common/system/cust/view';
} }
@ -88,7 +88,7 @@
$('#listTable').DataTable( $('#listTable').DataTable(
{ {
ajax: { ajax: {
url: "<c:url value='/admin/common/system/userAdmin/list'/>", url: '/admin/common/system/userAdmin/list',
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
type: "POST", type: "POST",
dataType: "JSON", dataType: "JSON",
@ -238,7 +238,7 @@
}; };
function fnInsertBtn() { function fnInsertBtn() {
document.location.href = "<c:url value='/admin/common/system/userAdmin/insert'/>"; document.location.href = '/view/admin/common/system/userAdmin/insert';
} }

@ -98,7 +98,7 @@
function listgo() { function listgo() {
// document.location.href = "/BotMain_VM/admin/common/system/user/manage.do"; // document.location.href = "/BotMain_VM/admin/common/system/user/manage.do";
document.location.href = "<c:url value='/admin/common/system/userAdmin/manage.do'/>"; document.location.href = '/view/admin/common/system/userAdmin/manage.do';
} }
function delBtn() { function delBtn() {
@ -189,7 +189,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/save'/>", url: '/admin/common/system/user/save',
data: JSON.stringify(json) data: JSON.stringify(json)
}).complete(function (data) { }).complete(function (data) {
// console.log(data.status); // console.log(data.status);
@ -229,7 +229,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + serviceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + serviceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html3 html3
@ -314,7 +314,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + servoceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + servoceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html1 html1
@ -343,7 +343,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/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) {
@ -364,7 +364,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/cust/select'/>", url: '/admin/common/system/user/cust/select',
success: function (data) { success: function (data) {
// console.log(JSON.stringify(data)); // console.log(JSON.stringify(data));
@ -391,7 +391,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/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) {
@ -428,7 +428,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/doubleCheck'/>" + "?userId=" + userId, url: '/admin/common/system/user/doubleCheck' + "?userId=" + userId,
success: function (data) { success: function (data) {
// console.log(data); // console.log(data);
if (data == "Y") { if (data == "Y") {

@ -73,7 +73,7 @@
datatype: "JSON", datatype: "JSON",
async: false, async: false,
data: data, data: data,
url: "<c:url value='/admin/common/system/user/chk/reset'/>", url: '/admin/common/system/user/chk/reset',
}).complete(function (data) { }).complete(function (data) {
// console.log(data.status); // console.log(data.status);
var result = data.status; var result = data.status;
@ -182,7 +182,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/update'/>", url: '/admin/common/system/user/update',
data: JSON.stringify(json) data: JSON.stringify(json)
}).complete(function (data) { }).complete(function (data) {
// console.log(data.status); // console.log(data.status);
@ -206,7 +206,7 @@
function listgo() { function listgo() {
// document.location.href = "/BotMain_VM/admin/common/system/user/manage.do"; // document.location.href = "/BotMain_VM/admin/common/system/user/manage.do";
document.location.href = "<c:url value='/admin/common/system/userAdmin/manage.do'/>"; document.location.href = '/view/admin/common/system/userAdmin/manage.do';
} }
function getQueryString() { function getQueryString() {
@ -221,7 +221,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/viewData'/>" + "?userSeq=" + getQueryString(), url: '/admin/common/system/user/viewData' + "?userSeq=" + getQueryString(),
success: function (data) { success: function (data) {
// console.log("getData---"); // console.log("getData---");
// console.log(JSON.stringify(data)); // console.log(JSON.stringify(data));
@ -251,7 +251,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/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) {
@ -284,7 +284,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + serviceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + serviceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html3 html3
@ -466,7 +466,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + servoceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + servoceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html1 html1

@ -92,7 +92,7 @@
function listgo() { function listgo() {
// document.location.href = "/BotMain_VM/admin/common/system/user/manage.do"; // document.location.href = "/BotMain_VM/admin/common/system/user/manage.do";
document.location.href = "<c:url value='/admin/common/system/user/manage.do'/>"; document.location.href = '/view/admin/common/system/user/manage.do';
} }
function delBtn() { function delBtn() {
@ -197,7 +197,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/save'/>", url: '/admin/common/system/user/save',
data: JSON.stringify(json) data: JSON.stringify(json)
}).complete(function (data) { }).complete(function (data) {
// console.log(data.status); // console.log(data.status);
@ -238,7 +238,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + serviceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + serviceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html3 html3
@ -329,7 +329,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + servoceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + servoceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html1 html1
@ -358,7 +358,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/adm/menu/oprmng'/>" url: '/adm/menu/oprmng'
// + "?serviceType=S" // + "?serviceType=S"
, ,
success: function (data) { success: function (data) {
@ -381,7 +381,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/cust/select'/>", url: '/admin/common/system/user/cust/select',
success: function (data) { success: function (data) {
// console.log(JSON.stringify(data)); // console.log(JSON.stringify(data));
@ -408,7 +408,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/service/select'/>" + "?custCode=" + custCode, url: '/admin/common/system/user/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) {
@ -442,7 +442,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/doubleCheck'/>" + "?userId=" + userId, url: '/admin/common/system/user/doubleCheck' + "?userId=" + userId,
success: function (data) { success: function (data) {
// console.log(data); // console.log(data);
if (data == "Y") { if (data == "Y") {

@ -87,7 +87,7 @@
datatype: "JSON", datatype: "JSON",
async: false, async: false,
data: data, data: data,
url: "<c:url value='/admin/common/system/user/chk/reset'/>", url: '/admin/common/system/user/chk/reset',
}).complete(function (data) { }).complete(function (data) {
// console.log(data.status); // console.log(data.status);
var result = data.status; var result = data.status;
@ -109,7 +109,7 @@
datatype: "JSON", datatype: "JSON",
async: false, async: false,
data: data, data: data,
url: "<c:url value='/admin/common/system/user/chk/reset'/>", url: '/admin/common/system/user/chk/reset',
}).complete(function (data) { }).complete(function (data) {
// console.log(data.status); // console.log(data.status);
var result = data.status; var result = data.status;
@ -213,7 +213,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/update'/>", url: '/admin/common/system/user/update',
data: JSON.stringify(json) data: JSON.stringify(json)
}).complete(function (data) { }).complete(function (data) {
// console.log(data.status); // console.log(data.status);
@ -222,7 +222,7 @@
// alert("성공하였습니다. 리스트로 돌아갑니다.") // alert("성공하였습니다. 리스트로 돌아갑니다.")
$.utils.success("성공하였습니다. 리스트로 돌아갑니다."); $.utils.success("성공하였습니다. 리스트로 돌아갑니다.");
// $.utils.warning("1글자 이상 입력해주세요."); // $.utils.warning("1글자 이상 입력해주세요.");
document.location.href = "<c:url value='/admin/common/system/user/manage.do'/>"; document.location.href = '/view/admin/common/system/user/manage.do';
} else { } else {
// alert("실패하였습니다.") // alert("실패하였습니다.")
$.utils.warning("실패하였습니다."); $.utils.warning("실패하였습니다.");
@ -243,7 +243,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/viewData'/>" + "?userSeq=" + getQueryString(), url: '/admin/common/system/user/viewData' + "?userSeq=" + getQueryString(),
success: function (data) { success: function (data) {
// console.log("getData---"); // console.log("getData---");
// console.log(JSON.stringify(data)); // console.log(JSON.stringify(data));
@ -273,7 +273,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/adm/menu/oprmng'/>" url: '/adm/menu/oprmng'
// +"?serviceType=S" // +"?serviceType=S"
, ,
success: function (data) { success: function (data) {
@ -310,7 +310,7 @@
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
async: false, async: false,
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + serviceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + serviceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html3 html3
@ -492,7 +492,7 @@
type: "GET", type: "GET",
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
datatype: "JSON", datatype: "JSON",
url: "<c:url value='/admin/common/system/user/authlist'/>" + "?serviceGroup=" + servoceGroup, url: '/admin/common/system/user/authlist' + "?serviceGroup=" + servoceGroup,
success: function (data) { success: function (data) {
data.forEach(function (e, i) { data.forEach(function (e, i) {
html1 html1

Loading…
Cancel
Save