cloud-web-corejs 1.0.113 → 1.0.115

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 (27) hide show
  1. package/package.json +1 -1
  2. package/src/components/wf/content.vue +106 -27
  3. package/src/components/wf/wf.js +1 -3
  4. package/src/components/xform/form-designer/designer.js +3 -2
  5. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  6. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
  7. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
  8. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
  9. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  10. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  11. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +323 -202
  12. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  13. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  14. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +3 -1
  15. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +778 -666
  16. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  17. package/src/components/xform/form-render/indexMixin.js +1 -1
  18. package/src/components/xform/lang/zh-CN.js +2 -0
  19. package/src/store/modules/tagsView.js +1 -14
  20. package/src/utils/vab.js +3 -3
  21. package/src/views/user/form/vform/out_render.vue +1 -1
  22. package/src/views/user/form/vform/render.vue +8 -4
  23. package/src/views/user/form/view/edit.vue +38 -37
  24. package/src/views/user/form/view/list.vue +27 -7
  25. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  26. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  27. package/src/views/user/wf/wf_obj_config/list.vue +19 -1
@@ -12,11 +12,11 @@ export const containers = [
12
12
  // isFullscreen: false,
13
13
  gutter: 6,
14
14
  // colHeight: null,
15
- width: '',
16
- containerClass: '',
15
+ width: "",
16
+ containerClass: "",
17
17
  customClass: "",
18
18
  ...defaultWfConfig,
19
- }
19
+ },
20
20
  },
21
21
  {
22
22
  type: "table",
@@ -29,10 +29,10 @@ export const containers = [
29
29
  name: "",
30
30
  hidden: !1,
31
31
  customClass: "",
32
- styleTableClass: '',
32
+ styleTableClass: "",
33
33
  fullWidth: false,
34
34
  ...defaultWfConfig,
35
- }
35
+ },
36
36
  },
37
37
  {
38
38
  type: "tab",
@@ -44,12 +44,12 @@ export const containers = [
44
44
  options: {
45
45
  name: "",
46
46
  hidden: !1,
47
- height: '',
47
+ height: "",
48
48
  // isFullscreen: false,
49
- tabClass: 'tab-boxCard tabCard-sty1',
49
+ tabClass: "tab-boxCard tabCard-sty1",
50
50
  customClass: "",
51
51
  ...defaultWfConfig,
52
- }
52
+ },
53
53
  },
54
54
  /* {
55
55
  type: "sub-form",
@@ -105,9 +105,9 @@ export const containers = [
105
105
  md: 12,
106
106
  sm: 12,
107
107
  xs: 12,
108
- alignType: '',
108
+ alignType: "",
109
109
  customClass: "",
110
- }
110
+ },
111
111
  },
112
112
  {
113
113
  type: "table-cell",
@@ -122,8 +122,8 @@ export const containers = [
122
122
  cellHeight: "",
123
123
  colspan: 1,
124
124
  rowspan: 1,
125
- customClass: ""
126
- }
125
+ customClass: "",
126
+ },
127
127
  },
128
128
  {
129
129
  type: "tab-pane",
@@ -137,8 +137,8 @@ export const containers = [
137
137
  hidden: !1,
138
138
  active: !1,
139
139
  disabled: !1,
140
- customClass: ""
141
- }
140
+ customClass: "",
141
+ },
142
142
  },
143
143
  {
144
144
  type: "data-table",
@@ -187,36 +187,39 @@ export const containers = [
187
187
  size: "small",
188
188
  round: !1,
189
189
  hidden: !0,
190
- disabled: !1
191
- }, {
190
+ disabled: !1,
191
+ },
192
+ {
192
193
  name: "edit",
193
194
  label: "编辑",
194
195
  type: "text",
195
196
  size: "small",
196
197
  round: !1,
197
198
  hidden: !1,
198
- disabled: !1
199
- }, {
199
+ disabled: !1,
200
+ },
201
+ {
200
202
  name: "delete",
201
203
  label: "删除",
202
204
  type: "text",
203
205
  size: "small",
204
206
  round: !1,
205
207
  hidden: !1,
206
- disabled: !1
207
- }],
208
+ disabled: !1,
209
+ },
210
+ ],
208
211
  pagination: {
209
212
  currentPage: 1,
210
213
  pageSizes: [10, 15, 20, 30, 50, 100, 200],
211
214
  pageSize: 20,
212
- total: 366
215
+ total: 366,
213
216
  },
214
217
  gridPageSize: 100,
215
218
  gridPageSizeList: [
216
- {value: 50},
217
- {value: 100},
218
- {value: 200},
219
- {value: 500}
219
+ { value: 50 },
220
+ { value: 100 },
221
+ { value: 200 },
222
+ { value: 500 },
220
223
  ],
221
224
 
222
225
  dsEnabled: !1,
@@ -295,8 +298,8 @@ export const containers = [
295
298
  showRuleFlag: 1,
296
299
  showRuleEnabled: 1,
297
300
  showRules: [],
298
- hideGridCheckBox: false
299
- }
301
+ hideGridCheckBox: false,
302
+ },
300
303
  },
301
304
  /*{
302
305
  type: "table-column",
@@ -339,8 +342,8 @@ export const containers = [
339
342
  onOkButtonClick: "",
340
343
  onCancelButtonClick: "",
341
344
  onDialogOpened: "",
342
- onDialogBeforeClose: ""
343
- }
345
+ onDialogBeforeClose: "",
346
+ },
344
347
  },
345
348
  /*{
346
349
  type: "vf-drawer",
@@ -425,7 +428,7 @@ export const containers = [
425
428
  wfEnabled: false,
426
429
  onCreated: "",
427
430
  onMounted: "",
428
- }
431
+ },
429
432
  },
430
433
  {
431
434
  type: "detail-pane",
@@ -444,7 +447,7 @@ export const containers = [
444
447
  defaultCollapse: false,
445
448
  /*onCreated: "",
446
449
  onMounted: "",*/
447
- }
450
+ },
448
451
  },
449
452
  {
450
453
  type: "detail-h5",
@@ -464,7 +467,7 @@ export const containers = [
464
467
  wfEnabled: false,
465
468
  onCreated: "",
466
469
  onMounted: "",
467
- }
470
+ },
468
471
  },
