Commit b5c8546c authored by guantiantian's avatar guantiantian

dispatchTadk页面增加导出异地速递信息功能

parent 8156d7ab
...@@ -63,6 +63,16 @@ ...@@ -63,6 +63,16 @@
<h4>余证数:{{restCount}}</h4> <h4>余证数:{{restCount}}</h4>
</li> </li>
</ul> </ul>
<div class="box-tools pull-right">
<button
type="button"
class="btn btn-primary pull-right"
style="height: 30px; line-height: 17px; margin-right: 10px"
ng-click="downloadInfo()"
>
导出异地速递信息
</button>
</div>
</div> </div>
<div <div
ng-repeat="type in cycleSheetData track by $index" ng-repeat="type in cycleSheetData track by $index"
......
...@@ -227,6 +227,16 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -227,6 +227,16 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
} }
$scope.downloadInfo = function () {
var taskDate = $("#datepicker").val()
var url =
"../TaskList/exportPostPersonInfo?" +
"taskDate=" +
taskDate
var a = document.createElement("a")
document.body.appendChild(a)
a.href = encodeURI(url)
a.click()
}
}); });
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