Sfoglia il codice sorgente

人员管理增加engineer字段

seimin 1 anno fa
parent
commit
4e903c3ef8
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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
                                         if (vm.model.user.dept) {
865
                                         if (vm.model.user.dept) {
866
                                             delete vm.model.user.dept.children;
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
                                     if ($scope.formData.name == "company_edit") {
872
                                     if ($scope.formData.name == "company_edit") {
870
                                         if(vm.model.company.serviceTypeIds && typeof vm.model.company.serviceTypeIds !== 'string'){
873
                                         if(vm.model.company.serviceTypeIds && typeof vm.model.company.serviceTypeIds !== 'string'){