$scope.queryDlqMessageByConsumerGroup = function()

in src/main/resources/static/src/dlqMessage.js [59:99]


    $scope.queryDlqMessageByConsumerGroup = function () {
        $("#noMsgTip").css("display", "none");
        if ($scope.timepickerEnd < $scope.timepickerBegin) {
            Notification.error({message: "endTime is later than beginTime!", delay: 2000});
            return
        }
        if ($scope.selectedConsumerGroup === [] || (typeof $scope.selectedConsumerGroup) == "object") {
            return
        }
        $http({
            method: "POST",
            url: "dlqMessage/queryDlqMessageByConsumerGroup.query",
            data: {
                topic: DLQ_GROUP_TOPIC_PREFIX + $scope.selectedConsumerGroup,
                begin: $scope.timepickerBegin.valueOf(),
                end: $scope.timepickerEnd.valueOf(),
                pageNum: $scope.paginationConf.currentPage,
                pageSize: $scope.paginationConf.itemsPerPage,
                taskId: $scope.taskId
            }
        }).success(function (resp) {
            if (resp.status === 0) {
                $scope.messageShowList = resp.data.page.content;
                if ($scope.messageShowList.length == 0){
                    $("#noMsgTip").removeAttr("style");
                }
                for (const message of $scope.messageShowList) {
                    message.checked = false;
                }
                console.log($scope.messageShowList);
                if (resp.data.page.first) {
                    $scope.paginationConf.currentPage = 1;
                }
                $scope.paginationConf.currentPage = resp.data.page.number + 1;
                $scope.paginationConf.totalItems = resp.data.page.totalElements;
                $scope.taskId = resp.data.taskId
            } else {
                Notification.error({message: resp.errMsg, delay: 2000});
            }
        });
    }