Browse Source

fix: 工作考核优化

zhangying 5 days ago
parent
commit
890316a647
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/resources/static/app/main/party/checkData/list.js

+ 3 - 1
src/main/resources/static/app/main/party/checkData/list.js

@@ -123,7 +123,9 @@
             $scope.save = function (isflag) {
                 if (isflag) {
                     $loading.show();
-                    // $scope.dataModel.dzzdm = AuthUser.getUser().DPCode;
+                    if ($scope.dataModel.dzzdm == null) {
+                        $scope.dataModel.dzzdm = AuthUser.getUser().DPCode;
+                    }
                     $http({
                         method: "post",
                         url: "../../api/checkdata/saveCheckdata",