mooho-base-admin-plus 2.10.89 → 2.10.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.
package/history.md
CHANGED
|
@@ -259,4 +259,5 @@ mooho-base-admin-plus@2.10.85 - 修复内嵌表格在打开新页面时无法更
|
|
|
259
259
|
mooho-base-admin-plus@2.10.86 - 修复弹出选择框的bug
|
|
260
260
|
mooho-base-admin-plus@2.10.87 - 修复分页控件下拉框被挡住的bug
|
|
261
261
|
mooho-base-admin-plus@2.10.88 - 修复日期范围控件搜索清空后报错的bug
|
|
262
|
-
mooho-base-admin-plus@2.10.89 - Excel表格报错
|
|
262
|
+
mooho-base-admin-plus@2.10.89 - Excel表格报错
|
|
263
|
+
mooho-base-admin-plus@2.10.90 - 表格增加禁用静态筛选
|
|
@@ -40209,6 +40209,13 @@ const modalForm = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_rend
|
|
|
40209
40209
|
*/
|
|
40210
40210
|
returnColumns: {
|
|
40211
40211
|
type: Array
|
|
40212
|
+
},
|
|
40213
|
+
/**
|
|
40214
|
+
* 禁用静态筛选
|
|
40215
|
+
*/
|
|
40216
|
+
disableStaticFilter: {
|
|
40217
|
+
type: Boolean,
|
|
40218
|
+
default: !1
|
|
40212
40219
|
}
|
|
40213
40220
|
},
|
|
40214
40221
|
computed: {
|
|
@@ -40502,7 +40509,8 @@ function _sfc_render$s(a, r, o, s, l, c) {
|
|
|
40502
40509
|
"load-data-enable": o.loadDataEnable,
|
|
40503
40510
|
"row-class-name": o.rowClassName,
|
|
40504
40511
|
"highlight-row": o.highlightRow,
|
|
40505
|
-
|
|
40512
|
+
"return-columns": o.returnColumns,
|
|
40513
|
+
"disable-static-filter": o.disableStaticFilter,
|
|
40506
40514
|
onCreate: c.create,
|
|
40507
40515
|
onEdit: c.edit,
|
|
40508
40516
|
onShow: c.show,
|
|
@@ -40562,7 +40570,7 @@ function _sfc_render$s(a, r, o, s, l, c) {
|
|
|
40562
40570
|
})
|
|
40563
40571
|
]),
|
|
40564
40572
|
_: 3
|
|
40565
|
-
}, 8, ["view-code", "static", "setting-enable", "select-enable", "check-cross-page", "tree-enable", "tree-load", "has-children", "create-enable", "edit-enable", "show-enable", "remove-enable", "draggable", "filter-enable", "page-enable", "embedded", "before-load-data", "on-search", "summary-method", "page-size-opts", "span-method", "load-data-enable", "row-class-name", "highlight-row", "
|
|
40573
|
+
}, 8, ["view-code", "static", "setting-enable", "select-enable", "check-cross-page", "tree-enable", "tree-load", "has-children", "create-enable", "edit-enable", "show-enable", "remove-enable", "draggable", "filter-enable", "page-enable", "embedded", "before-load-data", "on-search", "summary-method", "page-size-opts", "span-method", "load-data-enable", "row-class-name", "highlight-row", "return-columns", "disable-static-filter", "onCreate", "onEdit", "onShow", "onOnBlur", "onOnChange", "onOnReady", "onOnLoadData", "onAfterInit", "onOnRowClick", "onOnRowDblclick", "onOnCellClick", "onOnSelectChange"])
|
|
40566
40574
|
])
|
|
40567
40575
|
]),
|
|
40568
40576
|
_: 3
|
|
@@ -104722,6 +104730,13 @@ const _sfc_main$n = {
|
|
|
104722
104730
|
*/
|
|
104723
104731
|
returnColumns: {
|
|
104724
104732
|
type: Array
|
|
104733
|
+
},
|
|
104734
|
+
/**
|
|
104735
|
+
* 禁用静态筛选
|
|
104736
|
+
*/
|
|
104737
|
+
disableStaticFilter: {
|
|
104738
|
+
type: Boolean,
|
|
104739
|
+
default: !1
|
|
104725
104740
|
}
|
|
104726
104741
|
},
|
|
104727
104742
|
computed: {
|
|
@@ -104872,8 +104887,8 @@ const _sfc_main$n = {
|
|
|
104872
104887
|
}
|
|
104873
104888
|
if (!(!this.inited && (await this.init(this.viewCode), !this.inited))) {
|
|
104874
104889
|
if (typeof this.beforeLoadData == "function" && this.beforeLoadData(), a && (this.staticData = this.copy(a)), this.current <= 0 && (this.current = 1), this.static) {
|
|
104875
|
-
let r = this.
|
|
104876
|
-
this.total = r.length, this.total == 0 ? this.current = 1 : this.current > Math.ceil(this.total / this.size) && (this.current = Math.ceil(this.total / this.size));
|
|
104890
|
+
let r = this.staticData;
|
|
104891
|
+
this.disableStaticFilter || (r = this.getFilterResult()), this.total = r.length, this.total == 0 ? this.current = 1 : this.current > Math.ceil(this.total / this.size) && (this.current = Math.ceil(this.total / this.size));
|
|
104877
104892
|
let o = (this.current - 1) * this.size;
|
|
104878
104893
|
this.data = o + this.size >= r.length ? r.slice(o, r.length) : r.slice(o, o + this.size);
|
|
104879
104894
|
} else {
|
|
@@ -106405,7 +106420,7 @@ function _sfc_render$n(a, r, o, s, l, c) {
|
|
|
106405
106420
|
], 2)
|
|
106406
106421
|
], 2);
|
|
106407
106422
|
}
|
|
106408
|
-
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
106423
|
+
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-2d80e5ff"]]), __vite_glob_1_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
106409
106424
|
__proto__: null,
|
|
106410
106425
|
default: viewTable
|
|
106411
106426
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {
|