mooho-base-admin-plus 2.10.26 → 2.10.28
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
|
@@ -197,3 +197,5 @@ mooho-base-admin-plus@2.10.23 - 修复上一版本的bug
|
|
|
197
197
|
mooho-base-admin-plus@2.10.24 - 修复onBlur事件参数错误
|
|
198
198
|
mooho-base-admin-plus@2.10.25 - 修复默认值的bug
|
|
199
199
|
mooho-base-admin-plus@2.10.26 - 解决视图默认筛选条件和筛选项冲突的bug,需后端Mooho.Base@2.10.9
|
|
200
|
+
mooho-base-admin-plus@2.10.27 - 修复上一版本的bug
|
|
201
|
+
mooho-base-admin-plus@2.10.28 - 选中行也出发变更事件
|
|
@@ -43586,7 +43586,7 @@ const _sfc_main$n = {
|
|
|
43586
43586
|
for (let o in r) {
|
|
43587
43587
|
let s = o, l = r[o];
|
|
43588
43588
|
l == null || l == "" || this.filterColumns.some((u) => u.code == o && u.operator == "Custom") || typeof l == "object" && !(l instanceof Date) || s != "keywordColumns" && (a = a.filter((u) => {
|
|
43589
|
-
if ((s.startsWith("d_") || s.startsWith("m_") || s.startsWith("y_")) && (s = s.substr(2)), s == "keyword") {
|
|
43589
|
+
if ((s.startsWith("d_") || s.startsWith("m_") || s.startsWith("y_") || s.startsWith("v_")) && (s = s.substr(2)), s == "keyword") {
|
|
43590
43590
|
let c = r.keywordColumns.split(",");
|
|
43591
43591
|
for (let d = 0; d < c.length; d++) {
|
|
43592
43592
|
let f = c[d];
|
|
@@ -43804,12 +43804,14 @@ const _sfc_main$n = {
|
|
|
43804
43804
|
},
|
|
43805
43805
|
// 单击某一行时触发
|
|
43806
43806
|
onRowClick(a, r) {
|
|
43807
|
-
if (Setting.layout.clickRowChecked)
|
|
43807
|
+
if (Setting.layout.clickRowChecked) {
|
|
43808
43808
|
if (this.data[r]._checked) {
|
|
43809
43809
|
const o = this.selectedData.findIndex((s) => s.id == this.data[r].id);
|
|
43810
43810
|
this.selectedData.splice(o, 1), this.data[r]._checked = !1;
|
|
43811
43811
|
} else
|
|
43812
43812
|
this.selectedData.push(this.data[r]), this.data[r]._checked = !0;
|
|
43813
|
+
this.$emit("on-select-change");
|
|
43814
|
+
}
|
|
43813
43815
|
this.$emit("on-row-click", a, r);
|
|
43814
43816
|
},
|
|
43815
43817
|
// 双击某一行时触发
|
|
@@ -44645,7 +44647,7 @@ function _sfc_render$n(a, r, o, s, l, u) {
|
|
|
44645
44647
|
], 2)
|
|
44646
44648
|
], 2);
|
|
44647
44649
|
}
|
|
44648
|
-
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
44650
|
+
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-1b2cc73a"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
44649
44651
|
__proto__: null,
|
|
44650
44652
|
default: viewTable
|
|
44651
44653
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {
|