super-pages 0.7.60 → 0.7.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/super-pages.css +1 -1
- package/lib/super-pages.umd.min.js +4 -4
- package/package.json +1 -1
- package/packages/super-page/src/button-group.vue +67 -65
- package/packages/super-page/src/chart-page.vue +23 -3
- package/packages/super-page/src/chart-query-page.vue +11 -3
- package/packages/super-page/src/common-form-page.vue +48 -37
- package/packages/super-page/src/list-page.vue +65 -48
- package/packages/super-page/src/list-toolbar-page.vue +9 -1
- package/packages/super-page/src/super-page.vue +3 -2
- package/packages/super-page/src/util/ListButtonEvent.js +68 -42
- package/packages/super-page/src/util/formButtonEvent.js +3 -3
- package/packages/super-page/src/util/util.js +161 -86
- package/packages/super-page/src/util/workflowButtonEvent.js +1 -1
- package/packages/super-page/src/workflow-form-page.vue +269 -246
- package/packages/super-page-dialog/src/super-page-dialog.vue +16 -12
- package/src/i18n/langs/cn.js +2 -1
- package/src/i18n/langs/en.js +2 -1
|
@@ -106,6 +106,7 @@ import formHead from './form-head'
|
|
|
106
106
|
import callEvents from './util/callEvents'
|
|
107
107
|
import apis from './util/api'
|
|
108
108
|
import { getStoreInfo, setStoreInfo } from './util/common-util'
|
|
109
|
+
import { isPromise } from 'imatrix-ui/src/utils/common-util'
|
|
109
110
|
import eventBus from './util/eventBus'
|
|
110
111
|
export default {
|
|
111
112
|
name: 'WorkflowFormPage',
|
|
@@ -401,151 +402,162 @@ export default {
|
|
|
401
402
|
this.hasLoaded = true
|
|
402
403
|
return
|
|
403
404
|
}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
if (eventSetting && typeof eventSetting.jsContent !== 'undefined') {
|
|
413
|
-
jsContent = eventSetting.jsContent
|
|
414
|
-
}
|
|
415
|
-
this.myJsContent = jsContent
|
|
416
|
-
if (eventSetting) {
|
|
417
|
-
this.isNeedValueMapping = eventSetting.isNeedValueMapping
|
|
405
|
+
if (isPromise(beforeClickResult)) {
|
|
406
|
+
beforeClickResult.then((result) => {
|
|
407
|
+
if (result) {
|
|
408
|
+
this.clickWorkflowButtonOnSuccess(event, operation, eventSetting, workflowButton, model)
|
|
409
|
+
}
|
|
410
|
+
})
|
|
411
|
+
} else {
|
|
412
|
+
this.clickWorkflowButtonOnSuccess(event, operation, eventSetting, workflowButton, model)
|
|
418
413
|
}
|
|
414
|
+
}
|
|
415
|
+
})
|
|
416
|
+
},
|
|
417
|
+
clickWorkflowButtonOnSuccess (event, operation, eventSetting, workflowButton, model) {
|
|
418
|
+
// 获得当前环节的“逻辑设置”,包括:“意见是否必填”和“可执行条件”、“自动设值”、“转换规则”
|
|
419
|
+
this.logicSetting = this.getCurrentNodeLogicSetting(
|
|
420
|
+
workflowButton,
|
|
421
|
+
model,
|
|
422
|
+
event
|
|
423
|
+
)
|
|
424
|
+
// console.log('clickWorkflowButtonOn-this.logicSetting =', this.logicSetting)
|
|
425
|
+
let jsContent = false
|
|
426
|
+
if (eventSetting && typeof eventSetting.jsContent !== 'undefined') {
|
|
427
|
+
jsContent = eventSetting.jsContent
|
|
428
|
+
}
|
|
429
|
+
this.myJsContent = jsContent
|
|
430
|
+
if (eventSetting) {
|
|
431
|
+
this.isNeedValueMapping = eventSetting.isNeedValueMapping
|
|
432
|
+
}
|
|
419
433
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
434
|
+
let successOperation = false
|
|
435
|
+
if (
|
|
436
|
+
eventSetting &&
|
|
423
437
|
typeof eventSetting.successOperation !== 'undefined'
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
438
|
+
) {
|
|
439
|
+
successOperation = eventSetting.successOperation
|
|
440
|
+
}
|
|
441
|
+
this.successOperation = successOperation
|
|
442
|
+
let logSetting = false
|
|
443
|
+
if (eventSetting && typeof eventSetting.logSetting !== 'undefined') {
|
|
444
|
+
logSetting = eventSetting.logSetting
|
|
445
|
+
}
|
|
446
|
+
this.logSetting = logSetting
|
|
447
|
+
let dataConversionRule = ''
|
|
448
|
+
if (
|
|
449
|
+
this.logicSetting &&
|
|
436
450
|
this.logicSetting.current &&
|
|
437
451
|
typeof this.logicSetting.current.dataConversionRule !== 'undefined'
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
452
|
+
) {
|
|
453
|
+
dataConversionRule = this.logicSetting.current.dataConversionRule
|
|
454
|
+
}
|
|
455
|
+
let autoSetValueData = ''
|
|
456
|
+
if (
|
|
457
|
+
this.logicSetting &&
|
|
444
458
|
this.logicSetting.current &&
|
|
445
459
|
typeof this.logicSetting.current.autoSetValueData !== 'undefined'
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
460
|
+
) {
|
|
461
|
+
autoSetValueData = this.logicSetting.current.autoSetValueData
|
|
462
|
+
}
|
|
463
|
+
let taskMap = null
|
|
464
|
+
if (
|
|
465
|
+
eventSetting &&
|
|
452
466
|
eventSetting.taskMap &&
|
|
453
467
|
typeof eventSetting.taskMap !== 'undefined'
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
468
|
+
) {
|
|
469
|
+
taskMap = eventSetting.taskMap
|
|
470
|
+
}
|
|
471
|
+
const needDeleteFileUuid = this.getNeedDeleteFileUuidS()
|
|
472
|
+
if (event === 'returnTaskTo') {
|
|
473
|
+
// 退回按钮
|
|
474
|
+
this.dataConversionRule = dataConversionRule
|
|
475
|
+
this.getTaskInformitions(
|
|
476
|
+
this.system,
|
|
477
|
+
this.entityName,
|
|
478
|
+
this.beanName
|
|
479
|
+
)
|
|
480
|
+
} else if (event === 'returnToPreviousTask') {
|
|
481
|
+
// 驳回
|
|
482
|
+
this.returnToPreviousTask(
|
|
483
|
+
this.system,
|
|
484
|
+
this.tableName,
|
|
485
|
+
model,
|
|
486
|
+
this.formViewCode,
|
|
487
|
+
this.formViewVersion,
|
|
488
|
+
this.entityName,
|
|
489
|
+
jsContent,
|
|
490
|
+
successOperation,
|
|
491
|
+
this.isNeedValueMapping,
|
|
492
|
+
taskMap,
|
|
493
|
+
this.beanName
|
|
494
|
+
)
|
|
495
|
+
} else if (event === 'endInstance') {
|
|
496
|
+
// 强制结束
|
|
497
|
+
this.endInstance(
|
|
498
|
+
this.system,
|
|
499
|
+
this.tableName,
|
|
500
|
+
model,
|
|
501
|
+
this.formViewCode,
|
|
502
|
+
this.formViewVersion,
|
|
503
|
+
this.entityName,
|
|
504
|
+
jsContent,
|
|
505
|
+
successOperation,
|
|
506
|
+
this.isNeedValueMapping,
|
|
507
|
+
taskMap,
|
|
508
|
+
this.beanName
|
|
509
|
+
)
|
|
510
|
+
} else {
|
|
511
|
+
if (
|
|
512
|
+
!this.logicSetting ||
|
|
499
513
|
this.validateOpinion(
|
|
500
514
|
this.logicSetting.current,
|
|
501
515
|
operation,
|
|
502
516
|
model
|
|
503
517
|
) === true
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
}
|
|
544
|
-
})
|
|
518
|
+
) {
|
|
519
|
+
// 表示意见已填,或不需要必填意见
|
|
520
|
+
this.canExecuteWorkflow(model, event).then(result => {
|
|
521
|
+
if (result.canExecute === true) {
|
|
522
|
+
// 表示可执行
|
|
523
|
+
const entities = result.entities
|
|
524
|
+
if (entities && entities.length > 0) {
|
|
525
|
+
model = entities[0]
|
|
526
|
+
}
|
|
527
|
+
let endLogicSetting = null
|
|
528
|
+
if (this.logicSetting) {
|
|
529
|
+
endLogicSetting = this.logicSetting.end
|
|
530
|
+
}
|
|
531
|
+
this.formModel = model
|
|
532
|
+
this.clickWorflowButton(
|
|
533
|
+
event,
|
|
534
|
+
this.system,
|
|
535
|
+
this.tableName,
|
|
536
|
+
model,
|
|
537
|
+
this.definitionId,
|
|
538
|
+
this.emailTemplateCode,
|
|
539
|
+
operation,
|
|
540
|
+
this.formViewCode,
|
|
541
|
+
this.formViewVersion,
|
|
542
|
+
this.entityName,
|
|
543
|
+
jsContent,
|
|
544
|
+
this.formNoRuleCode,
|
|
545
|
+
successOperation,
|
|
546
|
+
dataConversionRule,
|
|
547
|
+
endLogicSetting,
|
|
548
|
+
autoSetValueData,
|
|
549
|
+
this.logSetting,
|
|
550
|
+
null,
|
|
551
|
+
null,
|
|
552
|
+
workflowButton ? workflowButton.isNeedValueMapping : false,
|
|
553
|
+
taskMap,
|
|
554
|
+
needDeleteFileUuid,
|
|
555
|
+
this.beanName
|
|
556
|
+
)
|
|
545
557
|
}
|
|
546
|
-
}
|
|
558
|
+
})
|
|
547
559
|
}
|
|
548
|
-
}
|
|
560
|
+
}
|
|
549
561
|
},
|
|
550
562
|
// 响应点击流程表单页面中的扩展按钮
|
|
551
563
|
clickWorkflowExtensionButtonOn (button) {
|
|
@@ -583,129 +595,140 @@ export default {
|
|
|
583
595
|
// 返回值为false,不继续执行按钮操作
|
|
584
596
|
return
|
|
585
597
|
}
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
598
|
+
if (isPromise(beforeClickResult)) {
|
|
599
|
+
beforeClickResult.then((result) => {
|
|
600
|
+
if (result) {
|
|
601
|
+
that.clickWorkflowExtensionButtonOnSuccess(button, model, that)
|
|
602
|
+
}
|
|
603
|
+
})
|
|
604
|
+
} else {
|
|
605
|
+
that.clickWorkflowExtensionButtonOnSuccess(button, model, that)
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
})
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
clickWorkflowExtensionButtonOnSuccess (button, model, that) {
|
|
612
|
+
// 是否可执行
|
|
613
|
+
that
|
|
614
|
+
.canExecute(
|
|
615
|
+
button.executableData,
|
|
616
|
+
model,
|
|
617
|
+
that.isSqlQuery,
|
|
618
|
+
that.tableName,
|
|
619
|
+
this.additionalParamMap
|
|
620
|
+
)
|
|
621
|
+
.then(result => {
|
|
622
|
+
if (result.canExecute === true) {
|
|
623
|
+
// 可执行条件解析结果为true
|
|
624
|
+
const entities = result.entities
|
|
625
|
+
if (entities && entities.length > 0) {
|
|
626
|
+
model = entities[0]
|
|
627
|
+
}
|
|
628
|
+
let jsContent = false
|
|
629
|
+
if (
|
|
630
|
+
typeof button.jsContent !== 'undefined' &&
|
|
605
631
|
button.jsContent !== ''
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
632
|
+
) {
|
|
633
|
+
if (button && typeof button.jsContent !== 'undefined') {
|
|
634
|
+
jsContent = button.jsContent
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
let successOperation = false
|
|
638
|
+
if (
|
|
639
|
+
button &&
|
|
614
640
|
typeof button.successOperation !== 'undefined'
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
641
|
+
) {
|
|
642
|
+
successOperation = button.successOperation
|
|
643
|
+
}
|
|
644
|
+
that.successOperation = successOperation
|
|
645
|
+
let dataConversionRule = ''
|
|
646
|
+
if (
|
|
647
|
+
button &&
|
|
622
648
|
typeof button.dataConversionRule !== 'undefined'
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
649
|
+
) {
|
|
650
|
+
dataConversionRule = button.dataConversionRule
|
|
651
|
+
}
|
|
652
|
+
let autoSetValueData = ''
|
|
653
|
+
if (
|
|
654
|
+
button &&
|
|
629
655
|
typeof button.autoSetValueData !== 'undefined'
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
}
|
|
705
|
-
})
|
|
656
|
+
) {
|
|
657
|
+
autoSetValueData = button.autoSetValueData
|
|
658
|
+
}
|
|
659
|
+
let taskMap = null
|
|
660
|
+
if (button && typeof button.taskMap !== 'undefined') {
|
|
661
|
+
taskMap = button.taskMap
|
|
662
|
+
}
|
|
663
|
+
const needDeleteFileUuid = this.getNeedDeleteFileUuidS()
|
|
664
|
+
if (this.isCommonButton(button.code)) {
|
|
665
|
+
// 表示点了非流程的“提交”、“同意”、“不同意”
|
|
666
|
+
that.clickWorflowButton(
|
|
667
|
+
'#_default_#' + button.code,
|
|
668
|
+
that.system,
|
|
669
|
+
that.tableName,
|
|
670
|
+
model,
|
|
671
|
+
that.definitionId,
|
|
672
|
+
that.emailTemplateCode,
|
|
673
|
+
null,
|
|
674
|
+
that.formViewCode,
|
|
675
|
+
that.formViewVersion,
|
|
676
|
+
that.entityName,
|
|
677
|
+
jsContent,
|
|
678
|
+
that.formNoRuleCode,
|
|
679
|
+
successOperation,
|
|
680
|
+
dataConversionRule,
|
|
681
|
+
that.logicSetting && that.logicSetting.end
|
|
682
|
+
? that.logicSetting.end
|
|
683
|
+
: null,
|
|
684
|
+
autoSetValueData,
|
|
685
|
+
button.logSetting,
|
|
686
|
+
this.ids,
|
|
687
|
+
this.isBatchProcessing,
|
|
688
|
+
button ? button.isNeedValueMapping : false,
|
|
689
|
+
taskMap,
|
|
690
|
+
needDeleteFileUuid,
|
|
691
|
+
this.beanName,
|
|
692
|
+
button
|
|
693
|
+
)
|
|
694
|
+
} else if (button.code === 'exportForm') {
|
|
695
|
+
// 表示点了“导出报告”
|
|
696
|
+
this.exportFormReport(
|
|
697
|
+
button.templateUUID,
|
|
698
|
+
button.templateShowPath,
|
|
699
|
+
jsContent,
|
|
700
|
+
that.entityName,
|
|
701
|
+
that.system,
|
|
702
|
+
button.logSetting,
|
|
703
|
+
taskMap,
|
|
704
|
+
that.additionalParamMap,
|
|
705
|
+
true,
|
|
706
|
+
this.beanName,
|
|
707
|
+
button,
|
|
708
|
+
this.tableName
|
|
709
|
+
)
|
|
710
|
+
} else {
|
|
711
|
+
that.clickWorkflowExtensionButton(
|
|
712
|
+
that.system,
|
|
713
|
+
that.tableName,
|
|
714
|
+
model,
|
|
715
|
+
that.definitionId,
|
|
716
|
+
that.emailTemplateCode,
|
|
717
|
+
that.formViewCode,
|
|
718
|
+
that.formViewVersion,
|
|
719
|
+
jsContent,
|
|
720
|
+
this.formNoRuleCode,
|
|
721
|
+
successOperation,
|
|
722
|
+
dataConversionRule,
|
|
723
|
+
autoSetValueData,
|
|
724
|
+
button,
|
|
725
|
+
needDeleteFileUuid,
|
|
726
|
+
this.entityName,
|
|
727
|
+
this.beanName
|
|
728
|
+
)
|
|
729
|
+
}
|
|
706
730
|
}
|
|
707
731
|
})
|
|
708
|
-
}
|
|
709
732
|
},
|
|
710
733
|
// 获取需要删除的附件
|
|
711
734
|
getNeedDeleteFileUuidS () {
|
|
@@ -134,26 +134,30 @@ export default {
|
|
|
134
134
|
position: this.jumpPageSetting._position,
|
|
135
135
|
listCode: this.jumpPageSetting._listCode,
|
|
136
136
|
rowIndex: this.jumpPageSetting._rowIndex }))
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
store.set(this.pageCode, pageSettingStoreInfo)
|
|
146
|
-
}
|
|
137
|
+
const paramStoreId = this.jumpPageSetting.paramStoreId
|
|
138
|
+
if (paramStoreId) {
|
|
139
|
+
const additionalParamMapJson = sessionStorage.getItem(paramStoreId)
|
|
140
|
+
sessionStorage.removeItem(paramStoreId)
|
|
141
|
+
if (pageSettingStoreInfo && additionalParamMapJson) {
|
|
142
|
+
// 缓存页面动态参数
|
|
143
|
+
pageSettingStoreInfo.additionalParamMap = JSON.parse(additionalParamMapJson)
|
|
144
|
+
store.set(this.pageCode, pageSettingStoreInfo)
|
|
147
145
|
}
|
|
148
146
|
}
|
|
149
147
|
// 原有代码
|
|
150
148
|
// store.set(this.pageCode, getPageParam(this.devMode, this.jumpMode, this.buttonCode))
|
|
151
149
|
pageSettingStoreInfo._pageDevMode = this.devMode
|
|
152
150
|
pageSettingStoreInfo._sourceButtonCode = this.buttonCode
|
|
153
|
-
|
|
151
|
+
const idsArr = this.jumpPageSetting.ids
|
|
152
|
+
if (idsArr) {
|
|
154
153
|
if (pageSettingStoreInfo) {
|
|
154
|
+
let idsStr = idsArr
|
|
155
|
+
if (Array.isArray(idsArr) && idsArr.length > 0) {
|
|
156
|
+
idsStr = idsArr.join(',')
|
|
157
|
+
}
|
|
155
158
|
pageSettingStoreInfo._pathQuery = {
|
|
156
|
-
ids:
|
|
159
|
+
ids: idsArr,
|
|
160
|
+
_idsStr: idsStr
|
|
157
161
|
}
|
|
158
162
|
}
|
|
159
163
|
}
|
package/src/i18n/langs/cn.js
CHANGED
|
@@ -58,7 +58,8 @@ const cn = {
|
|
|
58
58
|
pleaseSaveRow: '请先保存记录',
|
|
59
59
|
thePreconditionOfTheButtonTo: '该按钮前置条件为[{message}]',
|
|
60
60
|
onlyOneRecordCanBeselected: '只能选择一条记录',
|
|
61
|
-
selectAtLeastOneRecord: '至少选择一条记录'
|
|
61
|
+
selectAtLeastOneRecord: '至少选择一条记录',
|
|
62
|
+
asyncImport: '正在异步导入,请等待消息通知!'
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
export default cn
|
package/src/i18n/langs/en.js
CHANGED
|
@@ -59,7 +59,8 @@ const en = {
|
|
|
59
59
|
pleaseSaveRow: 'Please save row',
|
|
60
60
|
thePreconditionOfTheButtonTo: 'The Precondition Of The Button To [{message}]',
|
|
61
61
|
onlyOneRecordCanBeselected: 'Only One Record Can Be Selected',
|
|
62
|
-
selectAtLeastOneRecord: 'Select At Least One Record'
|
|
62
|
+
selectAtLeastOneRecord: 'Select At Least One Record',
|
|
63
|
+
asyncImport: 'Asynchronous import, please wait for message notification!'
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
export default en
|