Browse Source

REPORT-114169 fix: 【多租户】新建数据连接输入框样式问题

research/mss-2.0
Austin.Duan 7 months ago
parent
commit
008573646a
  1. 2
      src/modules/pages/maintain/forms/components/form.jdbc.ts
  2. 9
      src/modules/pages/maintain/maintain.ts

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

@ -295,7 +295,7 @@ export class FormJdbc extends BI.Widget {
forms: [{ forms: [{
type: BI.Editor.xtype, type: BI.Editor.xtype,
$value: 'password', $value: 'password',
cls: 'bi-border bi-border-radius', cls: 'bi-border-bottom',
width: 300, width: 300,
height: 20, height: 20,
allowBlank: true, allowBlank: true,

9
src/modules/pages/maintain/maintain.ts

@ -25,7 +25,7 @@ export class Maintain extends BI.Widget {
render() { render() {
const { isEdit, databaseType } = this.getEditConnection(); const { isEdit, databaseType } = this.getEditConnection();
const titleText = getTextByDatabaseType(databaseType); const titleText = getTextByDatabaseType(databaseType);
return { return {
type: BI.VTapeLayout.xtype, type: BI.VTapeLayout.xtype,
hgap: 5, hgap: 5,
@ -82,12 +82,13 @@ export class Maintain extends BI.Widget {
this.socketTip.setVisible(true); this.socketTip.setVisible(true);
} }
api.setEditedConnectionStatus(this.model.connectionSelectedOne.connectionName); this.model.connectionSelectedOne
&& api.setEditedConnectionStatus(this.model.connectionSelectedOne.connectionName);
} }
private renderItems() { private renderItems() {
const { type } = this.getEditConnection(); const { type } = this.getEditConnection();
return [{ return [{
type: MaintainForm.xtype, type: MaintainForm.xtype,
connectionType: type, connectionType: type,
@ -108,7 +109,7 @@ export class Maintain extends BI.Widget {
const connectionJDBC = this.model.connectionSelectedOne.connectionData as ConnectionJDBC; const connectionJDBC = this.model.connectionSelectedOne.connectionData as ConnectionJDBC;
databaseType = getJdbcDatabaseType(connectionJDBC.database, connectionJDBC.driver).databaseType; databaseType = getJdbcDatabaseType(connectionJDBC.database, connectionJDBC.driver).databaseType;
} }
return { return {
type: this.model.connectionSelectedOne.connectionType, type: this.model.connectionSelectedOne.connectionType,
text: this.model.connectionSelectedOne.connectionName, text: this.model.connectionSelectedOne.connectionName,

Loading…
Cancel
Save