Pārlūkot izejas kodu

页码每页显示默认20条数据

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9427 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 gadi atpakaļ
vecāks
revīzija
9896e193c7
1 mainītis faili ar 66 papildinājumiem un 66 dzēšanām
  1. 66 66
      src/main/webapp/resources/js/index/app.js

+ 66 - 66
src/main/webapp/resources/js/index/app.js

@@ -849,7 +849,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 
         $scope.tableParams = new ngTableParams({
             page : 1,
-            count : 5,
+            count : 20,
             sorting: {
                 'releaseDetail.release.date': 'desc'
             }
@@ -967,7 +967,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 
 		$scope.tableParams = new ngTableParams({
 			page : 1,
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -1012,7 +1012,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.prodTableParams = new ngTableParams({
 			page : 1,
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -1170,7 +1170,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({ // ng-Table参数
 			page : 1,
-			count : 10,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -1802,7 +1802,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		}
 		$scope.customerParams = new ngTableParams({
 			page : 1,
-			count : 10
+			count : 20
 		}, {
 			total : 0,
 			counts: [5, 10, 25, 50],
@@ -1962,7 +1962,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		// 供应商物料信息
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -2226,7 +2226,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
   		
   		$scope.tableParams = new ngTableParams({ // ng-Table参数
   			page : 1,
-  			count : 5,
+  			count : 20,
   			sorting: {
   				display: 'desc',
                   date: 'desc'
@@ -2453,7 +2453,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({ // ng-Table参数
 			page : 1,
-			count : 5,
+			count : 20,
 			sorting: {
 				display: 'desc',
 				date: 'desc',
@@ -2747,7 +2747,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -2868,7 +2868,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 'inquiry.date': 'desc',
                 'inquiry.enterprise.enName': 'asc',
@@ -3257,7 +3257,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		// 物料信息
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -3743,7 +3743,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 'inquiry.date': 'desc',
                 'inquiry.enterprise.enName': 'asc',
@@ -3851,7 +3851,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 'date': 'desc',
                 'enterprise.enName': 'asc',
@@ -4011,7 +4011,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 
         $scope.tableParams = new ngTableParams({
             page : 1,
-            count : 10,
+            count : 20,
             sorting: {
 //                'tender.endDate': 'desc',
 //                'tender.enterprise.enName': 'asc',
@@ -4739,7 +4739,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 'quotation.date': 'desc'
             }
@@ -4979,7 +4979,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		BaseService.scrollBackToTop();
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -5020,7 +5020,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		BaseService.scrollBackToTop();
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -5072,7 +5072,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 
         $scope.tableParams = new ngTableParams({
             page : 1,
-            count : 10
+            count : 20
         }, {
             total : 0,
             counts: [10, 25, 50, 100],
@@ -5180,7 +5180,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 'delivery': 'asc',
 				'orderItemOrderCode': 'asc',
@@ -5464,7 +5464,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -6068,7 +6068,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
 				proofingDate: 'desc'
             }
@@ -6237,7 +6237,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
 				inDate: 'desc'
             }
@@ -6326,7 +6326,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
 				orderDate: 'desc'
             }
@@ -6404,7 +6404,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -6514,7 +6514,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -6615,7 +6615,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -6688,7 +6688,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -6761,7 +6761,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -6831,7 +6831,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -6935,7 +6935,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -7072,7 +7072,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		//获取应收对账单全部
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 recordDate: 'desc' 
             }
@@ -8244,7 +8244,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		var users = [];
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 userName: 'asc' 
             }
@@ -8904,7 +8904,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 	app.controller('LogCtrl', ['$scope', 'BaseService', 'ngTableParams', 'ErpLog', 'UsageLog', function($scope, BaseService, ngTableParams, ErpLog, UsageLog){
 		$scope.erpParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
 				time: 'desc'
             }
@@ -8927,7 +8927,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		});
 		$scope.usageParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
 				time: 'desc'
             }
@@ -9126,7 +9126,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1,
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc'
             }
@@ -9360,7 +9360,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -9445,7 +9445,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 date: 'desc' 
             }
@@ -9527,7 +9527,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
                 orderChangeDate: 'desc' 
             }
@@ -9663,7 +9663,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
 				date: 'desc' 
             }
@@ -10011,7 +10011,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -10700,7 +10700,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -10777,7 +10777,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -10993,7 +10993,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -11253,7 +11253,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.customerParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -11370,7 +11370,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		}
 		$scope.customerParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -11405,7 +11405,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.customerParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -11530,7 +11530,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		// 供应商物料信息
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -11640,7 +11640,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({ // ng-Table参数
 			page : 1,
-			count : 10,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -11832,7 +11832,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
         };
         $scope.tableParams = new ngTableParams({ // ng-Table参数
             page : 1,
-            count : 10,
+            count : 20,
             sorting: {
             }
         }, {
@@ -12026,7 +12026,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({ // ng-Table参数
 			page : 1,
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -12182,7 +12182,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
 				date: 'desc'
             }
@@ -12656,7 +12656,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		};
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -12962,7 +12962,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.customerParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [5, 10, 25, 50],
@@ -13308,7 +13308,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -13414,7 +13414,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 
         $scope.tableParams = new ngTableParams({
             page : 1,
-            count : 5,
+            count : 20,
             sorting: {
                 'tender.endDate': 'desc',
                 'tender.enterprise.enName': 'asc',
@@ -13491,7 +13491,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
         // 物料信息
         $scope.tableParams = new ngTableParams({
             page : 1,
-            count : 5,
+            count : 20,
             sorting: {
             }
         }, {
@@ -14588,7 +14588,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 
         $scope.tableParams = new ngTableParams({
             page : 1,
-            count : 5,
+            count : 20,
             sorting: {
                 'tender.endDate': 'desc',
                 'tender.enterprise.enName': 'asc',
@@ -15254,7 +15254,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.customerParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [],
@@ -15329,7 +15329,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.customerParams = new ngTableParams({
 			page : 1, 
-			count : 10
+			count : 20
 		}, {
 			total : 0, 
 			counts: [],
@@ -15437,7 +15437,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 10,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -15538,7 +15538,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 				// 物料信息
 				$scope.tableParams = new ngTableParams({
 					page : 1, 
-					count : 10
+					count : 20
 				}, {
 					total : 0, 
 					counts: [5, 10, 25, 50],
@@ -15910,7 +15910,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -16037,7 +16037,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -16225,7 +16225,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -16413,7 +16413,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {
@@ -16602,7 +16602,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		
 		$scope.tableParams = new ngTableParams({
 			page : 1, 
-			count : 5,
+			count : 20,
 			sorting: {
             }
 		}, {