From dccda7c93a2a18571fe43c5de1c66eabefc25139 Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 수, 17 11월 2021 18:31:06 +0900
Subject: [PATCH] 이슈 수정 진행[프론트]

---
 src/main/webapp/scripts/app/issue/issueModify.controller.js |   73 ++++++++++++++++++++++++++++++++++++
 1 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/scripts/app/issue/issueModify.controller.js b/src/main/webapp/scripts/app/issue/issueModify.controller.js
index 405291f..6023a47 100644
--- a/src/main/webapp/scripts/app/issue/issueModify.controller.js
+++ b/src/main/webapp/scripts/app/issue/issueModify.controller.js
@@ -450,6 +450,79 @@
                             return attachedFileIds;
                         })(),
                         startCompleteDateRange : $scope.vm.form.startCompleteDateRange,
+
+                        companyFields : (function () {
+                            var companyFields = [];
+
+                            angular.forEach($scope.vm.form.companyFields, function (companyField) {
+                                var useValues = [];
+
+                                if (angular.isArray(companyField.useValues)) {
+                                    angular.forEach(companyField.useValues, function (useValue) {
+                                        useValues.push(useValue.value);
+                                    });
+                                }
+                                else {
+                                    useValues.push(companyField.useValues);
+                                }
+
+                                //  useValues 瑜� 諛곗뿴濡� 蹂��솚�븳�떎.
+                                var temp = angular.copy(companyField);
+                                temp.useValues = useValues;
+                                companyFields.push(temp);
+                            });
+
+                            return companyFields;
+                        })(),
+
+                        ispFields : (function () {
+                            var ispFields = [];
+
+                            angular.forEach($scope.vm.form.ispFields, function (ispField) {
+                                var useValues = [];
+
+                                if (angular.isArray(ispField.useValues)) {
+                                    angular.forEach(ispField.useValues, function (useValue) {
+                                        useValues.push(useValue.value);
+                                    });
+                                }
+                                else {
+                                    useValues.push(ispField.useValues);
+                                }
+
+                                //  useValues 瑜� 諛곗뿴濡� 蹂��솚�븳�떎.
+                                var temp = angular.copy(ispField);
+                                temp.useValues = useValues;
+                                ispFields.push(temp);
+                            });
+
+                            return ispFields;
+                        })(),
+
+                        hostingFields : (function () {
+                            var hostingFields = [];
+
+                            angular.forEach($scope.vm.form.hostingFields, function (hostingField) {
+                                var useValues = [];
+
+                                if (angular.isArray(hostingField.useValues)) {
+                                    angular.forEach(hostingField.useValues, function (useValue) {
+                                        useValues.push(useValue.value);
+                                    });
+                                }
+                                else {
+                                    useValues.push(hostingField.useValues);
+                                }
+
+                                //  useValues 瑜� 諛곗뿴濡� 蹂��솚�븳�떎.
+                                var temp = angular.copy(hostingField);
+                                temp.useValues = useValues;
+                                hostingFields.push(temp);
+                            });
+
+                            return hostingFields;
+                        })(),
+
                         issueCustomFields : (function () {    //  �씠�뒋�뿉�꽌 �궗�슜�릺�뒗 �궗�슜�옄 �젙�쓽 �븘�뱶
                             var issueCustomFields = [];
 

--
Gitblit v1.8.0