Pārlūkot izejas kodu

工作日管理加loading

seimin 2 gadi atpakaļ
vecāks
revīzija
886cc41171
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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 56
     $scope.saveMonth = function(){
57
+        $rootScope.isMask = true;
57 58
         api_bpm_data.addData('workdayexception', {workdayexception: {list: $scope.arrList}}).then(function(response) {
59
+            $rootScope.isMask = false;
58 60
             if (response.status == 200) {
59 61
                 SweetAlert.swal({
60 62
                     title: "修改成功!",