@lambo-design/variant-form 2.2.9-beta.0 → 2.2.9-beta.1

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.
Files changed (66) hide show
  1. package/README.md +201 -0
  2. package/babel.config.js +5 -0
  3. package/dist/lib/VFormDesigner.common-report.html +53 -0
  4. package/dist/lib/VFormDesigner.common.js +123773 -0
  5. package/dist/lib/VFormDesigner.common.js.map +1 -0
  6. package/dist/lib/VFormDesigner.css +1 -0
  7. package/dist/lib/VFormDesigner.umd-report.html +53 -0
  8. package/dist/lib/VFormDesigner.umd.js +123783 -0
  9. package/dist/lib/VFormDesigner.umd.js.map +1 -0
  10. package/dist/lib/VFormDesigner.umd.min-report.html +53 -0
  11. package/dist/lib/VFormDesigner.umd.min.js +222 -0
  12. package/dist/lib/demo.html +10 -0
  13. package/dist/lib/img/indicator-card-header.7291bcc9.png +0 -0
  14. package/dist/lib/img/lan_navigator.53090c9d.png +0 -0
  15. package/dist/lib/img/layout-header-bg-canglan.b1d97e4e.png +0 -0
  16. package/dist/lib/img/layout-header-bg-cuiwei.67019b6d.png +0 -0
  17. package/dist/lib/img/lv_navigator.f07fb393.png +0 -0
  18. package/index_template/index_dev.html +19 -0
  19. package/index_template/index_prod.html +28 -0
  20. package/install-render.js +29 -0
  21. package/install.js +41 -0
  22. package/jsconfig.json +10 -0
  23. package/license.txt +8 -0
  24. package/package.json +10 -4
  25. package/public/favicon.ico +0 -0
  26. package/public/index.html +19 -0
  27. package/src/App.vue +45 -0
  28. package/src/components/form-designer/designer.js +1 -0
  29. package/src/components/form-designer/form-widget/field-widget/organ-select-widget.vue +254 -0
  30. package/src/components/form-designer/form-widget/field-widget/relation-form-widget.vue +397 -0
  31. package/src/components/form-designer/form-widget/field-widget/sub-form-widget.vue +660 -0
  32. package/src/components/form-designer/form-widget/field-widget/user-select-widget.vue +333 -0
  33. package/src/components/form-designer/form-widget/index.vue +1 -1
  34. package/src/components/form-designer/index.vue +14 -12
  35. package/src/components/form-designer/setting-panel/form-setting.vue +59 -60
  36. package/src/components/form-designer/setting-panel/index.vue +2 -0
  37. package/src/components/form-designer/setting-panel/property-editor/allowMultiple-editor.vue +24 -0
  38. package/src/components/form-designer/setting-panel/property-editor/border-editor.vue +1 -1
  39. package/src/components/form-designer/setting-panel/property-editor/buttonStyle-editor.vue +1 -1
  40. package/src/components/form-designer/setting-panel/property-editor/clearable-editor.vue +1 -1
  41. package/src/components/form-designer/setting-panel/property-editor/displayFields-editor.vue +91 -0
  42. package/src/components/form-designer/setting-panel/property-editor/displayStyle-editor.vue +1 -1
  43. package/src/components/form-designer/setting-panel/property-editor/field-relation-form/relation-form-defaultValue-editor.vue +18 -0
  44. package/src/components/form-designer/setting-panel/property-editor/filterable-editor.vue +1 -1
  45. package/src/components/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  46. package/src/components/form-designer/setting-panel/property-editor/name-editor.vue +2 -2
  47. package/src/components/form-designer/setting-panel/property-editor/operList-editor.vue +64 -0
  48. package/src/components/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  49. package/src/components/form-designer/setting-panel/property-editor/relationForm-editor.vue +74 -0
  50. package/src/components/form-designer/setting-panel/property-editor/relationItems-editor.vue +91 -0
  51. package/src/components/form-designer/setting-panel/property-editor/relationType-editor.vue +67 -0
  52. package/src/components/form-designer/setting-panel/property-editor/rootOrgan-editor.vue +248 -0
  53. package/src/components/form-designer/setting-panel/property-editor/size-editor.vue +5 -5
  54. package/src/components/form-designer/setting-panel/property-editor/subFormId-editor.vue +74 -0
  55. package/src/components/form-designer/setting-panel/propertyRegister.js +144 -133
  56. package/src/components/form-designer/toolbar-panel/index.vue +11 -10
  57. package/src/components/form-designer/widget-panel/index.vue +11 -11
  58. package/src/components/form-designer/widget-panel/widgetsConfig.js +425 -297
  59. package/src/extension/extension-loader.js +1 -1
  60. package/src/icons/svg/relation-form-field.svg +1 -0
  61. package/src/lang/en-US.js +39 -0
  62. package/src/lang/zh-CN.js +42 -3
  63. package/src/main.js +29 -0
  64. package/src/utils/config.js +1 -1
  65. package/src/utils/util.js +35 -1
  66. package/vue.config.js +93 -0
