master
yixian 4 years ago
parent f83495ab86
commit a60e34faf4

@ -17,7 +17,8 @@
Generating Report ... Generating Report ...
</div> </div>
<div class="box-body" ng-if="report && !report.loading"> <div class="box-body" ng-if="report && !report.loading">
<button class="btn btn-primary margin-bottom" type="button" ng-click="startValid(true)">Validate Again</button> <button class="btn btn-primary margin-bottom" type="button" ng-click="startValid(true)">Validate Again
</button>
<h3 class="text-center" ng-bind="report.date|date:'yyyy-MM-dd'"></h3> <h3 class="text-center" ng-bind="report.date|date:'yyyy-MM-dd'"></h3>
<h2 class="text-success text-center" ng-if="report.valid">订单校验成功</h2> <h2 class="text-success text-center" ng-if="report.valid">订单校验成功</h2>
<h2 class="text-danger text-center" ng-if="!report.valid">存在错误</h2> <h2 class="text-danger text-center" ng-if="!report.valid">存在错误</h2>
@ -29,23 +30,25 @@
</div> </div>
<div class="panel panel-warning" ng-if="report.not_exists.length"> <div class="panel panel-warning" ng-if="report.not_exists.length">
<div class="panel-heading">缺失的订单</div> <div class="panel-heading">缺失的订单</div>
<table class="table table-bordered table-striped margin-bottom"> <div class="panel-body table-responsive">
<thead> <table class="table table-bordered table-striped margin-bottom">
<tr> <thead>
<th ng-repeat="key in notExistsKeys" ng-bind="key"></th> <tr>
</tr> <th ng-repeat="key in notExistsKeys" ng-bind="key"></th>
</thead> </tr>
<tbody> </thead>
<tr ng-repeat="order in report.not_exists"> <tbody>
<td ng-repeat="key in notExistsKeys" ng-bind="order[key]"></td> <tr ng-repeat="order in report.not_exists">
</tr> <td ng-repeat="key in notExistsKeys" ng-bind="order[key]"></td>
</tbody> </tr>
</table> </tbody>
</table>
</div>
</div> </div>
<div class="panel panel-warning" ng-if="report.not_equals.length"> <div class="panel panel-warning" ng-if="report.not_equals.length">
<div class="panel-heading">订单有误</div> <div class="panel-heading">订单有误</div>
<div class="panel-body"> <div class="panel-body">
<pre ng-bind="report.not_equals|json"></pre> <pre ng-bind="report.not_equals|json"></pre>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save