From bfb7e19d367cef0bd4242c55dd0e612d2c84c588 Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 수, 01 12월 2021 21:29:21 +0900 Subject: [PATCH] 이슈 리스트 프로젝트 이름 두개 셋팅 수정 달력 크기 수정 진행중 --- src/main/webapp/scripts/app/issue/issueModify.controller.js | 29 +++++++++++++++++++---------- 1 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/scripts/app/issue/issueModify.controller.js b/src/main/webapp/scripts/app/issue/issueModify.controller.js index 8d55538..61eed8f 100644 --- a/src/main/webapp/scripts/app/issue/issueModify.controller.js +++ b/src/main/webapp/scripts/app/issue/issueModify.controller.js @@ -59,7 +59,7 @@ priorityId : "", // �슦�꽑�닚�쐞 �븘�씠�뵒 severityId : "", // 以묒슂�룄 �븘�씠�뵒 issueStatusId : "", // �씠�뒋 �긽�깭 �븘�씠�뵒 - users : [], // �떞�떦�옄 + // users : [], // �떞�떦�옄 departments : [], // �떞�떦遺��꽌 files : [], // �뾽濡쒕뱶 �뙆�씪 attachedFiles : [], // �꽟癒몃끂�듃濡� �뙆�씪 �뾽濡쒕뱶瑜� �븷 寃쎌슦 �꽌踰꾩뿉�꽌 pk瑜� �뵲怨� issue id�� �뿰�룞 �옉�뾽�씠 �븘�슂�븯�떎. @@ -144,7 +144,7 @@ }); $scope.$watch("vm.form.issueTypeId", function (newValue, oldValue) { - $scope.vm.partnerVos = $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) { @@ -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.getPartnerList($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.partnerVos = result.data.data.usePartnerVos; + $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