add 临时合同

master
luoyang 6 years ago
parent 01cfdcdb55
commit 88b7fd4d23

@ -691,6 +691,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
});
};
$scope.Export = function () {
var url = '/dev/' + $scope.partner.client_moniker +'/export/aggregate/agreepdf' ;
return url;
}
$scope.uploadAgreeFile = function (file) {
if (file != null) {
if (file.size > 2 * 1024 * 1024) {

@ -138,6 +138,10 @@
</div>
</div>
</div>
<div> <a role="button" class="btn-group btn btn-warning" type="button" ng-href="{{Export()}}">
<i class="fa fa-download" ></i>制作临时合同</a>
</div>
<div class="box" ng-if="('100'|withRole) && partner.show_all_permission"
ng-class="{'box-warning':partner.approve_result!=5,'box-danger':partner.approve_result==5}">
<div class="box-header with-border">

Loading…
Cancel
Save