提交 34fbe132 编写于 作者: U unknown

[流程管理]修复选人时可能出现两次人员选择界面的问题

上级 10ef7170
......@@ -18,10 +18,30 @@
"html": ""
},
"events": {
"queryLoad" : {
"code": "",
"html": ""
},
"beforeLoad" : {
"code": "",
"html": ""
},
"beforeModulesLoad":{
"code": "",
"html": ""
},
"afterModulesLoad":{
"code": "",
"html": ""
},
"postLoad": {
"code": "",
"html": ""
},
"load": {
"code": "",
"html": ""
},
"afterLoad": {
"code": "",
"html": ""
......@@ -66,10 +86,6 @@
"code": "",
"html": ""
},
"load": {
"code": "",
"html": ""
},
"unload": {
"code": "",
"html": ""
......
......@@ -18,10 +18,30 @@
"html": ""
},
"events": {
"queryLoad" : {
"code": "",
"html": ""
},
"beforeLoad" : {
"code": "",
"html": ""
},
"beforeModulesLoad":{
"code": "",
"html": ""
},
"afterModulesLoad":{
"code": "",
"html": ""
},
"postLoad": {
"code": "",
"html": ""
},
"load": {
"code": "",
"html": ""
},
"afterLoad": {
"code": "",
"html": ""
......@@ -50,10 +70,6 @@
"code": "",
"html": ""
},
"load": {
"code": "",
"html": ""
},
"unload": {
"code": "",
"html": ""
......
......@@ -18,11 +18,33 @@
"html": ""
},
"events": {
"queryLoad" : {
"code": "",
"html": ""
},
"beforeLoad" : {
"code": "",
"html": ""
},
"beforeModulesLoad":{
"code": "",
"html": ""
},
"afterModulesLoad":{
"code": "",
"html": ""
},
"postLoad": {
"code": "",
"html": ""
},
"load": {
"code": "",
"html": ""
},
"afterLoad": {
"code": "",
"html": ""
},
"beforeSave": {
"code": "",
......@@ -48,10 +70,6 @@
"code": "",
"html": ""
},
"load": {
"code": "",
"html": ""
},
"unload": {
"code": "",
"html": ""
......
......@@ -29,6 +29,9 @@ MWF.xApplication.cms.Xform.Readerfield = MWF.CMSReaderfield = new Class({
this.descriptionNode.setStyle("display", "none");
this.clickSelect();
ev.stopPropagation();
}.bind(this),
"click" : function (ev) {
ev.stopPropagation();
}.bind(this)
});
}
......@@ -194,7 +197,10 @@ MWF.xApplication.cms.Xform.Readerfield = MWF.CMSReaderfield = new Class({
if (this.json.showIcon!='no') this.iconNode = new Element("div", {
"styles": this.form.css[this.iconStyle],
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
}
}).inject(this.node, "before");
......@@ -232,7 +238,11 @@ MWF.xApplication.cms.Xform.Readerfield = MWF.CMSReaderfield = new Class({
if( !this.readonly ) {
this.node.setStyle("cursor" , "pointer");
this.node.addEvents({
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
});
if (this.json.showIcon!='no')this.iconNode = new Element("div", { //this.form.css[this.iconStyle],
"styles": {
......@@ -245,7 +255,11 @@ MWF.xApplication.cms.Xform.Readerfield = MWF.CMSReaderfield = new Class({
if (this.iconNode){
this.iconNode.setStyle("cursor" , "pointer");
this.iconNode.addEvents({
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
});
}
}
......
......@@ -52,7 +52,10 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
this.descriptionNode.setStyle("display", "none");
this.clickSelect();
ev.stopPropagation();
}.bind(this)
}.bind(this),
"click" : function (ev) {
ev.stopPropagation();
}
});
}
},
......@@ -545,7 +548,11 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
this.iconNode = new Element("div", {
"styles": this.form.css[this.iconStyle],
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
}
}).inject(this.node, "before");
}else if( this.form.json.nodeStyleWithhideModuleIcon ){
......@@ -582,14 +589,22 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
"id": this.json.id,
"MWFType": this.json.type,
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
}
});
if (this.json.showIcon!='no' && !this.form.json.hideModuleIcon) {
this.iconNode = new Element("div", {
"styles": this.form.css[this.iconStyle],
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
}
}).inject(this.node, "before");
}else if( this.form.json.nodeStyleWithhideModuleIcon ){
......
......@@ -29,7 +29,10 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield = new Class({
this.descriptionNode.setStyle("display", "none");
this.clickSelect();
ev.stopPropagation();
}.bind(this)
}.bind(this),
"click" : function (ev) {
ev.stopPropagation();
}
});
}
},
......@@ -196,7 +199,11 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield = new Class({
this.iconNode = new Element("div", {
"styles": this.form.css[this.iconStyle],
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
}
}).inject(this.node, "before");
}else if( this.form.json.nodeStyleWithhideModuleIcon ){
......@@ -237,7 +244,11 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield = new Class({
if( !this.readonly ) {
this.node.setStyle("cursor" , "pointer");
this.node.addEvents({
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
});
if (this.json.showIcon!='no' && !this.form.json.hideModuleIcon) {
this.iconNode = new Element("div", { //this.form.css[this.iconStyle],
......@@ -254,7 +265,11 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield = new Class({
if (this.iconNode){
this.iconNode.setStyle("cursor" , "pointer");
this.iconNode.addEvents({
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
});
}
......
......@@ -52,7 +52,10 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({
this.descriptionNode.setStyle("display", "none");
this.clickSelect();
ev.stopPropagation();
}.bind(this)
}.bind(this),
"click" : function (ev) {
ev.stopPropagation();
}
});
}
},
......@@ -521,7 +524,11 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({
this.iconNode = new Element("div", {
"styles": this.form.css[this.iconStyle],
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
}
}).inject(this.node, "before");
}else if( this.form.json.nodeStyleWithhideModuleIcon ){
......@@ -558,13 +565,21 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({
"id": this.json.id,
"MWFType": this.json.type,
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
}
});
if (this.json.showIcon!='no' && !this.form.json.hideModuleIcon) this.iconNode = new Element("div", {
"styles": this.form.css[this.iconStyle],
"events": {
"click": this.clickSelect.bind(this)
"click": function (ev) {
this.clickSelect();
ev.stopPropagation();
}.bind(this)
//this.clickSelect.bind(this)
}
}).inject(this.node, "before");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册