Browse Source

Merge pull request #111 in DEC/decision-webui-dcm from ~ALAN/decision-webui-dcm:feature/10.0 to release/10.0

* commit 'b4907e84599a3360f8b3d1b21e4006250c488262':
  fix: DEC-10479 输入数字的地方不可以为空
qufenxi
alan 5 years ago
parent
commit
0817232456
  1. 16
      src/modules/pages/maintain/forms/components/form.jdbc.ts

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

@ -394,7 +394,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: initialSize,
validationChecker: [{
errorText: BI.i18nText('Dec-Dcm_Connection_Check_Integer'),
@ -413,7 +413,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: maxActive,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Active'),
validationChecker: [{
@ -432,7 +432,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: maxIdle,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Idle'),
validationChecker: [{
@ -451,7 +451,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: minIdle,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Idle'),
validationChecker: [{
@ -471,7 +471,7 @@ export class FormJdbc extends BI.Widget {
{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: maxWait,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Wait'),
validationChecker: [{
@ -558,7 +558,7 @@ export class FormJdbc extends BI.Widget {
{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: timeBetweenEvictionRunsMillis,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_Between_Eviction_Millis'),
validationChecker: [{
@ -583,7 +583,7 @@ export class FormJdbc extends BI.Widget {
forms: [{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: numTestsPerEvictionRun,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Tests_PerEviction_Run_Num'),
validationChecker: [{
@ -603,7 +603,7 @@ export class FormJdbc extends BI.Widget {
{
type: TextCheckerXtype,
width: 300,
allowBlank: true,
allowBlank: false,
value: minEvictableIdleTimeMillis,
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Evictable_Idle_Time_Millis'),
validationChecker: [{

Loading…
Cancel
Save