Commit cda7ee83 authored by neo's avatar neo

[dev] fixed js for debug

parent 4ace01d1
......@@ -430,6 +430,11 @@ function ($scope, $rootScope, $q, $log, $timeout, $state, $translate, projectSer
}
}
$scope.approve = function approve(){
alert(vatSessionService.project.id);
alert(vatSessionService.project.period);
}
$scope.showProjectStatus = function () {
var modalInstance = $uibModal.open({
animation: false,
......@@ -684,9 +689,6 @@ function ($scope, $rootScope, $q, $log, $timeout, $state, $translate, projectSer
});
}
function approve(){
$log.debug("approve");
}
function triggerSchedulerJob() {
vatWorkflowService.execute();
......
......@@ -20,7 +20,7 @@
atms-permission permission-control-type="ngIf" permission-code="{{menu.permission}}">{{menu.state | translate}}</a>
</div>
<div style="float:right;margin-right:150px;">
<button class="btn btn-default btn-primary" ng-click="approve('')">
<button class="btn btn-default btn-primary" ng-click="approve()">
<span>报表提审</span>
</button>
</div>
......
This diff is collapsed.
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