|
发表于 2022-6-3 11:23:26
|
显示全部楼层
本帖最后由 沙鹰换大局 于 2022-6-3 11:24 编辑
通过一个按钮事件cick事件关联createProcessArea弹窗,弹窗里有俩个内容,一个是流程数据源,地址是/jaxrs/process/list/application/{id}。
还有一个是容器事件里load参数为:
var data = this.target._getSource().data;
new Element("img", {
"styles": {
"float": "left",
"width": "48px",
"height": "48px"
},
"src": (data.icon) ? "data:image/png;base64,"+data.icon : "/x_component_process_ApplicationExplorer/$Main/default/icon/application.png"
}).inject(this.target.node);
new Element("div", {
"styles": {
"line-height": "48px",
"color": "#333333",
"margin-left": "5px",
"font-size": "14px",
"width": "120px",
"float": "left",
"overflow": "hidden",
"height": "48px"
},
"text": data.name
}).inject(this.target.node); |
|