From a11dc4e377730f1ce08bc7210366c21e2833bf05 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 월, 28 2월 2022 18:38:29 +0900
Subject: [PATCH] 1.0.5버전

---
 src/main/webapp/scripts/components/issue/issue.service.js |   67 ++++++++++++++++++++++++++++++++-
 1 files changed, 64 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/scripts/components/issue/issue.service.js b/src/main/webapp/scripts/components/issue/issue.service.js
index 22cf448..7794fd3 100644
--- a/src/main/webapp/scripts/components/issue/issue.service.js
+++ b/src/main/webapp/scripts/components/issue/issue.service.js
@@ -33,14 +33,48 @@
                     return response;
                 });
             },
+            findParentIssue : function (conditions) {
+                return $http.post("issue/findParentIssue", conditions).then(function (response) {
+                    $log.debug("�긽�쐞�씠�뒋 紐⑸줉 �뜲�씠�꽣 : ", response);
+                    return response;
+                });
+            },
             findPartners : function (conditions) {
                 return $http.post("issue/findPartner", conditions).then(function (response) {
                     $log.debug("�궗�슜�븯�뒗 �뙆�듃�꼫 紐⑸줉 �뜲�씠�꽣 : ", response);
                     return response;
                 });
             },
+            findReadyDepartments : function (conditions) {
+                return $http.post("issue/findReadyDepartments", conditions).then(function (response) {
+                    $log.debug("�썙�겕�뵆濡쒖슦�쓽 �깮�꽦 �긽�깭�쓽 �떞�떦遺��꽌 紐⑸줉 �뜲�씠�꽣 : ", response);
+                    return response;
+                });
+            },
             add : function (conditions) {
                 conditions.url = "issue/add";
+                return $upload.upload(conditions).progress(function (evt) {
+                    //  �뙆�씪 �뾽濡쒕뱶 吏꾪뻾�쑉�쓣 �몴�떆�빐以��떎.
+                    fileUploadProgress(evt);
+
+                }).then(function (response) {
+                    $log.debug("�씠�뒋 �깮�꽦 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            relAdd : function (conditions) {
+                conditions.url = "issue/relIssueAdd";
+                return $upload.upload(conditions).progress(function (evt) {
+                    //  �뙆�씪 �뾽濡쒕뱶 吏꾪뻾�쑉�쓣 �몴�떆�빐以��떎.
+                    fileUploadProgress(evt);
+
+                }).then(function (response) {
+                    $log.debug("�씠�뒋 �깮�꽦 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            downAdd : function (conditions) {
+                conditions.url = "issue/downIssueAdd";
                 return $upload.upload(conditions).progress(function (evt) {
                     //  �뙆�씪 �뾽濡쒕뱶 吏꾪뻾�쑉�쓣 �몴�떆�빐以��떎.
                     fileUploadProgress(evt);
@@ -67,6 +101,7 @@
                     return response;
                 });
             },
+
             detail : function (conditions) {
                 return $http.post("issue/detail", conditions).then(function (response) {
                     $log.debug("�씠�뒋 �긽�꽭 �뜲�씠�꽣 : ", response);
@@ -79,6 +114,18 @@
                     return response;
                 });
             },
+            removeAllIssues : function (conditions) {
+                return $http.post("issue/removeAll", conditions).then(function (response) {
+                    $log.debug("�븯�쐞�씠�뒋 �궘�젣 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            /*removeDownIssues : function (conditions) {
+                return $http.post("issue/removeDown", conditions).then(function (response) {
+                    $log.debug("�븯�쐞�씠�뒋 �궘�젣 寃곌낵 : ", response);
+                    return response;
+                });
+            },*/
             importExcel : function (conditions) {
                 conditions.url = "issue/importExcel";
                 return $upload.upload(conditions).then(function (response) {
@@ -98,12 +145,26 @@
                     return response;
                 });
             },
-            findMailTargetAll : function (conditions) {
-                return $http.post("issue/findMailTargetAll", conditions).then(function (response) {
+            sendEmailPartners : function (conditions) {
+                conditions.url = "issue/sendEmailPartners";
+                return $upload.upload(conditions).progress(function (evt) {
+                    //  �뙆�씪 �뾽濡쒕뱶 吏꾪뻾�쑉�쓣 �몴�떆�빐以��떎.
+                    fileUploadProgress(evt);
+                }).then(function (response) {
                     $log.debug("�씠�뒋 �씠硫붿씪 諛쒖넚 寃곌낵 : ", response);
                     return response;
                 });
-            }
+            },
+            sendCommonEmail : function (conditions) {
+                conditions.url = "issue/sendCommonEmail";
+                return $upload.upload(conditions).progress(function (evt) {
+                    //  �뙆�씪 �뾽濡쒕뱶 吏꾪뻾�쑉�쓣 �몴�떆�빐以��떎.
+                    fileUploadProgress(evt);
+                }).then(function (response) {
+                    $log.debug("�씠�뒋 �씠硫붿씪 諛쒖넚 寃곌낵 : ", response);
+                    return response;
+                });
+            },
         }
     }
     ])

--
Gitblit v1.8.0