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