@ecan-bi/datav 1.0.88 → 1.0.90

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 (104) hide show
  1. package/dist/index.es.js +146 -48
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.umd.js +145 -47
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/style.css +13 -17
  6. package/es/container/modal/Modal.js +1 -4
  7. package/es/container/modal/Modal.js.map +1 -1
  8. package/es/container/modal/index.js.map +1 -1
  9. package/es/container/modal/props.js +1 -1
  10. package/es/container/modal/props.js.map +1 -1
  11. package/es/graph/bar/Bar.js +33 -2
  12. package/es/graph/bar/Bar.js.map +1 -1
  13. package/es/graph/bar/index.js.map +1 -1
  14. package/es/graph/bar/props.js +1 -2
  15. package/es/graph/bar/props.js.map +1 -1
  16. package/es/graph/combo-graph/ComboGraph.js +44 -12
  17. package/es/graph/combo-graph/ComboGraph.js.map +1 -1
  18. package/es/graph/combo-graph/props.js +1 -1
  19. package/es/graph/combo-graph/props.js.map +1 -1
  20. package/es/graph/line/Line.js +37 -3
  21. package/es/graph/line/Line.js.map +1 -1
  22. package/es/graph/line/props.js +7 -6
  23. package/es/graph/line/props.js.map +1 -1
  24. package/es/graph/pie/Pie.js +22 -1
  25. package/es/graph/pie/Pie.js.map +1 -1
  26. package/es/graph/pie/props.js +1 -1
  27. package/es/graph/pie/props.js.map +1 -1
  28. package/es/graph/scatter/Scatter.js +10 -1
  29. package/es/graph/scatter/Scatter.js.map +1 -1
  30. package/es/graph/scatter/props.js +1 -1
  31. package/es/graph/scatter/props.js.map +1 -1
  32. package/es/hooks/useRequestData.js +1 -1
  33. package/es/hooks/useRequestData.js.map +1 -1
  34. package/es/hooks/useValueFormatter.js +2 -1
  35. package/es/hooks/useValueFormatter.js.map +1 -1
  36. package/es/hooks/useVariablesInText.js +32 -11
  37. package/es/hooks/useVariablesInText.js.map +1 -1
  38. package/es/setting/provider-config/ProviderConfig.js +3 -1
  39. package/es/setting/provider-config/ProviderConfig.js.map +1 -1
  40. package/es/table/table/Table.js +87 -28
  41. package/es/table/table/Table.js.map +1 -1
  42. package/es/table/table/index.js.map +1 -1
  43. package/es/table/table/props.js +1 -0
  44. package/es/table/table/props.js.map +1 -1
  45. package/es/text/text/Text.js +21 -1
  46. package/es/text/text/Text.js.map +1 -1
  47. package/es/text/text/props.js +4 -1
  48. package/es/text/text/props.js.map +1 -1
  49. package/lib/container/modal/Modal.js +1 -4
  50. package/lib/container/modal/Modal.js.map +1 -1
  51. package/lib/container/modal/index.js.map +1 -1
  52. package/lib/container/modal/props.js +1 -1
  53. package/lib/container/modal/props.js.map +1 -1
  54. package/lib/graph/bar/Bar.js +33 -2
  55. package/lib/graph/bar/Bar.js.map +1 -1
  56. package/lib/graph/bar/index.js.map +1 -1
  57. package/lib/graph/bar/props.js +1 -2
  58. package/lib/graph/bar/props.js.map +1 -1
  59. package/lib/graph/combo-graph/ComboGraph.js +44 -12
  60. package/lib/graph/combo-graph/ComboGraph.js.map +1 -1
  61. package/lib/graph/combo-graph/props.js +1 -1
  62. package/lib/graph/combo-graph/props.js.map +1 -1
  63. package/lib/graph/line/Line.js +37 -3
  64. package/lib/graph/line/Line.js.map +1 -1
  65. package/lib/graph/line/props.js +7 -6
  66. package/lib/graph/line/props.js.map +1 -1
  67. package/lib/graph/pie/Pie.js +22 -1
  68. package/lib/graph/pie/Pie.js.map +1 -1
  69. package/lib/graph/pie/props.js +1 -1
  70. package/lib/graph/pie/props.js.map +1 -1
  71. package/lib/graph/scatter/Scatter.js +10 -1
  72. package/lib/graph/scatter/Scatter.js.map +1 -1
  73. package/lib/graph/scatter/props.js +1 -1
  74. package/lib/graph/scatter/props.js.map +1 -1
  75. package/lib/hooks/useRequestData.js +1 -1
  76. package/lib/hooks/useRequestData.js.map +1 -1
  77. package/lib/hooks/useValueFormatter.js +2 -1
  78. package/lib/hooks/useValueFormatter.js.map +1 -1
  79. package/lib/hooks/useVariablesInText.js +33 -11
  80. package/lib/hooks/useVariablesInText.js.map +1 -1
  81. package/lib/setting/provider-config/ProviderConfig.js +3 -1
  82. package/lib/setting/provider-config/ProviderConfig.js.map +1 -1
  83. package/lib/style.css +6503 -6503
  84. package/lib/table/table/Table.js +87 -28
  85. package/lib/table/table/Table.js.map +1 -1
  86. package/lib/table/table/index.js.map +1 -1
  87. package/lib/table/table/props.js +1 -0
  88. package/lib/table/table/props.js.map +1 -1
  89. package/lib/text/text/Text.js +21 -1
  90. package/lib/text/text/Text.js.map +1 -1
  91. package/lib/text/text/props.js +4 -1
  92. package/lib/text/text/props.js.map +1 -1
  93. package/package.json +1 -1
  94. package/types/container/modal/index.d.ts +1 -1
  95. package/types/control/select/Select.vue.d.ts +1 -0
  96. package/types/control/select/index.d.ts +1 -0
  97. package/types/table/table/Table.vue.d.ts +124 -5
  98. package/types/table/table/index.d.ts +125 -6
  99. package/types/table/table/props.d.ts +63 -0
  100. package/types/text/text/Text.vue.d.ts +66 -0
  101. package/types/text/text/index.d.ts +66 -0
  102. package/types/text/text/props.d.ts +36 -0
  103. package/types/hooks/usePickEchartsData.d.ts +0 -2
  104. package/types/hooks/useTooltipFormatter.d.ts +0 -4
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.0.88 */
1
+ /*! @ecan-bi/datav@1.0.90 */
2
2
  (function(global, factory) {
3
3
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("echarts/core"), require("resize-detector"), require("ant-design-vue"), require("ant-design-vue/es/spin/style"), require("ant-design-vue/es/skeleton/style"), require("lodash-es"), require("axios"), require("mitt"), require("dayjs"), require("ant-design-vue/es/progress/style"), require("ant-design-vue/es/input/style"), require("ant-design-vue/es/date-picker/style"), require("ant-design-vue/es/date-picker/locale/zh_CN"), require("ant-design-vue/es/select/style"), require("ant-design-vue/es/button/style"), require("ant-design-vue/es/checkbox/style"), require("echarts/renderers"), require("echarts/charts"), require("echarts/components"), require("echarts"), require("ant-design-vue/es/modal/style"), require("ant-design-vue/es/table/style")) : typeof define === "function" && define.amd ? define(["exports", "vue", "echarts/core", "resize-detector", "ant-design-vue", "ant-design-vue/es/spin/style", "ant-design-vue/es/skeleton/style", "lodash-es", "axios", "mitt", "dayjs", "ant-design-vue/es/progress/style", "ant-design-vue/es/input/style", "ant-design-vue/es/date-picker/style", "ant-design-vue/es/date-picker/locale/zh_CN", "ant-design-vue/es/select/style", "ant-design-vue/es/button/style", "ant-design-vue/es/checkbox/style", "echarts/renderers", "echarts/charts", "echarts/components", "echarts", "ant-design-vue/es/modal/style", "ant-design-vue/es/table/style"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@ecan/bi-datav"] = {}, global.vue, global["echarts/core"], global["resize-detector"], global["ant-design-vue"], null, null, global["lodash-es"], global.axios, global.mitt, global.dayjs, null, null, null, global["ant-design-vue/es/date-picker/locale/zh_CN"], null, null, null, global["echarts/renderers"], global["echarts/charts"], global["echarts/components"], global.echarts));
4
4
  })(this, function(exports2, vue, core, resizeDetector, antDesignVue, style$1, style$2, lodashEs, axios, mitt, dayjs, style$3, style$4, style$5, locale, style$6, style$7, style$8, renderers, charts, components$1, echarts) {
@@ -1703,7 +1703,6 @@
1703
1703
  if (useSpace) {
1704
1704
  formatter = formatter == null ? void 0 : formatter.replace(/\s{2,}?/g, "  ");
1705
1705
  }
1706
- console.log("formatter", formatter);
1707
1706
  return formatter;
1708
1707
  };
1709
1708
  const useRequestData = (props2, callBack = () => {
@@ -1756,7 +1755,7 @@
1756
1755
  _params[key] = useVariablesInText(value);
1757
1756
  }
1758
1757
  });
1759
- _params = { ...window.requestParams, ..._params, ...params };
1758
+ _params = { ...window.config.requestParams, ..._params, ...params };
1760
1759
  let urlParams = "";
1761
1760
  const keys = Object.keys(_params);
1762
1761
  const last = keys.length - 1;
@@ -2622,7 +2621,6 @@
2622
2621
  setTheme();
2623
2622
  });
