更新时间:2023-02-01 12:38:35
http({
method: POST,
url:Detail.aspx / GetData,
data:JSON.stringify({dateString:dateValue,pageNumber:pgNum}),
contentType:application / json,
dataType:json
})。then(function(response){
var AllObject = JSON.parse(response.data。 d);
http({ method: "POST", url: "Detail.aspx/GetData", data: JSON.stringify({ dateString: dateValue, pageNumber: pgNum }), contentType: "application/json", dataType: "json" }).then(function (response) { var AllObject = JSON.parse(response.data.d);
scope.Data = AllObject [0];
debugger;
var PageDetail = AllObject [1];
scope.Data = AllObject[0]; debugger; var PageDetail = AllObject[1];
scope.pg = PageDetail;
debugger;
});
var numOfPagToDisplay =
scope.pg = PageDetail; debugger; }); var numOfPagToDisplay =