@@ -14,31 +14,31 @@ export const containers = [
14
14
  }
15
15
  },
16
16
 
17
- {
18
- type: 'table',
19
- category: 'container',
20
- icon: 'table',
21
- rows: [],
22
- options: {
23
- name: '',
24
- hidden: false,
25
- customClass: '', //自定义css类名
26
- }
27
- },
28
-
29
- {
30
- type: 'tab',
31
- category: 'container',
32
- icon: 'tab',
33
- displayType: 'border-card',
34
- tabs: [],
35
- options: {
36
- name: '',
37
- hidden: false,
38
- customClass: '', //自定义css类名
39
- }
40
- },
41
-
17
+ // {
18
+ // type: 'table',
19
+ // category: 'container',
20
+ // icon: 'table',
21
+ // rows: [],
22
+ // options: {
23
+ // name: '',
24
+ // hidden: false,
25
+ // customClass: '', //自定义css类名
26
+ // }
27
+ // },
28
+ //
29
+ // {
30
+ // type: 'tab',
31
+ // category: 'container',
32
+ // icon: 'tab',
33
+ // displayType: 'border-card',
34
+ // tabs: [],
35
+ // options: {
36
+ // name: '',
37
+ // hidden: false,
38
+ // customClass: '', //自定义css类名
39
+ // }
40
+ // },
41
+ //
42
42
  {
43
43
  type: 'grid-col',
44
44
  category: 'container',
@@ -59,40 +59,40 @@ export const containers = [
59
59
  customClass: '', //自定义css类名
60
60
  }
61
61
  },
62
-
63
- {
64
- type: 'table-cell',
65
- category: 'container',
66
- icon: 'table-cell',
67
- internal: true,
68
- widgetList: [],
69
- merged: false,
70
- options: {
71
- name: '',
72
- cellWidth: '',
73
- cellHeight: '',
74
- colspan: 1,
75
- rowspan: 1,
76
- wordBreak: false, //是否自动换行
77
- customClass: '', //自定义css类名
78
- }
79
- },
80
-
81
- {
82
- type: 'tab-pane',
83
- category: 'container',
84
- icon: 'tab-pane',
85
- internal: true,
86
- widgetList: [],
87
- options: {
88
- name: '',
89
- label: '',
90
- hidden: false,
91
- active: false,
92
- disabled: false,
93
- customClass: '', //自定义css类名
94
- }
95
- },
62
+ //
63
+ // {
64
+ // type: 'table-cell',
65
+ // category: 'container',
66
+ // icon: 'table-cell',
67
+ // internal: true,
68
+ // widgetList: [],
69
+ // merged: false,
70
+ // options: {
71
+ // name: '',
72
+ // cellWidth: '',
73
+ // cellHeight: '',
74
+ // colspan: 1,
75
+ // rowspan: 1,
76
+ // wordBreak: false, //是否自动换行
77
+ // customClass: '', //自定义css类名
78
+ // }
79
+ // },
80
+ //
81
+ // {
82
+ // type: 'tab-pane',
83
+ // category: 'container',
84
+ // icon: 'tab-pane',
85
+ // internal: true,
86
+ // widgetList: [],
87
+ // options: {
88
+ // name: '',
89
+ // label: '',
90
+ // hidden: false,
91
+ // active: false,
92
+ // disabled: false,
93
+ // customClass: '', //自定义css类名
94
+ // }
95
+ // },
96
96
 
