From 799d8178d5bf8256c2334d2ff95a24f326a68534 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 화, 14 12월 2021 19:23:42 +0900
Subject: [PATCH] - 이슈 수정시 사용자가 담당부서에 속해있으면 수정 가능 - 프로젝트 관리 권한이 있는데 프로젝트 수정 항목이 표시 안되는 문제 수정

---
 src/main/webapp/scripts/components/api/api.service.js |   40 ++++++++++++++++++++++++++++++++++++++--
 1 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/scripts/components/api/api.service.js b/src/main/webapp/scripts/components/api/api.service.js
index b95c0c1..d81b9cf 100644
--- a/src/main/webapp/scripts/components/api/api.service.js
+++ b/src/main/webapp/scripts/components/api/api.service.js
@@ -3,7 +3,7 @@
 define([
     'app'
 ], function (app) {
-    app.factory("Api", ['$http', '$log', function ($http, $log) {
+    app.factory(  "Api", ['$http', '$log', function ($http, $log) {
         return {
             find : function (conditions) {
                 return $http.post("apiToken/find", conditions).then(function (response) {
@@ -22,7 +22,43 @@
                     $log.debug("�넗�겙 �궘�젣 寃곌낵 : ", response);
                     return response;
                 });
-            }
+            },
+            findApiDefault : function (conditions) {
+                return $http.post("issueApiDefault/find", conditions).then(function (response) {
+                    $log.debug("�씠�뒋 �쑀�삎 珥덇린媛� 議고쉶 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            modifyApiDefault : function (conditions) {
+                return $http.post("issueApiDefault/modify", conditions).then(function (response) {
+                    $log.debug("�씠�뒋 �쑀�삎 珥덇린媛� �닔�젙 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            findApiOverlap : function (conditions) {
+                return $http.post("customFieldApiOverlap/find", conditions).then(function (response) {
+                    $log.debug("�씠�뒋 �쑀�삎 以묐났媛� 議고쉶 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            modifyApiOverlap : function (conditions) {
+                return $http.post("customFieldApiOverlap/modify", conditions).then(function (response) {
+                    $log.debug("�씠�뒋 �쑀�삎 以묐났媛� �닔�젙 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            findHistory : function (conditions) {
+                return $http.post("api/findHistory", conditions).then(function (response) {
+                    $log.debug("API �씠�뒋 �벑濡� 湲곕줉 議고쉶 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            saveCompleteIssueStatus : function (conditions) {
+                return $http.post("api/saveCompleteIssueStatus", conditions).then(function (response) {
+                    $log.debug("API �씠�뒋 �벑濡� 湲곕줉 議고쉶 寃곌낵 : ", response);
+                    return response;
+                });
+            },
         }
     }
     ]);

--
Gitblit v1.8.0