2624
2623
  const contextRequestUrl = vue.computed(() => {
2625
- console.log("props.contextRequestUrl", props2.contextRequestUrl);
2626
2624
  return useVariablesInText(props2.contextRequestUrl);
2627
2625
  });
2628
2626
  const pageMode = vue.computed(() => props2.pageMode);
@@ -2776,7 +2774,10 @@
2776
2774
  variableFontSize: "14px",
2777
2775
  data: {},
2778
2776
  variableDefaultValue: "0",
2779
- format: ""
2777
+ format: "",
2778
+ target: "self",
2779
+ href: "",
2780
+ linkPage: ""
2780
2781
  };
2781
2782
  const textComponentProps = transformToComponentProps(textProps);
2782
2783
  const textEvents = ["refreshData", "click"];
@@ -2876,6 +2877,24 @@
2876
2877
  });
2877
2878
  const emitEvent = useEmitEvent(props2);
2878
2879
  const click = emitEvent("click", () => {
2880
+ if (!props2.linkPage && !props2.href)
2881
+ return;
2882
+ const linkPage = props2.linkPage || "";
2883
+ const pageUrl = usePageUrl(vue.unref(pageMode), linkPage);
2884
+ const href = props2.href;
2885
+ let url = href || pageUrl;
2886
+ url = useVariablesInText(url);
2887
+ const target = props2.target;
2888
+ if (target == null || target === "")
2889
+ return;
2890
+ if (target !== "event") {
2891
+ window.open(url, "_" + target);
2892
+ } else {
2893
+ window.parent.postMessage({
2894
+ type: "openPage",
2895
+ url: href
2896
+ }, "*");
2897
+ }
2879
2898
  });
