Commit dbf066eb authored by liboyang's avatar liboyang

新增页面

parent ce5e8b07
......@@ -38,9 +38,10 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
var list=[];
for (var i=0;i<result.length;i++){
var json = {};
json.idCard=result[i][0];
json.reason=result[i][1];
json.failedType=result[i][2];
json.cardId=result[i][0];
json.note=result[i][1];
json.failedCardReasonId=result[i][2];
json.initiator = $rootScope.loginData.roleList[0].process
list.push(json)
}
console.log(list)
......@@ -52,7 +53,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
controller: ['$scope', 'HttpService','MessageService',function ($scope,HttpService,MessageService) {
var idCardArr =[];
for(var i=0;i<list.length;i++){
idCardArr.push(list[i].idCard);
idCardArr.push(list[i].cardId);
}
HttpService.getPersonInfo(idCardArr,function(data){
$scope.personInfo = data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment