|
@@ -95,7 +95,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
|
|
|
if (o2.typeOf(v)=="function"){
|
|
if (o2.typeOf(v)=="function"){
|
|
|
return v.then(function(re){
|
|
return v.then(function(re){
|
|
|
this._valueMerge(values, re)
|
|
this._valueMerge(values, re)
|
|
|
- }.bind(this));
|
|
|
|
|
|
|
+ }.bind(this), function(){});
|
|
|
}else{
|
|
}else{
|
|
|
return values.concat(v);
|
|
return values.concat(v);
|
|
|
}
|
|
}
|
|
@@ -133,9 +133,9 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
|
|
|
});
|
|
});
|
|
|
return arr;
|
|
return arr;
|
|
|
}.bind(this)).catch(function(){
|
|
}.bind(this)).catch(function(){
|
|
|
- console.log("catch error : get duty")
|
|
|
|
|
|
|
+ console.log("catch error : can not get duty : " + duty.name, + "-" + uName);
|
|
|
});
|
|
});
|
|
|
- }.bind(this));
|
|
|
|
|
|
|
+ }.bind(this), function(){});
|
|
|
values.push(promise);
|
|
values.push(promise);
|
|
|
}
|
|
}
|
|
|
}.bind(this));
|
|
}.bind(this));
|
|
@@ -884,7 +884,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
|
|
|
promise.then(function(values){
|
|
promise.then(function(values){
|
|
|
o2.promiseAll(values).then(function(v){
|
|
o2.promiseAll(values).then(function(v){
|
|
|
this.checkChange(oldValues, v)
|
|
this.checkChange(oldValues, v)
|
|
|
- }.bind(this));
|
|
|
|
|
|
|
+ }.bind(this), function(){});
|
|
|
|
|
|
|
|
// if (values && values.isAG){
|
|
// if (values && values.isAG){
|
|
|
// values.then(function(v){
|
|
// values.then(function(v){
|
|
@@ -893,7 +893,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
|
|
|
// }else{
|
|
// }else{
|
|
|
// this.checkChange(oldValues, values)
|
|
// this.checkChange(oldValues, values)
|
|
|
// }
|
|
// }
|
|
|
- }.bind(this));
|
|
|
|
|
|
|
+ }.bind(this), function(){});
|
|
|
},
|
|
},
|
|
|
// __setData: function(value){
|
|
// __setData: function(value){
|
|
|
// if (!value) return false;
|
|
// if (!value) return false;
|
|
@@ -1058,17 +1058,19 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
|
|
|
flag = true;
|
|
flag = true;
|
|
|
this.__setValue(values);
|
|
this.__setValue(values);
|
|
|
return values;
|
|
return values;
|
|
|
- }.bind(this));
|
|
|
|
|
|
|
+ }.bind(this), function(){});
|
|
|
}else{
|
|
}else{
|
|
|
flag = true;
|
|
flag = true;
|
|
|
this.__setValue(values);
|
|
this.__setValue(values);
|
|
|
return values
|
|
return values
|
|
|
}
|
|
}
|
|
|
- }.bind(this));
|
|
|
|
|
|
|
+ }.bind(this), function(){});
|
|
|
|
|
|
|
|
this.moduleValueAG = p;
|
|
this.moduleValueAG = p;
|
|
|
if (p) p.then(function(){
|
|
if (p) p.then(function(){
|
|
|
this.moduleValueAG = null;
|
|
this.moduleValueAG = null;
|
|
|
|
|
+ }.bind(this), function(){
|
|
|
|
|
+ this.moduleValueAG = null;
|
|
|
}.bind(this));
|
|
}.bind(this));
|
|
|
return p;
|
|
return p;
|
|
|
|
|
|