469
472
  {
470
473
  type: "list-h5",
@@ -487,73 +490,75 @@ export const containers = [
487
490
  accessUrl: null,
488
491
  tableColumns: [
489
492
  {
490
- "columnId": 1,
491
- "prop": "nick_name",
492
- "label": "姓名",
493
- "width": "150",
494
- "show": true,
495
- "align": "left",
496
- "fixed": "left",
497
- "sortable": true,
498
- "required": false,
499
- "showForRow": true,
500
- "formatS": "editInput",
501
- "columnOption": {}
493
+ columnId: 1,
494
+ prop: "nick_name",
495
+ label: "姓名",
496
+ width: "150",
497
+ show: true,
498
+ align: "left",
499
+ fixed: "left",
500
+ sortable: true,
501
+ required: false,
502
+ showForRow: true,
503
+ formatS: "editInput",
504
+ columnOption: {},
502
505
  },
503
506
  {
504
- "columnId": 1662195943228,
505
- "label": "登录账号",
506
- "prop": "login_account",
507
- "show": true,
508
- "sortable": true,
509
- "align": "left",
510
- "width": "150",
511
- "required": false,
512
- "showForRow": true,
513
- "formatS": "editInput",
514
- "columnOption": {}
507
+ columnId: 1662195943228,
508
+ label: "登录账号",
509
+ prop: "login_account",
510
+ show: true,
511
+ sortable: true,
512
+ align: "left",
513
+ width: "150",
514
+ required: false,
515
+ showForRow: true,
516
+ formatS: "editInput",
517
+ columnOption: {},
515
518
  },
516
519
  {
517
- "columnId": 1662195943423,
518
- "label": "是否启用",
519
- "prop": "enabled",
520
- "show": true,
521
- "sortable": true,
522
- "align": "left",
523
- "width": "150",
524
- "formatS": "render",
525
- "render": "if(params.row.enabled){\n return '启用';\n}else{\n return '禁用';\n}",
526
- "required": false,
527
- "showForRow": true,
528
- "columnOption": {}
520
+ columnId: 1662195943423,
521
+ label: "是否启用",
522
+ prop: "enabled",
523
+ show: true,
524
+ sortable: true,
525
+ align: "left",
526
+ width: "150",
527
+ formatS: "render",
528
+ render:
529
+ "if(params.row.enabled){\n return '启用';\n}else{\n return '禁用';\n}",
530
+ required: false,
531
+ showForRow: true,
532
+ columnOption: {},
529
533
  },
530
534
  {
531
- "columnId": 1662196087046,
532
- "label": "性别",
533
- "prop": "gender",
534
- "width": "150",
535
- "show": true,
536
- "sortable": true,
537
- "align": "left",
538
- "formatS": "render",
539
- "render": "if(params.row.gender==1){\n return '男';\n}else{\n return '女';\n}",
540
- "required": false,
541
- "showForRow": true,
542
- "columnOption": {}
535
+ columnId: 1662196087046,
536
+ label: "性别",
537
+ prop: "gender",
538
+ width: "150",
539
+ show: true,
540
+ sortable: true,
541
+ align: "left",
542
+ formatS: "render",
543
+ render:
544
+ "if(params.row.gender==1){\n return '男';\n}else{\n return '女';\n}",
545
+ required: false,
546
+ showForRow: true,
547
+ columnOption: {},
543
548
  },
544
549
  {
545
- "columnId": 1662196135287,
546
- "label": "创建时间",
547
- "prop": "create_time",
548
- "width": "150",
549
- "show": true,
550
- "sortable": true,
551
- "align": "left",
552
- "required": false,
553
- "showForRow": true,
554
- "formatS": "editDate",
555
- "columnOption": {}
556
- }
550
+ columnId: 1662196135287,
551
+ label: "创建时间",
552
+ prop: "create_time",
553
+ width: "150",
554
+ show: true,
555
+ sortable: true,
556
+ align: "left",
557
+ required: false,
558
+ showForRow: true,
559
+ formatS: "editDate",
560
+ columnOption: {},
561
+ },
557
562
  ],
558
563
  tableData: [
559
564
  /*{
@@ -591,7 +596,7 @@ export const containers = [
591
596
  ],
592
597
  onCreated: "",
593
598
  onMounted: "",
594
- }
599
+ },
595
600
  },
596
601
  {
597
602
  type: "tree-pane",
@@ -608,8 +613,8 @@ export const containers = [
608
613
  treePane: true,
609
614
  onCreated: "",
610
615
  onMounted: "",
611
- onTreeLabelClick: ""
612
- }
616
+ onTreeLabelClick: "",
617
+ },
613
618
  },
614
619
  {
615
620
  type: "h5-card",
@@ -621,10 +626,10 @@ export const containers = [
621
626
  options: {
622
627
  name: "",
623
628
  hidden: !1,
624
- height: '',
629
+ height: "",
625
630
  customClass: "",
626
- h5Card: true
627
- }
631
+ h5Card: true,
632
+ },
628
633
  },
629
634
  {
630
635
  type: "h5-card-pane",
@@ -639,8 +644,8 @@ export const containers = [
639
644
  hidden: !1,
640
645
  active: !1,
641
646
  disabled: !1,
642
- customClass: ""
643
- }
647
+ customClass: "",
648
+ },
644
649
  },
645
650
  {
646
651
  type: "h5-table",
@@ -653,8 +658,8 @@ export const containers = [
653
658
  name: "",
654
659
  hidden: !1,
655
660
  customClass: "",
656
- fullWidth: false
657
- }
661
+ fullWidth: false,
662
+ },
658
663
  },
659
664
  {
660
665
  type: "h5-table-cell",
@@ -669,8 +674,8 @@ export const containers = [
669
674
  cellHeight: "",
670
675
  colspan: 1,
671
676
  rowspan: 1,
672
- customClass: ""
673
- }
677
+ customClass: "",
678
+ },
674
679
  },
675
680
  {
676
681
  type: "tree",
@@ -708,62 +713,60 @@ export const containers = [
708
713
  onLoadNode: "",
709
714
  treeData: [
710
715
  {
711
- "id": 1,
712
- "label": "一级 1",
713
- "leaf": false,
714
- "children": [
716
+ id: 1,
717
+ label: "一级 1",
718
+ leaf: false,
719
+ children: [
715
720
  {
716
- "id": 2,
717
- "label": "二级 1-1",
718
- "leaf": false,
719
- "children": [
720
- {"id": 3, "label": "三级 1-1-1", "leaf": true}
721
- ]
722
- }
723
- ]
721
+ id: 2,
722
+ label: "二级 1-1",
723
+ leaf: false,
724
+ children: [{ id: 3, label: "三级 1-1-1", leaf: true }],
725
+ },
726
+ ],
724
727
  },
725
728
  {
726
- "id": 4,
727
- "label": "一级 2",
728
- "leaf": false,
729
- "children": [
729
+ id: 4,
730
+ label: "一级 2",
731
+ leaf: false,
732
+ children: [
730
733
  {
731
- "id": 5,
732
- "label": "二级 2-1",
733
- "leaf": false,
734
- "children": [{"id": 6, "label": "三级 2-1-1", "leaf": true}]
734
+ id: 5,
735
+ label: "二级 2-1",
736
+ leaf: false,
737
+ children: [{ id: 6, label: "三级 2-1-1", leaf: true }],
735
738
  },
736
739
  {
737
- "id": 7,
738
- "label": "二级 2-2",
739
- "leaf": false,
740
- "children": [{"id": 8, "label": "三级 2-2-1", "leaf": true}]
741
- }
742
- ]
740
+ id: 7,
741
+ label: "二级 2-2",
742
+ leaf: false,
743
+ children: [{ id: 8, label: "三级 2-2-1", leaf: true }],
744
+ },
745
+ ],
743
746
  },
744
747
  {
745
- "id": 9,
746
- "label": "一级 3",
747
- "leaf": false,
748
- "children": [
748
+ id: 9,
749
+ label: "一级 3",
750
+ leaf: false,
751
+ children: [
749
752
  {
750
- "id": 10,
751
- "label": "二级 3-1",
752
- "leaf": false,
753
- "children": [{"id": 11, "label": "三级 3-1-1", "leaf": true}]
753
+ id: 10,
754
+ label: "二级 3-1",
755
+ leaf: false,
756
+ children: [{ id: 11, label: "三级 3-1-1", leaf: true }],
754
757
  },
755
758
  {
756
- "id": 12,
757
- "label": "二级 3-2",
758
- "leaf": false,
759
- "children": [{"id": 13, "label": "三级 3-2-1", "leaf": true}]
760
- }
761
- ]
762
- }
763
- ]
764
- }
765
- }
766
- ]
759
+ id: 12,
760
+ label: "二级 3-2",
761
+ leaf: false,
762
+ children: [{ id: 13, label: "三级 3-2-1", leaf: true }],
763
+ },
764
+ ],
765
+ },
766
+ ],
767
+ },
768
+ },
769
+ ];
767
770
 
768
771
  export const defaultSearchDialogConfig = {
769
772
  formCode: null,
@@ -775,8 +778,8 @@ export const defaultSearchDialogConfig = {
775
778
  tableData: [],
776
779
  multipleChoices: true,
777
780
  confirmCallback: null,
778
- dialogQueryParam: null
779
- }
781
+ dialogQueryParam: null,
782
+ };
780
783
 
781
784
  export const defaultWfConfig = {
782
785
  wfFlag: 1,
@@ -786,7 +789,7 @@ export const defaultWfConfig = {
786
789
  wfConfigData: [],
787
790
  wfModifyDataEnabled: false,
788
791
  wfModifyDataConfig: [],
789
- }
792
+ };
790
793
 
791
794
  export const defaultTextFlagConfig = {
792
795
  widgetTextFlag: null,
@@ -800,14 +803,14 @@ export const defaultTextFlagConfig = {
800
803
  textRule2Number: null,
801
804
  textRule3: false,
802
805
  textRule3Number: null,
803
- widgetTextLinkConfig: null
804
- }
806
+ widgetTextLinkConfig: null,
807
+ };
805
808
 
806
809
  export const defaultWidgetShowRuleConfig = {
807
810
  widgetShowRuleFlag: 1,
808
811
  widgetShowRuleEnabled: false,
809
812
  widgetShowRuleConfig: [],
810
- }
813
+ };
811
814
 
812
815
  const vabsearchConfig = {
813
816
  name: "",
@@ -817,7 +820,7 @@ const vabsearchConfig = {
817
820
  userDefaultVabSearch: false,
818
821
  saleOrgDefaultVabSearch: false,
819
822
  label: "",
820
- labelColor: '',
823
+ labelColor: "",
821
824
  submitFlag: true,
822
825
  disabled: !1,
823
826
  hidden: !1,
@@ -837,18 +840,18 @@ const vabsearchConfig = {
837
840
  // vabSearchField: null,
838
841
  vabsearchFlag: 1,
839
842
  onSearchClear: "",
840
- dialogModel: '1',
843
+ dialogModel: "1",
841
844
  systemDialogUrl: null,
842
845
  accessType: "1",
843
846
  onCreated: "",
844
847
  onMounted: "",
845
848
  onChange: "",
846
849
  onAppendButtonClick: "",
847
- clickBindEvent: '1',
848
- onBeforeClickButton:null,
850
+ clickBindEvent: "1",
851
+ onBeforeClickButton: null,
849
852
  searchDialogConfig: {
850
853
  ...defaultSearchDialogConfig,
851
- multipleChoices: false
854
+ multipleChoices: false,
852
855
  },
853
856
  ...defaultWfConfig,
854
857
  valueField: null,
@@ -856,8 +859,8 @@ const vabsearchConfig = {
856
859
 
857
860
  showRuleFlag: 1,
858
861
  showRuleEnabled: 1,
859
- showRules: []
860
- }
862
+ showRules: [],
863
+ };
861
864
 
862
865
  const projectTagConfig = {
863
866
  name: "",
@@ -865,7 +868,7 @@ const projectTagConfig = {
865
868
  keyName: "",
866
869
  // keyNameSuffix: "",
867
870
  label: "",
868
- labelColor: '',
871
+ labelColor: "",
869
872
  submitFlag: true,
870
873
  disabled: !1,
871
874
  readonly: false,
@@ -897,8 +900,7 @@ const projectTagConfig = {
897
900
  tagConfirmCallback: null,
898
901
  tagDeleteCallback: null,
899
902
  tabDeleteEnabled: true,
900
-
901
- }
903
+ };
902
904
 
903
905
  const httpConfig = {
904
906
  httpFormCode: null,
@@ -907,10 +909,18 @@ const httpConfig = {
907
909
  formScriptParam: null,
908
910
  formScriptSuccess: null,
909
911
  formScriptCallback: null,
910
- }
911
-
912
- export const hiddenWidgetTypesOfWf = ["button", "search_button", "table-export-button", "add_button", "import-button", "import2-button", "print-button"];
913
- export const freeWidgetTypesOfWf = ["reset_button", "a-link", "a-text"];
912
+ };
913
+
914
+ export const hiddenWidgetTypesOfWf = [
915
+ "button",
916
+ "search_button",
917
+ "table-export-button",
918
+ "add_button",
919
+ "import-button",
920
+ "import2-button",
921
+ "print-button",
922
+ ];
923
+ export const freeWidgetTypesOfWf = ["reset_button","copy_button", "a-link", "a-text"];
914
924
 
915
925
  export const basicFields = [
916
926
  {
@@ -925,7 +935,7 @@ export const basicFields = [
925
935
  keyNameEnabled: !1,
926
936
  keyName: "",
927
937
  label: "",
928
- labelColor: '',
938
+ labelColor: "",
929
939
  submitFlag: true,
930
940
  /**showText: false,*/
931
941
  formField: "",
@@ -974,8 +984,8 @@ export const basicFields = [
974
984
  showRuleEnabled: 1,
975
985
  showRules: [],
976
986
 
977
- ...defaultTextFlagConfig
978
- }
987
+ ...defaultTextFlagConfig,
988
+ },
979
989
  },
980
990
  {
981
991
  type: "input-batch",
@@ -989,7 +999,7 @@ export const basicFields = [
989
999
  keyNameEnabled: !1,
990
1000
  keyName: "",
991
1001
  label: "",
992
- labelColor: '',
1002
+ labelColor: "",
993
1003
  submitFlag: true,
994
1004
  formField: "",
995
1005
  labelAlign: "",
@@ -1036,9 +1046,7 @@ export const basicFields = [
1036
1046
  showRuleFlag: 1,
1037
1047
  showRuleEnabled: 1,
1038
1048
  showRules: [],
1039
-
1040
-
1041
- }
1049
+ },
1042
1050
  },
1043
1051
  {
1044
1052
  type: "textarea",
@@ -1052,7 +1060,7 @@ export const basicFields = [
1052
1060
  keyNameEnabled: !1,
1053
1061
  keyName: "",
1054
1062
  label: "",
1055
- labelColor: '',
1063
+ labelColor: "",
1056
1064
  submitFlag: true,
1057
1065
  /**showText: false,*/
1058
1066
  labelAlign: "",
@@ -1091,8 +1099,8 @@ export const basicFields = [
1091
1099
  showRuleEnabled: 1,
1092
1100
  showRules: [],
1093
1101
 
1094
- ...defaultTextFlagConfig
1095
- }
1102
+ ...defaultTextFlagConfig,
1103
+ },
1096
1104
  },