97
97
 
98
98
  ]
@@ -550,196 +550,194 @@ export const basicFields = [
550
550
  },
551
551
  },
552
552
 
553
- {
554
- type: 'rate',
555
- icon: 'rate-field',
556
- formItemFlag: true,
557
- options: {
558
- name: '',
559
- label: '',
560
- labelAlign: '',
561
- defaultValue: null,
562
- columnWidth: '200px',
563
- labelWidth: null,
564
- labelHidden: false,
565
- disabled: false,
566
- hidden: false,
567
- required: false,
568
- requiredHint: '',
569
- validation: '',
570
- validationHint: '',
571
- //-------------------
572
- customClass: '', //自定义css类名
573
- labelIconClass: null,
574
- labelIconPosition: 'rear',
575
- labelTooltip: null,
576
- max: 5,
577
- lowThreshold: 2,
578
- highThreshold: 4,
579
- allowHalf: false,
580
- showText: false,
581
- showScore: false,
582
- //-------------------
583
- onCreated: '',
584
- onMounted: '',
585
- onChange: '',
586
- onValidate: '',
587
- },
588
- },
589
-
590
- {
591
- type: 'color',
592
- icon: 'color-field',
593
- formItemFlag: true,
594
- options: {
595
- name: '',
596
- label: '',
597
- labelAlign: '',
598
- defaultValue: null,
599
- columnWidth: '200px',
600
- size: '',
601
- labelWidth: null,
602
- labelHidden: false,
603
- disabled: false,
604
- hidden: false,
605
- required: false,
606
- requiredHint: '',
607
- validation: '',
608
- validationHint: '',
609
- //-------------------
610
- customClass: '', //自定义css类名
611
- labelIconClass: null,
612
- labelIconPosition: 'rear',
613
- labelTooltip: null,
614
- //-------------------
615
- onCreated: '',
616
- onMounted: '',
617
- onChange: '',
618
- onValidate: '',
619
- },
620
- },
621
-
622
- {
623
- type: 'slider',
624
- icon: 'slider-field',
625
- formItemFlag: true,
626
- options: {
627
- name: '',
628
- label: '',
629
- labelAlign: '',
630
- columnWidth: '200px',
631
- showStops: true,
632
- size: '',
633
- labelWidth: null,
634
- labelHidden: false,
635
- disabled: false,
636
- hidden: false,
637
- required: false,
638
- requiredHint: '',
639
- validation: '',
640
- validationHint: '',
641
- //-------------------
642
- customClass: '', //自定义css类名
643
- labelIconClass: null,
644
- labelIconPosition: 'rear',
645
- labelTooltip: null,
646
- min: 0,
647
- max: 100,
648
- step: 10,
649
- range: false,
650
- //vertical: false,
651
- height: null,
652
- //-------------------
653
- onCreated: '',
654
- onMounted: '',
655
- onChange: '',
656
- onValidate: '',
657
- },
658
- },
659
-
660
- {
661
- type: 'static-text',
662
- icon: 'static-text',
663
- formItemFlag: false,
664
- options: {
665
- name: '',
666
- columnWidth: '200px',
667
- hidden: false,
668
- textContent: 'static text',
669
- textAlign: 'left',
670
- fontSize: '13px',
671
- preWrap: false, //是否自动换行
672
- //-------------------
673
- customClass: '', //自定义css类名
674
- //-------------------
675
- onCreated: '',
676
- onMounted: '',
677
- },
678
- },
679
-
680
- {
681
- type: 'html-text',
682
- icon: 'html-text',
683
- formItemFlag: false,
684
- options: {
685
- name: '',
686
- columnWidth: '200px',
687
- hidden: false,
688
- htmlContent: '<b>html text</b>',
689
- //-------------------
690
- customClass: '', //自定义css类名
691
- //-------------------
692
- onCreated: '',
693
- onMounted: '',
694
- },
695
- },
696
-
697
- {
698
- type: 'button',
699
- icon: 'button',
700
- formItemFlag: false,
701
- options: {
702
- name: '',
703
- label: '',
704
- columnWidth: '200px',
705
- size: '',
706
- displayStyle: 'block',
707
- disabled: false,
708
- hidden: false,
709
- type: '',
710
- plain: false,
711
- round: false,
712
- circle: false,
713
- icon: null,
714
- //-------------------
715
- customClass: '', //自定义css类名
716
- //-------------------
717
- onCreated: '',
718
- onMounted: '',
719
- onClick: '',
720
- },
721
- },
722
-
723
- {
724
- type: 'divider',
725
- icon: 'divider',
726
- formItemFlag: false,
727
- options: {
728
- name: '',
729
- label: '',
730
- columnWidth: '200px',
731
- direction: 'horizontal',
732
- contentPosition: 'center',
733
- hidden: false,
734
- //-------------------
735
- customClass: '', //自定义css类名
736
- //-------------------
737
- onCreated: '',
738
- onMounted: '',
739
- },
740
- },
741
-
553
+ // {
554
+ // type: 'rate',
555
+ // icon: 'rate-field',
556
+ // formItemFlag: true,
557
+ // options: {
558
+ // name: '',
559
+ // label: '',
560
+ // labelAlign: '',
561
+ // defaultValue: null,
562
+ // columnWidth: '200px',
563
+ // labelWidth: null,
564
+ // labelHidden: false,
565
+ // disabled: false,
566
+ // hidden: false,
567
+ // required: false,
568
+ // requiredHint: '',
569
+ // validation: '',
570
+ // validationHint: '',
571
+ // //-------------------
572
+ // customClass: '', //自定义css类名
573
+ // labelIconClass: null,
574
+ // labelIconPosition: 'rear',
575
+ // labelTooltip: null,
576
+ // max: 5,
577
+ // lowThreshold: 2,
578
+ // highThreshold: 4,
579
+ // allowHalf: false,
580
+ // showText: false,
581
+ // showScore: false,
582
+ // //-------------------
583
+ // onCreated: '',
584
+ // onMounted: '',
585
+ // onChange: '',
586
+ // onValidate: '',
587
+ // },
588
+ // },
742
589
  //
