From 41641a0282e74015f38afbc5611e519073c8ca6f Mon Sep 17 00:00:00 2001 From: alan Date: Wed, 25 Sep 2019 18:25:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20DEC-10044=20=E7=BC=96=E8=BE=91=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=BF=9E=E6=8E=A5=E6=97=B6=EF=BC=8C=E5=B7=A6=E4=B8=8A?= =?UTF-8?q?=E8=A7=92=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=90=8D=E7=A7=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/connection/connection_jndi/connection_jndi.ts | 2 +- src/modules/pages/maintain/maintain.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/pages/connection/connection_jndi/connection_jndi.ts b/src/modules/pages/connection/connection_jndi/connection_jndi.ts index c7ede1d..65f3c05 100644 --- a/src/modules/pages/connection/connection_jndi/connection_jndi.ts +++ b/src/modules/pages/connection/connection_jndi/connection_jndi.ts @@ -30,7 +30,7 @@ export class ConnectionJdbc extends BI.Widget { }, { type: Htape, - height: 110, + height: 120, items: [ { el: { diff --git a/src/modules/pages/maintain/maintain.ts b/src/modules/pages/maintain/maintain.ts index d920dc1..526dd10 100644 --- a/src/modules/pages/maintain/maintain.ts +++ b/src/modules/pages/maintain/maintain.ts @@ -7,7 +7,7 @@ import { ApiFactory } from 'src/modules/crud/apiFactory'; const api = new ApiFactory().create(); import './maintain.less'; import { connectionType } from '@constants/env'; -import { getJdbcDatabaseType } from '../../app.service'; +import { getJdbcDatabaseType, getTextByDatabaseType } from '../../app.service'; import { ConnectionJDBC } from 'src/modules/crud/crud.typings'; export const MaintainXtype = 'dec.dcm.maintain'; @@ -20,8 +20,8 @@ export class Maintain extends BI.Widget { listView: any; render() { - const { text, isEdit, databaseType } = this.getEditConnection(); - const titleText = this.model.isCopy ? `${text}-${BI.i18nText('Dec-Dcm_Copy')}` : text; + const { isEdit, databaseType } = this.getEditConnection(); + const titleText = getTextByDatabaseType(databaseType); return { type: Vtape, @@ -43,7 +43,7 @@ export class Maintain extends BI.Widget { }, { type: Label, - text: `${titleText}(${databaseType})`, + text: titleText, }, ], height: 40,