1097
1105
  {
1098
1106
  type: "number",
@@ -1106,7 +1114,7 @@ export const basicFields = [
1106
1114
  keyNameEnabled: !1,
1107
1115
  keyName: "",
1108
1116
  label: "",
1109
- labelColor: '',
1117
+ labelColor: "",
1110
1118
  submitFlag: true,
1111
1119
  /**showText: false,*/
1112
1120
  formField: "",
@@ -1147,9 +1155,8 @@ export const basicFields = [
1147
1155
  showRuleEnabled: 1,
1148
1156
  showRules: [],
1149
1157
 
1150
- ...defaultTextFlagConfig
1151
-
1152
- }
1158
+ ...defaultTextFlagConfig,
1159
+ },
1153
1160
  },
1154
1161
  {
1155
1162
  type: "radio",
@@ -1163,7 +1170,7 @@ export const basicFields = [
1163
1170
  keyNameEnabled: !1,
1164
1171
  keyName: "",
1165
1172
  label: "",
1166
- labelColor: '',
1173
+ labelColor: "",
1167
1174
  submitFlag: true,
1168
1175
  /**showText: false,*/
1169
1176
  labelAlign: "",
@@ -1185,12 +1192,12 @@ export const basicFields = [
1185
1192
  optionItems: [
1186
1193
  {
1187
1194
  label: "radio 1",
1188
- value: "1"
1195
+ value: "1",
1189
1196
  },
1190
1197
  {
1191
1198
  label: "radio 2",
1192
- value: "2"
1193
- }
1199
+ value: "2",
1200
+ },
1194
1201
  ],
1195
1202
  required: !1,
1196
1203
  requiredHint: "",
@@ -1219,8 +1226,7 @@ export const basicFields = [
1219
1226
  showRuleFlag: 1,
1220
1227
  showRuleEnabled: 1,
1221
1228
  showRules: [],
1222
-
1223
- }
1229
+ },
1224
1230
  },
1225
1231
  {
1226
1232
  type: "checkbox",
@@ -1234,7 +1240,7 @@ export const basicFields = [
1234
1240
  keyNameEnabled: !1,
1235
1241
  keyName: "",
1236
1242
  label: "",
1237
- labelColor: '',
1243
+ labelColor: "",
1238
1244
  submitFlag: true,
1239
1245
  /**showText: false,*/
1240
1246
  labelAlign: "",
@@ -1256,12 +1262,12 @@ export const basicFields = [
1256
1262
  optionItems: [
1257
1263
  {
1258
1264
  label: "check 1",
1259
- value: "1"
1265
+ value: "1",
1260
1266
  },
1261
1267
  {
1262
1268
  label: "check 2",
1263
- value: "2"
1264
- }
1269
+ value: "2",
1270
+ },
1265
1271
  ],
1266
1272
  required: !1,
1267
1273
  requiredHint: "",
@@ -1290,9 +1296,7 @@ export const basicFields = [
1290
1296
  showRuleFlag: 1,
1291
1297
  showRuleEnabled: 1,
1292
1298
  showRules: [],
1293
-
1294
-
1295
- }
1299
+ },
1296
1300
  },
1297
1301
  {
1298
1302
  type: "select",
@@ -1306,7 +1310,7 @@ export const basicFields = [
1306
1310
  keyNameEnabled: !1,
1307
1311
  keyName: "",
1308
1312
  label: "",
1309
- labelColor: '',
1313
+ labelColor: "",
1310
1314
  submitFlag: true,
1311
1315
  /**showText: false,*/
1312
1316
  formField: "",
@@ -1332,16 +1336,20 @@ export const basicFields = [
1332
1336
  dsName: "",
1333
1337
  labelKey: "label",
1334
1338
  valueKey: "value",
1335
- optionItems: [{
1336
- label: "select 1",
1337
- value: "1"
1338
- }, {
1339
- label: "select 2",
1340
- value: "2"
1341
- }, {
1342
- label: "select 3",
1343
- value: "3"
1344
- }],
1339
+ optionItems: [
1340
+ {
1341
+ label: "select 1",
1342
+ value: "1",
1343
+ },
1344
+ {
1345
+ label: "select 2",
1346
+ value: "2",
1347
+ },
1348
+ {
1349
+ label: "select 3",
1350
+ value: "3",
1351
+ },
1352
+ ],
1345
1353
  required: !1,
1346
1354
  requiredHint: "",
1347
1355
  validation: "",
@@ -1375,7 +1383,7 @@ export const basicFields = [
1375
1383
  showRuleFlag: 1,
1376
1384
  showRuleEnabled: 1,
1377
1385
  showRules: [],
1378
- }
1386
+ },
1379
1387
  },
1380
1388
  {
1381
1389
  type: "time",
@@ -1389,7 +1397,7 @@ export const basicFields = [
1389
1397
  keyNameEnabled: !1,
1390
1398
  keyName: "",
1391
1399
  label: "",
1392
- labelColor: '',
1400
+ labelColor: "",
1393
1401
  submitFlag: true,
1394
1402
  /**showText: false,*/
1395
1403
  formField: "",
@@ -1427,9 +1435,8 @@ export const basicFields = [
1427
1435
  showRuleEnabled: 1,
1428
1436
  showRules: [],
1429
1437
 
1430
- ...defaultTextFlagConfig
1431
-
1432
- }
1438
+ ...defaultTextFlagConfig,
1439
+ },
1433
1440
  },
1434
1441
  {
1435
1442
  type: "time-range",
@@ -1443,7 +1450,7 @@ export const basicFields = [
1443
1450
  keyNameEnabled: !1,
1444
1451
  keyName: "",
1445
1452
  label: "",
1446
- labelColor: '',
1453
+ labelColor: "",
1447
1454
  submitFlag: true,
1448
1455
  formField: "",
1449
1456
  labelAlign: "",
@@ -1480,9 +1487,7 @@ export const basicFields = [
1480
1487
  showRuleFlag: 1,
1481
1488
  showRuleEnabled: 1,
1482
1489
  showRules: [],
1483
-
1484
-
1485
- }
1490
+ },
1486
1491
  },
1487
1492
  {
1488
1493
  type: "date",
@@ -1496,7 +1501,7 @@ export const basicFields = [
1496
1501
  keyNameEnabled: !1,
1497
1502
  keyName: "",
1498
1503
  label: "",
1499
- labelColor: '',
1504
+ labelColor: "",
1500
1505
  submitFlag: true,
1501
1506
  /**showText: false,*/
1502
1507
  formField: "",
@@ -1536,9 +1541,8 @@ export const basicFields = [
1536
1541
  showRuleEnabled: 1,
1537
1542
  showRules: [],
1538
1543
 
1539
- ...defaultTextFlagConfig
1540
-
1541
- }
1544
+ ...defaultTextFlagConfig,
1545
+ },
1542
1546
  },
1543
1547
  {
1544
1548
  type: "date-range",
@@ -1552,7 +1556,7 @@ export const basicFields = [
1552
1556
  keyNameEnabled: !1,
1553
1557
  keyName: "",
1554
1558
  label: "",
1555
- labelColor: '',
1559
+ labelColor: "",
1556
1560
  submitFlag: true,
1557
1561
  formField: "",
1558
1562
  labelAlign: "",
@@ -1571,7 +1575,7 @@ export const basicFields = [
1571
1575
  editable: !1,
1572
1576
  format: "yyyy-MM-dd",
1573
1577
  valueFormat: "yyyy-MM-dd",
1574
- defaultTime: ['00:00:00', '23:59:59'],
1578
+ defaultTime: ["00:00:00", "23:59:59"],
1575
1579
  required: !1,
1576
1580
  requiredHint: "",
1577
1581
  validation: "",
@@ -1592,8 +1596,7 @@ export const basicFields = [
1592
1596
  showRuleFlag: 1,
1593
1597
  showRuleEnabled: 1,
1594
1598
  showRules: [],
1595
-
1596
- }
1599
+ },
1597
1600
  },
1598
1601
  /* {
1599
1602
  type: "switch",
@@ -1741,9 +1744,8 @@ export const basicFields = [
1741
1744
  showRuleEnabled: 1,
1742
1745
  showRules: [],
1743
1746
 
1744
- ...defaultTextFlagConfig
1745
-
1746
- }
1747
+ ...defaultTextFlagConfig,
1748
+ },
1747
1749
  },
1748
1750
  {
1749
1751
  type: "html-text",
@@ -1765,8 +1767,7 @@ export const basicFields = [
1765
1767
  showRuleFlag: 1,
1766
1768
  showRuleEnabled: 1,
1767
1769
  showRules: [],
1768
-
1769
- }
1770
+ },
1770
1771
  },
1771
1772
  /* {
1772
1773
  type: 'title-head',
@@ -1811,13 +1812,13 @@ export const basicFields = [
1811
1812
  onClick: "",
1812
1813
  accessType: "1",
1813
1814
  clickBindEvent: null,
1814
- onBeforeClickButton:null,
1815
+ onBeforeClickButton: null,
1815
1816
  searchDialogConfig: {
1816
- ...defaultSearchDialogConfig
1817
+ ...defaultSearchDialogConfig,
1817
1818
  },
1818
1819
  addTableDataConfig: {
1819
1820
  tableRef: null,
1820
- tableData: {}
1821
+ tableData: {},
1821
1822
  },
1822
1823
  ...defaultWfConfig,
1823
1824
  hiddenByWf: true,
@@ -1826,8 +1827,7 @@ export const basicFields = [
1826
1827
  showRuleFlag: 1,
1827
1828
  showRuleEnabled: 1,
1828
1829
  showRules: [],
1829
-
1830
- }
1830
+ },
1831
1831
  },
1832
1832
  {
1833
1833
  type: "divider",
@@ -1845,8 +1845,8 @@ export const basicFields = [
1845
1845
  customClass: "",
1846
1846
  ...defaultWfConfig,
1847
1847
  onCreated: "",
1848
- onMounted: ""
1849
- }
1848
+ onMounted: "",
1849
+ },
1850
1850
  },
1851
1851
  /*{
1852
1852
  type: "descriptions",
@@ -1914,7 +1914,7 @@ export const basicFields = [
1914
1914
  keyNameEnabled: !1,
1915
1915
  keyName: "",
1916
1916
  label: "",
1917
- labelColor: '',
1917
+ labelColor: "",
1918
1918
  submitFlag: true,
1919
1919
  formField: "",
1920
1920
  hidden: !1,
@@ -1937,8 +1937,8 @@ export const basicFields = [
1937
1937
  showRuleEnabled: 1,
1938
1938
  showRules: [],
1939
1939
 
1940
- ...defaultTextFlagConfig
1941
- }
1940
+ ...defaultTextFlagConfig,
1941
+ },
1942
1942
  },
1943
1943
  {
1944
1944
  type: "a-text",
@@ -1952,7 +1952,7 @@ export const basicFields = [
1952
1952
  keyNameEnabled: !1,
1953
1953
  keyName: "",
1954
1954
  label: "",
1955
- labelColor: '',
1955
+ labelColor: "",
1956
1956
  displayStyle: "block",
1957
1957
  submitFlag: true,
1958
1958
  /**showText: false,*/
@@ -1987,8 +1987,8 @@ export const basicFields = [
1987
1987
  showRuleEnabled: 1,
1988
1988
  showRules: [],
1989
1989
 
1990
- ...defaultTextFlagConfig
1991
- }
1990
+ ...defaultTextFlagConfig,
1991
+ },
1992
1992
  },
