From e0af96194a1fdc3c92d125f67370071b948dcde5 Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 월, 22 11월 2021 18:29:55 +0900 Subject: [PATCH] 이슈 상세 연관,하위 테이블 표시 설정 - [프론트] --- src/main/webapp/scripts/app/issue/issueAddRelationTableConfig.controller.js | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/scripts/app/issue/issueAddRelationTableConfig.controller.js b/src/main/webapp/scripts/app/issue/issueAddRelationTableConfig.controller.js index 6e890a9..44826ba 100644 --- a/src/main/webapp/scripts/app/issue/issueAddRelationTableConfig.controller.js +++ b/src/main/webapp/scripts/app/issue/issueAddRelationTableConfig.controller.js @@ -22,51 +22,45 @@ // 蹂��닔 紐⑥쓬 $scope.vm = { + issueId: "", issueTableConfigs : [{ name : $filter("translate")("common.priority"), // �슦�꽑�닚�쐞 - issueId : "", key : "PRIORITY", width : "width-100-p", position : 1, display : true }, { name : $filter("translate")("common.importance"), // 以묒슂�룄 - issueId : "", key : "SEVERITY", width : "width-80-p", position : 2, display : true }, { name : $filter("translate")("issue.issueType"), // �씠�뒋 ���엯 - issueId : "", key : "ISSUE_TYPE", width : "width-140-p", position : 3, display : true }, { name : $filter("translate")("common.assignee"), // �떞�떦�옄 - issueId : "", key : "ASSIGNEE", width : "width-100-p", position : 4, display : true }, { name : $filter("translate")("common.register"), // �벑濡앹옄 - issueId : "", key : "REGISTER", width : "width-100-p", position : 5, display : false }, { name : $filter("translate")("common.period"), // 湲곌컙 - issueId : "", key : "PERIOD", width : "width-140-p", position : 6, display : false }, { name : $filter("translate")("common.lastChangeDate"), // 理쒓렐 蹂�寃쎌씪 - issueId : "", key : "MODIFY_DATE", width : "width-100-p", position : 7, @@ -90,10 +84,11 @@ $rootScope.spinner = true; var content = { + issueId : $rootScope.currentDetailIssueId, issueTableConfigs : JSON.stringify($scope.vm.issueTableConfigs) }; - IssueTableConfig.addRelation($resourceProvider.getContent(content, + IssueTableConfig.relationAdd($resourceProvider.getContent(content, $resourceProvider.getPageContent(0, 0))).then(function (result) { if (result.data.message.status === "success") { @@ -137,7 +132,7 @@ function getIssueTableConfigs() { var deferred = $q.defer(); - IssueTableConfig.detail($resourceProvider.getContent({}, + IssueTableConfig.relationDetail($resourceProvider.getContent(content, $resourceProvider.getPageContent(0, 1000))).then(function (result) { if (result.data.message.status !== "success") { SweetAlert.error($filter("translate")("issue.failedToIssueTableColumnLookup"), result.data.message.message); // �씠�뒋 �뀒�씠釉� 而щ읆 議고쉶 �떎�뙣 -- Gitblit v1.8.0