Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
b3c11bae
Commit
b3c11bae
authored
Oct 22, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] add button for approve
parent
8fb9306b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
vat-layout.ctrl.js
...web/src/main/webapp/app/vat/vat-layout/vat-layout.ctrl.js
+4
-0
vat-layout.html
atms-web/src/main/webapp/app/vat/vat-layout/vat-layout.html
+2
-0
No files found.
atms-web/src/main/webapp/app/vat/vat-layout/vat-layout.ctrl.js
View file @
b3c11bae
...
...
@@ -684,6 +684,10 @@ function ($scope, $rootScope, $q, $log, $timeout, $state, $translate, projectSer
});
}
function
approve
(){
$log
.
debug
(
"approve"
);
}
function
triggerSchedulerJob
()
{
vatWorkflowService
.
execute
();
}
...
...
atms-web/src/main/webapp/app/vat/vat-layout/vat-layout.html
View file @
b3c11bae
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment