Browse Source

fix(admin):隐藏管理后台在售信息统计的各月信息统计

wangyc 7 years ago
parent
commit
e7a51443c5

+ 20 - 20
src/main/webapp/resources/js/admin/controllers/trade/goodsStatisticsCtrl.js

@@ -9,32 +9,32 @@ define([ 'app/app' ], function(app) {
 		});
 
 		// 各月新增器件数量
-		ComponentActive.getIncreaseCount({}, function(data) {
-			$scope.increaseCmpCount = data;
-		}, function (response) {
-			toaster.pop('error', '数据获取失败,请重试');
-		});
+		// ComponentActive.getIncreaseCount({}, function(data) {
+		// 	$scope.increaseCmpCount = data;
+		// }, function (response) {
+		// 	toaster.pop('error', '数据获取失败,请重试');
+		// });
 
 		//各月新增品牌数量
-		BrandActive.getIncreaseCount({}, function(data) {
-			$scope.increaseBrandCount = data;
-		}, function (response) {
-			toaster.pop('error', '数据获取失败,请重试');
-		});
+		// BrandActive.getIncreaseCount({}, function(data) {
+		// 	$scope.increaseBrandCount = data;
+		// }, function (response) {
+		// 	toaster.pop('error', '数据获取失败,请重试');
+		// });
 
 		//各月新增批次数量
-		Goods.getIncreaseBatch({}, function(data) {
-			$scope.increaseBatchCount = data;
-		}, function (response) {
-			toaster.pop('error', '数据获取失败,请重试');
-		});
+		// Goods.getIncreaseBatch({}, function(data) {
+		// 	$scope.increaseBatchCount = data;
+		// }, function (response) {
+		// 	toaster.pop('error', '数据获取失败,请重试');
+		// });
 
 		//各月新增在售器件数量
-		Goods.getIncreaseCmp({}, function(data) {
-			$scope.increaseInSaleCmpCount = data;
-		}, function (response) {
-			toaster.pop('error', '数据获取失败,请重试');
-		});
+		// Goods.getIncreaseCmp({}, function(data) {
+		// 	$scope.increaseInSaleCmpCount = data;
+		// }, function (response) {
+		// 	toaster.pop('error', '数据获取失败,请重试');
+		// });
 
 		// 首页轮播数据统计
 		CommonCountAPI.getActived({}, function (data) {

+ 2 - 2
src/main/webapp/resources/view/admin/trade/trade_goods_statistics.html

@@ -77,7 +77,7 @@
 			</div>
 		</div>
 	</div>
-	<div class="box">
+	<!--<div class="box">
 		<div class="box-header well" data-original-title>
 			<i class="icon-user"></i> 各月新增信息统计
 		</div>
@@ -121,5 +121,5 @@
 				</li>
 			</ul>
 		</div>
-	</div>
+	</div>-->
 </div>