From 24ba91148234730e6e2e25eba06dbe9823743018 Mon Sep 17 00:00:00 2001 From: jangwonseokicom Date: Fri, 9 Jun 2023 11:26:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=9C=EC=8A=A4=ED=85=9C=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20jsp=20=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layout/adm/common/system/cust.html | 4 ++-- .../layout/adm/common/system/custInsert.html | 2 +- .../layout/adm/common/system/custUpdate.html | 2 +- .../layout/adm/common/system/groupAuth.html | 16 ++++++++-------- .../adm/common/system/groupAuthUpdate.html | 12 ++++++------ .../common/system/groupAuthUpdatelegacy.html | 4 ++-- .../layout/adm/common/system/policyMenu.html | 4 ++-- .../adm/common/system/serviceGroupInsert.html | 4 ++-- .../adm/common/system/serviceGroupList.html | 10 +++++----- .../adm/common/system/serviceGroupView.html | 18 +++++++++--------- .../layout/adm/common/system/user.html | 10 +++++----- .../layout/adm/common/system/userAdmin.html | 10 +++++----- .../adm/common/system/userAdminInsert.html | 16 ++++++++-------- .../adm/common/system/userAdminView.html | 14 +++++++------- .../layout/adm/common/system/userInsert.html | 16 ++++++++-------- .../layout/adm/common/system/userView.html | 16 ++++++++-------- 16 files changed, 79 insertions(+), 79 deletions(-) diff --git a/main_vm/src/main/resources/templates/layout/adm/common/system/cust.html b/main_vm/src/main/resources/templates/layout/adm/common/system/cust.html index 16904f9..0fca88b 100644 --- a/main_vm/src/main/resources/templates/layout/adm/common/system/cust.html +++ b/main_vm/src/main/resources/templates/layout/adm/common/system/cust.html @@ -38,14 +38,14 @@ // console.log(rowData.custCode); // alert("cust - " + 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'; } function fnInsertBtn() { // 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 () { diff --git a/main_vm/src/main/resources/templates/layout/adm/common/system/custInsert.html b/main_vm/src/main/resources/templates/layout/adm/common/system/custInsert.html index ce59782..e8494ba 100644 --- a/main_vm/src/main/resources/templates/layout/adm/common/system/custInsert.html +++ b/main_vm/src/main/resources/templates/layout/adm/common/system/custInsert.html @@ -483,7 +483,7 @@ }; function listgo() { - document.location.href = '/admin/common/system/cust/manage.do'; + document.location.href = '/view/admin/common/system/cust/manage.do'; } diff --git a/main_vm/src/main/resources/templates/layout/adm/common/system/custUpdate.html b/main_vm/src/main/resources/templates/layout/adm/common/system/custUpdate.html index da13f5d..190f611 100644 --- a/main_vm/src/main/resources/templates/layout/adm/common/system/custUpdate.html +++ b/main_vm/src/main/resources/templates/layout/adm/common/system/custUpdate.html @@ -639,7 +639,7 @@ }; function listgo() { - document.location.href = '/admin/common/system/cust/manage.do'; + document.location.href = '/view/admin/common/system/cust/manage.do'; } diff --git a/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuth.html b/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuth.html index cfec762..14e78a4 100644 --- a/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuth.html +++ b/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuth.html @@ -52,7 +52,7 @@ contentType: "application/json; charset=utf-8", datatype: "JSON", async: false, - url: "", + url: '/adm/menu/role', success: function (data) { role = data; } @@ -73,9 +73,9 @@ var role = getRoleAndOpr(); // console.log(role) if (role === 'SYSTEMADMIN') { - setUrl = ""; + setUrl = '/adm/menu/oprmng'; } else { - setUrl = "" + setUrl = '/adm/menu/oprmng' // + "?serviceType=S" ; } @@ -101,7 +101,7 @@ }; function viewPage(rowData) { - document.location.href = "" + "?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; } @@ -150,7 +150,7 @@ contentType: "application/json; charset=utf-8", datatype: "JSON", async: false, - url: "", + url: '/admin/common/system/groupAuth/insert', data: JSON.stringify(insertJson), }) .complete(function (data) { @@ -158,7 +158,7 @@ // console.log(data.status); if (data.status == 200) { // document.location.href = "/BotMain_VM/admin/common/system/groupAuth/manage.do"; - document.location.href = ""; + document.location.href = '/view/admin/common/system/groupAuth/manage.do'; } else { // console.log(JSON.stringify(this)); } @@ -175,7 +175,7 @@ } var treeData = []; - setUrl = "" + "?serviceGroup=" + serviceGroup; + setUrl = '/admin/common/system/groupAuth/newTree' + "?serviceGroup=" + serviceGroup; $.ajax({ type: "GET", contentType: "application/json; charset=utf-8", @@ -229,7 +229,7 @@ $('#listTable').DataTable( { ajax: { - url: "", + url: '/admin/common/system/groupAuth/list', contentType: "application/json; charset=utf-8", type: "POST", dataType: "JSON", diff --git a/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdate.html b/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdate.html index 28d1fe9..be6df95 100644 --- a/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdate.html +++ b/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdate.html @@ -52,7 +52,7 @@ } function listgo() { - document.location.href = ""; + document.location.href = '/view/admin/common/system/groupAuth/manage.do'; } function getUserSearch() { @@ -69,7 +69,7 @@ async: false, datatype: "JSON", // url: "/BotMain_VM/admin/common/system/groupAuth/userSearch" + "?authGroupSeq=" + getQueryString(), - url: "" + "?authGroupSeq=" + getQueryString(), + url: '/admin/common/system/groupAuth/userSearch' + "?authGroupSeq=" + getQueryString(), data: JSON.stringify(json), success: function (data) { @@ -125,13 +125,13 @@ datatype: "JSON", async: false, // url: "/BotMain_VM/admin/common/system/groupAuth/modify/update", - url: "", + url: '/admin/common/system/groupAuth/modify/update', data: JSON.stringify(json), success: function (data) { // console.log("modfu suc - "); // document.location.href = "/BotMain_VM/admin/common/system/groupAuth/update" + "?authGroupSeq=" + getQueryString(); - document.location.href = ""; + document.location.href = '/view/admin/common/system/groupAuth/manage.do'; } }) @@ -151,7 +151,7 @@ contentType: "application/json; charset=utf-8", async: false, datatype: "JSON", - url: "", + url: '/adm/menu/oprmng', success: function (data) { // console.log(JSON.stringify(data)); data.forEach(function (e, f) { @@ -171,7 +171,7 @@ async: false, datatype: "JSON", data: authGroupSeq, - url: "", + url: '/admin/common/system/groupAuth/update/select', success: function (data) { // console.log(data.authGroupSeq); // console.log(data.authPolicyVal); diff --git a/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdatelegacy.html b/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdatelegacy.html index 62de817..3cc4dcf 100644 --- a/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdatelegacy.html +++ b/main_vm/src/main/resources/templates/layout/adm/common/system/groupAuthUpdatelegacy.html @@ -10,7 +10,7 @@