1993
1993
  {
1994
1994
  type: "a-link",
@@ -2018,13 +2018,13 @@ export const basicFields = [
2018
2018
  onMounted: "",
2019
2019
  onClick: "",
2020
2020
  clickBindEvent: null,
2021
- onBeforeClickButton:null,
2021
+ onBeforeClickButton: null,
2022
2022
  searchDialogConfig: {
2023
- ...defaultSearchDialogConfig
2023
+ ...defaultSearchDialogConfig,
2024
2024
  },
2025
2025
  addTableDataConfig: {
2026
2026
  tableRef: null,
2027
- tableData: {}
2027
+ tableData: {},
2028
2028
  },
2029
2029
  ...defaultWfConfig,
2030
2030
  ...defaultWidgetShowRuleConfig,
@@ -2033,8 +2033,8 @@ export const basicFields = [
2033
2033
  showRuleEnabled: 1,
2034
2034
  showRules: [],
2035
2035
 
2036
- ...defaultTextFlagConfig
2037
- }
2036
+ ...defaultTextFlagConfig,
2037
+ },
2038
2038
  },
2039
2039
  {
2040
2040
  type: "a-link2",
@@ -2053,23 +2053,22 @@ export const basicFields = [
2053
2053
 
2054
2054
  onClick: "",
2055
2055
  clickBindEvent: null,
2056
- onBeforeClickButton:null,
2056
+ onBeforeClickButton: null,
2057
2057
  searchDialogConfig: {
2058
- ...defaultSearchDialogConfig
2058
+ ...defaultSearchDialogConfig,
2059
2059
  },
2060
2060
  addTableDataConfig: {
2061
2061
  tableRef: null,
2062
- tableData: {}
2062
+ tableData: {},
2063
2063
  },
2064
- }
2064
+ },
2065
2065
  },
2066
-
2067
- ]
2066
+ ];
2068
2067
 