2880
2899
  return {
2881
2900
  style: style2,
@@ -2902,7 +2921,7 @@
2902
2921
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
2903
2922
  }, null, 12, _hoisted_1$7));
2904
2923
  }
2905
- const Text = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-1b461e28"]]);
2924
+ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-604c9a14"]]);
2906
2925
  const EcanText = withInstall(Text);
2907
2926
  const ScrollText_vue_vue_type_style_index_0_scoped_true_lang = "";
2908
2927
  const _sfc_main$l = vue.defineComponent({
@@ -3622,15 +3641,23 @@
3622
3641
  }
3623
3642
  return !!((value == null ? void 0 : value.toLowerCase().indexOf(input == null ? void 0 : input.toLowerCase())) >= 0);
3624
3643
  };
3644
+ const loading = vue.ref(false);
3625
3645
  const handleRequestData = async () => {
3626
3646
  var _a2, _b2;
3627
3647
  if (props2.dataType !== "request" || vue.unref(pageMode) === "design")
3628
3648
  return;
3629
- const res = await requestData();
3630
- options.value = ((_b2 = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.rows) || [];
3631
- const firstOption = vue.unref(options)[0];
3632
- if (props2.value === "" && firstOption != null) {
3633
- myValue.value = firstOption[dataFieldNames.value];
3649
+ loading.value = true;
3650
+ try {
3651
+ const res = await requestData();
3652
+ options.value = ((_b2 = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.rows) || [];
3653
+ const firstOption = vue.unref(options)[0];
3654
+ if (props2.value === "" && firstOption != null) {
3655
+ myValue.value = firstOption[dataFieldNames.value];
3656
+ }
3657
+ } catch (e) {
3658
+ console.error(e);
3659
+ } finally {
3660
+ loading.value = false;
3634
3661
  }
3635
3662
  };
3636
3663
  const { getGlobalModel, setGlobalModel } = vue.inject(GLOBAL_MODEL, {
@@ -3660,7 +3687,8 @@
3660
3687
  myValue,
3661
3688
  selectChange,
3662
3689
  options,
3663
- filterOption
3690
+ filterOption,
3691
+ loading
3664
3692
  };
3665
3693
  }
3666
3694
  });
@@ -3679,11 +3707,12 @@
3679
3707
  "field-names": _ctx.dataFieldNames,
3680
3708
  "show-search": "",
3681
3709
  "filter-option": _ctx.filterOption,
3682
- onChange: _ctx.selectChange
3683
- }, null, 8, ["value", "options", "getPopupContainer", "field-names", "filter-option", "onChange"])
3710
+ onChange: _ctx.selectChange,
3711
+ loading: _ctx.loading
3712
+ }, null, 8, ["value", "options", "getPopupContainer", "field-names", "filter-option", "onChange", "loading"])
3684
3713
  ], 4);
