|
|
@ -116,6 +116,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Name'), |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Name'), |
|
|
|
value: '', // TODO: 数据库名称待适配
|
|
|
|
value: '', // TODO: 数据库名称待适配
|
|
|
|
|
|
|
|
disabled: true, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.form.database = _ref; |
|
|
|
this.form.database = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -130,6 +131,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: host, |
|
|
|
value: host, |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Host'), |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Host'), |
|
|
|
|
|
|
|
disabled: true, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.form.host = _ref; |
|
|
|
this.form.host = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -150,6 +152,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: port === 0 ? '' : port, |
|
|
|
value: port === 0 ? '' : port, |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Port'), |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Port'), |
|
|
|
|
|
|
|
disabled: true, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.form.port = _ref; |
|
|
|
this.form.port = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|