cloud-web-corejs 1.0.72 → 1.0.74

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