mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 03:45:59 +00:00
perspectives WIP
This commit is contained in:
@@ -49,6 +49,9 @@ export abstract class PerspectiveTreeNode {
|
||||
abstract get isExpandable();
|
||||
abstract get childNodes(): PerspectiveTreeNode[];
|
||||
abstract get icon(): string;
|
||||
get fieldName() {
|
||||
return this.codeName;
|
||||
}
|
||||
abstract getNodeLoadProps(parentRows: any[]): PerspectiveDataLoadProps;
|
||||
get isRoot() {
|
||||
return this.parentNode == null;
|
||||
@@ -138,6 +141,10 @@ export class PerspectiveTableColumnNode extends PerspectiveTreeNode {
|
||||
return this.column.columnName;
|
||||
}
|
||||
|
||||
get fieldName() {
|
||||
return this.codeName + 'Ref';
|
||||
}
|
||||
|
||||
get title() {
|
||||
return this.column.columnName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user