590
+ // {
591
+ // type: 'color',
592
+ // icon: 'color-field',
593
+ // formItemFlag: true,
594
+ // options: {
595
+ // name: '',
596
+ // label: '',
597
+ // labelAlign: '',
598
+ // defaultValue: null,
599
+ // columnWidth: '200px',
600
+ // size: '',
601
+ // labelWidth: null,
602
+ // labelHidden: false,
603
+ // disabled: false,
604
+ // hidden: false,
605
+ // required: false,
606
+ // requiredHint: '',
607
+ // validation: '',
608
+ // validationHint: '',
609
+ // //-------------------
610
+ // customClass: '', //自定义css类名
611
+ // labelIconClass: null,
612
+ // labelIconPosition: 'rear',
613
+ // labelTooltip: null,
614
+ // //-------------------
615
+ // onCreated: '',
616
+ // onMounted: '',
617
+ // onChange: '',
618
+ // onValidate: '',
619
+ // },
620
+ // },
621
+ //
622
+ // {
623
+ // type: 'slider',
624
+ // icon: 'slider-field',
625
+ // formItemFlag: true,
626
+ // options: {
627
+ // name: '',
628
+ // label: '',
629
+ // labelAlign: '',
630
+ // columnWidth: '200px',
631
+ // showStops: true,
632
+ // size: '',
633
+ // labelWidth: null,
634
+ // labelHidden: false,
635
+ // disabled: false,
636
+ // hidden: false,
637
+ // required: false,
638
+ // requiredHint: '',
639
+ // validation: '',
640
+ // validationHint: '',
641
+ // //-------------------
642
+ // customClass: '', //自定义css类名
643
+ // labelIconClass: null,
644
+ // labelIconPosition: 'rear',
645
+ // labelTooltip: null,
646
+ // min: 0,
647
+ // max: 100,
648
+ // step: 10,
649
+ // range: false,
650
+ // //vertical: false,
651
+ // height: null,
652
+ // //-------------------
653
+ // onCreated: '',
654
+ // onMounted: '',
655
+ // onChange: '',
656
+ // onValidate: '',
657
+ // },
658
+ // },
659
+ //
660
+ // {
661
+ // type: 'static-text',
662
+ // icon: 'static-text',
663
+ // formItemFlag: false,
664
+ // options: {
665
+ // name: '',
666
+ // columnWidth: '200px',
667
+ // hidden: false,
668
+ // textContent: 'static text',
669
+ // textAlign: 'left',
670
+ // fontSize: '13px',
671
+ // preWrap: false, //是否自动换行
672
+ // //-------------------
673
+ // customClass: '', //自定义css类名
674
+ // //-------------------
675
+ // onCreated: '',
676
+ // onMounted: '',
677
+ // },
678
+ // },
679
+ //
680
+ // {
681
+ // type: 'html-text',
682
+ // icon: 'html-text',
683
+ // formItemFlag: false,
684
+ // options: {
685
+ // name: '',
686
+ // columnWidth: '200px',
687
+ // hidden: false,
688
+ // htmlContent: '<b>html text</b>',
689
+ // //-------------------
690
+ // customClass: '', //自定义css类名
691
+ // //-------------------
692
+ // onCreated: '',
693
+ // onMounted: '',
694
+ // },
695
+ // },
696
+ //
697
+ // {
698
+ // type: 'button',
699
+ // icon: 'button',
700
+ // formItemFlag: false,
701
+ // options: {
702
+ // name: '',
703
+ // label: '',
704
+ // columnWidth: '200px',
705
+ // size: '',
706
+ // displayStyle: 'block',
707
+ // disabled: false,
708
+ // hidden: false,
709
+ // type: '',
710
+ // plain: false,
711
+ // round: false,
712
+ // circle: false,
713
+ // icon: null,
714
+ // //-------------------
715
+ // customClass: '', //自定义css类名
716
+ // //-------------------
717
+ // onCreated: '',
718
+ // onMounted: '',
719
+ // onClick: '',
720
+ // },
721
+ // },
722
+ //
723
+ // {
724
+ // type: 'divider',
725
+ // icon: 'divider',
726
+ // formItemFlag: false,
727
+ // options: {
728
+ // name: '',
729
+ // label: '',
730
+ // columnWidth: '200px',
731
+ // direction: 'horizontal',
732
+ // contentPosition: 'center',
733
+ // hidden: false,
734
+ // //-------------------
735
+ // customClass: '', //自定义css类名
736
+ // //-------------------
737
+ // onCreated: '',
738
+ // onMounted: '',
739
+ // },
740
+ // },
743
741
 
