Commit b3c11bae authored by neo's avatar neo

[dev] add button for approve

parent 8fb9306b
......@@ -684,6 +684,10 @@ function ($scope, $rootScope, $q, $log, $timeout, $state, $translate, projectSer
});
}
function approve(){
$log.debug("approve");
}
function triggerSchedulerJob() {
vatWorkflowService.execute();
}
......
......@@ -18,10 +18,12 @@
<div id="vat-menu-buttons" style="display:inline-block;">
<a ng-repeat="menu in menus" ui-sref-active="active" ng-click="setReportSession(menu.name);" ui-sref=".{{menu.name}}"
atms-permission permission-control-type="ngIf" permission-code="{{menu.permission}}">{{menu.state | translate}}</a>
<a ng-click="approve();" >报表提审</a>
</div>
<!--<button class="btn btn-vat-primary" translate="TriggerMessageSchedulerJob" ng-click="triggerSchedulerJob()"></button>-->
</div>
......
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