2069
2068
  export const advancedFields = [
2070
2069
  {
2071
- type: 'echart-pie',
2072
- icon: 'echart-pie',
2070
+ type: "echart-pie",
2071
+ icon: "echart-pie",
2073
2072
  commonFlag: !0,
2074
2073
  formItemFlag: false,
2075
2074
  options: {
@@ -2078,77 +2077,86 @@ export const advancedFields = [
2078
2077
  hidden: !1,
2079
2078
  echarPieOption: {
2080
2079
  backgroundColor: "#fff",
2081
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2080
+ color: [
2081
+ "#5BC1D7",
2082
+ "#FF8A3D",
2083
+ "#56C271",
2084
+ "#694ED6",
2085
+ "#C033A1",
2086
+ "#FFCC10",
2087
+ ],
2082
2088
  title: {
2083
2089
  show: true,
2084
- top: '5px',
2085
- text: '这是饼图标题',
2090
+ top: "5px",
2091
+ text: "这是饼图标题",
2086
2092
  },
2087
2093
  grid: {
2088
- top: '80px',
2089
- left: '3%',
2090
- right: '6%',
2091
- bottom: '3%',
2092
- containLabel: true
2094
+ top: "80px",
2095
+ left: "3%",
2096
+ right: "6%",
2097
+ bottom: "3%",
2098
+ containLabel: true,
2093
2099
  },
2094
2100
  legend: {
2095
2101
  show: false,
2096
- right: '12px',
2102
+ right: "12px",
2097
2103
  itemGap: 20,
2098
2104
  itemWidth: 10,
2099
2105
  itemHeight: 10,
2100
- orient: 'horizontal'
2106
+ orient: "horizontal",
2101
2107
  },
2102
2108
  tooltip: {
2103
- trigger: 'axis',
2109
+ trigger: "axis",
2104
2110
  axisPointer: {
2105
- type: 'shadow',
2111
+ type: "shadow",
2106
2112
  label: {
2107
- backgroundColor: '#fff'
2108
- }
2109
- }
2110
- },
2111
- series: [{
2112
- // name: 'Access From',
2113
- type: 'pie',
2114
- radius: '60%',
2115
- center: ['50%', '48%'],
2116
- itemStyle: {
2117
- borderRadius: 10,
2118
- borderColor: '#FFF',
2119
- borderWidth: 2
2120
- },
2121
- label: {
2122
- show: true,
2123
- fontSize: 12,
2124
- color: "",
2125
- fontWeight: "normal"
2126
- },
2127
- data: [
2128
- {
2129
- value: 1048,
2130
- name: 'Search Engine'
2113
+ backgroundColor: "#fff",
2131
2114
  },
2132
- {
2133
- value: 735,
2134
- name: 'Direct'
2135
- },
2136
- {
2137
- value: 580,
2138
- name: 'Email'
2115
+ },
2116
+ },
2117
+ series: [
2118
+ {
2119
+ // name: 'Access From',
2120
+ type: "pie",
2121
+ radius: "60%",
2122
+ center: ["50%", "48%"],
2123
+ itemStyle: {
2124
+ borderRadius: 10,
2125
+ borderColor: "#FFF",
2126
+ borderWidth: 2,
2139
2127
  },
2140
- {
2141
- value: 484,
2142
- name: 'Union Ads'
2128
+ label: {
2129
+ show: true,
2130
+ fontSize: 12,
2131
+ color: "",
2132
+ fontWeight: "normal",
2143
2133
  },
2144
- {
2145
- value: 300,
2146
- name: 'Video Ads'
2147
- }
2148
- ],
2149
- }]
2134
+ data: [
2135
+ {
2136
+ value: 1048,
2137
+ name: "Search Engine",
2138
+ },
2139
+ {
2140
+ value: 735,
2141
+ name: "Direct",
2142
+ },
2143
+ {
2144
+ value: 580,
2145
+ name: "Email",
2146
+ },
2147
+ {
2148
+ value: 484,
2149
+ name: "Union Ads",
2150
+ },
2151
+ {
2152
+ value: 300,
2153
+ name: "Video Ads",
2154
+ },
2155
+ ],
2156
+ },
2157
+ ],
2150
2158
  },
2151
- echartConfig: '',
2159
+ echartConfig: "",
2152
2160
 
2153
2161
  ...httpConfig,
2154
2162
 
@@ -2159,12 +2167,12 @@ export const advancedFields = [
2159
2167
  ...defaultWfConfig,
2160
2168
  showRuleFlag: 1,
2161
2169
  showRuleEnabled: 1,
2162
- showRules: []
2163
- }
2170
+ showRules: [],
2171
+ },
2164
2172
  },
2165
2173
  {
2166
- type: 'echart-bar',
2167
- icon: 'echart',
2174
+ type: "echart-bar",
2175
+ icon: "echart",
2168
2176
  commonFlag: !0,
2169
2177
  formItemFlag: false,
2170
2178
  options: {
@@ -2173,45 +2181,52 @@ export const advancedFields = [
2173
2181
  hidden: !1,
2174
2182
  echarBarOption: {
2175
2183
  backgroundColor: "#fff",
2176
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2184
+ color: [
2185
+ "#5BC1D7",
2186
+ "#FF8A3D",
2187
+ "#56C271",
2188
+ "#694ED6",
2189
+ "#C033A1",
2190
+ "#FFCC10",
2191
+ ],
2177
2192
  colors: [],
2178
2193
  title: {
2179
2194
  show: true,
2180
- top: '5px',
2181
- text: '这是柱形图标题',
2195
+ top: "5px",
2196
+ text: "这是柱形图标题",
2182
2197
  },
2183
2198
  grid: {
2184
- top: '80px',
2185
- left: '3%',
2186
- right: '80',
2187
- bottom: '3%',
2188
- containLabel: true
2199
+ top: "80px",
2200
+ left: "3%",
2201
+ right: "80",
2202
+ bottom: "3%",
2203
+ containLabel: true,
2189
2204
  },
2190
2205
  legend: {
2191
- right: '12px',
2192
- top: '8px',
2193
- icon: 'circle',
2206
+ right: "12px",
2207
+ top: "8px",
2208
+ icon: "circle",
2194
2209
  itemWidth: 12,
2195
2210
 
2196
2211
  itemGap: 24,
2197
2212
  },
2198
2213
  tooltip: {
2199
- trigger: 'axis',
2214
+ trigger: "axis",
2200
2215
  axisPointer: {
2201
- type: 'shadow',
2216
+ type: "shadow",
2202
2217
  label: {
2203
- backgroundColor: '#fff'
2204
- }
2205
- }
2218
+ backgroundColor: "#fff",
2219
+ },
2220
+ },
2206
2221
  },
2207
2222
  xAxis: {
2208
- type: 'category',
2209
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2223
+ type: "category",
2224
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2210
2225
  show: true,
2211
2226
  name: "X轴",
2212
2227
  nameTextStyle: {
2213
2228
  color: "#606266",
2214
- fontSize: 12
2229
+ fontSize: 12,
2215
2230
  },
2216
2231
  axisLabel: {
2217
2232
  color: "#606266",
@@ -2221,20 +2236,20 @@ export const advancedFields = [
2221
2236
  inverse: false,
2222
2237
  axisLine: {
2223
2238
  lineStyle: {
2224
- color: "#E6EBF5"
2225
- }
2239
+ color: "#E6EBF5",
2240
+ },
2226
2241
  },
2227
2242
  splitLine: {
2228
2243
  show: false,
2229
- }
2244
+ },
2230
2245
  },
2231
2246
  yAxis: {
2232
- type: 'value',
2247
+ type: "value",
2233
2248
  show: true,
2234
2249
  name: "Y轴",
2235
2250
  nameTextStyle: {
2236
2251
  color: "#606266",
2237
- fontSize: 12
2252
+ fontSize: 12,
2238
2253
  },
2239
2254
  axisLabel: {
2240
2255
  color: "#606266",
@@ -2245,83 +2260,94 @@ export const advancedFields = [
2245
2260
  axisLine: {
2246
2261
  show: false,
2247
2262
  lineStyle: {
2248
- color: ""
2249
- }
2263
+ color: "",
2264
+ },
2250
2265
  },
2251
2266
  splitLine: {
2252
2267
  show: true,
2253
2268
  lineStyle: {
2254
- color: "#E6EBF5"
2255
- }
2256
- }
2257
- },
2258
- series: [{
2259
- data: [120, 200, 150, 80, 70, 110, 130],
2260
- type: 'bar',
2261
- name: 'Video Ad',
2262
- label: {
2263
- show: false,
2264
- fontSize: 12,
2265
- color: "#FFF",
2266
- fontWeight: "normal",
2267
- position: 'insideTop',
2268
- },
2269
- backgroundStyle: {
2270
- color: 'rgba(180, 180, 180, 0.2)'
2269
+ color: "#E6EBF5",
2270
+ },
2271
2271
  },
2272
- barMaxWidth: 28,
2273
- barMinHeight: 0,
2274
- barGap: '15%',
2275
- itemStyle: {
2276
- color: {
2277
- type: 'linear',
2278
- x: 0.5,
2279
- y: 0.9,
2280
- r: 0.2,
2281
- colorStops: [{
2282
- offset: 1, color: '#08C084' // 0% 处的颜色
2283
- }, {
2284
- offset: 0, color: '#97EACE' // 100% 处的颜色
2285
- }],
2272
+ },
2273
+ series: [
2274
+ {
2275
+ data: [120, 200, 150, 80, 70, 110, 130],
2276
+ type: "bar",
2277
+ name: "Video Ad",
2278
+ label: {
2279
+ show: false,
2280
+ fontSize: 12,
2281
+ color: "#FFF",
2282
+ fontWeight: "normal",
2283
+ position: "insideTop",
2284
+ },
2285
+ backgroundStyle: {
2286
+ color: "rgba(180, 180, 180, 0.2)",
2287
+ },
2288
+ barMaxWidth: 28,
2289
+ barMinHeight: 0,
2290
+ barGap: "15%",
2291
+ itemStyle: {
2292
+ color: {
2293
+ type: "linear",
2294
+ x: 0.5,
2295
+ y: 0.9,
2296
+ r: 0.2,
2297
+ colorStops: [
2298
+ {
2299
+ offset: 1,
2300
+ color: "#08C084", // 0% 处的颜色
2301
+ },
2302
+ {
2303
+ offset: 0,
2304
+ color: "#97EACE", // 100% 处的颜色
2305
+ },
2306
+ ],
2307
+ },
2308
+ borderRadius: [20, 20, 0, 0],
2286
2309
  },
2287
- borderRadius: [20, 20, 0, 0]
2288
2310
  },
2311
+ {
2312
+ data: [140, 232, 101, 264, 90, 340, 250],
2313
+ type: "bar",
2314
+ name: "Video Ad1",
2289
2315
 
2290
- }, {
2291
- data: [140, 232, 101, 264, 90, 340, 250],
2292
- type: 'bar',
2293
- name: 'Video Ad1',
2294
-
2295
- label: {
2296
- show: false,
2297
- fontSize: 12,
2298
- color: "#FFF",
2299
- fontWeight: "normal",
2300
- position: 'insideTop',
2301
- },
2302
- backgroundStyle: {
2303
- color: 'rgba(180, 180, 180, 0.2)'
2304
- },
2305
- barMaxWidth: '28%',
2306
- barMinHeight: 0,
2307
- itemStyle: {
2308
- color: {
2309
- type: 'linear',
2310
- x: 0.5,
2311
- y: 0.9,
2312
- r: 0.2,
2313
- colorStops: [{
2314
- offset: 1, color: '#29ABE3' // 0% 处的颜色
2315
- }, {
2316
- offset: 0, color: '#AADEF4' // 100% 处的颜色
2317
- }],
2316
+ label: {
2317
+ show: false,
2318
+ fontSize: 12,
2319
+ color: "#FFF",
2320
+ fontWeight: "normal",
2321
+ position: "insideTop",
2322
+ },
2323
+ backgroundStyle: {
2324
+ color: "rgba(180, 180, 180, 0.2)",
2325
+ },
2326
+ barMaxWidth: "28%",
2327
+ barMinHeight: 0,
2328
+ itemStyle: {
2329
+ color: {
2330
+ type: "linear",
2331
+ x: 0.5,
2332
+ y: 0.9,
2333
+ r: 0.2,
2334
+ colorStops: [
2335
+ {
2336
+ offset: 1,
2337
+ color: "#29ABE3", // 0% 处的颜色
2338
+ },
2339
+ {
2340
+ offset: 0,
2341
+ color: "#AADEF4", // 100% 处的颜色
2342
+ },
2343
+ ],
2344
+ },
2345
+ borderRadius: [20, 20, 0, 0],
2318
2346
  },
2319
- borderRadius: [20, 20, 0, 0]
2320
2347
  },
2321
-
2322
- }]
2348
+ ],
2323
2349
  },
2324
- echartConfig: '',
2350
+ echartConfig: "",
2325
2351
 
2326
2352
  ...httpConfig,
2327
2353
 
@@ -2331,12 +2357,12 @@ export const advancedFields = [
2331
2357
  ...defaultWfConfig,
2332
2358
  showRuleFlag: 1,
2333
2359
  showRuleEnabled: 1,
2334
- showRules: []
2335
- }
2360
+ showRules: [],
2361
+ },
2336
2362
  },
2337
2363
  {
2338
- type: 'echart-category',
2339
- icon: 'echart-category',
2364
+ type: "echart-category",
2365
+ icon: "echart-category",
2340
2366
  commonFlag: !0,
2341
2367
  formItemFlag: false,
2342
2368
  options: {
@@ -2346,43 +2372,50 @@ export const advancedFields = [
2346
2372
  reqSources: [],
2347
2373
  echarCategoryOption: {
2348
2374
  backgroundColor: "#fff",
2349
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2375
+ color: [
2376
+ "#5BC1D7",
2377
+ "#FF8A3D",
2378
+ "#56C271",
2379
+ "#694ED6",
2380
+ "#C033A1",
2381
+ "#FFCC10",
2382
+ ],
2350
2383
  colors: [],
2351
2384
  title: {
2352
2385
  show: true,
2353
- top: '5px',
2354
- text: '这是折线图标题',
2386
+ top: "5px",
2387
+ text: "这是折线图标题",
2355
2388
  },
2356
2389
  grid: {
2357
- top: '80px',
2358
- left: '3%',
2359
- right: '80',
2360
- bottom: '3%',
2361
- containLabel: true
2390
+ top: "80px",
2391
+ left: "3%",
2392
+ right: "80",
2393
+ bottom: "3%",
2394
+ containLabel: true,
2362
2395
  },
2363
2396
  legend: {
2364
- right: '12px',
2365
- top: '8px',
2397
+ right: "12px",
2398
+ top: "8px",
2366
2399
  itemGap: 24,
2367
2400
  },
2368
2401
  tooltip: {
2369
- trigger: 'axis',
2402
+ trigger: "axis",
2370
2403
  axisPointer: {
2371
- type: 'shadow',
2404
+ type: "shadow",
2372
2405
  label: {
2373
- backgroundColor: '#fff'
2374
- }
2375
- }
2406
+ backgroundColor: "#fff",
2407
+ },
2408
+ },
2376
2409
  },
2377
2410
  xAxis: {
2378
- type: 'category',
2379
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2411
+ type: "category",
2412
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2380
2413
  show: true,
2381
2414
  name: "X轴",
2382
2415
  boundaryGap: false,
2383
2416
  nameTextStyle: {
2384
2417
  color: "#606266",
2385
- fontSize: 12
2418
+ fontSize: 12,
2386
2419
  },
2387
2420
  axisLabel: {
2388
2421
  color: "#606266",
@@ -2392,24 +2425,24 @@ export const advancedFields = [
2392
2425
  inverse: false,
2393
2426
  axisLine: {
2394
2427
  lineStyle: {
2395
- color: "#E6EBF5"
2396
- }
2428
+ color: "#E6EBF5",
2429
+ },
2397
2430
  },
2398
2431
  splitLine: {
2399
2432
  show: true,
2400
2433
  lineStyle: {
2401
- type: 'dashed',
2402
- color: "#E6EBF595"
2403
- }
2404
- }
2434
+ type: "dashed",
2435
+ color: "#E6EBF595",
2436
+ },
2437
+ },
2405
2438
  },
2406
2439
  yAxis: {
2407
- type: 'value',
2440
+ type: "value",
2408
2441
  show: true,
2409
2442
  name: "Y轴",
2410
2443
  nameTextStyle: {
2411
2444
  color: "#606266",
2412
- fontSize: 12
2445
+ fontSize: 12,
2413
2446
  },
2414
2447
  axisLabel: {
2415
2448
  color: "#606266",
@@ -2420,122 +2453,144 @@ export const advancedFields = [
2420
2453
  axisLine: {
2421
2454
  show: false,
2422
2455
  lineStyle: {
2423
- color: ""
2424
- }
2456
+ color: "",
2457
+ },
2425
2458
  },
2426
2459
  splitLine: {
2427
2460
  show: true,
2428
2461
  lineStyle: {
2429
- color: "#E6EBF5"
2430
- }
2431
- }
2432
- },
2433
- series: [{
2434
- name: "R1",
2435
- data: [220, 282, 111, 234, 220, 340, 310],
2436
- type: 'line',
2437
- stack: 'Total',
2438
- label: {
2439
- show: true,
2440
- fontSize: 12,
2441
- color: "#212121",
2442
- fontWeight: "normal"
2443
- },
2444
- lineStyle: {
2445
- color: {
2446
- type: 'linear',
2447
- x: 0.5,
2448
- y: 0.5,
2449
- r: 0.5,
2450
- colorStops: [{
2451
- offset: 0, color: '#08C084' // 0% 处的颜色
2452
- }, {
2453
- offset: 1, color: '#97EACE' // 100% 处的颜色
2454
- }],
2462
+ color: "#E6EBF5",
2455
2463
  },
2456
- cap: 'round',
2457
- shadowColor: '#08C08450',
2458
- shadowBlur: 4,
2459
- shadowOffsetY: 6
2460
2464
  },
2461
- itemStyle: {
2462
- color: {
2463
- type: 'linear',
2464
- x: 0.5,
2465
- y: 0.5,
2466
- r: 0.5,
2467
- colorStops: [{
2468
- offset: 0, color: '#08C084' // 0% 处的颜色
2469
- }, {
2470
- offset: 1, color: '#97EACE' // 100% 处的颜色
2471
- }],
2465
+ },
2466
+ series: [
2467
+ {
2468
+ name: "R1",
2469
+ data: [220, 282, 111, 234, 220, 340, 310],
2470
+ type: "line",
2471
+ stack: "Total",
2472
+ label: {
2473
+ show: true,
2474
+ fontSize: 12,
2475
+ color: "#212121",
2476
+ fontWeight: "normal",
2472
2477
  },
2473
- cap: 'round',
2474
- shadowColor: '#08C08450',
2475
- shadowBlur: 4,
2476
- shadowOffsetY: 6
2477
- },
2478
- emphasis: {
2479
- scale: 1,
2480
- focus: 'series'
2481
- },
2482
- showSymbol: false,
2483
- smooth: true,
2484
- }, {
2485
- name: "R2",
2486
- data: [140, 232, 101, 264, 90, 340, 250],
2487
- type: 'line',
2488
- stack: 'Total',
2489
- label: {
2490
- show: true,
2491
- fontSize: 12,
2492
- color: "#212121",
2493
- fontWeight: "normal"
2494
- },
2495
- lineStyle: {
2496
- color: {
2497
- type: 'linear',
2498
- x: 0.5,
2499
- y: 0.5,
2500
- r: 0.5,
2501
- colorStops: [{
2502
- offset: 0, color: '#FF6116' // 0% 处的颜色
2503
- }, {
2504
- offset: 1, color: '#F9A980' // 100% 处的颜色
2505
- }],
2478
+ lineStyle: {
2479
+ color: {
2480
+ type: "linear",
2481
+ x: 0.5,
2482
+ y: 0.5,
2483
+ r: 0.5,
2484
+ colorStops: [
2485
+ {
2486
+ offset: 0,
2487
+ color: "#08C084", // 0% 处的颜色
2488
+ },
2489
+ {
2490
+ offset: 1,
2491
+ color: "#97EACE", // 100% 处的颜色
2492
+ },
2493
+ ],
2494
+ },
2495
+ cap: "round",
2496
+ shadowColor: "#08C08450",
2497
+ shadowBlur: 4,
2498
+ shadowOffsetY: 6,
2506
2499
  },
2507
- cap: 'round',
2508
- shadowColor: '#FF611650',
2509
- shadowBlur: 4,
2510
- shadowOffsetY: 6
2511
- },
2512
- itemStyle: {
2513
- color: {
2514
- type: 'linear',
2515
- x: 0.5,
2516
- y: 0.5,
2517
- r: 0.5,
2518
- colorStops: [{
2519
- offset: 0, color: '#FF6116' // 0% 处的颜色
2520
- }, {
2521
- offset: 1, color: '#F9A980' // 100% 处的颜色
2522
- }],
2500
+ itemStyle: {
2501
+ color: {
2502
+ type: "linear",
2503
+ x: 0.5,
2504
+ y: 0.5,
2505
+ r: 0.5,
2506
+ colorStops: [
2507
+ {
2508
+ offset: 0,
2509
+ color: "#08C084", // 0% 处的颜色
2510
+ },
2511
+ {
2512
+ offset: 1,
2513
+ color: "#97EACE", // 100% 处的颜色
2514
+ },
2515
+ ],
2516
+ },
2517
+ cap: "round",
2518
+ shadowColor: "#08C08450",
2519
+ shadowBlur: 4,
2520
+ shadowOffsetY: 6,
2523
2521
  },
2524
- cap: 'round',
2525
- shadowColor: '#FF611650',
2526
- shadowBlur: 4,
2527
- shadowOffsetY: 6
2522
+ emphasis: {
2523
+ scale: 1,
2524
+ focus: "series",
2525
+ },
2526
+ showSymbol: false,
2527
+ smooth: true,
2528
2528
  },
2529
- emphasis: {
2530
- scale: 1,
2531
- focus: 'series'
2529
+ {
2530
+ name: "R2",
2531
+ data: [140, 232, 101, 264, 90, 340, 250],
2532
+ type: "line",
2533
+ stack: "Total",
2534
+ label: {
2535
+ show: true,
2536
+ fontSize: 12,
2537
+ color: "#212121",
2538
+ fontWeight: "normal",
2539
+ },
2540
+ lineStyle: {
2541
+ color: {
2542
+ type: "linear",
2543
+ x: 0.5,
2544
+ y: 0.5,
2545
+ r: 0.5,
2546
+ colorStops: [
2547
+ {
2548
+ offset: 0,
2549
+ color: "#FF6116", // 0% 处的颜色
2550
+ },
2551
+ {
2552
+ offset: 1,
2553
+ color: "#F9A980", // 100% 处的颜色
2554
+ },
2555
+ ],
2556
+ },
2557
+ cap: "round",
2558
+ shadowColor: "#FF611650",
2559
+ shadowBlur: 4,
2560
+ shadowOffsetY: 6,
2561
+ },
2562
+ itemStyle: {
2563
+ color: {
2564
+ type: "linear",
2565
+ x: 0.5,
2566
+ y: 0.5,
2567
+ r: 0.5,
2568
+ colorStops: [
2569
+ {
2570
+ offset: 0,
2571
+ color: "#FF6116", // 0% 处的颜色
2572
+ },
2573
+ {
2574
+ offset: 1,
2575
+ color: "#F9A980", // 100% 处的颜色
2576
+ },
2577
+ ],
2578
+ },
2579
+ cap: "round",
2580
+ shadowColor: "#FF611650",
2581
+ shadowBlur: 4,
2582
+ shadowOffsetY: 6,
2583
+ },
2584
+ emphasis: {
2585
+ scale: 1,
2586
+ focus: "series",
2587
+ },
2588
+ showSymbol: false,
2589
+ smooth: true,
2532
2590
  },
2533
- showSymbol: false,
2534
- smooth: true,
2535
- }]
2536
-
2591
+ ],
2537
2592
  },
2538
- echartConfig: '',
2593
+ echartConfig: "",
2539
2594
 
2540
2595
  ...httpConfig,
2541
2596
 
@@ -2545,21 +2600,20 @@ export const advancedFields = [
2545
2600
  ...defaultWfConfig,
2546
2601
  showRuleFlag: 1,
2547
2602
  showRuleEnabled: 1,
2548
- showRules: []
2549
- }
2603
+ showRules: [],
2604
+ },
2550
2605
  },
2551
2606
  {
2552
- type: 'echart',
2553
- icon: 'echart',
2607
+ type: "echart",
2608
+ icon: "echart",
2554
2609
  formItemFlag: false,
2555
2610
  options: {
2556
2611
  name: "",
2557
- echartHeight: '200',
2612
+ echartHeight: "200",
2558
2613
  hidden: !1,
2559
- echarPieOption: {}
2560
- }
2561
- }
2562
- ,
2614
+ echarPieOption: {},
2615
+ },
2616
+ },
2563
2617
  /*{
2564
2618
  type: 'news-list',
2565
2619
  icon: 'news-list',
@@ -2665,7 +2719,7 @@ export const advancedFields = [
2665
2719
  keyName: "",
2666
2720
  keyNameSuffix: "",
2667
2721
  label: "",
2668
- labelColor: '',
2722
+ labelColor: "",
2669
2723
  submitFlag: true,
2670
2724
  disabled: !1,
2671
2725
  hidden: !1,
@@ -2695,8 +2749,8 @@ export const advancedFields = [
2695
2749
  showFileSize: false,
2696
2750
  showFileCreateBy: false,
2697
2751
  showFileCreateDate: false,
2698
- widgetSize: 2
2699
- }
2752
+ widgetSize: 2,
2753
+ },
2700
2754
  },
2701
2755
  {
2702
2756
  type: "vabsearch",
@@ -2706,8 +2760,8 @@ export const advancedFields = [
2706
2760
  formItemFlag: !0,
2707
2761
  tableField: null,
2708
2762
  options: {
2709
- ...vabsearchConfig
2710
- }
2763
+ ...vabsearchConfig,
2764
+ },
2711
2765
  },
2712
2766
  {
2713
2767
  type: "singerSearch",
@@ -2717,8 +2771,8 @@ export const advancedFields = [
2717
2771
  formItemFlag: !0,
2718
2772
  tableField: null,
2719
2773
  options: {
2720
- ...vabsearchConfig
2721
- }
2774
+ ...vabsearchConfig,
2775
+ },
2722
2776
  },
2723
2777
  {
2724
2778
  type: "multiSearch",
@@ -2728,8 +2782,8 @@ export const advancedFields = [
2728
2782
  formItemFlag: !0,
2729
2783
  tableField: null,
2730
2784
  options: {
2731
- ...vabsearchConfig
2732
- }
2785
+ ...vabsearchConfig,
2786
+ },
2733
2787
  },
2734
2788
  {
2735
2789
  type: "search_button",
@@ -2756,24 +2810,24 @@ export const advancedFields = [
2756
2810
  },*/
2757
2811
  // vabSearchField: null,
2758
2812
  // onSearchConfirm: "",
2759
- dialogModel: '1',
2813
+ dialogModel: "1",
2760
2814
  systemDialogUrl: null,
2761
2815
  accessType: "1",
2762
2816
  onClick: "",
2763
2817
  onCreated: "",
2764
2818
  onMounted: "",
2765
- clickBindEvent: '1',
2766
- onBeforeClickButton:null,
2819
+ clickBindEvent: "1",
2820
+ onBeforeClickButton: null,
2767
2821
  searchDialogConfig: {
2768
2822
  ...defaultSearchDialogConfig,
2769
- tableEnabled: true
2823
+ tableEnabled: true,
2770
2824
  },
2771
2825
  ...defaultWfConfig,
2772
2826
  ...defaultWidgetShowRuleConfig,
2773
2827
  showRuleFlag: 1,
2774
2828
  showRuleEnabled: 1,
2775
- showRules: []
2776
- }
2829
+ showRules: [],
2830
+ },
2777
2831
  },
2778
2832
  {
2779
2833
  type: "save_button",
@@ -2803,9 +2857,9 @@ export const advancedFields = [
2803
2857
  accessType: "1",
2804
2858
  saveButton: true,
2805
2859
  clickBindEvent: null,
2806
- onBeforeClickButton:null,
2860
+ onBeforeClickButton: null,
2807
2861
  searchDialogConfig: {
2808
- ...defaultSearchDialogConfig
2862
+ ...defaultSearchDialogConfig,
2809
2863
  },
2810
2864
  ...defaultWfConfig,
2811
2865
  ...defaultWidgetShowRuleConfig,
@@ -2813,8 +2867,7 @@ export const advancedFields = [
2813
2867
 
2814
2868
  showRuleFlag: 1,
2815
2869
  showRuleEnabled: 1,
2816
- showRules: []
2817
-
2870
+ showRules: [],
2818
2871
  },
2819
2872
  },
2820
2873
  {
@@ -2843,15 +2896,15 @@ export const advancedFields = [
2843
2896
  onClick: "this.getFormRef().$baseReload()",
2844
2897
  accessType: "1",
2845
2898
  clickBindEvent: null,
2846
- onBeforeClickButton:null,
2899
+ onBeforeClickButton: null,
2847
2900
  searchDialogConfig: {
2848
- ...defaultSearchDialogConfig
2901
+ ...defaultSearchDialogConfig,
2849
2902
  },
2850
2903
  ...defaultWfConfig,
2851
2904
  ...defaultWidgetShowRuleConfig,
2852
2905
  showRuleFlag: 1,
2853
2906
  showRuleEnabled: 1,
2854
- showRules: []
2907
+ showRules: [],
2855
2908
  },
2856
2909
  },
2857
2910
  {
@@ -2867,10 +2920,11 @@ export const advancedFields = [
2867
2920
  keyName: "",
2868
2921
  hidden: !1,
2869
2922
  customClass: "",
2870
- exportFileName: '导出',
2871
- tableRef: '',
2923
+ exportFileName: "导出",
2924
+ tableRef: "",
2872
2925
  tableExportParam: "",
2873
2926
  showImageAtTable: false,
2927
+ tableExportFlag: 1,
2874
2928
 
2875
2929
  onCreated: "",
2876
2930
  onMounted: "",
@@ -2878,9 +2932,38 @@ export const advancedFields = [
2878
2932
  ...defaultWidgetShowRuleConfig,
2879
2933
  showRuleFlag: 1,
2880
2934
  showRuleEnabled: 1,
2881
- showRules: []
2935
+ showRules: [],
2936
+ },
2937
+ },
2938
+ {
2939
+ type: "select-export-button",
2940
+ icon: "list-export",
2941
+ formItemFlag: !1,
2942
+ commonFlag: !0,
2943
+ columnFlag: true,
2944
+ options: {
2945
+ name: "",
2946
+ keyNameEnabled: !1,
2947
+ keyName: "",
2948
+ hidden: !1,
2949
+ label: "明细导出",
2950
+ customClass: "",
2951
+ buttonTypeFlag: 1,
2952
+ type: "",
2953
+ exportFileName: "明细导出",
2954
+ tableRef: "",
2955
+ tableExportParam: "",
2956
+ showImageAtTable: false,
2957
+ selectExportFlag: 1,
2882
2958
 
2883
- }
2959
+ onCreated: "",
2960
+ onMounted: "",
2961
+ ...defaultWfConfig,
2962
+ ...defaultWidgetShowRuleConfig,
2963
+ showRuleFlag: 1,
2964
+ showRuleEnabled: 1,
2965
+ showRules: [],
2966
+ },
2884
2967
  },
2885
2968
  {
2886
2969
  type: "add_button",
@@ -2907,16 +2990,16 @@ export const advancedFields = [
2907
2990
  onMounted: "",
2908
2991
  onClick: "",
2909
2992
  clickBindEvent: null,
2910
- onBeforeClickButton:null,
2993
+ onBeforeClickButton: null,
2911
2994
  searchDialogConfig: {
2912
- ...defaultSearchDialogConfig
2995
+ ...defaultSearchDialogConfig,
2913
2996
  },
2914
2997
  ...defaultWfConfig,
2915
2998
  hiddenByWf: true,
2916
2999
  ...defaultWidgetShowRuleConfig,
2917
3000
  showRuleFlag: 1,
2918
3001
  showRuleEnabled: 1,
2919
- showRules: []
3002
+ showRules: [],
2920
3003
  },
2921
3004
  },
2922
3005
  {
@@ -2944,26 +3027,26 @@ export const advancedFields = [
2944
3027
  onCreated: "",
2945
3028
  onMounted: "",
2946
3029
  // clickBindEvent: null,
2947
- onBeforeClickButton:null,
3030
+ onBeforeClickButton: null,
2948
3031
  searchDialogConfig: {
2949
- ...defaultSearchDialogConfig
3032
+ ...defaultSearchDialogConfig,
2950
3033
  },
2951
3034
  ...defaultWfConfig,
2952
3035
  hiddenByWf: true,
2953
3036
  ...defaultWidgetShowRuleConfig,
2954
3037
  importFileLimitSize: 200,
2955
- importEntity: '',
2956
- importAttachCode: '',
2957
- importAttachName: '',
2958
- importScriptCode: '',
2959
- onBeforeImport: '',
3038
+ importEntity: "",
3039
+ importAttachCode: "",
3040
+ importAttachName: "",
3041
+ importScriptCode: "",
3042
+ onBeforeImport: "",
2960
3043
  enabledImportPreHandle: false,
2961
- tableRef: '',
2962
- onSuccessImport: '',
3044
+ tableRef: "",
3045
+ onSuccessImport: "",
2963
3046
 
2964
3047
  showRuleFlag: 1,
2965
3048
  showRuleEnabled: 1,
2966
- showRules: []
3049
+ showRules: [],
2967
3050
  },
2968
3051
  },
2969
3052
  {
@@ -2991,25 +3074,25 @@ export const advancedFields = [
2991
3074
  onCreated: "",
2992
3075
  onMounted: "",
2993
3076
  // clickBindEvent: null,
2994
- onBeforeClickButton:null,
3077
+ onBeforeClickButton: null,
2995
3078
  searchDialogConfig: {
2996
- ...defaultSearchDialogConfig
3079
+ ...defaultSearchDialogConfig,
2997
3080
  },
2998
3081
  ...defaultWfConfig,
2999
3082
  hiddenByWf: true,
3000
3083
  ...defaultWidgetShowRuleConfig,
3001
3084
  frontImportFlag: 1,
3002
3085
  importFileLimitSize: 200,
3003
- importAttachCode: '',
3004
- importAttachName: '',
3005
- tableRef: '',
3086
+ importAttachCode: "",
3087
+ importAttachName: "",
3088
+ tableRef: "",
3006
3089
  onConfirmImportEnabled: false,
3007
- onConfirmImport: '',
3008
- onSuccessImport: '',
3090
+ onConfirmImport: "",
3091
+ onSuccessImport: "",
3009
3092
 
3010
3093
  showRuleFlag: 1,
3011
3094
  showRuleEnabled: 1,
3012
- showRules: []
3095
+ showRules: [],
3013
3096
  },
3014
3097
  },
3015
3098
  {
@@ -3035,9 +3118,9 @@ export const advancedFields = [
3035
3118
  onCreated: "",
3036
3119
  onMounted: "",
3037
3120
  // clickBindEvent: null,
3038
- onBeforeClickButton:null,
3121
+ onBeforeClickButton: null,
3039
3122
  searchDialogConfig: {
3040
- ...defaultSearchDialogConfig
3123
+ ...defaultSearchDialogConfig,
3041
3124
  },
3042
3125
  ...defaultWfConfig,
3043
3126
  ...defaultWidgetShowRuleConfig,
@@ -3046,7 +3129,7 @@ export const advancedFields = [
3046
3129
 
3047
3130
  showRuleFlag: 1,
3048
3131
  showRuleEnabled: 1,
3049
- showRules: []
3132
+ showRules: [],
3050
3133
  },
3051
3134
  },
3052
3135
  {
@@ -3061,7 +3144,7 @@ export const advancedFields = [
3061
3144
  keyName: "",
3062
3145
  keyNameSuffix: "",
3063
3146
  label: "",
3064
- labelColor: '',
3147
+ labelColor: "",
3065
3148
  submitFlag: true,
3066
3149
  disabled: !1,
3067
3150
  hidden: !1,
@@ -3079,8 +3162,8 @@ export const advancedFields = [
3079
3162
 
3080
3163
  showRuleFlag: 1,
3081
3164
  showRuleEnabled: 1,
3082
- showRules: []
3083
- }
3165
+ showRules: [],
3166
+ },
3084
3167
  },
3085
3168
  {
3086
3169
  type: "status",
@@ -3094,7 +3177,7 @@ export const advancedFields = [
3094
3177
  keyNameEnabled: !1,
3095
3178
  keyName: "",
3096
3179
  label: "",
3097
- labelColor: '',
3180
+ labelColor: "",
3098
3181
  submitFlag: true,
3099
3182
  disabled: !1,
3100
3183
  hidden: !1,
@@ -3110,45 +3193,48 @@ export const advancedFields = [
3110
3193
 
3111
3194
  showRuleFlag: 1,
3112
3195
  showRuleEnabled: 1,
3113
- showRules: []
3114
- }
3196
+ showRules: [],
3197
+ },
3115
3198
  },
3116
3199
  {
3117
- type: 'census',
3118
- icon: 'census',
3200
+ type: "census",
3201
+ icon: "census",
3119
3202
  commonFlag: !0,
3120
3203
  formItemFlag: false,
3121
3204
  options: {
3122
- name: '',
3205
+ name: "",
3123
3206
  keyNameEnabled: !1,
3124
3207
  keyName: "",
3125
- columnWidth: '200px',
3208
+ columnWidth: "200px",
3126
3209
  hidden: false,
3127
- customClass: '', //自定义css类名
3128
- space: '5',
3129
- censusClass: 'form-count',
3210
+ customClass: "", //自定义css类名
3211
+ space: "5",
3212
+ censusClass: "form-count",
3130
3213
  censusItems: [
3131
3214
  {
3132
3215
  number: "1002",
3133
- txt: '总数量',
3134
- detailItems: [{
3135
- txt: '跟进商机',
3136
- number: '26'
3137
- }, {
3138
- txt: '累计商机',
3139
- number: '26'
3140
- }]
3216
+ txt: "总数量",
3217
+ detailItems: [
3218
+ {
3219
+ txt: "跟进商机",
3220
+ number: "26",
3221
+ },
3222
+ {
3223
+ txt: "累计商机",
3224
+ number: "26",
3225
+ },
3226
+ ],
3141
3227
  },
3142
3228
  {
3143
3229
  number: "603",
3144
- txt: '总人数',
3230
+ txt: "总人数",
3145
3231
  detailItems: [],
3146
3232
  },
3147
3233
  {
3148
3234
  number: "5004",
3149
- txt: '总订单',
3150
- detailItems: []
3151
- }
3235
+ txt: "总订单",
3236
+ detailItems: [],
3237
+ },
3152
3238
  ],
3153
3239
 
3154
3240
  ...httpConfig,
@@ -3158,8 +3244,8 @@ export const advancedFields = [
3158
3244
  ...defaultWfConfig,
3159
3245
  showRuleFlag: 1,
3160
3246
  showRuleEnabled: 1,
3161
- showRules: []
3162
- }
3247
+ showRules: [],
3248
+ },
3163
3249
  },
3164
3250
 
3165
3251
  {
@@ -3170,8 +3256,8 @@ export const advancedFields = [
3170
3256
  formItemFlag: !0,
3171
3257
  tableField: null,
3172
3258
  options: {
3173
- ...projectTagConfig
3174
- }
3259
+ ...projectTagConfig,
3260
+ },
3175
3261
  },
3176
3262
  {
3177
3263
  type: "table2",
@@ -3186,7 +3272,7 @@ export const advancedFields = [
3186
3272
  keyName: "",
3187
3273
  hidden: !1,
3188
3274
  customClass: "",
3189
- styleTableClass: '',
3275
+ styleTableClass: "",
3190
3276
  // fullWidth: false,
3191
3277
  submitFlag: true,
3192
3278
 
@@ -3197,8 +3283,8 @@ export const advancedFields = [
3197
3283
  ...defaultWfConfig,
3198
3284
  showRuleFlag: 1,
3199
3285
  showRuleEnabled: 1,
3200
- showRules: []
3201
- }
3286
+ showRules: [],
3287
+ },
3202
3288
  },
3203
3289
  {
3204
3290
  type: "dropdown-menu",
@@ -3211,15 +3297,15 @@ export const advancedFields = [
3211
3297
  label: "",
3212
3298
  hidden: !1,
3213
3299
  disabled: !1,
3214
- height: '',
3300
+ height: "",
3215
3301
  // isFullscreen: false,
3216
- tabClass: 'tab-boxCard tabCard-sty1',
3302
+ tabClass: "tab-boxCard tabCard-sty1",
3217
3303
  customClass: "",
3218
3304
  dropdownMenuFlag: 1,
3219
3305
  ...defaultWfConfig,
3220
3306
  onCreated: "",
3221
3307
  onMounted: "",
3222
- }
3308
+ },
3223
3309
  },
3224
3310
  {
3225
3311
  type: "dropdown-item",
@@ -3236,18 +3322,17 @@ export const advancedFields = [
3236
3322
 
3237
3323
  onClick: "",
3238
3324
  clickBindEvent: null,
3239
- onBeforeClickButton:null,
3325
+ onBeforeClickButton: null,
3240
3326
  searchDialogConfig: {
3241
- ...defaultSearchDialogConfig
3327
+ ...defaultSearchDialogConfig,
3242
3328
  },
3243
3329
  addTableDataConfig: {
3244
3330
  tableRef: null,
3245
- tableData: {}
3331
+ tableData: {},
3246
3332
  },
3247
- }
3248
- },
3249
- ]
3250
-
3333
+ },
3334
+ }
3335
+ ];
3251
3336
 
