Browse Source

fix: DEC-10040 预览页面显示kerberos认证

qufenxi
alan 5 years ago
parent
commit
25fcf5107d
  1. 10
      src/modules/pages/connection/connection_jdbc/connection_jdbc.ts

10
src/modules/pages/connection/connection_jdbc/connection_jdbc.ts

@ -1,5 +1,5 @@
import { shortcut, store } from '@core/core';
import { Vertical } from 'ui';
import { Vertical, Layout } from 'ui';
import { FormItemXtype } from '../components/form_item/form_item';
import { CollapseXtype, EVENT_CHANGE } from 'src/modules/components/collapse/collapse';
import { ConnectionJdbcModelXtype, ConnectionJdecModel } from './connection_jdbc.model';
@ -45,6 +45,14 @@ export class ConnectionJdbc extends BI.Widget {
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Port'),
value: port,
},
authType ?
{
type: FormItemXtype,
name: BI.i18nText('Dec-Dcm_Connection_Form_AuthType'),
value: authType,
} : {
type: Layout,
},
{
type: FormItemXtype,
name: authType ? BI.i18nText('Dec-Dcm_Connection_Form_Principal') : BI.i18nText('Dec-Dcm_Connection_Form_UserName'),

Loading…
Cancel
Save