cloud-web-corejs 1.0.54-dev.257 → 1.0.54-dev.259

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 (23) hide show
  1. package/package.json +1 -1
  2. package/src/components/excelExport/button.vue +1 -1
  3. package/src/components/excelExport/index.vue +22 -0
  4. package/src/components/excelExport/mixins.js +43 -3
  5. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  6. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  7. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
  8. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +49 -36
  9. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
  10. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
  11. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +3 -3
  12. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  13. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  14. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  15. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +3 -2
  16. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +31 -9
  17. package/src/components/xform/form-render/container-item/data-table-mixin.js +6 -0
  18. package/src/components/xform/mixins/scriptHttp.js +172 -1
  19. package/src/components/xform/utils/util.js +1445 -1
  20. package/src/layout/components/TagsView/index.vue +14 -3
  21. package/src/views/bd/setting/request_async_setting/edit.vue +167 -155
  22. package/src/views/bd/setting/request_async_setting/list.vue +6 -6
  23. package/src/views/user/position/edit.vue +55 -54
@@ -441,7 +441,7 @@ export const containers = [
441
441
  customClass: "",
442
442
  tableRef: "",
443
443
  detailPaneContainer: true,
444
- defaultCollapse:false,
444
+ defaultCollapse: false,
445
445
  /*onCreated: "",
446
446
  onMounted: "",*/
447
447
  }
