quanwei
2 days ago 73b874c72ad55eb9eef21c36160ac0de58f0189e
mobile/pages/plus/business/information.vue
@@ -143,7 +143,7 @@
            if (_this.currentCardId) {
               params.business_card_id = _this.currentCardId;
            }
            _this._post('plus.business/business/getOverview', params, function(res) {
            _this._post('plus.business.business/getOverview', params, function(res) {
               _this.totalViews = res.data.views || 0;
               _this.totalSaves = res.data.saves || 0;
               _this.totalShares = res.data.shares || 0;
@@ -152,7 +152,7 @@
         // 获取图表数据
         getChartData() {
            let _this = this;
            _this._post('plus.business/business/getChartData', {
            _this._post('plus.business.business/getChartData', {
               timeRange: _this.timeRange,
               business_card_id: _this.currentCardId
            }, function(res) {
@@ -167,17 +167,17 @@
            };
            
            // 获取访问来源
            _this._post('plus.business/business/getVisitSources', params, function(res) {
            _this._post('plus.business.business/getVisitSources', params, function(res) {
               _this.visitSources = res.data || [];
            });
            
            // 获取地域分布
            _this._post('plus.business/business/getRegions', params, function(res) {
            _this._post('plus.business.business/getRegions', params, function(res) {
               _this.regions = res.data || [];
            });
            
            // 获取名片对比数据
            _this._post('plus.business/business/getCardComparison', {}, function(res) {
            _this._post('plus.business.business/getCardComparison', {}, function(res) {
               _this.cardComparison = res.data || [];
            });
         },