cloud-web-corejs 1.0.54-dev.113 → 1.0.54-dev.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 (35) hide show
  1. package/package.json +1 -1
  2. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +10 -5
  3. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +40 -3
  4. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +54 -14
  5. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +9 -4
  6. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +8 -2
  7. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -0
  8. package/src/components/xform/form-designer/indexMixin.js +3 -1
  9. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  10. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +3 -0
  11. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +86 -2
  12. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +39 -1
  13. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +15 -3
  14. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +2 -1
  15. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
  16. package/src/components/xform/form-designer/toolbar-panel/index.vue +4 -3
  17. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +35 -2
  18. package/src/components/xform/form-render/container-item/data-table-mixin.js +1926 -1
  19. package/src/components/xform/form-render/indexMixin.js +11 -0
  20. package/src/components/xform/mixins/defaultHandle.js +1 -0
  21. package/src/components/xform/mixins/scriptHttp.js +82 -1
  22. package/src/components/xform/utils/util.js +2 -2
  23. package/src/layout/components/Sidebar/default.vue +35 -3
  24. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  25. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  26. package/src/layout/components/extractedCode/viewDialog.vue +188 -0
  27. package/src/views/bd/setting/form_script/edit1.vue +1 -1
  28. package/src/views/bd/setting/form_script/mixins/edit.js +2 -1
  29. package/src/views/bd/setting/form_script/mixins/edit1.js +2 -1
  30. package/src/views/bd/setting/form_template/edit.vue +9 -1
  31. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  32. package/src/views/bd/setting/table_model/edit.vue +12 -2
  33. package/src/views/bd/setting/table_model/mixins/edit.js +20 -4
  34. package/src/views/user/form/vform/designer.vue +5 -1
  35. package/src/views/user/home/default.vue +15 -11
@@ -262,6 +262,7 @@ export const containers = [
262
262
  formScriptEnabled: true,
263
263
  formScriptCode: null,
264
264
  formScriptParam: null,
265
+ formScriptSuccess: null,
265
266
  formScriptCallback: null,
266
267
  /*isLoadDataByAccess: false,
267
268
  scriptEnabled: false,
@@ -1074,8 +1075,12 @@ export const basicFields = [
1074
1075
  formScriptEnabled: false,
1075
1076
  formScriptCode: "getList",
1076
1077
  formScriptParam: null,
1078
+ formScriptSuccess: null,
1077
1079
  ...defaultWfConfig,
1078
1080
 
1081
+ commonAttributeEnabled: false,
1082
+ commonAttributeCode: "",
1083
+
1079
1084
  showRuleFlag: 1,
1080
1085
  showRuleEnabled: 1,
1081
1086
  showRules: [],
@@ -1143,8 +1148,12 @@ export const basicFields = [
1143
1148
  formScriptEnabled: false,
1144
1149
  formScriptCode: "getList",
1145
1150
  formScriptParam: null,
1151
+ formScriptSuccess: null,
1146
1152
  ...defaultWfConfig,
1147
1153
 
1154
+ commonAttributeEnabled: false,
1155
+ commonAttributeCode: "",
1156
+
1148
1157
  showRuleFlag: 1,
1149
1158
  showRuleEnabled: 1,
1150
1159
  showRules: [],
@@ -1223,8 +1232,12 @@ export const basicFields = [
1223
1232
  formScriptEnabled: false,
1224
1233
  formScriptCode: "getList",
1225
1234
  formScriptParam: null,
1235
+ formScriptSuccess: null,
1226
1236
  ...defaultWfConfig,
1227
1237
 
1238
+ commonAttributeEnabled: false,
1239
+ commonAttributeCode: "",
1240
+
1228
1241
  showRuleFlag: 1,
1229
1242
  showRuleEnabled: 1,
1230
1243
  showRules: [],
@@ -1989,6 +2002,7 @@ export const advancedFields = [
1989
2002
  formScriptEnabled: true,
1990
2003
  formScriptCode: "",
1991
2004
  formScriptParam: null,
2005
+ formScriptSuccess: null,
1992
2006
  onClick: "",
1993
2007
  onCreated: "",
1994
2008
  onMounted: "this.loadDataDefaultHandle()",
@@ -2162,6 +2176,7 @@ export const advancedFields = [
2162
2176
  formScriptEnabled: true,
2163
2177
  formScriptCode: "",
2164
2178
  formScriptParam: null,
2179
+ formScriptSuccess: null,
2165
2180
  onClick: "",
2166
2181
  onCreated: "",
2167
2182
  onMounted: "this.loadDataDefaultHandle()",
@@ -2376,6 +2391,7 @@ export const advancedFields = [
2376
2391
  formScriptEnabled: true,
2377
2392
  formScriptCode: "",
2378
2393
  formScriptParam: null,
2394
+ formScriptSuccess: null,
2379
2395
  onClick: "",
2380
2396
  onCreated: "",
2381
2397
  onMounted: "this.loadDataDefaultHandle()",
@@ -2519,6 +2535,7 @@ export const advancedFields = [
2519
2535
  formScriptEnabled: true,
2520
2536
  formScriptCode: "getList",
2521
2537
  formScriptParam: null,
2538
+ formScriptSuccess: null,
2522
2539
  ...defaultWfConfig,
2523
2540
 
2524
2541
  showRuleFlag: 1,
@@ -2964,6 +2981,7 @@ export const advancedFields = [
2964
2981
  formScriptEnabled: true,
2965
2982
  formScriptCode: "",
2966
2983
  formScriptParam: null,
2984
+ formScriptSuccess: null,
2967
2985
  onCreated: "",
2968
2986
  onMounted: "",
2969
2987
  ...defaultWfConfig,
@@ -2991,17 +3009,31 @@ export const advancedFields = [
2991
3009
  required: !1,
2992
3010
  labelWidth: null,
2993
3011
  labelHidden: !1,
2994
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3012
+ onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
2995
3013
  onMounted: "",
3014
+ onClick: "",
2996
3015
  vabUpload: 1,
2997
3016
  formScriptEnabled: true,
2998
3017
  formScriptCode: "getList",
2999
3018
  formScriptParam: null,
3019
+ formScriptSuccess: null,
3000
3020
  ...defaultWfConfig,
3001
3021
 
3002
3022
  showRuleFlag: 1,
3003
3023
  showRuleEnabled: 1,
3004
- showRules: []
3024
+ showRules: [],
3025
+
3026
+ tagFormCode: null,
3027
+ tagFormParam: null,
3028
+ tagLabelField: null,
3029
+ tagUniqueField: null,
3030
+ tagFormLabelField: null,
3031
+ tagFormUniqueField: null,
3032
+ tagFillConfig: [],
3033
+ tagConfirmCallback: null,
3034
+ tagDeleteCallback: null,
3035
+ tabDeleteEnabled: false,
3036
+
3005
3037
  }
3006
3038
  },
3007
3039
  {
@@ -3023,6 +3055,7 @@ export const advancedFields = [
3023
3055
  formScriptEnabled: true,
3024
3056
  formScriptCode: "",
3025
3057
  formScriptParam: null,
3058
+ formScriptSuccess: null,
3026
3059
  onCreated: "this.loadDataDefaultHandle()",
3027
3060
  onMounted: "",
3028
3061
  ...defaultWfConfig,