Browse Source

Merge pull request #1040 in DEC/decision-webui-dcm from bugfix/10.0 to feature/10.0

* commit 'd448b9a8ca2c235968312ad37012957ad0927016':
  DEC-16248 feat: Kyligence企业版数据源支持平台适配
  KERNEL-6272 feat: FTP,数据连接等系统管理配置密码的地方需要屏蔽记住密码功能
research/11.0
superman 4 years ago
parent
commit
ab3df2ed2d
  1. 10
      src/modules/constants/constant.ts
  2. 1
      src/modules/pages/maintain/forms/components/form.jdbc.ts

10
src/modules/constants/constant.ts

@ -446,6 +446,16 @@ export const DATA_BASE_TYPES = [
type: 'jdbc', type: 'jdbc',
hasSchema: true, hasSchema: true,
kerberos: false, kerberos: false,
}, {
text: 'Kyligence',
databaseType: 'kyligence',
driver: 'org.apache.kylin.jdbc.Driver',
url: 'jdbc:kylin://hostname:port/database',
commonly: false,
internal: true,
type: 'jdbc',
hasSchema: true,
kerberos: false,
}, { }, {
text: 'Microsoft SQL Server', text: 'Microsoft SQL Server',
databaseType: 'sql-server', databaseType: 'sql-server',

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

@ -260,6 +260,7 @@ export class FormJdbc extends BI.Widget {
allowBlank: true, allowBlank: true,
value: password, value: password,
inputType: 'password', inputType: 'password',
autocomplete: 'new-password',
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Password'), watermark: BI.i18nText('Dec-Dcm_Connection_Form_Password'),
ref: (_ref: any) => { ref: (_ref: any) => {
this.form.password = _ref; this.form.password = _ref;

Loading…
Cancel
Save