Browse Source

Merge pull request #21 in DEC/decision-webui-dcm from ~FRANK.QIU/decision-webui-dcm:feature/10.0 to feature/10.0

* commit 'e0091dcda3eea722dc76e4a662da59f38a1c5589':
  无JIRA fix: 先禁用了输入ip端口数据库名称
qufenxi
Frank.Qiu 5 years ago
parent
commit
5bb33be31f
  1. 3
      src/modules/pages/maintain/forms/components/form.jdbc.ts

3
src/modules/pages/maintain/forms/components/form.jdbc.ts

@ -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;
}, },

Loading…
Cancel
Save