Commit 80510bf8 by Kang Donghun

change url to report list and delete unused log

parent 953d3ece
...@@ -674,17 +674,13 @@ var UserSession = function () { ...@@ -674,17 +674,13 @@ var UserSession = function () {
*/ */
UserSession.prototype.init = function (option) { UserSession.prototype.init = function (option) {
this.available = false; this.available = false;
console.log("kdh check userSession init option : " + option);
if (option == 'restore') { if (option == 'restore') {
var value = null; var value = null;
try { try {
value = this._get('init'); value = this._get('init');
console.log("kdh check userSession init value : " + value);
} catch (e) { } catch (e) {
value = null; value = null;
console.log("kdh check userSession init catch : " + e);
} finally { } finally {
console.log("kdh check userSession init final : " + value);
if (value) { if (value) {
this.available = true; this.available = true;
} }
...@@ -721,7 +717,6 @@ UserSession.prototype.set = function (key, value) { ...@@ -721,7 +717,6 @@ UserSession.prototype.set = function (key, value) {
* @returns * @returns
*/ */
UserSession.prototype.get = function (key) { UserSession.prototype.get = function (key) {
console.log("kdh check userSession get");
var value = null; var value = null;
if (this.available) { if (this.available) {
value = this._get(key); value = this._get(key);
...@@ -867,15 +862,12 @@ COMMON.setErrorState = function () { ...@@ -867,15 +862,12 @@ COMMON.setErrorState = function () {
/* get user session object */ /* get user session object */
COMMON.userSession = function () { COMMON.userSession = function () {
if (!COMMON.userSessionObj) { if (!COMMON.userSessionObj) {
console.log("kdh check userSession : COMMON.userSessionObj null");
var obj = new UserSession(); var obj = new UserSession();
obj.init('restore'); obj.init('restore');
if (obj.available) { if (obj.available) {
console.log("kdh check userSession : COMMON.userSessionObj available");
COMMON.userSessionObj = obj; COMMON.userSessionObj = obj;
return COMMON.userSessionObj; return COMMON.userSessionObj;
} else { } else {
console.log("kdh check userSession : COMMON.userSessionObj unavailable");
return null; return null;
} }
} }
...@@ -918,7 +910,6 @@ var SessionStorageUtils = { ...@@ -918,7 +910,6 @@ var SessionStorageUtils = {
} }
}, },
get: function (strKey) { get: function (strKey) {
console.log("kdh check SessionStorageUtils get : " + strKey);
return COMMON.userSession().get(strKey); return COMMON.userSession().get(strKey);
}, },
set: function (strKey, objValue) { set: function (strKey, objValue) {
......
...@@ -34,7 +34,7 @@ PP.loadCommon = function () { ...@@ -34,7 +34,7 @@ PP.loadCommon = function () {
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.REPORT_LIST, titleLang: CONSTANT.PAGE_NAME.REPORT_LIST,
href: CONSTANT.URL_TREE_NAME.OPERATION_LIST, href: CONSTANT.URL_TREE_NAME.REPORT_LIST,
}, },
{ {
titleLang: CONSTANT.PAGE_NAME.PDF_PRINT, titleLang: CONSTANT.PAGE_NAME.PDF_PRINT,
......
...@@ -79,7 +79,6 @@ RF.initBreadcrumb = function () { ...@@ -79,7 +79,6 @@ RF.initBreadcrumb = function () {
} }
} else { } else {
if (sessionStorage.getItem("pickUpType")) sessionStorage.removeItem("pickUpType"); if (sessionStorage.getItem("pickUpType")) sessionStorage.removeItem("pickUpType");
console.log("kdh check addReportFlg = " + addReportFlg);
if (addReportFlg == 1) { if (addReportFlg == 1) {
navs = [ navs = [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment