mooho-base-admin-plus 2.7.4 → 2.7.6
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 +2 -0
- package/package/mooho-base-admin-plus.min.esm.js +23 -12
- package/package/mooho-base-admin-plus.min.js +2 -2
- package/package.json +1 -1
- package/src/components/view/view-form.vue +4 -6
- package/src/layouts/basic-layout/header-notice/index.vue +4 -1
- package/src/pages/common/todo.vue +10 -5
package/history.md
CHANGED
|
@@ -137,3 +137,5 @@ mooho-base-admin-plus@2.7.1 - 弹出选择框弹出时默认清空筛选内容
|
|
|
137
137
|
mooho-base-admin-plus@2.7.2 - 修复字典缓存的bug
|
|
138
138
|
mooho-base-admin-plus@2.7.3 - 修复公式最后一位为)时的bug
|
|
139
139
|
mooho-base-admin-plus@2.7.4 - 修复全选的bug
|
|
140
|
+
mooho-base-admin-plus@2.7.5 - 将List组件改为后端分页
|
|
141
|
+
mooho-base-admin-plus@2.7.6 - 修复审批后没有刷新的bug
|
|
@@ -17836,9 +17836,12 @@ const home = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1
|
|
|
17836
17836
|
methods: {
|
|
17837
17837
|
batchDo() {
|
|
17838
17838
|
this.confirm("Front_Msg_Sure_To_Batch_Do", async () => {
|
|
17839
|
-
let r = this.$refs.
|
|
17840
|
-
r.length > 0 ? (await taskApi.batchDo(r), this.success("Front_Msg_Success"), this.$refs.
|
|
17839
|
+
let r = this.$refs.todoTable.getSelected().map((a) => a.id);
|
|
17840
|
+
r.length > 0 ? (await taskApi.batchDo(r), this.success("Front_Msg_Success"), this.$refs.todoTable.loadData(), this.$refs.doneTable.loadData()) : this.error("Front_Msg_Please_Select_Task_Item");
|
|
17841
17841
|
});
|
|
17842
|
+
},
|
|
17843
|
+
onAfterAction() {
|
|
17844
|
+
this.$refs.todoTable.loadData(), this.$refs.doneTable.loadData();
|
|
17842
17845
|
}
|
|
17843
17846
|
}
|
|
17844
17847
|
}, _hoisted_1$19 = { class: "i-layout-page-header" };
|
|
@@ -17866,7 +17869,7 @@ function _sfc_render$1q(r, a, o, s, l, u) {
|
|
|
17866
17869
|
}, {
|
|
17867
17870
|
default: withCtx(() => [
|
|
17868
17871
|
createVNode$1(f, {
|
|
17869
|
-
ref: "
|
|
17872
|
+
ref: "todoTable",
|
|
17870
17873
|
"view-code": "TodoList",
|
|
17871
17874
|
"select-enable": !0
|
|
17872
17875
|
}, {
|
|
@@ -17903,7 +17906,7 @@ function _sfc_render$1q(r, a, o, s, l, u) {
|
|
|
17903
17906
|
}, {
|
|
17904
17907
|
default: withCtx(() => [
|
|
17905
17908
|
createVNode$1(f, {
|
|
17906
|
-
ref: "
|
|
17909
|
+
ref: "doneTable",
|
|
17907
17910
|
"view-code": "DoneList"
|
|
17908
17911
|
}, {
|
|
17909
17912
|
command: withCtx(({ row: _ }) => [
|
|
@@ -17928,7 +17931,7 @@ function _sfc_render$1q(r, a, o, s, l, u) {
|
|
|
17928
17931
|
}),
|
|
17929
17932
|
createVNode$1(y, {
|
|
17930
17933
|
ref: "taskForm",
|
|
17931
|
-
onOnAfterAction: a[0] || (a[0] = (_) =>
|
|
17934
|
+
onOnAfterAction: a[0] || (a[0] = (_) => u.onAfterAction())
|
|
17932
17935
|
}, null, 512)
|
|
17933
17936
|
]);
|
|
17934
17937
|
}
|
|
@@ -39992,11 +39995,14 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
|
|
|
39992
39995
|
d.needClear = !0;
|
|
39993
39996
|
});
|
|
39994
39997
|
else if (u.controlType === "List" && c != null) {
|
|
39995
|
-
let
|
|
39996
|
-
(
|
|
39998
|
+
let f = this.$refs["list_" + u.code][0].tableView.filtering;
|
|
39999
|
+
(f || "").trim() && (c = {
|
|
39997
40000
|
...c,
|
|
39998
|
-
...JSON.parse(
|
|
39999
|
-
})
|
|
40001
|
+
...JSON.parse(f)
|
|
40002
|
+
});
|
|
40003
|
+
for (let p in c)
|
|
40004
|
+
this.$refs["list_" + u.code][0].filterData[p] = c[p];
|
|
40005
|
+
this.$refs["list_" + u.code][0].loadData();
|
|
40000
40006
|
}
|
|
40001
40007
|
}
|
|
40002
40008
|
u.needClear = !1, u.needRefresh = !1;
|
|
@@ -40198,10 +40204,9 @@ function _sfc_render$o(r, a, o, s, l, u) {
|
|
|
40198
40204
|
createVNode$1(d, {
|
|
40199
40205
|
ref_for: !0,
|
|
40200
40206
|
ref: "list_" + B.code,
|
|
40201
|
-
static: !0,
|
|
40202
40207
|
"view-code": B.source,
|
|
40203
40208
|
readonly: !0,
|
|
40204
|
-
|
|
40209
|
+
"auto-load": !1
|
|
40205
40210
|
}, null, 8, ["view-code"])
|
|
40206
40211
|
])) : createCommentVNode("", !0),
|
|
40207
40212
|
B.controlType !== "Placeholder" && B.controlType !== "Title" && B.controlType !== "Table" && B.controlType !== "List" ? (openBlock(), createBlock(U, {
|
|
@@ -44120,6 +44125,9 @@ const iHeaderFullscreen = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _
|
|
|
44120
44125
|
loadTask() {
|
|
44121
44126
|
this.taskList = [], this.taskFilter.page = 0, this.loadMore("task");
|
|
44122
44127
|
},
|
|
44128
|
+
reload() {
|
|
44129
|
+
location.reload();
|
|
44130
|
+
},
|
|
44123
44131
|
openNotification(r) {
|
|
44124
44132
|
r.isRead || (this.unreadCount--, r.isRead = !0, notificationApi.read(r.id)), this.$refs.notificationForm.open(r);
|
|
44125
44133
|
}
|
|
@@ -44188,7 +44196,10 @@ function _sfc_render$6(r, a, o, s, l, u) {
|
|
|
44188
44196
|
_: 1
|
|
44189
44197
|
}, 8, ["wide", "badge-props", "class", "onOnLoadMore", "onOnClear"])
|
|
44190
44198
|
]),
|
|
44191
|
-
createVNode$1(v, {
|
|
44199
|
+
createVNode$1(v, {
|
|
44200
|
+
ref: "taskForm",
|
|
44201
|
+
onOnAfterAction: a[0] || (a[0] = (y) => u.reload())
|
|
44202
|
+
}, null, 512),
|
|
44192
44203
|
createVNode$1(g, {
|
|
44193
44204
|
ref: "notificationForm",
|
|
44194
44205
|
"view-code": "NotificationView",
|