3685
3714
  }
3686
- const Select = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-38e47a34"]]);
3715
+ const Select = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-7ae9493f"]]);
3687
3716
  const EcanSelect = withInstall(Select);
3688
3717
  const rangePickerProps = {
3689
3718
  ...props,
@@ -6199,7 +6228,7 @@
6199
6228
  keyName: "\u5F39\u7A97",
6200
6229
  componentList: [],
6201
6230
  fullModal: false,
6202
- destroyOnClose: false,
6231
+ destroyOnClose: true,
6203
6232
  position: "default"
6204
6233
  };
6205
6234
  const modalComponentProps = transformToComponentProps(modalProps);
@@ -6311,9 +6340,6 @@
6311
6340
  width: _ctx.isFullModal || _ctx.isFullWidth ? "100%" : _ctx.modalWith,
6312
6341
  destroyOnClose: _ctx.destroyOnClose,
6313
6342
  style: vue.normalizeStyle(_ctx.modalStyle),
6314
- bodyStyle: {
6315
- background: "red"
6316
- },
6317
6343
  onOk: _ctx.onOk,
6318
6344
  onCancel: _ctx.onCancel
6319
6345
  }, vue.createSlots({
@@ -6352,7 +6378,7 @@
6352
6378
  } : void 0
6353
6379
  ]), 1032, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel"]);
6354
6380
  }
6355
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-24c6a724"]]);
6381
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-780a06e1"]]);
6356
6382
  const EcanModal = withInstall(Modal);
6357
6383
  const tabsProps = {
6358
6384
  ...props,
@@ -6557,13 +6583,16 @@
6557
6583
  width: "400px",
6558
6584
  height: "240px",
6559
6585
  bordered: false,
6586
+ headerFontSize: "14px",
6560
6587
  fontSize: "14px",
6561
6588
  isUseSeq: false,
6562
6589
  size: "default",
6590
+ headerFontWeight: 400,
6563
6591
  fontWeight: 400,
6564
6592
  columnsFixedNum: 0,
6565
6593
  scrollX: 0,
6566
6594
  paginationShow: true,
6595
+ isReverse: false,
6567
6596
  simple: false,
6568
6597
  headerCellBackgroundColor: "",
6569
6598
  cellBackgroundColor: "",
@@ -6651,27 +6680,34 @@
6651
6680
  });
6652
6681
  const x = vue.computed(() => props2.scrollX);
6653
6682
  const y = vue.computed(() => parseFloat(props2.height) - vue.unref(splitY));
