Jelajahi Sumber

修复组织管理新建人员某些情况报错的问题

unknown 5 tahun lalu
induk
melakukan
b2072f2995

+ 0 - 1
o2web/source/x_component_Org/List.js

@@ -264,7 +264,6 @@ MWF.xApplication.Org.List.Item = new Class({
         input.focus();
         input.focus();
         input.addEvents({
         input.addEvents({
             "blur": function(){
             "blur": function(){
-                debugger;
                 var value = this.get("value");
                 var value = this.get("value");
                 if (value){
                 if (value){
                     if (typeOf(attr)==="object"){
                     if (typeOf(attr)==="object"){

+ 1 - 1
o2web/source/x_component_Org/PersonExplorer.js

@@ -157,7 +157,7 @@ MWF.xApplication.Org.PersonExplorer.PersonContent = new Class({
     },
     },
     _loadContent: function(){
     _loadContent: function(){
         this._listBaseInfor();
         this._listBaseInfor();
-        if( this.data.id ){
+        if( this.data && this.data.id ){
             this._listAttribute();
             this._listAttribute();
             this._listIdentity();
             this._listIdentity();
             this._listRole();
             this._listRole();