OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2021-11-25 1c33fd8e9891593bffbff24503a8a472003df049
src/main/webapp/scripts/app/issue/issueAddDownTableConfig.controller.js
@@ -28,42 +28,36 @@
                        key : "PRIORITY",
                        width : "width-80-p",
                        position : 1,
                        display : true
                        display : false
                    }, {
                        name : $filter("translate")("common.importance"), // 중요도
                        key : "SEVERITY",
                        width : "width-80-p",
                        position : 2,
                        display : true
                    }, {
                        name : $filter("translate")("issue.issueType"), // 이슈 타입
                        key : "ISSUE_TYPE",
                        width : "width-140-p",
                        position : 3,
                        display : true
                        display : false
                    }, {
                        name : $filter("translate")("common.assigneeTeam"), // 담당부서
                        key : "ASSIGNEE_TEAM",
                        width : "width-100-p",
                        position : 4,
                        display : true
                        position : 3,
                        display : false
                    }, {
                        name : $filter("translate")("common.register"), // 등록자
                        key : "REGISTER",
                        width : "width-100-p",
                        position : 5,
                        position : 4,
                        display : false
                    }, {
                        name : $filter("translate")("common.period"), // 기간
                        key : "PERIOD",
                        width : "width-140-p",
                        position : 6,
                        position : 5,
                        display : false
                    }, {
                        name : $filter("translate")("common.lastChangeDate"), // 최근 변경일
                        key : "MODIFY_DATE",
                        width : "width-100-p",
                        position : 7,
                        position : 6,
                        display : false
                    }, {
                    }]
@@ -136,9 +130,23 @@
                    var deferred = $q.defer();
                    var content = {
                        issueId : $rootScope.currentDetailIssueId,
                        delValue : $scope.vm.issueDownTableConfigs.splice(6,1),
                        issueTableConfigs : JSON.stringify($scope.vm.issueDownTableConfigs)
                    };
                    // angular.forEach($scope.vm.issueDownTableConfigs, function (delVaue) {
                    //     if ($scope.vm.issueDownTableConfigs.indexOf(delVaue.name) === "") {
                    //         $scope.vm.issueDownTableConfigs.splice(delVaue,1);
                    //     }
                    //
                    // })
                    // for (var i = 0; i < $scope.vm.issueDownTableConfigs; i++) {
                    //     if ($scope.vm.issueDownTableConfigs == "") {
                    //         $scope.vm.issueDownTableConfigs.splice(i,1);
                    //         i--;
                    //     }
                    // }
                    IssueTableConfig.downDetail($resourceProvider.getContent(content,
                        $resourceProvider.getPageContent(0, 1000))).then(function (result) {
                        if (result.data.message.status !== "success") {