Browse Source

人员管理增加engineer字段

seimin 1 year ago
parent
commit
4e903c3ef8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      assets/js/controllers/system/systemFormCtrl.js

+ 3 - 0
assets/js/controllers/system/systemFormCtrl.js

@@ -865,6 +865,9 @@ sysFormly.controller('SystemformCtrl', ['$rootScope', '$scope', '$parse', '$filt
865 865
                                         if (vm.model.user.dept) {
866 866
                                             delete vm.model.user.dept.children;
867 867
                                         }
868
+                                        if($scope.formData.modelName === 'user'){
869
+                                            vm.model.user.engineer = 1;//处理人
870
+                                        }
868 871
                                     }
869 872
                                     if ($scope.formData.name == "company_edit") {
870 873
                                         if(vm.model.company.serviceTypeIds && typeof vm.model.company.serviceTypeIds !== 'string'){