cloud-web-corejs 1.0.71 → 1.0.73

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 (35) hide show
  1. package/package.json +1 -1
  2. package/src/components/Qrcode/fileParse.vue +0 -1
  3. package/src/components/table/index.js +1 -1
  4. package/src/components/wf/wf.js +1 -1
  5. package/src/components/wf/wfUtil.js +1 -1
  6. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +6 -1
  7. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
  8. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +26 -2
  9. package/src/components/xform/form-designer/indexMixin.js +1 -1
  10. package/src/components/xform/form-designer/setting-panel/form-setting.vue +47 -37
  11. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  12. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  13. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1 -1
  14. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  15. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +20 -1
  16. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +76 -0
  17. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +1 -1
  18. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +169 -39
  19. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +57 -141
  20. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  21. package/src/components/xform/form-render/indexMixin.js +1 -1
  22. package/src/components/xform/utils/emitter.js +4 -4
  23. package/src/layout/components/TagsView/index.vue +0 -1
  24. package/src/store/modules/user.js +1 -1
  25. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
  26. package/src/views/bd/setting/form_template/mixins/list.js +1 -1
  27. package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -1
  28. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +2 -2
  29. package/src/views/bd/setting/form_template/wf_list.vue +1 -1
  30. package/src/views/user/area/dialog.vue +0 -1
  31. package/src/views/user/wf/wf_manage/list.vue +1 -1
  32. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  33. package/src/views/user/wf/wf_obj_config/edit.vue +5 -1
  34. package/src/views/user/wf/wf_obj_config/list.vue +34 -3
  35. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
@@ -13,7 +13,8 @@ export const containers = [
13
13
  // colHeight: null,
14
14
  width: '',
15
15
  containerClass: '',
16
- customClass: ""
16
+ customClass: "",
17
+ ...defaultWfConfig,
17
18
  }
18
19
  },
19
20
  {
@@ -27,7 +28,8 @@ export const containers = [
27
28
  hidden: !1,
28
29
  customClass: "",
29
30
  styleTableClass: '',
30
- fullWidth: false
31
+ fullWidth: false,
32
+ ...defaultWfConfig,
31
33
  }
32
34
  },
33
35
  {
@@ -42,7 +44,8 @@ export const containers = [
42
44
  height: '',
43
45
  // isFullscreen: false,
44
46
  tabClass: 'tab-boxCard tabCard-sty1',
45
- customClass: ""
47
+ customClass: "",
48
+ ...defaultWfConfig,
46
49
  }
47
50
  },