@@ -817,6 +817,7 @@ const vabsearchConfig = {
817
817
  userDefaultVabSearch: false,
818
818
  saleOrgDefaultVabSearch: false,
819
819
  label: "",
820
+ labelColor: '',
820
821
  submitFlag: true,
821
822
  disabled: !1,
822
823
  hidden: !1,
@@ -863,6 +864,7 @@ const projectTagConfig = {
863
864
  keyName: "",
864
865
  // keyNameSuffix: "",
865
866
  label: "",
867
+ labelColor: '',
866
868
  submitFlag: true,
867
869
  disabled: !1,
868
870
  readonly: false,
@@ -922,6 +924,7 @@ export const basicFields = [
922
924
  keyNameEnabled: !1,
923
925
  keyName: "",
924
926
  label: "",
927
+ labelColor: '',
925
928
  submitFlag: true,
926
929
  /**showText: false,*/
927
930
  formField: "",
@@ -985,6 +988,7 @@ export const basicFields = [
985
988
  keyNameEnabled: !1,
986
989
  keyName: "",
987
990
  label: "",
991
+ labelColor: '',
988
992
  submitFlag: true,
989
993
  formField: "",
990
994
  labelAlign: "",
@@ -1047,6 +1051,7 @@ export const basicFields = [
1047
1051
  keyNameEnabled: !1,
1048
1052
  keyName: "",
1049
1053
  label: "",
1054
+ labelColor: '',
1050
1055
  submitFlag: true,
1051
1056
  /**showText: false,*/
1052
1057
  labelAlign: "",
@@ -1100,6 +1105,7 @@ export const basicFields = [
1100
1105
  keyNameEnabled: !1,
1101
1106
  keyName: "",
1102
1107
  label: "",
1108
+ labelColor: '',
1103
1109
  submitFlag: true,
1104
1110
  /**showText: false,*/
1105
1111
  formField: "",
@@ -1156,6 +1162,7 @@ export const basicFields = [
1156
1162
  keyNameEnabled: !1,
1157
1163
  keyName: "",
1158
1164
  label: "",
1165
+ labelColor: '',
1159
1166
  submitFlag: true,
1160
1167
  /**showText: false,*/
1161
1168
  labelAlign: "",
@@ -1226,6 +1233,7 @@ export const basicFields = [
1226
1233
  keyNameEnabled: !1,
1227
1234
  keyName: "",
1228
1235
  label: "",
1236
+ labelColor: '',
1229
1237
  submitFlag: true,
1230
1238
  /**showText: false,*/
1231
1239
  labelAlign: "",
@@ -1297,6 +1305,7 @@ export const basicFields = [
1297
1305
  keyNameEnabled: !1,
1298
1306
  keyName: "",
1299
1307
  label: "",
1308
+ labelColor: '',
1300
1309
  submitFlag: true,
1301
1310
  /**showText: false,*/
1302
1311
  formField: "",
@@ -1379,6 +1388,7 @@ export const basicFields = [
1379
1388
  keyNameEnabled: !1,
1380
1389
  keyName: "",
1381
1390
  label: "",
1391
+ labelColor: '',
1382
1392
  submitFlag: true,
1383
1393
  /**showText: false,*/
1384
1394
  formField: "",
@@ -1432,6 +1442,7 @@ export const basicFields = [
1432
1442
  keyNameEnabled: !1,
1433
1443
  keyName: "",
1434
1444
  label: "",
1445
+ labelColor: '',
1435
1446
  submitFlag: true,
1436
1447
  formField: "",
1437
1448
  labelAlign: "",
@@ -1484,6 +1495,7 @@ export const basicFields = [
1484
1495
  keyNameEnabled: !1,
1485
1496
  keyName: "",
1486
1497
  label: "",
1498
+ labelColor: '',
1487
1499
  submitFlag: true,
1488
1500
  /**showText: false,*/
1489
1501
  formField: "",
@@ -1539,6 +1551,7 @@ export const basicFields = [
1539
1551
  keyNameEnabled: !1,
1540
1552
  keyName: "",
1541
1553
  label: "",
1554
+ labelColor: '',
1542
1555
  submitFlag: true,
1543
1556
  formField: "",
1544
1557
  labelAlign: "",
@@ -1899,11 +1912,13 @@ export const basicFields = [
1899
1912
  keyNameEnabled: !1,
1900
1913
  keyName: "",
1901
1914
  label: "",
1915
+ labelColor: '',
1902
1916
  submitFlag: true,
1903
1917
  formField: "",
1904
1918
  hidden: !1,
1905
1919
  required: !1,
1906
1920
  customClass: "",
1921
+ colorClass: "",
1907
1922
  defaultValue: "",
1908
1923
  labelAlign: "",
1909
1924
  labelWidth: null,
@@ -1911,7 +1926,6 @@ export const basicFields = [
1911
1926
  onCreated: "",
1912
1927
  onMounted: "",
1913
1928
  accessType: "1",
1914
- labelColor: '#555555',
1915
1929
  ...defaultWfConfig,
1916
1930
 
1917
1931
  autoValueEnabled: false,
@@ -1936,6 +1950,7 @@ export const basicFields = [
1936
1950
  keyNameEnabled: !1,
1937
1951
  keyName: "",
1938
1952
  label: "",
1953
+ labelColor: '',
1939
1954
  displayStyle: "block",
1940
1955
  submitFlag: true,
1941
1956
  /**showText: false,*/
@@ -1955,7 +1970,7 @@ export const basicFields = [
1955
1970
  aTextFlag: 1,
1956
1971
  underline: false,
1957
1972
  href: "",
1958
- coloClass: "f-red",
1973
+ colorClass: "f-red",
1959
1974
 
1960
1975
  onCreated: "",
1961
1976
  onMounted: "",
@@ -1995,7 +2010,7 @@ export const basicFields = [
1995
2010
  aLinkFlag: 1,
1996
2011
  underline: false,
1997
2012
  href: "",
1998
- coloClass: "f-blue",
2013
+ colorClass: "f-blue",
1999
2014
  isFormLabel: false,
2000
2015
  onCreated: "",
2001
2016
  onMounted: "",
@@ -2031,7 +2046,7 @@ export const basicFields = [
2031
2046
  aLinkFlag: 1,
2032
2047
  underline: false,
2033
2048
  href: "",
2034
- coloClass: "f-blue",
2049
+ colorClass: "f-blue",
2035
2050
 
2036
2051
  onClick: "",
2037
2052
  clickBindEvent: null,
@@ -2646,6 +2661,7 @@ export const advancedFields = [
2646
2661
  keyName: "",
2647
2662
  keyNameSuffix: "",
2648
2663
  label: "",
2664
+ labelColor: '',
2649
2665
  submitFlag: true,
2650
2666
  disabled: !1,
2651
2667
  hidden: !1,
@@ -3034,6 +3050,7 @@ export const advancedFields = [
3034
3050
  keyName: "",
3035
3051
  keyNameSuffix: "",
3036
3052
  label: "",
3053
+ labelColor: '',
3037
3054
  submitFlag: true,
3038
3055
  disabled: !1,
3039
3056
  hidden: !1,
@@ -3066,6 +3083,7 @@ export const advancedFields = [
3066
3083
  keyNameEnabled: !1,
3067
3084
  keyName: "",
3068
3085
  label: "",
3086
+ labelColor: '',
3069
3087
  submitFlag: true,
3070
3088
  disabled: !1,
3071
3089
  hidden: !1,
@@ -3245,7 +3263,7 @@ export const businessFields = [
3245
3263
  onCreated: "",
3246
3264
  onMounted: "",
3247
3265
  accessType: "1",
3248
- labelColor: '#555555',
3266
+ labelColor: '',
3249
3267
  ...defaultWfConfig,
3250
3268
 
3251
3269
  autoValueEnabled: false,
@@ -3283,7 +3301,7 @@ export const businessFields = [
3283
3301
  onCreated: "",
3284
3302
  onMounted: "",
3285
3303
  accessType: "1",
3286
- labelColor: '#555555',
3304
+ labelColor: '',
3287
3305
  ...defaultWfConfig,
3288
3306
 
3289
3307
  autoValueEnabled: false,
@@ -3321,7 +3339,7 @@ export const businessFields = [
3321
3339
  onCreated: "",
3322
3340
  onMounted: "",
3323
3341
  accessType: "1",
3324
- labelColor: '#555555',
3342
+ labelColor: '',
3325
3343
  ...defaultWfConfig,
3326
3344
 
3327
3345
  autoValueEnabled: false,
@@ -3359,7 +3377,7 @@ export const businessFields = [
3359
3377
  onCreated: "",
3360
3378
  onMounted: "",
3361
3379
  accessType: "1",
3362
- labelColor: '#555555',
3380
+ labelColor: '',
3363
3381
  ...defaultWfConfig,
3364
3382
 
3365
3383
  autoValueEnabled: false,
@@ -3386,6 +3404,7 @@ export const businessFields = [
3386
3404
  vabSearchName: "nick_name",
3387
3405
  userDefaultVabSearch: true,
3388
3406
  label: "用户",
3407
+ labelColor: '',
3389
3408
  searchDialogConfig: {
3390
3409
  ...defaultSearchDialogConfig,
3391
3410
  multipleChoices: false,
@@ -3408,6 +3427,7 @@ export const businessFields = [
3408
3427
  vabSearchName: "sale_org_name",
3409
3428
  saleOrgDefaultVabSearch: true,
3410
3429
  label: "机构",
3430
+ labelColor: '',
3411
3431
  searchDialogConfig: {
3412
3432
  ...defaultSearchDialogConfig,
3413
3433
  multipleChoices: false,
@@ -3429,6 +3449,7 @@ export const businessFields = [
3429
3449
  options: {
3430
3450
  ...projectTagConfig,
3431
3451
  label: "用户",
3452
+ labelColor: '',
3432
3453
  tagFormCode: "user_dialog",
3433
3454
  tagLabelField: "nick_name",
3434
3455
  tagUniqueField: "id",
@@ -3448,6 +3469,7 @@ export const businessFields = [
3448
3469
  options: {
3449
3470
  ...projectTagConfig,
3450
3471
  label: "机构",
3472
+ labelColor: '',
3451
3473
  tagFormCode: "sale_org_dialog",
3452
3474
  tagLabelField: "name",
3453
3475
  tagUniqueField: "id",
@@ -491,6 +491,12 @@ modules = {
491
491
  visible: t.show,
492
492
  slots: {},
493
493
  };
494
+ if(t.required){
495
+ /*col.titlePrefix = {
496
+ icon:"el-icon-star-on"
497
+ }*/
498
+ col.title = "* "+col.title
499
+ }
494
500
  if (t.treeNode) {
495
501
  col.treeNode = true;
496
502
  }