From d25c62b6ff3ef7637f9358cfb0782c6706c9b55d Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 목, 02 12월 2021 10:13:00 +0900 Subject: [PATCH] 이슈 메일 전송 이력 남기기 완료 * 바로 이력이 안남겨지는 문제 해결필요(현재 새로고침을 해야 이력이 보임) --- src/main/webapp/scripts/app/issue/issueModify.controller.js | 33 +++++++++++++++++++++------------ 1 files changed, 21 insertions(+), 12 deletions(-) diff --git a/src/main/webapp/scripts/app/issue/issueModify.controller.js b/src/main/webapp/scripts/app/issue/issueModify.controller.js index 0ae8ec0..61eed8f 100644 --- a/src/main/webapp/scripts/app/issue/issueModify.controller.js +++ b/src/main/webapp/scripts/app/issue/issueModify.controller.js @@ -43,7 +43,7 @@ }; $scope.vm = { - companyVos : "", + partnerVos : "", search : { id : parameter.id, deep : "02" // �봽濡쒖젥�듃 �뿰愿��맂 紐⑤뱺 �젙蹂대�� �뼱�뒓�젙�룄源뚯� 媛��졇�삱吏� 寃곗젙, 01 - �궗�슜�옄, 愿�由ъ옄 �젙蹂� @@ -144,7 +144,7 @@ }); $scope.$watch("vm.form.issueTypeId", function (newValue, oldValue) { - $scope.vm.companyVos = $scope.fn.getPartners(); + $scope.vm.partnerVos = $scope.fn.getPartners(); }); @@ -169,9 +169,9 @@ } // �떞�떦�옄 �궘�젣 - function removeManager(index) { - $scope.vm.form.users.splice(index, 1); - } + function removeManager(index) { + $scope.vm.form.users.splice(index, 1); + } // �떞�떦遺��꽌 �궘�젣 function removeDepartment(index) { @@ -666,8 +666,8 @@ function containsPartner(name) { var result = false; - if ($scope.vm.companyVos != null) { - $scope.vm.companyVos.forEach(function (partnerVo) { + if ($scope.vm.partnerVos != null) { + $scope.vm.partnerVos.forEach(function (partnerVo) { if (name === partnerVo.name) { result = true; } @@ -737,6 +737,12 @@ switch (issueTypeCustomField.customFieldVo.customFieldType) { case "INPUT" : case "SINGLE_SELECT" : + case "NUMBER" : + case "DATETIME" : + case "IP_ADDRESS" : + case "EMAIL" : + case "SITE" : + case "TEL" : issueTypeCustomField.useValues = ""; break; @@ -896,12 +902,14 @@ } function getPartners() { - - HostingField.getCompanyList($resourceProvider.getContent( - {}, + var content = { + issueTypeId : $scope.vm.form.issueTypeId + }; + Issue.findPartners($resourceProvider.getContent( + content, $resourceProvider.getPageContent(0, 1))).then(function (result) { if (result.data.message.status === "success") { - $scope.vm.companyVos = result.data.content; + $scope.vm.partnerVos = result.data.data; } }); @@ -913,6 +921,7 @@ var promises = { detail : $scope.fn.detail(), getIssueTypes : $scope.fn.getIssueTypes(), + getPriorities : $scope.fn.getPriorities(), getSeverities : $scope.fn.getSeverities(), getPartners : $scope.fn.getPartners() }; @@ -924,4 +933,4 @@ $scope.fn.startExecute(); }]); - }); + }); \ No newline at end of file -- Gitblit v1.8.0