add 临时合同

master
luoyang 6 years ago
parent 971f0ca39a
commit 8496689ca0

@ -777,6 +777,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) { $scope.uploadAgreeFile = function (file) {
if (file != null) { if (file != null) {
if (file.size > 2 * 1024 * 1024) { if (file.size > 2 * 1024 * 1024) {

@ -138,6 +138,10 @@
</div> </div>
</div> </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" <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}"> ng-class="{'box-warning':partner.approve_result!=5,'box-danger':partner.approve_result==5}">
<div class="box-header with-border"> <div class="box-header with-border">

Loading…
Cancel
Save