744
742
  ]
745
743
 
@@ -834,83 +832,213 @@ export const advancedFields = [
834
832
  },
835
833
 
836
834
  {
837
- type: 'rich-editor',
838
- icon: 'rich-editor-field',
835
+ type: 'organ-select',
836
+ icon: 'node-tree',
839
837
  formItemFlag: true,
840
838
  options: {
841
839
  name: '',
842
840
  label: '',
843
841
  labelAlign: '',
844
- placeholder: '',
842
+ size: '',
843
+ rootOrgan: '',
845
844
  labelWidth: null,
846
845
  labelHidden: false,
847
846
  columnWidth: '200px',
848
- disabled: false,
849
- hidden: false,
847
+ allowMultiple: false,
848
+ organTreeType: '',
849
+ manageUnitId: '',
850
+ placeholder: '',
850
851
  required: false,
851
852
  requiredHint: '',
852
- customRule: '',
853
- customRuleHint: '',
854
- //-------------------
855
- customClass: '', //自定义css类名
856
- labelIconClass: null,
857
- labelIconPosition: 'rear',
858
- labelTooltip: null,
859
- minLength: null,
860
- maxLength: null,
861
- showWordLimit: false,
862
- //-------------------
863
- onCreated: '',
864
- onMounted: '',
865
- onValidate: '',
853
+ clearable: false,
854
+ readonly: false,
855
+ hidden: false,
856
+ disabled: false,
866
857
  },
867
858
  },
