Commit 3c9ee015 authored by liboyang's avatar liboyang

数据核验报表

parent 6cef8138
......@@ -48,7 +48,7 @@
</div>
<input type="text"
class="form-control pull-right"
ng-model="choseDate"
value="{{choseDate}}"
id="datepicker1" readonly/>
</div>
</td>
......@@ -60,7 +60,7 @@
</div>
<input type="text"
class="form-control pull-right"
ng-model="choseDate"
value="{{choseDate}}"
id="datepicker2" readonly/>
</div>
</td>
......
......@@ -48,6 +48,12 @@ angular.module("AvatarCheck.dataCheckReport",['ngRoute', 'AvatarCheck.http'])
if(cardType==''){
cardType = -1;
}
if(date1=='{{choseDate}}'){
date1=$filter("date")(new Date(), "yyyy-MM-dd")
}
if(date2=='{{choseDate}}'){
date2=$filter("date")(new Date(), "yyyy-MM-dd")
}
HttpService.queryDataCheckReport(date1,date2,$scope.policeCode,$scope.policeName,cardType,function (data) {
$scope.dataCheckList = data;
console.log($scope.dataCheckList);
......
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