$http({
'url':'/jtkj/yjmc',
'method':'POST',
})
.success(function(res) {
$scope.yjdh = res;
console.log(res);
var navUrl = ['/genSit','/news','/set','/manage','/cooperate','/admNet','/eplNet','/stuMan'];
//传值,循环遍历出数据
$scope.xlcd = [];
for(var i=0;i<res.length;i++){
$scope.yjid = res[i].yjid;
console.log(res[i].yjid);
ejnameGet($scope.yjid);
$http({
url:'/jtkj/ejmc',
method:'POST',
data:{yjid:$scope.yjid}
}).success(function(xlcd1){
//$scope.xlcd = xlcd1;
console.log(xlcd1);
xlcd.push(xlcd1);
})
}
//console.log($scope.xlcd);
$scope.xlcd = xlcd;
console.log($scope.xlcd);
吃鸡游戏
相关分类