|
|
@@ -2,6 +2,9 @@ define(['app/app'], function(app) {
|
|
|
app.register.controller('LogCtrl', ['$scope', '$rootScope', 'BaseService', 'ngTableParams', 'B2bErpLog', 'B2bUsageLog',
|
|
|
function ($scope, $rootScope, BaseService, ngTableParams, ErpLog, UsageLog) {
|
|
|
$rootScope.active = 'approvalflow_log';
|
|
|
+ $scope.exportXls = function () {
|
|
|
+ window.open(BaseService.getB2bUrl() + '/log/erp/xls');
|
|
|
+ };
|
|
|
$scope.erpParams = new ngTableParams({
|
|
|
page: 1,
|
|
|
count: 20,
|
|
|
@@ -25,9 +28,6 @@ define(['app/app'], function(app) {
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- $scope.export = function () {
|
|
|
- window.open(BaseService.getB2bUrl() + '/log/erp/xls');
|
|
|
- }
|
|
|
$scope.usageParams = new ngTableParams({
|
|
|
page: 1,
|
|
|
count: 20,
|