提交 8d5185d5 编写于 作者: U unknown

修复人员选择组件异步模式选择后描述文字未隐藏的问题

上级 986673d4
...@@ -598,9 +598,18 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class( ...@@ -598,9 +598,18 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class(
this.fireEvent("loadSelector", [selector]) this.fireEvent("loadSelector", [selector])
}, },
selectOnClose: function(){ selectOnClose: function(){
v = this._getBusinessData(); var v = this._getBusinessData();
if (!v || !v.length) if (this.descriptionNode) this.descriptionNode.setStyle("display", "block"); if (!v || !v.length) if (this.descriptionNode) this.descriptionNode.setStyle("display", "block");
}, },
checkDescription: function(){
if (!this.descriptionNode)return;
var v = this._getBusinessData();
if (!v || !v.length){
this.descriptionNode.setStyle("display", "block");
}else{
this.descriptionNode.setStyle("display", "none");
}
},
/** /**
* @summary 弹出选择界面. * @summary 弹出选择界面.
...@@ -1314,6 +1323,8 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class( ...@@ -1314,6 +1323,8 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class(
this.node.store("data", values); this.node.store("data", values);
this._setBusinessData(values); this._setBusinessData(values);
this.checkDescription();
if (this.json.isInput){ if (this.json.isInput){
if (this.combox){ if (this.combox){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册