3252
3337
  export const businessFields = [
3253
3338
  {
@@ -3275,7 +3360,7 @@ export const businessFields = [
3275
3360
  onCreated: "",
3276
3361
  onMounted: "",
3277
3362
  accessType: "1",
3278
- labelColor: '',
3363
+ labelColor: "",
3279
3364
  ...defaultWfConfig,
3280
3365
 
3281
3366
  autoValueEnabled: false,
@@ -3285,8 +3370,8 @@ export const businessFields = [
3285
3370
  showRuleEnabled: 1,
3286
3371
  showRules: [],
3287
3372
 
3288
- ...defaultTextFlagConfig
3289
- }
3373
+ ...defaultTextFlagConfig,
3374
+ },
3290
3375
  },
3291
3376
  {
3292
3377
  type: "modify_by-text",
@@ -3313,7 +3398,7 @@ export const businessFields = [
3313
3398
  onCreated: "",
3314
3399
  onMounted: "",
3315
3400
  accessType: "1",
3316
- labelColor: '',
3401
+ labelColor: "",
3317
3402
  ...defaultWfConfig,
3318
3403
 
3319
3404
  autoValueEnabled: false,
@@ -3323,8 +3408,8 @@ export const businessFields = [
3323
3408
  showRuleEnabled: 1,
3324
3409
  showRules: [],
3325
3410
 
3326
- ...defaultTextFlagConfig
3327
- }
3411
+ ...defaultTextFlagConfig,
3412
+ },
3328
3413
  },
3329
3414
  {
3330
3415
  type: "create_date-text",
@@ -3351,7 +3436,7 @@ export const businessFields = [
3351
3436
  onCreated: "",
3352
3437
  onMounted: "",
3353
3438
  accessType: "1",
3354
- labelColor: '',
3439
+ labelColor: "",
3355
3440
  ...defaultWfConfig,
3356
3441
 
3357
3442
  autoValueEnabled: false,
@@ -3361,8 +3446,8 @@ export const businessFields = [
3361
3446
  showRuleEnabled: 1,
3362
3447
  showRules: [],
3363
3448
 
3364
- ...defaultTextFlagConfig
3365
- }
3449
+ ...defaultTextFlagConfig,
3450
+ },
3366
3451
  },
3367
3452
  {
3368
3453
  type: "modify_date-text",
@@ -3389,7 +3474,7 @@ export const businessFields = [
3389
3474
  onCreated: "",
3390
3475
  onMounted: "",
3391
3476
  accessType: "1",
3392
- labelColor: '',
3477
+ labelColor: "",
3393
3478
  ...defaultWfConfig,
3394
3479
 
3395
3480
  autoValueEnabled: false,
@@ -3399,8 +3484,8 @@ export const businessFields = [
3399
3484
  showRuleEnabled: 1,
3400
3485
  showRules: [],
3401
3486
 
3402
- ...defaultTextFlagConfig
3403
- }
3487
+ ...defaultTextFlagConfig,
3488
+ },
3404
3489
  },
3405
3490
 
3406
3491
  {
@@ -3416,7 +3501,7 @@ export const businessFields = [
3416
3501
  vabSearchName: "nick_name",
3417
3502
  userDefaultVabSearch: true,
3418
3503
  label: "用户",
3419
- labelColor: '',
3504
+ labelColor: "",
3420
3505
  searchDialogConfig: {
3421
3506
  ...defaultSearchDialogConfig,
3422
3507
  multipleChoices: false,
@@ -3424,7 +3509,7 @@ export const businessFields = [
3424
3509
  valueSourceField: "id",
3425
3510
  labelSourceField: "nick_name",
3426
3511
  },
3427
- }
3512
+ },
3428
3513
  },
3429
3514
  {
3430
3515
  type: "saleOrg-vabsearch",
@@ -3439,15 +3524,15 @@ export const businessFields = [
3439
3524
  vabSearchName: "sale_org_name",
3440
3525
  saleOrgDefaultVabSearch: true,
3441
3526
  label: "机构",
3442
- labelColor: '',
3527
+ labelColor: "",
3443
3528
  searchDialogConfig: {
3444
3529
  ...defaultSearchDialogConfig,
3445
3530
  multipleChoices: false,
3446
3531
  formCode: "sale_org_dialog",
3447
3532
  valueSourceField: "id",
3448
- labelSourceField: "name"
3533
+ labelSourceField: "name",
3449
3534
  },
3450
- }
3535
+ },
3451
3536
  },
