提交 80ada101 编写于 作者: 蔡祥熠

Merge branch 'cherry-pick-2f18517c' into 'wrdp'

Merge branch 'fix/Process.template' into 'release'

See merge request o2oa/o2oa!2849
...@@ -10,7 +10,7 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); ...@@ -10,7 +10,7 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* "action": "", //执行的脚本 * "action": "", //执行的脚本
* "default": true, //是否默认选中 * "default": true, //是否默认选中
* "icon": "folder.png", //图标 * "icon": "folder.png", //图标
* "sub": [ //节点的子节点 * "sub": [ //节点的子节点
* { * {
* "expand": true, * "expand": true,
* "title": "", * "title": "",
...@@ -120,6 +120,7 @@ MWF.xApplication.process.Xform.Tree = MWF.APPTree = new Class( ...@@ -120,6 +120,7 @@ MWF.xApplication.process.Xform.Tree = MWF.APPTree = new Class(
* //可以在脚本中获取该组件 * //可以在脚本中获取该组件
* var tree = this.form.get("fieldId").tree; //获取组件对象 * var tree = this.form.get("fieldId").tree; //获取组件对象
* var children = tree.children[]; //获取第一层树叶 * var children = tree.children[]; //获取第一层树叶
* tree.reLoad( json ); //给整颗树重新赋数据,并重新加载
*/ */
this.tree = new MWF.widget.Tree(this.node, options); this.tree = new MWF.widget.Tree(this.node, options);
this.tree.form = this.form; this.tree.form = this.form;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册