6654
- const myColumns = vue.computed(() => {
6655
- let columns = [];
6683
+ const myColumns = vue.ref([]);
6684
+ const myDataSource = vue.ref(props2.data);
6685
+ const tableColumns = vue.ref([]);
6686
+ const tableDataSource = vue.ref([]);
6687
+ const total = vue.ref(0);
6688
+ const pageNum = vue.ref(1);
6689
+ const pageSize = vue.computed(() => props2.paginationPageSize);
6690
+ const handleColumns = (columns = []) => {
6691
+ let _columns = [];
6656
6692
  const isUseSeq = props2.isUseSeq;
6657
6693
  if (isUseSeq) {
6658
- columns.push({
6694
+ _columns.push({
6659
6695
  title: "\u5E8F\u53F7",
6660
6696
  dataIndex: "SEQ"
6661
6697
  });
6662
6698
  }
6663
- columns = columns.concat(props2.columns);
6699
+ _columns = _columns.concat(lodashEs.cloneDeep(columns));
6664
6700
  if (props2.isUseAction) {
6665
- columns.push({
6701
+ _columns.push({
6666
6702
  title: "\u64CD\u4F5C",
6667
6703
  dataIndex: "ACTION",
6668
6704
  width: props2.actionColumnWidth
6669
6705
  });
6670
6706
  }
6671
- const len = columns.length;
6707
+ const len = _columns.length;
6672
6708
  const columnsFixedNum = props2.columnsFixedNum;
6673
6709
  for (let i = 0; i < len; i++) {
6674
- const column = columns[i];
6710
+ const column = _columns[i];
6675
6711
  if (i < columnsFixedNum) {
6676
6712
  column.fixed = "left";
6677
6713
  } else {
@@ -6700,16 +6736,73 @@
6700
6736
  }
6701
6737
  });
6702
6738
  }
6703
- return columns;
6739
+ myColumns.value = _columns;
6740
+ };
6741
+ vue.watch(() => [
6742
+ props2.columns,
6743
+ props2.isUseSeq,
6744
+ props2.isUseAction,
6745
+ props2.columnsFixedNum,
6746
+ props2.actionColumnWidth,
6747
+ props2.headerCellBackgroundColor,
6748
+ props2.cellBackgroundColor,
6749
+ props2.borderColor
6750
+ ], () => {
6751
+ handleColumns(props2.columns);
6752
+ }, {
6753
+ immediate: true,
6754
+ deep: true
6704
6755
  });
6705
- const total = vue.ref(0);
6706
- const pageNum = vue.ref(1);
6707
- const pageSize = vue.computed(() => props2.paginationPageSize);
6708
- const dataSource = vue.ref(props2.data);
6709
6756
  vue.watch(() => [props2.data, props2.dataType], ([data, dataType]) => {
6710
6757
  if (dataType !== "static")
6711
6758
  return;
6712
- dataSource.value = data;
6759
+ myDataSource.value = data;
6760
+ });
6761
+ const handleReverseTable = (columns, dataSource) => {
6762
+ const firstColumns = columns[0];
6763
+ const _columns = [{
6764
+ title: firstColumns.title,
6765
+ dataIndex: "col0",
6766
+ key: "col0",
6767
+ align: "center"
6768
+ }];
6769
+ for (let i = 0; i < dataSource.length; i++) {
6770
+ const data = dataSource[i];
6771
+ const dataIndex = "col" + (i + 1);
6772
+ _columns.push({
6773
+ title: data[firstColumns.dataIndex],
6774
+ dataIndex,
6775
+ key: dataIndex,
6776
+ align: "center"
6777
+ });
6778
+ }
6779
+ const _dataSource = [];
6780
+ for (let i = 1; i < columns.length; i++) {
6781
+ const column = columns[i];
6782
+ const _data = { col0: column.title };
6783
+ for (let j = 0; j < dataSource.length; j++) {
6784
+ const data = dataSource[j];
6785
+ _data[`col${j + 1}`] = data[column.dataIndex];
6786
+ }
6787
+ _dataSource.push(_data);
6788
+ }
6789
+ return {
6790
+ columns: _columns,
6791
+ dataSource: _dataSource
6792
+ };
6793
+ };
6794
+ vue.watch(() => [props2.isReverse, myColumns.value, myDataSource.value], () => {
6795
+ if (props2.isReverse) {
6796
+ const { columns, dataSource } = handleReverseTable(vue.unref(myColumns), vue.unref(myDataSource));
6797
+ tableColumns.value = columns;
6798
+ tableDataSource.value = dataSource;
6799
+ } else {
6800
+ tableColumns.value = vue.unref(myColumns);
6801
+ tableDataSource.value = vue.unref(myDataSource);
6802
+ }
6803
+ }, {
6804
+ deep: true,
6805
+ immediate: true
6713
6806
  });
6714
6807
  const orderCondition = vue.ref(void 0);
6715
6808
  const requestData = useRequestData(props2);
@@ -6733,7 +6826,7 @@
6733
6826
  const res = await requestData(params);
6734
6827
  const { rows = [], total: tableTotal = 0 } = ((_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) || {};
6735
6828
  total.value = tableTotal;
6736
- dataSource.value = rows;
6829
+ myDataSource.value = rows;
6737
6830
  } catch (e) {
6738
6831
  console.error(e);
6739
6832
  } finally {
@@ -6806,12 +6899,10 @@
6806
6899
  getGlobalModel: (key) => void 0,
6807
6900
  setGlobalModel: (key, value) => void 0
6808
6901
  });
6809
- const dataColumns = vue.ref([]);
6810
- const handleIndicatorDataset = (colmuns = [], rows = []) => {
6811
- dataColumns.value = colmuns.map((it) => {
6812
- return { title: it, dataIndex: it, key: it };
6813
- });
6814
- dataSource.value = rows;
6902
+ const handleIndicatorDataset = (dataColumns = [], dataRows = []) => {
6903
+ const _columns = dataColumns.map((column) => ({ title: column, dataIndex: column, key: column }));
6904
+ handleColumns(_columns);
6905
+ myDataSource.value = dataRows;
6815
6906
  };
6816
6907
  const indicatorData = useIndicatorData(props2);
6817
6908
  const handleIndicatorData = async () => {
@@ -6872,7 +6963,7 @@
6872
6963
  return [];
6873
6964
  const start = (vue.unref(pageNum) - 1) * vue.unref(pageSize);
6874
6965
  const end = start + vue.unref(pageSize);
6875
- const records = vue.unref(dataSource).slice(start, end);
6966
+ const records = vue.unref(myDataSource).slice(start, end);
6876
6967
  for (let i = 0; i < records.length; i++) {
6877
6968
  const record = records[i];
6878
6969
  for (let j = 0; j < summaryList2.length; j++) {
@@ -6918,15 +7009,14 @@
6918
7009
  return {
6919
7010
  x,
6920
7011
  y,
6921
- myColumns,
6922
7012
  style: style2,
6923
7013
  customRow,
6924
7014
  pagination,
6925
7015
  formatFn,
6926
7016
  contrastClass,
6927
7017
  tableChange,
6928
- dataColumns,
6929
- dataSource,
7018
+ tableDataSource,
7019
+ tableColumns,
6930
7020
  summaryList,
6931
7021
  loading,
6932
7022
  onTouchHrefEvent,
@@ -6957,8 +7047,8 @@
6957
7047
  style: {
6958
7048
  height: "100%"
6959
7049
  },
6960
- columns: _ctx.dataColumns.length > 0 ? _ctx.dataColumns : _ctx.myColumns,
6961
- "data-source": _ctx.dataSource,
7050
+ columns: _ctx.tableColumns,
7051
+ "data-source": _ctx.tableDataSource,
6962
7052
  bordered: _ctx.bordered,
6963
7053
  size: _ctx.size,
6964
7054
  customRow: _ctx.customRow,
@@ -6966,6 +7056,14 @@
6966
7056
  pagination: _ctx.pagination,
6967
7057
  onChange: _ctx.tableChange
6968
7058
  }, {
7059
+ headerCell: vue.withCtx(({ column }) => [
7060
+ vue.createElementVNode("span", {
7061
+ style: vue.normalizeStyle({
7062
+ fontSize: _ctx.headerFontSize,
7063
+ fontWeight: _ctx.headerFontWeight
7064
+ })
7065
+ }, vue.toDisplayString(column.title), 5)
7066
+ ]),
6969
7067
  bodyCell: vue.withCtx(({ column, index: index2, text, record }) => [
6970
7068
  column.dataIndex === "SEQ" ? (vue.openBlock(), vue.createElementBlock("span", {
6971
7069
  key: 0,
@@ -7038,7 +7136,7 @@
7038
7136
  }, 8, ["loading"])
7039
7137
  ], 4);
7040
7138
  }
7041
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-0963bd5a"]]);
7139
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-32101ced"]]);
7042
7140
  const EcanTable = withInstall(Table);
7043
7141
  const mapProps = {
7044
7142
  ...props,