3452
3537
 
3453
3538
  {
@@ -3461,14 +3546,14 @@ export const businessFields = [
3461
3546
  options: {
3462
3547
  ...projectTagConfig,
3463
3548
  label: "用户",
3464
- labelColor: '',
3549
+ labelColor: "",
3465
3550
  tagFormCode: "user_dialog",
3466
3551
  tagLabelField: "nick_name",
3467
3552
  tagUniqueField: "id",
3468
3553
  tagFormLabelField: "nick_name",
3469
3554
  tagFormUniqueField: "id",
3470
3555
  tabDeleteEnabled: true,
3471
- }
3556
+ },
3472
3557
  },
3473
3558
  {
3474
3559
  type: "saleOrg-project-tag",
@@ -3481,39 +3566,66 @@ export const businessFields = [
3481
3566
  options: {
3482
3567
  ...projectTagConfig,
3483
3568
  label: "机构",
3484
- labelColor: '',
3569
+ labelColor: "",
3485
3570
  tagFormCode: "sale_org_dialog",
3486
3571
  tagLabelField: "name",
3487
3572
  tagUniqueField: "id",
3488
3573
  tagFormLabelField: "name",
3489
3574
  tagFormUniqueField: "id",
3490
3575
  tabDeleteEnabled: true,
3491
-
3492
- }
3576
+ },
3493
3577
  },
