|
|
@ -1,6 +1,6 @@ |
|
|
|
import { shortcut, extend, emptyFn, createWidget, i18nText } from "@/core"; |
|
|
|
import { shortcut, extend, emptyFn, createWidget, i18nText } from "@/core"; |
|
|
|
import { Pane } from "@/base"; |
|
|
|
import { Pane } from "@/base"; |
|
|
|
import { Asynctree, MultiPopupView, TreeView } from "@/case"; |
|
|
|
import { AsyncTree, MultiPopupView, TreeView } from "@/case"; |
|
|
|
|
|
|
|
|
|
|
|
@shortcut() |
|
|
|
@shortcut() |
|
|
|
export class MultiTreePopup extends Pane { |
|
|
|
export class MultiTreePopup extends Pane { |
|
|
@ -19,7 +19,7 @@ export class MultiTreePopup extends Pane { |
|
|
|
maxHeight: 400, |
|
|
|
maxHeight: 400, |
|
|
|
onLoaded: emptyFn, |
|
|
|
onLoaded: emptyFn, |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: Asynctree.xtype, |
|
|
|
type: AsyncTree.xtype, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
@ -34,7 +34,7 @@ export class MultiTreePopup extends Pane { |
|
|
|
this.selectedValues = {}; |
|
|
|
this.selectedValues = {}; |
|
|
|
|
|
|
|
|
|
|
|
this.tree = createWidget(opts.el, { |
|
|
|
this.tree = createWidget(opts.el, { |
|
|
|
type: Asynctree.xtype, |
|
|
|
type: AsyncTree.xtype, |
|
|
|
showLine: opts.showLine, |
|
|
|
showLine: opts.showLine, |
|
|
|
height: 400, |
|
|
|
height: 400, |
|
|
|
cls: "popup-view-tree", |
|
|
|
cls: "popup-view-tree", |
|
|
|