Browse Source

密保问题查询修改

liusw 8 years ago
parent
commit
4a0b42e078

+ 1 - 1
src/main/webapp/resources/js/admin/controllers/SecQuestionCtrl.js

@@ -4,7 +4,7 @@ define(['app/app'], function (app) {
     //table设置
     //table设置
     $scope.secQuestionTableParams = new ngTableParams({
     $scope.secQuestionTableParams = new ngTableParams({
       page : 1,
       page : 1,
-      count : 5
+      count : 20
     }, {
     }, {
       total : 0,
       total : 0,
       getData : function ($defer, params) {
       getData : function ($defer, params) {

+ 2 - 2
src/main/webapp/resources/js/usercenter/controllers/forstore/account_manager_ctrl.js

@@ -981,8 +981,8 @@ define(['app/app'], function(app) {
     // 设置密保问题Controller
     // 设置密保问题Controller
     app.register.controller('UserQuestionCtrl', ['$scope', '$modalInstance', 'user', 'User', 'toaster', function($scope, $modalInstance, user, User, toaster){
     app.register.controller('UserQuestionCtrl', ['$scope', '$modalInstance', 'user', 'User', 'toaster', function($scope, $modalInstance, user, User, toaster){
     	//查询所有的密保问题
     	//查询所有的密保问题
-			$scope.pageInfo={page:1,size:100};
-			User.getAllSecQuestion({pageInfo:$scope.pageInfo},{},function(data){
+			$scope.pageInfo={page:1,count:20};
+			User.getAllSecQuestion($scope.pageInfo,function(data){
 				$scope.secQuestions = data.content;
 				$scope.secQuestions = data.content;
         //查询当前用户密保问题
         //查询当前用户密保问题
         User.getUserQuestion(function(data){
         User.getUserQuestion(function(data){