ocpview-plus 1.0.2 → 1.0.3

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.
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-plus";
456
- const version$2 = "1.0.1";
456
+ const version$2 = "1.0.2";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -52774,6 +52774,11 @@ const _sfc_main$8 = {
52774
52774
  ...item
52775
52775
  };
52776
52776
  });
52777
+ },
52778
+ seqConfig() {
52779
+ return {
52780
+ startIndex: (this.myConfig.pageConfig.page_no - 1) * this.myConfig.pageConfig.page_size
52781
+ };
52777
52782
  }
52778
52783
  },
52779
52784
  methods: {
@@ -52862,13 +52867,14 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
52862
52867
  default: withCtx(() => [
52863
52868
  createVNode(_component_vxe_grid, {
52864
52869
  ref: "table",
52865
- border: "inner",
52870
+ border: "full",
52866
52871
  columns: $options.RewriteColumns,
52867
52872
  data: $options.RewriteData,
52868
52873
  height: _ctx.tableHeight,
52869
52874
  "max-height": _ctx.tableMaxHeight,
52870
52875
  loading: _ctx.loading,
52871
52876
  "sort-config": { remote: true, trigger: "cell" },
52877
+ "seq-config": $options.seqConfig,
52872
52878
  onSortChange: $options.RewriteTableOnSortChange,
52873
52879
  onCellDblclick: $options.RewriteTableCellDBlclick
52874
52880
  }, {
@@ -52879,7 +52885,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
52879
52885
  })
52880
52886
  ]),
52881
52887
  _: 1
52882
- }, 8, ["columns", "data", "height", "max-height", "loading", "onSortChange", "onCellDblclick"])
52888
+ }, 8, ["columns", "data", "height", "max-height", "loading", "seq-config", "onSortChange", "onCellDblclick"])
52883
52889
  ]),
52884
52890
  _: 1
52885
52891
  }),
@@ -53721,12 +53727,12 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
53721
53727
  createVNode(_component_vxe_grid, {
53722
53728
  ref: "table",
53723
53729
  "keep-source": "",
53724
- border: "inner",
53730
+ border: "full",
53725
53731
  style: { "width": "100%" },
53726
53732
  columns: $options.RewriteColumns,
53727
53733
  data: $data.dataList,
53728
53734
  height: _ctx.tableHeight,
53729
- "max-height": _ctx.tableMaxHeight,
53735
+ "max-height": _ctx.tableMaxHeight + 100,
53730
53736
  loading: _ctx.loading,
53731
53737
  "sort-config": { remote: true, trigger: "cell" },
53732
53738
  "valid-config": {
@@ -131142,10 +131148,13 @@ VXETableExport.setup({
131142
131148
  },
131143
131149
  scrollY: {
131144
131150
  enabled: true,
131145
- gt: 100
131151
+ gt: 60
131146
131152
  },
131147
131153
  loading: {
131148
131154
  icon: "vxe-icon-spinner roll"
131155
+ },
131156
+ mouseConfig: {
131157
+ selected: true
131149
131158
  }
131150
131159
  },
131151
131160
  grid: {