mooho-base-admin-plus 0.4.61 → 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-730c0bd7]{display:flex}.image-group .image[data-v-730c0bd7]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-730c0bd7]{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,19 +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
- this.$refs.table.loadData(data2);
38909
+ for (let item of data2) {
38910
+ delete item.id;
38911
+ }
38912
+ this.loadData(data2);
38909
38913
  }
38910
38914
  },
38911
38915
  down(row, index2) {
38912
- let data2 = this.$refs.table.data;
38916
+ let data2 = this.staticData;
38913
38917
  if (index2 < data2.length - 1) {
38914
38918
  data2.splice(index2, 1);
38915
38919
  data2.splice(index2 + 1, 0, row);
38916
- this.$refs.table.loadData(data2);
38920
+ for (let item of data2) {
38921
+ delete item.id;
38922
+ }
38923
+ this.loadData(data2);
38917
38924
  }
38918
38925
  }
38919
38926
  }
@@ -39674,7 +39681,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39674
39681
  ], 2)
39675
39682
  ], 2);
39676
39683
  }
39677
- var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-730c0bd7"]]);
39684
+ var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-43bb9d6c"]]);
39678
39685
  const _sfc_main$p = {
39679
39686
  mixins: [mixinPage],
39680
39687
  components: { columnSelect, columnEdit },