提交 66cf712d 编写于 作者: 蔡祥熠

Merge branch 'hotfix/org_promise' into 'master'

Merge of hotfix/org_promise 修复人员选择组件异步模式选择后描述文字未隐藏的问题 to master

See merge request o2oa/o2oa!347
......@@ -598,9 +598,18 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class(
this.fireEvent("loadSelector", [selector])
},
selectOnClose: function(){
v = this._getBusinessData();
var v = this._getBusinessData();
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 弹出选择界面.
......@@ -1314,6 +1323,8 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class(
this.node.store("data", values);
this._setBusinessData(values);
this.checkDescription();
if (this.json.isInput){
if (this.combox){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册