868
859
 
869
860
  {
870
- type: 'cascader',
871
- icon: 'cascader-field',
861
+ type: 'user-select',
862
+ icon: 'file-upload-field',
872
863
  formItemFlag: true,
873
864
  options: {
874
865
  name: '',
875
866
  label: '',
876
867
  labelAlign: '',
877
- defaultValue: '',
878
- placeholder: '',
879
868
  size: '',
880
869
  labelWidth: null,
881
870
  labelHidden: false,
882
871
  columnWidth: '200px',
883
- disabled: false,
884
- hidden: false,
885
- clearable: true,
886
- filterable: false,
887
- multiple: false,
888
- checkStrictly: false, //可选择任意一级选项,默认不开启
889
- showAllLevels: true, //显示完整路径
890
- optionItems: [
891
- {label: 'select 1', value: 1, children: [{label: 'child 1', value: 11}]},
892
- {label: 'select 2', value: 2},
893
- {label: 'select 3', value: 3},
894
- ],
872
+ rootOrgan: '',
873
+ organTreeType: '',
874
+ manageUnitId: '',
875
+ placeholder: '',
895
876
  required: false,
877
+ allowMultiple: false,
896
878
  requiredHint: '',
897
- customRule: '',
898
- customRuleHint: '',
899
- //-------------------
900
- customClass: '', //自定义css类名
901
- labelIconClass: null,
902
- labelIconPosition: 'rear',
903
- labelTooltip: null,
904
- //-------------------
905
- onCreated: '',
906
- onMounted: '',
907
- onChange: '',
908
- onFocus: '',
909
- onBlur: '',
910
- onValidate: '',
879
+ clearable: false,
880
+ readonly: false,
881
+ hidden: false,
882
+ disabled: false,
911
883
  },
912
884
  },
913
885
 
