From add0cdefd56c50c5427945c895574f71202e7ed6 Mon Sep 17 00:00:00 2001 From: minhee <alsdldlfrl@gmail.com> Date: 수, 16 3월 2022 18:12:51 +0900 Subject: [PATCH] - api로 이슈 추가 시 사용자정의필드 타입으로 체크 => 정규식표현검사로 체크로 변경 --- src/main/webapp/custom_components/js-workflow/js-workflow.directive.js | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js b/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js index 6c99bba..7a36c78 100644 --- a/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js +++ b/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js @@ -176,6 +176,17 @@ angular.forEach($scope.vm.issueStatusVos, function (startStatus) { if ($scope.vm.targetStatusId != startStatus.id) { + switch (startStatus.issueStatusType) { + case 'READY' : + startStatus.issueStatusTypeKr = '��湲�' + break; + case 'OPEN' : + startStatus.issueStatusTypeKr = '吏꾪뻾' + break; + case 'CLOSE' : + startStatus.issueStatusTypeKr = '醫낅즺' + break; + } availableStatus.push(startStatus); } }); @@ -583,6 +594,17 @@ } if (!exist) { + switch (issueStatus.issueStatusType) { + case 'READY' : + issueStatus.issueStatusTypeKr = '��湲�' + break; + case 'OPEN' : + issueStatus.issueStatusTypeKr = '吏꾪뻾' + break; + case 'CLOSE' : + issueStatus.issueStatusTypeKr = '醫낅즺' + break; + } $scope.vm.issueStatuses.push(issueStatus); } }); -- Gitblit v1.8.0