48
51
  /* {
@@ -277,6 +280,7 @@ export const containers = [
277
280
  sortScriptCode: null,
278
281
  importTemplateFile: null,
279
282
 
283
+ ...defaultWfConfig,
280
284
  showRuleFlag: 1,
281
285
  showRuleEnabled: 1,
282
286
  showRules: [],
@@ -748,7 +752,6 @@ export const containers = [
748
752
  }
749
753
  ]
750
754
 
751
-
752
755
  export const defaultSearchDialogConfig = {
753
756
  formCode: null,
754
757
  tableEnabled: false,
@@ -757,7 +760,18 @@ export const defaultSearchDialogConfig = {
757
760
  tableRef: null,
758
761
  tableUniqueKey: null,
759
762
  tableData: [],
760
- multipleChoices: true
763
+ multipleChoices: true,
764
+ confirmCallback: null
765
+ }
766
+
767
+ export const defaultWfConfig = {
768
+ wfFlag: 1,
769
+ wfEdit: false,
770
+ enabledByWf: false,
771
+ hiddenByWf: false,
772
+ wfConfigData: [],
773
+ wfModifyDataEnabled: false,
774
+ wfModifyDataConfig: [],
761
775
  }
762
776
 
763
777
  export const basicFields = [
@@ -813,11 +827,7 @@ export const basicFields = [
813
827
  onAppendButtonClick: "",
814
828
  widgetWidth: "",
815
829
  accessType: "1",
816
- wfFlag: 1,
817
- wfEdit: false,
818
- enabledByWf: false,
819
- hiddenByWf: false,
820
- wfConfigData: [],
830
+ ...defaultWfConfig,
821
831
 
822
832
  showRuleFlag: 1,
823
833
  showRuleEnabled: 1,
@@ -881,11 +891,7 @@ export const basicFields = [
881
891
  onAppendButtonClick: "",
882
892
  widgetWidth: "",
883
893
  accessType: "1",
884
- wfFlag: 1,
885
- wfEdit: false,
886
- enabledByWf: false,
887
- hiddenByWf: false,
888
- wfConfigData: [],
894
+ ...defaultWfConfig,
889
895
 
890
896
  showRuleFlag: 1,
891
897
  showRuleEnabled: 1,
@@ -941,11 +947,7 @@ export const basicFields = [
941
947
  onBlur: "",
942
948
  onValidate: "",
943
949
  accessType: "1",
944
- wfFlag: 1,
945
- wfEdit: false,
946
- enabledByWf: false,
947
- hiddenByWf: false,
948
- wfConfigData: [],
950
+ ...defaultWfConfig,
949
951
 
950
952
  showRuleFlag: 1,
951
953
  showRuleEnabled: 1,
@@ -1002,11 +1004,7 @@ export const basicFields = [
1002
1004
  onBlur: "",
1003
1005
  onValidate: "",
1004
1006
  accessType: "1",
1005
- wfFlag: 1,
1006
- wfEdit: false,
1007
- enabledByWf: false,
1008
- hiddenByWf: false,
1009
- wfConfigData: [],
1007
+ ...defaultWfConfig,
1010
1008
 
1011
1009
  showRuleFlag: 1,
1012
1010
  showRuleEnabled: 1,
@@ -1076,11 +1074,7 @@ export const basicFields = [
1076
1074
  formScriptEnabled: false,
1077
1075
  formScriptCode: "getList",
1078
1076
  formScriptParam: null,
1079
- wfFlag: 1,
1080
- wfEdit: false,
1081
- enabledByWf: false,
1082
- hiddenByWf: false,
1083
- wfConfigData: [],
1077
+ ...defaultWfConfig,
1084
1078
 
1085
1079
  showRuleFlag: 1,
1086
1080
  showRuleEnabled: 1,
@@ -1149,11 +1143,7 @@ export const basicFields = [
1149
1143
  formScriptEnabled: false,
1150
1144
  formScriptCode: "getList",
1151
1145
  formScriptParam: null,
1152
- wfFlag: 1,
1153
- wfEdit: false,
1154
- enabledByWf: false,
1155
- hiddenByWf: false,
1156
- wfConfigData: [],
1146
+ ...defaultWfConfig,
1157
1147
 
1158
1148
  showRuleFlag: 1,
1159
1149
  showRuleEnabled: 1,
@@ -1233,11 +1223,7 @@ export const basicFields = [
1233
1223
  formScriptEnabled: false,
1234
1224
  formScriptCode: "getList",
1235
1225
  formScriptParam: null,
1236
- wfFlag: 1,
1237
- wfEdit: false,
1238
- enabledByWf: false,
1239
- hiddenByWf: false,
1240
- wfConfigData: [],
1226
+ ...defaultWfConfig,
1241
1227
 
1242
1228
  showRuleFlag: 1,
1243
1229
  showRuleEnabled: 1,
@@ -1291,11 +1277,7 @@ export const basicFields = [
1291
1277
  onBlur: "",
1292
1278
  onValidate: "",
1293
1279
  accessType: "1",
1294
- wfFlag: 1,
1295
- wfEdit: false,
1296
- enabledByWf: false,
1297
- hiddenByWf: false,
1298
- wfConfigData: [],
1280
+ ...defaultWfConfig,
1299
1281
 
1300
1282
  showRuleFlag: 1,
1301
1283
  showRuleEnabled: 1,
@@ -1350,11 +1332,7 @@ export const basicFields = [
1350
1332
  onBlur: "",
1351
1333
  onValidate: "",
1352
1334
  accessType: "1",
1353
- wfFlag: 1,
1354
- wfEdit: false,
1355
- enabledByWf: false,
1356
- hiddenByWf: false,
1357
- wfConfigData: [],
1335
+ ...defaultWfConfig,
1358
1336
 
1359
1337
  showRuleFlag: 1,
1360
1338
  showRuleEnabled: 1,
@@ -1411,11 +1389,7 @@ export const basicFields = [
1411
1389
  onBlur: "",
1412
1390
  onValidate: "",
1413
1391
  accessType: "1",
1414
- wfFlag: 1,
1415
- wfEdit: false,
1416
- enabledByWf: false,
1417
- hiddenByWf: false,
1418
- wfConfigData: [],
1392
+ ...defaultWfConfig,
1419
1393
 
1420
1394
  showRuleFlag: 1,
1421
1395
  showRuleEnabled: 1,
@@ -1473,11 +1447,7 @@ export const basicFields = [
1473
1447
  onBlur: "",
1474
1448
  onValidate: "",
1475
1449
  accessType: "1",
1476
- wfFlag: 1,
1477
- wfEdit: false,
1478
- enabledByWf: false,
1479
- hiddenByWf: false,
1480
- wfConfigData: [],
1450
+ ...defaultWfConfig,
1481
1451
 
1482
1452
  showRuleFlag: 1,
1483
1453
  showRuleEnabled: 1,
@@ -1629,6 +1599,7 @@ export const basicFields = [
1629
1599
  onCreated: "",
1630
1600
  onMounted: "",
1631
1601
  accessType: "1",
1602
+ ...defaultWfConfig,
1632
1603
 
1633
1604
  showRuleFlag: 1,
1634
1605
  showRuleEnabled: 1,
@@ -1655,6 +1626,7 @@ export const basicFields = [
1655
1626
  onCreated: "",
1656
1627
  onMounted: "",
1657
1628
  accessType: "1",
1629
+ ...defaultWfConfig,
1658
1630
 
1659
1631
  showRuleFlag: 1,
1660
1632
  showRuleEnabled: 1,
@@ -1715,11 +1687,7 @@ export const basicFields = [
1715
1687
  tableRef: null,
1716
1688
  tableData: {}
1717
1689
  },
1718
- wfFlag: 1,
1719
- wfEdit: false,
1720
- enabledByWf: false,
1721
- hiddenByWf: false,
1722
- wfConfigData: [],
1690
+ ...defaultWfConfig,
1723
1691
 
1724
1692
  showRuleFlag: 1,
1725
1693
  showRuleEnabled: 1,
@@ -1744,6 +1712,7 @@ export const basicFields = [
1744
1712
  contentPosition: "center",
1745
1713
  hidden: !1,
1746
1714
  customClass: "",
1715
+ ...defaultWfConfig,
1747
1716
  onCreated: "",
1748
1717
  onMounted: ""
1749
1718
  }
@@ -1825,6 +1794,7 @@ export const basicFields = [
1825
1794
  onMounted: "",
1826
1795
  accessType: "1",
1827
1796
  labelColor: '#555555',
1797
+ ...defaultWfConfig,
1828
1798
 
1829
1799
  showRuleFlag: 1,
1830
1800
  showRuleEnabled: 1,
@@ -1873,11 +1843,7 @@ export const basicFields = [
1873
1843
  onChange: "",
1874
1844
  onClick: "",
1875
1845
  accessType: "1",
1876
- wfFlag: 1,
1877
- wfEdit: false,
1878
- enabledByWf: false,
1879
- hiddenByWf: false,
1880
- wfConfigData: [],
1846
+ ...defaultWfConfig,
1881
1847
 
1882
1848
  showRuleFlag: 1,
1883
1849
  showRuleEnabled: 1,
@@ -1921,11 +1887,7 @@ export const basicFields = [
1921
1887
  tableRef: null,
1922
1888
  tableData: {}
1923
1889
  },
1924
- wfFlag: 1,
1925
- wfEdit: false,
1926
- enabledByWf: false,
1927
- hiddenByWf: false,
1928
- wfConfigData: [],
1890
+ ...defaultWfConfig,
1929
1891
 
1930
1892
  showRuleFlag: 1,
1931
1893
  showRuleEnabled: 1,
@@ -2031,6 +1993,7 @@ export const advancedFields = [
2031
1993
  onCreated: "",
2032
1994
  onMounted: "this.loadDataDefaultHandle()",
2033
1995
 
1996
+ ...defaultWfConfig,
2034
1997
  showRuleFlag: 1,
2035
1998
  showRuleEnabled: 1,
2036
1999
  showRules: []
@@ -2202,7 +2165,7 @@ export const advancedFields = [
2202
2165
  onClick: "",
2203
2166
  onCreated: "",
2204
2167
  onMounted: "this.loadDataDefaultHandle()",
2205
-
2168
+ ...defaultWfConfig,
2206
2169
  showRuleFlag: 1,
2207
2170
  showRuleEnabled: 1,
2208
2171
  showRules: []
@@ -2416,7 +2379,7 @@ export const advancedFields = [
2416
2379
  onClick: "",
2417
2380
  onCreated: "",
2418
2381
  onMounted: "this.loadDataDefaultHandle()",
2419
-
2382
+ ...defaultWfConfig,
2420
2383
  showRuleFlag: 1,
2421
2384
  showRuleEnabled: 1,
2422
2385
  showRules: []
@@ -2556,11 +2519,7 @@ export const advancedFields = [
2556
2519
  formScriptEnabled: true,
2557
2520
  formScriptCode: "getList",
2558
2521
  formScriptParam: null,
2559
- wfFlag: 1,
2560
- wfEdit: false,
2561
- enabledByWf: false,
2562
- hiddenByWf: false,
2563
- wfConfigData: [],
2522
+ ...defaultWfConfig,
2564
2523
 
2565
2524
  showRuleFlag: 1,
2566
2525
  showRuleEnabled: 1,
@@ -2609,11 +2568,7 @@ export const advancedFields = [
2609
2568
  ...defaultSearchDialogConfig,
2610
2569
  multipleChoices: false
2611
2570
  },
2612
- wfFlag: 1,
2613
- wfEdit: false,
2614
- enabledByWf: false,
2615
- hiddenByWf: false,
2616
- wfConfigData: [],
2571
+ ...defaultWfConfig,
2617
2572
  valueField: null,
2618
2573
  multipleChoices: false,
2619
2574
 
@@ -2658,11 +2613,7 @@ export const advancedFields = [
2658
2613
  ...defaultSearchDialogConfig,
2659
2614
  tableEnabled: true
2660
2615
  },
2661
- wfFlag: 1,
2662
- wfEdit: false,
2663
- enabledByWf: false,
2664
- hiddenByWf: false,
2665
- wfConfigData: [],
2616
+ ...defaultWfConfig,
2666
2617
 
2667
2618
  showRuleFlag: 1,
2668
2619
  showRuleEnabled: 1,
@@ -2699,11 +2650,7 @@ export const advancedFields = [
2699
2650
  searchDialogConfig: {
2700
2651
  ...defaultSearchDialogConfig
2701
2652
  },
2702
- wfFlag: 1,
2703
- wfEdit: false,
2704
- enabledByWf: false,
2705
- hiddenByWf: true,
2706
- wfConfigData: [],
2653
+ ...defaultWfConfig,
2707
2654
 
2708
2655
  showRuleFlag: 1,
2709
2656
  showRuleEnabled: 1,
@@ -2739,11 +2686,7 @@ export const advancedFields = [
2739
2686
  searchDialogConfig: {
2740
2687
  ...defaultSearchDialogConfig
2741
2688
  },
2742
- wfFlag: 1,
2743
- wfEdit: false,
2744
- enabledByWf: true,
2745
- hiddenByWf: false,
2746
- wfConfigData: [],
2689
+ ...defaultWfConfig,
2747
2690
 
2748
2691
  showRuleFlag: 1,
2749
2692
  showRuleEnabled: 1,
@@ -2769,11 +2712,7 @@ export const advancedFields = [
2769
2712
 
2770
2713
  onCreated: "",
2771
2714
  onMounted: "",
2772
- wfFlag: 1,
2773
- wfEdit: false,
2774
- enabledByWf: false,
2775
- hiddenByWf: false,
2776
- wfConfigData: [],
2715
+ ...defaultWfConfig,
2777
2716
 
2778
2717
  showRuleFlag: 1,
2779
2718
  showRuleEnabled: 1,
@@ -2808,11 +2747,7 @@ export const advancedFields = [
2808
2747
  searchDialogConfig: {
2809
2748
  ...defaultSearchDialogConfig
2810
2749
  },
2811
- wfFlag: 1,
2812
- wfEdit: false,
2813
- enabledByWf: false,
2814
- hiddenByWf: false,
2815
- wfConfigData: [],
2750
+ ...defaultWfConfig,
2816
2751
 
2817
2752
  showRuleFlag: 1,
2818
2753
  showRuleEnabled: 1,
@@ -2849,11 +2784,7 @@ export const advancedFields = [
2849
2784
  searchDialogConfig: {
2850
2785
  ...defaultSearchDialogConfig
2851
2786
  },
2852
- wfFlag: 1,
2853
- wfEdit: false,
2854
- enabledByWf: false,
2855
- hiddenByWf: true,
2856
- wfConfigData: [],
2787
+ ...defaultWfConfig,
2857
2788
 
2858
2789
  showRuleFlag: 1,
2859
2790
  showRuleEnabled: 1,
@@ -2887,11 +2818,7 @@ export const advancedFields = [
2887
2818
  searchDialogConfig: {
2888
2819
  ...defaultSearchDialogConfig
2889
2820
  },
2890
- wfFlag: 1,
2891
- wfEdit: false,
2892
- enabledByWf: false,
2893
- hiddenByWf: false,
2894
- wfConfigData: [],
2821
+ ...defaultWfConfig,
2895
2822
  importEntity: '',
2896
2823
  importAttachCode: '',
2897
2824
  importScriptCode: '',
@@ -2928,11 +2855,7 @@ export const advancedFields = [
2928
2855
  searchDialogConfig: {
2929
2856
  ...defaultSearchDialogConfig
2930
2857
  },
2931
- wfFlag: 1,
2932
- wfEdit: false,
2933
- enabledByWf: false,
2934
- hiddenByWf: false,
2935
- wfConfigData: [],
2858
+ ...defaultWfConfig,
2936
2859
  printTableRef: "",
2937
2860
  printItems: [],
2938
2861
 
@@ -2965,11 +2888,7 @@ export const advancedFields = [
2965
2888
  onCreated: "",
2966
2889
  onMounted: "",
2967
2890
  onAfterConfirmFile: "",
2968
- wfFlag: 1,
2969
- wfEdit: false,
2970
- enabledByWf: false,
2971
- hiddenByWf: false,
2972
- wfConfigData: [],
2891
+ ...defaultWfConfig,
2973
2892
 
2974
2893
  showRuleFlag: 1,
2975
2894
  showRuleEnabled: 1,
@@ -2998,6 +2917,7 @@ export const advancedFields = [
2998
2917
  statusParam: [],
2999
2918
  onCreated: "",
3000
2919
  onMounted: "",
2920
+ ...defaultWfConfig,
3001
2921
 
3002
2922
  showRuleFlag: 1,
3003
2923
  showRuleEnabled: 1,
@@ -3046,7 +2966,7 @@ export const advancedFields = [
3046
2966
  formScriptParam: null,
3047
2967
  onCreated: "",
3048
2968
  onMounted: "",
3049
-
2969
+ ...defaultWfConfig,
3050
2970
  showRuleFlag: 1,
3051
2971
  showRuleEnabled: 1,
3052
2972
  showRules: []
@@ -3055,14 +2975,14 @@ export const advancedFields = [
3055
2975
  {
3056
2976
  type: "project-tag",
3057
2977
  icon: "uploadbox",
3058
- // commonFlag: !0,
2978
+ commonFlag: !1,
3059
2979
  formItemFlag: !0,
3060
2980
  tableField: null,
3061
2981
  options: {
3062
2982
  name: "",
3063
2983
  keyNameEnabled: !1,
3064
2984
  keyName: "",
3065
- keyNameSuffix: "",
2985
+ // keyNameSuffix: "",
3066
2986
  label: "",
3067
2987
  submitFlag: true,
3068
2988
  disabled: !1,
@@ -3077,11 +2997,7 @@ export const advancedFields = [
3077
2997
  formScriptEnabled: true,
3078
2998
  formScriptCode: "getList",
3079
2999
  formScriptParam: null,
3080
- wfFlag: 1,
3081
- wfEdit: false,
3082
- enabledByWf: false,
3083
- hiddenByWf: false,
3084
- wfConfigData: [],
3000
+ ...defaultWfConfig,
3085
3001
 
3086
3002
  showRuleFlag: 1,
3087
3003
  showRuleEnabled: 1,
@@ -3109,7 +3025,7 @@ export const advancedFields = [
3109
3025
  formScriptParam: null,
3110
3026
  onCreated: "this.loadDataDefaultHandle()",
3111
3027
  onMounted: "",
3112
-
3028
+ ...defaultWfConfig,
3113
3029
  showRuleFlag: 1,
3114
3030
  showRuleEnabled: 1,
3115
3031
  showRules: []