Browse Source

工作日管理加loading

seimin 2 years ago
parent
commit
886cc41171
1 changed files with 2 additions and 0 deletions
  1. 2 0
      assets/js/controllers/system/user/schedulingplan.js

+ 2 - 0
assets/js/controllers/system/user/schedulingplan.js

@@ -54,7 +54,9 @@ app.controller("calendarCtrl", function($scope,$rootScope, $filter, $q, $timeout
54
     };
54
     };
55
 
55
 
56
     $scope.saveMonth = function(){
56
     $scope.saveMonth = function(){
57
+        $rootScope.isMask = true;
57
         api_bpm_data.addData('workdayexception', {workdayexception: {list: $scope.arrList}}).then(function(response) {
58
         api_bpm_data.addData('workdayexception', {workdayexception: {list: $scope.arrList}}).then(function(response) {
59
+            $rootScope.isMask = false;
58
             if (response.status == 200) {
60
             if (response.status == 200) {
59
                 SweetAlert.swal({
61
                 SweetAlert.swal({
60
                     title: "修改成功!",
62
                     title: "修改成功!",