mooho-base-admin-plus 0.4.62 → 0.4.63

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.
@@ -37643,7 +37643,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
37643
37643
  ]);
37644
37644
  }
37645
37645
  var tableFilter = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
37646
- var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-4f485161]{display:flex}.image-group .image[data-v-4f485161]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-4f485161]{width:75px;height:75px}\n")();
37646
+ var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-43bb9d6c]{display:flex}.image-group .image[data-v-43bb9d6c]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-43bb9d6c]{width:75px;height:75px}\n")();
37647
37647
  var getColumns = (view, item) => {
37648
37648
  let children = view.viewColumns.filter((i2) => {
37649
37649
  return i2.parentCode == item.code;
@@ -38011,6 +38011,7 @@ const _sfc_main$q = {
38011
38011
  if (staticData) {
38012
38012
  this.staticData = this.copy(staticData);
38013
38013
  }
38014
+ console.log("bbb", this.staticData);
38014
38015
  if (this.static) {
38015
38016
  let data2 = this.getFilterResult();
38016
38017
  this.total = data2.length;
@@ -38901,25 +38902,25 @@ const _sfc_main$q = {
38901
38902
  }
38902
38903
  },
38903
38904
  up(row, index2) {
38904
- let data2 = this.$refs.table.data;
38905
+ let data2 = this.staticData;
38905
38906
  if (index2 > 0) {
38906
38907
  data2.splice(index2, 1);
38907
38908
  data2.splice(index2 - 1, 0, row);
38908
38909
  for (let item of data2) {
38909
38910
  delete item.id;
38910
38911
  }
38911
- this.$refs.table.loadData(data2);
38912
+ this.loadData(data2);
38912
38913
  }
38913
38914
  },
38914
38915
  down(row, index2) {
38915
- let data2 = this.$refs.table.data;
38916
+ let data2 = this.staticData;
38916
38917
  if (index2 < data2.length - 1) {
38917
38918
  data2.splice(index2, 1);
38918
38919
  data2.splice(index2 + 1, 0, row);
38919
38920
  for (let item of data2) {
38920
38921
  delete item.id;
38921
38922
  }
38922
- this.$refs.table.loadData(data2);
38923
+ this.loadData(data2);
38923
38924
  }
38924
38925
  }
38925
38926
  }
@@ -39680,7 +39681,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39680
39681
  ], 2)
39681
39682
  ], 2);
39682
39683
  }
39683
- var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-4f485161"]]);
39684
+ var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-43bb9d6c"]]);
39684
39685
  const _sfc_main$p = {
39685
39686
  mixins: [mixinPage],
39686
39687
  components: { columnSelect, columnEdit },