3578
+ {
3579
+ type: "copy_button",
3580
+ icon: "button",
3581
+ commonFlag: !0,
3582
+ columnFlag: true,
3583
+ formItemFlag: !1,
3584
+ options: {
3585
+ name: "",
3586
+ label: "复制",
3587
+ columnWidth: "200px",
3588
+ size: "",
3589
+ // displayStyle: "block",
3590
+ disabled: !1,
3591
+ hidden: !1,
3592
+ type: "primary",
3494
3593
 
3594
+ customClass: "",
3595
+ onCreated: "",
3596
+ onMounted: "",
3597
+ copyButton: true,
3598
+ copyDataHandle: "",
3599
+ ...defaultWfConfig,
3600
+ ...defaultWidgetShowRuleConfig,
3601
+ hiddenByWf: true,
3495
3602
 
3496
- ]
3603
+ showRuleFlag: 1,
3604
+ showRuleEnabled: 1,
3605
+ showRules: [],
3606
+ },
3607
+ },
3608
+ ];
3497
3609
 
3498
3610
  export const keyNamePrefixMap = {
3499
3611
  vabUpload: "attachments_",
3500
- baseAttachment: "attachments_"
3501
- }
3612
+ baseAttachment: "attachments_",
3613
+ };
3502
3614
 
3503
- export const customFields = []
3615
+ export const customFields = [];
3504
3616
 
3505
3617
  export function addContainerWidgetSchema(containerSchema) {
3506
- containers.push(containerSchema)
3618
+ containers.push(containerSchema);
3507
3619
  }
3508
3620
 
3509
3621
  export function addBasicFieldSchema(fieldSchema) {
3510
- basicFields.push(fieldSchema)
3622
+ basicFields.push(fieldSchema);
3511
3623
  }
3512
3624
 
3513
3625
  export function addAdvancedFieldSchema(fieldSchema) {
3514
- advancedFields.push(fieldSchema)
3626
+ advancedFields.push(fieldSchema);
3515
3627
  }
3516
3628
 
3517
3629
  export function addCustomWidgetSchema(widgetSchema) {
3518
- customFields.push(widgetSchema)
3630
+ customFields.push(widgetSchema);
3519
3631
  }