|
|
@ -9,7 +9,7 @@ import './maintain.less'; |
|
|
|
import { connectionType } from '@constants/env'; |
|
|
|
import { connectionType } from '@constants/env'; |
|
|
|
import { getJdbcDatabaseType, getTextByDatabaseType } from '../../app.service'; |
|
|
|
import { getJdbcDatabaseType, getTextByDatabaseType } from '../../app.service'; |
|
|
|
import { ConnectionJDBC } from 'src/modules/crud/crud.typings'; |
|
|
|
import { ConnectionJDBC } from 'src/modules/crud/crud.typings'; |
|
|
|
import { ListView } from '@fui/core'; |
|
|
|
import { ButtonGroup } from '@fui/core'; |
|
|
|
|
|
|
|
|
|
|
|
@shortcut() |
|
|
|
@shortcut() |
|
|
|
@store(MaintainModel) |
|
|
|
@store(MaintainModel) |
|
|
@ -19,7 +19,7 @@ export class Maintain extends BI.Widget { |
|
|
|
model: MaintainModel['model']; |
|
|
|
model: MaintainModel['model']; |
|
|
|
store: MaintainModel['store']; |
|
|
|
store: MaintainModel['store']; |
|
|
|
|
|
|
|
|
|
|
|
listView: ListView; |
|
|
|
buttonGroup: ButtonGroup; |
|
|
|
socketTip: LinkButton; |
|
|
|
socketTip: LinkButton; |
|
|
|
|
|
|
|
|
|
|
|
render() { |
|
|
|
render() { |
|
|
@ -64,9 +64,9 @@ export class Maintain extends BI.Widget { |
|
|
|
], |
|
|
|
], |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: BI.ListView.xtype, |
|
|
|
type: BI.ButtonGroup.xtype, |
|
|
|
ref: (_ref: ListView) => { |
|
|
|
ref: (_ref: ButtonGroup) => { |
|
|
|
this.listView = _ref; |
|
|
|
this.buttonGroup = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
items: this.renderItems(), |
|
|
|
items: this.renderItems(), |
|
|
|
}, |
|
|
|
}, |
|
|
|