|
|
@ -17,8 +17,6 @@ export class FormJdbc extends BI.Widget { |
|
|
|
oldPassword = ''; |
|
|
|
oldPassword = ''; |
|
|
|
allDatabaseTypes = getAllDatabaseTypes(); |
|
|
|
allDatabaseTypes = getAllDatabaseTypes(); |
|
|
|
|
|
|
|
|
|
|
|
private schemas = [] as string[]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
testStatus: any; |
|
|
|
testStatus: any; |
|
|
|
advancedSet: any; |
|
|
|
advancedSet: any; |
|
|
|
formUser: any; |
|
|
|
formUser: any; |
|
|
@ -350,7 +348,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
vgap: 15, |
|
|
|
vgap: 15, |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
|
value: schema, |
|
|
|
value: schema, |
|
|
|
items: this.schemas, |
|
|
|
items: schema ? [{ text: schema, value:schema }] : [], |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.form.schema = _ref; |
|
|
|
this.form.schema = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -674,7 +672,6 @@ export class FormJdbc extends BI.Widget { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public setSchemas(schemas: string[]) { |
|
|
|
public setSchemas(schemas: string[]) { |
|
|
|
this.schemas = schemas; |
|
|
|
|
|
|
|
this.form.schema.setEnable(true); |
|
|
|
this.form.schema.setEnable(true); |
|
|
|
if (schemas.length > 0) { |
|
|
|
if (schemas.length > 0) { |
|
|
|
const value = this.form.schema.getValue()[0]; |
|
|
|
const value = this.form.schema.getValue()[0]; |
|
|
|