From 711944f7ca900e93b2f266eb4bb9f2b0d075680e Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 월, 27 12월 2021 17:56:44 +0900 Subject: [PATCH] Merge branch 'master' of http://192.168.0.25:9001/r/owl-kisa --- src/main/webapp/scripts/config.js | 46 +++++++++++++++++++++++++++++++++------------- 1 files changed, 33 insertions(+), 13 deletions(-) diff --git a/src/main/webapp/scripts/config.js b/src/main/webapp/scripts/config.js index 46524b3..7804678 100644 --- a/src/main/webapp/scripts/config.js +++ b/src/main/webapp/scripts/config.js @@ -119,6 +119,8 @@ file : 314572800 // 100MB }; + $rootScope.isMainSearch = false; // �넻�빀 寃��깋 �뿬遺� + // �뀒�씠釉� �꽕�젙 諛� 湲곕뒫�쓣 愿�由ы븯�뒗 �꽌鍮꾩뒪 $rootScope.$tableProvider = $tableProvider; @@ -247,7 +249,7 @@ "USER_PERMISSION_MNG_ISSUE" : 4096, "USER_PERMISSION_MNG_PARTNER" : 2048, "USER_PERMISSION_MNG_API" : 1024, - "USER_PERMISSION_MNG_ISSUE_SYSTEM" : 512, + "USER_PERMISSION_MNG_ISSUE_STATUS" : 512, "USER_PERMISSION_MNG_WORKFLOW" : 256, "USER_PERMISSION_MNG_CUSTOME_FIELD" : 128, "USER_PERMISSION_MNG_ISSUE_TYPE" : 64, @@ -257,6 +259,24 @@ "USER_PERMISSION_MNG_EVENT" : 4, "USER_PERMISSION_MNG_GUIDE" : 2, }; + + // 荑좏궎 ���옣 + $rootScope.setCookie = function (name, value, exp) { + var date = new Date(); + date.setTime(date.getTime() + exp*24*60*60*1000); + document.cookie = name + '=' + value + ';expires=' + date.toUTCString() + ';path=/'; + }; + + // 荑좏궎 媛��졇�삤湲� + $rootScope.getCookie = function (name) { + var value = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)'); + return value? value[2] : null; + } + + // 荑좏궎 �궘�젣 + $rootScope.deleteCookie = function (name) { + document.cookie = name + '=; expires=Thu, 01 Jan 1999 00:00:10 GMT;'; + } // �쁽�옱 �꽑�깮�맂 �씠�뒋 ���엯 �븘�씠�뵒 媛��졇�삤湲� $rootScope.getCurrentIssueTypeId = function () { @@ -285,17 +305,17 @@ return false; }; - $rootScope.getMyInfo = function () { - - User.findMyLevelAndDepartment($resourceProvider.getContent({}, - $resourceProvider.getPageContent(0, 0))).then(function (result) { - - if (result.data.message.status === "success") { - $rootScope.myLevel = result.data.data.levelName - $rootScope.myDepartments = result.data.data.departmentName - } - }); - } + // $rootScope.getMyInfo = function () { + // + // User.findMyLevelAndDepartment($resourceProvider.getContent({}, + // $resourceProvider.getPageContent(0, 0))).then(function (result) { + // + // if (result.data.message.status === "success") { + // $rootScope.myLevel = result.data.data.levelName + // $rootScope.myDepartments = result.data.data.departmentName + // } + // }); + // } /*$rootScope.checkMngPermissionViewIssueAndProject = function (userPermission) { if (!$rootScope.isDefined($rootScope.user)) { @@ -549,7 +569,7 @@ // �씠�뒋 紐⑸줉->�긽�꽭�솕硫댁뿉�꽌 留덉�留됱쑝濡� �젒洹쇳븳 �씠�뒋 �븘�씠�뵒 - �씪�슦�듃 �깉�븣留덈떎 珥덇린�솕 $rootScope.currentDetailIssueId = null; // �궗�슜�옄 �젙蹂대�� 媛��졇�삩�떎. - $rootScope.getMyInfo(); + // $rootScope.getMyInfo(); $log.debug("toState.name : ", toState.name); $log.debug("$rootScope.previousStateName �솗�씤 : ", $rootScope.previousStateName); -- Gitblit v1.8.0