886
+ // {
887
+ // type: 'rich-editor',
888
+ // icon: 'rich-editor-field',
889
+ // formItemFlag: true,
890
+ // options: {
891
+ // name: '',
892
+ // label: '',
893
+ // labelAlign: '',
894
+ // placeholder: '',
895
+ // labelWidth: null,
896
+ // labelHidden: false,
897
+ // columnWidth: '200px',
898
+ // disabled: false,
899
+ // hidden: false,
900
+ // required: false,
901
+ // requiredHint: '',
902
+ // customRule: '',
903
+ // customRuleHint: '',
904
+ // //-------------------
905
+ // customClass: '', //自定义css类名
906
+ // labelIconClass: null,
907
+ // labelIconPosition: 'rear',
908
+ // labelTooltip: null,
909
+ // minLength: null,
910
+ // maxLength: null,
911
+ // showWordLimit: false,
912
+ // //-------------------
913
+ // onCreated: '',
914
+ // onMounted: '',
915
+ // onValidate: '',
916
+ // },
917
+ // },
918
+
919
+ // {
920
+ // type: 'cascader',
921
+ // icon: 'cascader-field',
922
+ // formItemFlag: true,
923
+ // options: {
924
+ // name: '',
925
+ // label: '',
926
+ // labelAlign: '',
927
+ // defaultValue: '',
928
+ // placeholder: '',
929
+ // size: '',
930
+ // labelWidth: null,
931
+ // labelHidden: false,
932
+ // columnWidth: '200px',
933
+ // disabled: false,
934
+ // hidden: false,
935
+ // clearable: true,
936
+ // filterable: false,
937
+ // multiple: false,
938
+ // checkStrictly: false, //可选择任意一级选项,默认不开启
939
+ // showAllLevels: true, //显示完整路径
940
+ // optionItems: [
941
+ // {label: 'select 1', value: 1, children: [{label: 'child 1', value: 11}]},
942
+ // {label: 'select 2', value: 2},
943
+ // {label: 'select 3', value: 3},
944
+ // ],
945
+ // required: false,
946
+ // requiredHint: '',
947
+ // customRule: '',
948
+ // customRuleHint: '',
949
+ // //-------------------
950
+ // customClass: '', //自定义css类名
951
+ // labelIconClass: null,
952
+ // labelIconPosition: 'rear',
953
+ // labelTooltip: null,
954
+ // //-------------------
955
+ // onCreated: '',
956
+ // onMounted: '',
957
+ // onChange: '',
958
+ // onFocus: '',
959
+ // onBlur: '',
960
+ // onValidate: '',
961
+ // },
962
+ // },
963
+
964
+ {
965
+ type: 'relation-form',
966
+ icon: 'relation-form-field',
967
+ formItemFlag: true,
968
+ options: {
969
+ name: '',
970
+ label: '',
971
+ labelAlign: '',
972
+ defaultValue: '',
973
+ placeholder: '',
974
+ columnWidth: '200px',
975
+ size: '',
976
+ labelWidth: null,
977
+ labelHidden: false,
978
+ displayStyle: 'inline',
979
+ buttonStyle: false,
980
+ border: false,
981
+ disabled: false,
982
+ hidden: false,
983
+ clearable: true,
984
+ filterable: false,
985
+ allowCreate: false,
986
+ remote: false,
987
+ automaticDropdown: false, //自动下拉
988
+ multiple: false,
989
+ multipleLimit: 0,
990
+ relationForm: '',
991
+ relationItems: [],
992
+ relationType: 'select',//list,help
993
+ // optionItems: [],
994
+ required: false,
995
+ requiredHint: '',
996
+ validation: '',
997
+ validationHint: '',
998
+ //-------------------
999
+ customClass: '', //自定义css类名
1000
+ labelIconClass: null,
1001
+ labelIconPosition: 'rear',
1002
+ labelTooltip: null,
1003
+ //-------------------
1004
+ onCreated: '',
1005
+ onMounted: '',
1006
+ onRemoteQuery: '',
1007
+ onChange: '',
1008
+ onFocus: '',
1009
+ onBlur: '',
1010
+ onValidate: '',
1011
+ },
1012
+ },
1013
+ {
1014
+ type: 'sub-form',
1015
+ icon: 'sub-form',
1016
+ formItemFlag: true,
1017
+ options: {
1018
+ name: '',
1019
+ label: '',
1020
+ labelAlign: '',
1021
+ labelWidth: null,
1022
+ columnWidth: '200px',
1023
+ subFormId: '',
1024
+ displayFields: [],
1025
+ operList: ['insert', 'edit', 'delete', 'copy', 'draggable', 'batchDelete'],
1026
+ //-------------------
1027
+ customClass: '', //自定义css类名
1028
+ labelIconClass: null,
1029
+ labelIconPosition: 'rear',
1030
+ labelTooltip: null,
1031
+ //-------------------
1032
+ onCreated: '',
1033
+ onMounted: '',
1034
+ onRemoteQuery: '',
1035
+ onChange: '',
1036
+ onFocus: '',
1037
+ onBlur: '',
1038
+ onValidate: '',
1039
+ },
1040
+ },
1041
+
914
1042
  ]
915
1043
 
916
1044
  export const customFields = [