提交 403813d6 编写于 作者: ibizdev's avatar ibizdev

jackwang 部署微服务应用

上级 68d1537c
...@@ -107,7 +107,8 @@ export default class TREE_001Service extends ControlService { ...@@ -107,7 +107,8 @@ export default class TREE_001Service extends ControlService {
if (!srfnodeid || Object.is(srfnodeid, '#')) { if (!srfnodeid || Object.is(srfnodeid, '#')) {
srfnodeid = this.TREENODE_ROOT; await this.fillRootNodes(context, filter, list);
return Promise.resolve({ status: 200, data: list });
} }
let strTreeNodeId: string = srfnodeid; let strTreeNodeId: string = srfnodeid;
......
...@@ -201,6 +201,13 @@ export class TreeExpViewtreeexpbarTreeExpBarBase extends MainControlBase { ...@@ -201,6 +201,13 @@ export class TreeExpViewtreeexpbarTreeExpBarBase extends MainControlBase {
deKeyField:'hromhierarchy' deKeyField:'hromhierarchy'
}; };
} }
if (Object.is(expmode, 'ROOT')) {
return {
viewname: 'hromhierarchy-grid-view',
parentdata: {},
deKeyField:'hromhierarchy'
};
}
return null; return null;
} }
......
<split id="treeexpviewtreeexpbar" class='app-tree-exp-bar' v-model="split" mode="horizontal" @on-move-end="onSplitChange.apply(_self, arguments)"> <split id="treeexpviewtreeexpbar" class='app-tree-exp-bar' v-model="split" mode="horizontal" @on-move-end="onSplitChange.apply(_self, arguments)">
<div class="app-tree-exp-bar-left show-title-bar" slot='left'> <div class="app-tree-exp-bar-left" slot='left'>
<div class='tree-exp-bar-header'>
<div class="tree-exp-bar-title">{{ $t('app.treeExpBar.title') }}</div>
</div>
<div class='tree-exp-content'> <div class='tree-exp-content'>
<view_treeexpbar_tree <view_treeexpbar_tree
:viewState="viewState" :viewState="viewState"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册