shopDetails.js 779 Bytes
(function (angular) {
    function shopDetailsInfoDefine($scope,aiNicheService,DTOptionsBuilder, $uibModalInstance,param) {
        // 配置DataTables选项
        $scope.dtOptions = DTOptionsBuilder.newOptions()
        // 禁用分页(默认开启)
            .withOption('paging', false)
            // 关闭列排序(默认开启)
            .withOption('ordering', false);
        $scope.detailsInfo = [];
        aiNicheService.getShopDetailsInfo(param,function(response) {
            $scope.detailsInfo = response.data;
        });

        //取消
        $scope.cancel = function () {
            $uibModalInstance.dismiss('cancel');
        };
    }

    angular.module('AIniche').controller('shopDetailsInfoDefine', shopDetailsInfoDefine);
})(angular);