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